ts-7000
[Top] [All Lists]

[ts-7000] Re: Booting Debian from USB

To:
Subject: [ts-7000] Re: Booting Debian from USB
From: "Andrew Kwok" <>
Date: Thu, 16 Apr 2009 18:00:36 -0000
Hi Luther,

apache-ssl failing isn't the reason that the boot sequence finishes with the 
maintenance prompt.  The default runlevel is 2 for the devkit-supplied USB 
stick.  If you go to /etc/rc2.d and rename 
"S91apache-ssl" to "s91apache-ssl", then upon restart it'll still display the 
"enter for maintenance" prompt.

There are two more scripts that are executed after apache-ssl:
rmnologin
bootlogd
which can be found in /etc/init.d.  The boot sequence gets to these and then 
gives the maintenance error after bootlogd.  Either something is going wrong in 
bootlogd, or something that bootlogd initiates is going wrong.  Does anyone 
else have insight on this?

--Andrew

--- In  "lrpalmer3" <> wrote:
>
> --- In  "hideki.kondo" <musashi@> wrote:
> >
> > Hello everyone.
> > 
> > With my TS-7260 (Kernel 2.4.26) I am trying boot into Debian from USB
> > flash. I installed the latest 256MB Debian Sarge Image from
> > ftp://embeddedarm.com/images/debian256 on my 256MB USB flash drive,
> > and did the following as instructed in Linux for Arm on TS-72xx document:
> > 
> > 1. Modified /etc/fstab too boot from USB
> > 2. /usr/bin/loadUSBModules.sh
> > 3. /usr/bin/loadUSB.sh
> > 
> > Then, the system reboots with this log:
> > 
> > $ /usr/bin/loadUSB.sh
> > EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended
> > Creating extra device nodes...done.
> > Started device management daemon v1.3.25 for /dev
> > Cleaning up ifupdown...done.
> > Loading modules: usbcore zd zd1211 - http://zd1211.ath.cx/ - r83
> > Based on www.zydas.com.tw driver version 2.5.0.0
> > usb.c: registered new driver zd1211
> > pcipool usb-ohci usb-ohci-ep93xx af_packet
> > Checking all file systems...
> > fsck 1.37 (21-Mar-2005)
> > ... done.
> > mount: mount point ext2 does not exist
> > Setting up networking...done.
> > Starting hotplug subsystem: usb isapnp ide scsi
> > .
> > Setting up IP spoofing protection: rp_filter.
> > Enabling packet forwarding...done.
> > Configuring network interfaces...done.
> > Starting portmap daemon: portmap.
> > Recovering nvi editor sessions... done.
> > Starting internet superserver: inetd.
> > Starting OpenBSD Secure Shell server: sshdCould not load host key:
> > /etc/ssh/ssh_
> > host_rsa_key
> > Could not load host key: /etc/ssh/ssh_host_dsa_key
> > Disabling protocol version 2. Could not load host key
> > sshd: no hostkeys available -- exiting.
> > Starting NFS common utilities: statd.
> > Starting periodic command scheduler: cron.
> > Starting web server: apache-ssl failed
> > Press enter for maintenance
> > (or type Control-D to continue):
> > 
> > Seems like something is wrong with the file system.
> > If I press enter, I can see that the root file system is changed to
> > the USB flash drive. But when I type uname -r to check the kernel
> > version, it displays 2.4.26-ts11 which is the original kernel.
> > 
> > Does this mean Debian was not booted, and only the root file system
> > was modified?
> > 
> > If someone encountered similar problems before or know how to fix
> > this, please help me.
> > 
> > Thank you in advance.
> > 
> > Hideki
> >
> 
> I ran these commands to correct the SSH issue:
> 
> /usr/bin/ssh-keygen -t rsa1 -N "" -f /etc/ssh/ssh_host_key
> /usr/bin/ssh-keygen -t rsa -N "" -f /etc/ssh/ssh_host_rsa_key
> /usr/bin/ssh-keygen -t dsa -N "" -f /etc/ssh/ssh_host_dsa_key 
> 
> I still have not figured out the apache-ssl problem, but I haven't spent much 
> time on that since I have Debian up and working.
> 
> Luther
>




------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ts-7000/join
    (Yahoo! ID required)

<*> To change settings via email:
     
    

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU