[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Problems booting live system from usb

Hi everyone,

I'm unable to boot my lenny system from a usb drive. Testing with "qemu -cdrom binary-hybrid.iso" works so I know the image is not the problem.

I have a usb stick that I boot multiple os's from, so rather than copy the entire image to the drive, I just copied the contents of /live from the hybrid iso into the directory /debian_live on my usb drive.

ls /media/liveboot/debian_live/
filesystem.packages  filesystem.squashfs  initrd.img  memtest  parameters.txt  vmlinuz

Then I added the following entry to my grub.cfg (grub2 on the drive)

menuentry "Debian Live" {
 linux /debian_live/vmlinuz
 initrd /debian_live/initrd.img boot=live live-config xdebconf debug live-media-path=/debian_live/ live-media=removable-usb

I read through the man page for live-initramfs and added the "live-media-path=" and "live-media=" parameters, but the system defaults to busybox after a few seconds with the error messages:

Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... done.
mount: cannot read /etc/fstab: No such file or directory
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... mount: mounting /dev on /root/dev failed: No such file or directory
mount: mounting /sys on /root/sys failed: No such file or directory
mount: mounting /proc on /root/proc failed: No such file or directory
Target filesystem doesn't have /sbin/init.
No init found. Try passing init= bootarg

Looking through the man page, I do not see a init= parameter so I am assuming that it is part of the grub entry. Anyone know what the problem could be? Any help is appreciated.
fn:Frank Zambrini

Reply to: