Skip to contentSkip to conversation

how to boot the host system from the USB disk

DISCUSSION Bai Shuwei 1 participant 1 message Feb 11, 2010

lore
Share & tools
lore

Bai Shuwei

author
#0 lore raw

Hi, All:

I intall the grub on my usb-disk. I add the configure information
to the memu.list file located in the usb disk. The hard-disk system can be booted by USB disk. But if i remove the grub installed on the hardisk, The usb-disk cannot boot the host system. I use the bellow command to remove the grub

   # dd if=/dev/zero of=/dev/sda bs=446 count=1

and my menu.list file content is showed bellow

title           Debian GNU/Linux, kernel 2.6.26-2-686
root            (cd)
kernel          /boot/vmlinuz-2.6.26-2-686 root=/dev/hdc ro quiet
initrd          /boot/initrd.img-2.6.26-2-686
title           Debian GNU/Linux, kernel 2.6.26-2-amd64 (single-user mode)
root            (hd0,0)
kernel          /boot/vmlinuz-2.6.26-2-amd64 root=/dev/sda1 ro single
initrd          /boot/initrd.img-2.6.26-2-amd64

I think my menu.list file is wrong, can somebody can give me idea?
Thanks all!

Best Regards

Bai Shuwei

Signature · 4 lines
Love other people, as same as love yourself!
Don't think all the time, do it by your hands!

E-Mail: [email protected]