Quantcast
Channel: Linux Device Hacking - uBoot
Viewing all articles
Browse latest Browse all 923

Stuck at "ALERT! /dev/disk/by-label/rootfs does not exist. Dropping to a shell!" (12 replies)

$
0
0
Hello!

I have been reading dozens of sites in this great forum for weeks now, for preparing the conversion of my GoFlex Net into something useful (newest UBoot + latest possible Debian) as good as possible. My plan was following the instructions here.
The result was a disaster, where seemingly everything went wrong as it could have had.

It started with Pogoplug not offering the checkbox for enabling SSH. I tried all options multiple times, like restting cookies, enabling UPnP, another webbrowser, but this damn checkbox wouldn't appear.
After this I wrote an email to pogoplug support, asking them for help. What I got was more an insult than any help.. they just sent me the standard form, telling me I should read the forum and whatever.. same for the next two emails I wrote them..

Ok, then. I remembered that I had an USB2serial converter, from some earlier projects and made it work with my GoFlex Net. I found some instructions on how to add an start entry for dropbear.sh into the rcS script - but there was no dropbear.sh in my device. So I tried to create my own dropbear.sh, added it into rcS and finally got SSH working.

Then I updated the bootloader, like said in Jeff's original instructions. (install_uboot_mtd0.sh).
After flashing I tried booting from the USB thumb drive I had prepared - but the GoFlexNet wouldn't boot or become accessible anymore.
So my next step was trying to recover the bootloader (U-Boot).
For making this short:
-serial console didn't work anymore and just showed garbled characters.
-kwtool didn't work at all, as it would always got "xmodem bad message".
But for luck I noticed, that when I started kwtool, reset the GoFlex and enabled serial console at the same time, I could actually get working access through console again.
As I still needed to repair the bootloader I tried achieving this by updating to the most recent bootloader, following bodhi's instructions here.
I set "fw_setenv dtb_file" because I stil had the old debain from Jeff's original post on my usb drive.

From then on I couldn't boot into debian anymore, because I always get the following error:


Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Waiting for root file system ... done.
Gave up waiting for root device. Common problems:
- Boot args (cat /proc/cmdline)
- Check rootdelay= (did the system wait long enough?)
- Check root= (did the system wait for the right device?)
- Missing modules (cat /proc/modules; ls /dev)
ALERT! /dev/disk/by-label/rootfs does not exist. Dropping to a shell!

Could you please help me?

Edit:
I removed the old Debian on my USB drive and replaced it by the most recent Debian 4.4 from bodhi. Then I added the uEnv.txt file with dtb_file='/boot/dts/kirkwood-goflexnet.dtb'.

This actually worked and it can boot into Debian again.
I'm not sure on how to continue from here, as I still got no rescue system and I don't know if the other OS I got on USB now than the original tutorial makes a difference there..

Edit2:
Ok, I just tried the "./install_rescue.sh" scripts. IT stops with saying that I had to update U-Boot to the latest version - but I think I already have the latest version.. Is this because Jeff's install rescue script is too old for knowing bhodi's current uboot?

Viewing all articles
Browse latest Browse all 923

Latest Images

Trending Articles



Latest Images