Debian: installed from USB, now Grub has incorrect devices
Created a USB installer of the Debian 5.0.x netinstall disk using UNetBootin on XP.
The Debian 5.0 install went fine, but at bootup Grub failed to find my devices. I had to manually edit the Grub boot line to change the hd1,0 and /dev/sdb1 to hd0,0 and /dev/sda1: Code:
title Debian GNU/Linux, kernel 2.6.26-2-amd64 What is causing the system to set the devices incorrectly? Where can I change this so that future upgrades etc don't mess up the boot process? |
One thing you can do is change the grub menu.lst file to use the UUID or label of the device. See this part way down for use of UUID.
|
> One thing you can do is change the grub menu.lst file to use the UUID
With Grub2 won't this just get overwritten with future updates? |
With grub2 yes, but with Debian5 you have got grub-legacy, not grub2.
(grub2 uses /boot/grub/grub.cfg, btw). Have a look at /boot/grub/device.map |
All times are GMT -5. The time now is 10:32 PM. |