Pc linux OS reboot loop
It might be cause by The MBR was messed up by a bad grub install. You can try to fix the grub.
If you want to try reinstalling grub, boot from the live CD, log in as
root, open a Konsole window, and at the prompt, ([root@localhost ~]#)
type;
[root@localhost ~]# grub <Enter>
GNU GRUB version 0.97 (640K lower / 3072K upper memory)
<-- This is the output from grub after <Enter>
[ Minimal BASH-like line editing is supported. For the first word, TAB
lists possible command completions. Anywhere else TAB lists the possible
completions of a device/filename. ]
grub> <-- The grub prompt.
From the grub prompt type;
grub> find /boot/grub/stage2 <Enter>
(hd0,0)
(hd0,4)
(hd0,5)
(hd0,9)
(hd0,11) <-- You'll only have one, use it
(hd1,0)
(hd1,2)
(hd1,4)
grub> root (hd0,5) <Enter> <-- Use what showed up above for yours
Filesystem
type is ext2fs, partition type 0x83 <--
Grub reports both ext2 and ext3 as ext2. Don't worry about it.
grub> setup (hd0) <Enter> <-- That is a zero (hd0), not a letter
Checking if "/boot/grub/stage1" exists... yes
Checking if "/boot/grub/stage2" exists... yes
Checking if "/boot/grub/e2fs_stage1_5" exists... yes
Running "embed /boot/grub/e2fs_stage1_5 (hd0)"... 15 sectors are embedded.
succeeded
Running "install /boot/grub/stage1 (hd0) (hd0)1+15 p (hd0,5)/boot/grub/stage2 /boot/grub/menu.lst"... succeeded
Done.
grub> quit <Enter>
Your done; grub is reinstalled
P.S.: If this information was helpful, please rate this solution.
×