NSLU2-Linux
view · edit · print · history

FAQ.DiskNotMountedAtBoot History

Hide minor edits - Show changes to markup

October 03, 2007, at 07:44 PM by NiHo -- Fix to another mount problem
Added lines 39-44:

Another linuxrc fix; While installing unslung 5.5 to a WesternDigital? MyBook? essential 320 MB, the timeout in linuxrc was already increased and a /.sda1root present. The testmounting at /mnt failed, "mount: Mounting /dev/sda1 on /mnt failed: No such device or address" (piping stderr to /linuxrc_log). Inserting a sleep 4 just before the mounting at /mnt solved this problem

August 16, 2007, at 10:28 PM by IanB --
Added lines 35-38:

When installing uNSLUng 6.8, the unslung drive was not being mounted as the rootfs on reboot. The disk was mounted and showing up as /dev/sda1 on /share/flash/data, but the system was still running from internal flash. Updated /linuxrc to increase the sleep in line 24 from 5 to 10, then reboot, fixed the problem. This was with an Iomega 500GB drive.

June 30, 2007, at 06:44 PM by RichardB -- 6.8 failed to mount USB as rootfs
Added lines 33-34:

When installing uNSLUng 6.8, the unslung drive was not being mounted as the rootfs on reboot. The disk was mounted and showing up as /dev/sda1 on /share/flash/data, but the system was still running from internal flash. Eventually traced it down to /linuxrc, which was testing for -e /.sda1root which was not present. touch /.sda1root, then reboot, fixed the problem.

January 29, 2006, at 03:11 PM by Jelle -- changed \\\"rm /.recovery\\\" into \\\"rm /mnt/disk/.recovery\\\"
Changed lines 27-28 from:
  1. now you must remove the file /.recovery:
    rm /.recovery \\
to:
  1. now you must remove the file .recovery from the root of the harddisk:
    rm /mnt/disk/.recovery \\
January 09, 2006, at 04:13 PM by mda --
Added lines 1-4:

See also DiskNotRecognized

[NOTE: .recovery files are only for openslug, not unslung???]

December 09, 2005, at 11:31 AM by hs -- formatting
Changed lines 2-5 from:
  • But it runs a few times ago successfully?

Maybe you have had some unclean shutdown, then the file /.recovery was not removed and so only the flash is mounted when you (re)boot.

to:
  • But it ran a few times ago successfully?

Maybe you have had some unclean shutdown, then the file /.recovery was not removed and so only the flash is mounted when you (re)boot.

Changed lines 17-18 from:


1. If the flashsystem is mounted you must mount your harddisk temporary to e.g /mnt/disk:\\

to:
  1. If the flashsystem is mounted you must mount your harddisk temporary to e.g /mnt/disk:\\
Changed lines 22-24 from:

If this step works without problems, you can go on
2. now you must remove the file /.recovery:\\

to:

If this step works without problems, you can go on

  1. now you must remove the file /.recovery:\\
Changed lines 25-31 from:

If the file is not there than this FAQ was not helpfully ;-)
3. at last you must 'reboot' and after that it should work.
Thanks to eFfeM

to:

If the file is not there than this FAQ was not helpful

  1. at last you must 'reboot' and after that it should work.
November 03, 2005, at 03:17 PM by Cheef-Daniel --
Changed lines 1-3 from:

Your disk is not mounted anymore after a poweron on Openslug? But it runs a few times ago successfully?

to:
  • Your disk is not mounted anymore after a poweron on Openslug?
  • But it runs a few times ago successfully?
Changed lines 8-29 from:

Harddisk: root@NSLU2:/# mount /dev/sda1 on / type ext3 (rw) ...

Flash: root@NSLU2:/# mount /dev/mtdblock4 on / type ext3 (rw) ...

1. If the flashsystem is mounted you must mount your harddisk temporary to e.g /mnt/disk: mkdir /mnt/disk mount /dev/sda1 /mnt/disk (/dev/sda1 if it is your root-partition) If this step works without problems, you can go on

2. now you must remove the file /.recovery: rm /.recovery If the file is not there than this FAQ was not helpfully ;-)

3. at last you must 'reboot' and after that it should work.

to:

Harddisk:
root@NSLU2:/# mount
/dev/sda1 on / type ext3 (rw)
...
Flash:
root@NSLU2:/# mount
/dev/mtdblock4 on / type ext3 (rw)
...

1. If the flashsystem is mounted you must mount your harddisk temporary to e.g /mnt/disk:
mkdir /mnt/disk
mount /dev/sda1 /mnt/disk
(/dev/sda1 if it is your root-partition)
If this step works without problems, you can go on
2. now you must remove the file /.recovery:
rm /.recovery
If the file is not there than this FAQ was not helpfully ;-)
3. at last you must 'reboot' and after that it should work.

November 03, 2005, at 03:07 PM by Cheef-Daniel --
Added lines 1-32:

Your disk is not mounted anymore after a poweron on Openslug? But it runs a few times ago successfully?

Maybe you have had some unclean shutdown, then the file /.recovery was not removed and so only the flash is mounted when you (re)boot.

To find out if flash or your harddisk is mounted you type 'mount':

Harddisk: root@NSLU2:/# mount /dev/sda1 on / type ext3 (rw) ...

Flash: root@NSLU2:/# mount /dev/mtdblock4 on / type ext3 (rw) ...

1. If the flashsystem is mounted you must mount your harddisk temporary to e.g /mnt/disk: mkdir /mnt/disk mount /dev/sda1 /mnt/disk (/dev/sda1 if it is your root-partition) If this step works without problems, you can go on

2. now you must remove the file /.recovery: rm /.recovery If the file is not there than this FAQ was not helpfully ;-)

3. at last you must 'reboot' and after that it should work.

Thanks to eFfeM

view · edit · print · history · Last edited by NiHo.
Based on work by IanB, RichardB, Jelle, mda, hs, and Cheef-Daniel.
Originally by Cheef-Daniel.
Page last modified on October 03, 2007, at 07:44 PM