change grub to boot from live usb

Asked by muted

is it possible to change your grub stored on hdd to be able to boot from live usb stick as my bios doesnt allow this even though it has usb-hdd, usb-cdrom, usb-fdd and usb-zip i have tried all and none work.

i know there are boot disks around but i have no empty cd/dvds the usb stick contains the new ubuntu 9.04 and i am looking for a full clean install so losing or coruppting anything doesnt matter.

any help appreciated

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu grub Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

Sure, just add an extra entry to /boot/grub/menu.lst that points to the usb device

If you only have a single internal drive the disk will be disk 0, the usb will be disk 1.

It's going to take some trial and error but shouldn't be too hard at all. if the bootable partition is on sdb1 for example, the partition number will be 0 as grub starts its numbering at 0 and not 1. Read the standing file and you can work it out

You may also want to look into blkid to ientify the partition as a hash, this can make things a little nicer

Can you help with this problem?

Provide an answer of your own, or ask muted for more information if necessary.

To post a message you must log in.