I know this question has been asked a million times (at least)
But I have tried all the answers and none of them seem to work for me. I lost grub after xp reinstall (yet again). I followed the advice here http://kubuntuforums.net/forums/inde...opic=3081671.0
and always got the the reply to:
sudo grub
grub> find /boot/grub/stage1
Error 15: File not found
So I thought it was a permissions problem so from a console on the live cd I tried:
Code:
sudo mkdir /mnt/root
$
Code:
sudo mount -t ext3 /dev/sda2 /mnt/root
$
Code:
sudo mount -t proc none /mnt/root/proc
$
Code:
sudo mount -o bind /dev /mnt/root/dev
$
Code:
sudo chroot /mnt/root /bin/bash
#
Code:
sudo grub
grub> find /boot/grub/stage1
And got the dreaded:
Error 15: File not found
So I tried:
grub> geometry (hd1,
Possible partitions are:
Partition num: 0, Filesystem type unknown, partition type 0x7
Partition num: 1, Filesystem type unknown, partition type 0x93
Partition num: 2, Filesystem type unknown, partition type 0x92
Now I know that /boot/grub/stage1 is on
/sda2/boot/grub
which correponds to:
Partition num: 1, (I think, as this is the only hdd I have with 3 partions on it, num:0, = xp, num:1 = /, and num:3 = swap)
So why can't I find it with grub and reinstall it?
But I have tried all the answers and none of them seem to work for me. I lost grub after xp reinstall (yet again). I followed the advice here http://kubuntuforums.net/forums/inde...opic=3081671.0
and always got the the reply to:
sudo grub
grub> find /boot/grub/stage1
Error 15: File not found
So I thought it was a permissions problem so from a console on the live cd I tried:
Code:
sudo mkdir /mnt/root
$
Code:
sudo mount -t ext3 /dev/sda2 /mnt/root
$
Code:
sudo mount -t proc none /mnt/root/proc
$
Code:
sudo mount -o bind /dev /mnt/root/dev
$
Code:
sudo chroot /mnt/root /bin/bash
#
Code:
sudo grub
grub> find /boot/grub/stage1
And got the dreaded:
Error 15: File not found
So I tried:
grub> geometry (hd1,
Possible partitions are:
Partition num: 0, Filesystem type unknown, partition type 0x7
Partition num: 1, Filesystem type unknown, partition type 0x93
Partition num: 2, Filesystem type unknown, partition type 0x92
Now I know that /boot/grub/stage1 is on
/sda2/boot/grub
which correponds to:
Partition num: 1, (I think, as this is the only hdd I have with 3 partions on it, num:0, = xp, num:1 = /, and num:3 = swap)
So why can't I find it with grub and reinstall it?
Comment