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

Re: grub wants root=/dev/hde?? - map




On Wed, 1 Sep 2004, Lance Hoffmeyer wrote:

> Grub keeps putting my root on /dev/hde.
> 
> Originally this is where my harddrive was.
> Now I have moved it to /dev/hda.  Why
> won't Grub recognize this?  I keep having
> to edit the root= line at each boot?

assuming root is /dev/hda1

you need to change /boot/grub/device.map
	# for /dev/hda1  as  /
	(hd0)   /dev/hda

in menu.lst ...
	...
	kernel (hd0,0)/boot/vmlinuz-2.4.27 root=/dev/hda1 ...

rerun grub:
	grub-install /dev/hda

c ya
alvin



Reply to: