Grub to boot USB HDD

My machine is using Ubuntu 8.04 (=> legacy grub). It is backed up regularly and I would like to check I am able to restore the backup.

This backup includes everything on the system, including /boot (the only things excluded are things like /proc, /var, /dev…).

I “restored” the backup onto an external USB HDD, setup the boot flag there and I would like to boot that. Is that possible ?

I tried several variants of grub-install, changing the menu.lst, but still no luck. For one thing, the /boot/grub/device.map only shows the main HDD, not the USB HDD, is it ok to just add it in there? :

(hd1) /dev/sdb1

When I change the BIOS to boot from USB, it just seems to skip it.

What else do I need to do ?

Answer

Have you checked grub-install ?

read http://www.linuxselfhelp.com/gnu/grub/html_chapter/grub_3.html

that should get you sorted.

Attribution
Source : Link , Question Author : Matthieu , Answer Author : J. Hardy

Leave a Comment