Bootable USB Thumb Drive fails with "ERROR: Failed to mount real root device"
Hello,
I am trying to get Arch on a USB thumb drive and have gotten pretty close. I have managed to get it booting to USB by LABEL, I get dumped out into the rdinit environment with the message: Code:
ERROR: Failed to mount real root device Code:
[RAMFS /]# ls /dev/disk/by-label/ Code:
[RAMFS /]# blkid Code:
[RAMFS /]# mount /dev/sdb3 /new_root Regards, Brian |
I have arch installed on a USB-stick and all I did was to install to a single partition and edit the HOOKS in /etc/mkinitcpio.conf to:
Code:
HOOKS="base udev usb autodetect pata scsi sata filesystems usbinput" /etc/fstab: Code:
# Code:
menuentry 'Arch Linux, with Linux 3.0.0-rc3' --class archlinux --class gnu-linux --class gnu --class os { |
@andrewthomas - thanks for response, Did you install directly to the usb media?
I installed to HD and got my environment setup the way I like and rsync'd to thumb drive. The idea being I can keep my 'SYSTEM' partition synced between thumb drive, laptop and desktop. And use the thumb drive as a rescue disk. As far as the initrd (mkinitcpio), the setup is mostly like your example, and it works in as much as it boots (grub), finds the ramdisk and the ram disk appears to find the USB device when loading modules. This is where it falls apart. |
you could try to give it some more time.
Add rootdelay=25 to your kernel line in grub Quote:
|
Quote:
panic=30 waitusb=2 rootdelay=10 rootwait I'll try your suggestion and report the results. |
No luck with the rootdelay change. It clearly indicates that the usb device is detected, but reports "no such device" when attempting to mount partition /dev/sda3.
|
Quote:
strangely however you didn't get a kernel panic (which usually what happens when the kernel can't mount the root fs) it's probably because in your case you've a ramdisk ... |
I rebuilt the kernel26.img file with mkinitcpio and noticed that the resulting is smaller than the original. Could this be the problem?
|
All times are GMT -5. The time now is 03:19 PM. |