NSLU2-Linux
view · edit · print · history

See also DiskNotRecognized

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

  • Your disk is not mounted anymore after a poweron on Openslug?
  • 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.

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 from the root of the harddisk:
    rm /mnt/disk/.recovery
    If the file is not there than this FAQ was not helpful
  3. at last you must 'reboot' and after that it should work.

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.


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.


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

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