Alexander.Luya
August 3rd, 2011, 09:04 AM
After installing windows XP,I did some googling to try to get ubuntu back,but seems messed something up.
Right now,every time to boot system,I have to press "e" on first entry in boot menu,then press "e"s to do these two modifications to startup ubuntu corrently:
1,root (hd0,0)
----------------------------
(hd0,0) ===>> (hd0,4)
----------------------------
2,kernel /boot/... root=/dev/hd0 ro ..
------------------------------------------
/dev/had0 ===>> /dev/sda5(this is partition where ubuntu has been installed)
After logged in,I try to do something:
1,
>grub
grub>root (hd0,0)
Here,got error:
-------------------------
Error 21: Selected disk does not exist
-------------------------
2,then try to modify /boot/grub/grub.cfg:
change all root (hd0,0) to (hd0,4)
(don't know and find where to change:"kernel /boot/... root=/dev/hd0 ro ..")
and restart,thing is being same as before,so how can I get gr
ub2 configured right?
Right now,every time to boot system,I have to press "e" on first entry in boot menu,then press "e"s to do these two modifications to startup ubuntu corrently:
1,root (hd0,0)
----------------------------
(hd0,0) ===>> (hd0,4)
----------------------------
2,kernel /boot/... root=/dev/hd0 ro ..
------------------------------------------
/dev/had0 ===>> /dev/sda5(this is partition where ubuntu has been installed)
After logged in,I try to do something:
1,
>grub
grub>root (hd0,0)
Here,got error:
-------------------------
Error 21: Selected disk does not exist
-------------------------
2,then try to modify /boot/grub/grub.cfg:
change all root (hd0,0) to (hd0,4)
(don't know and find where to change:"kernel /boot/... root=/dev/hd0 ro ..")
and restart,thing is being same as before,so how can I get gr
ub2 configured right?