Quote:
Originally Posted by ssenuta
Here is what I tried:
/usr/sbin/grub-install --grub-setup=/bin/true /dev/sdb
boot to grub-legacy prompt (grub>)
grub> root (hd0,0) ..grug-legacy ext3 partition /dev/sdb1
grub> kernel /boot/grub/core.img ..This gives error
grub> boot
|
What you did seems to be alright.
What error did you get??
Quote:
Originally Posted by ssenuta
Since the above doesn't work I haven't tried:
/usr/sbin/grub-install /dev/sdb
update-grub -o /boot/grub/grub.cfg
|
Your steps didnt mention the creation of grub.cfg file.... which is the file in grub2 that is similar grub.conf or menu.lst in grub-legacy.
The grub.cfg file is needed by grub2.you can also generate the grub.cfg file automatically by the command
Code:
grub-mkconfig -o /boot/grub/grub.cfg
that is you will have to execute that command..... i dont think that the above command will do anything to your existing files.... so it should be safe...
You
do not have to do grub-install unless you want to replace your existing boot loader with grub2.
anyway keeping a backup of your /boot is a good idea.....
More details can be found at :
http://grub.enbug.org/TestingOnX86