Help - Search - Members - Calendar
Full Version: How To Recreate Grub
Linuxhelp > Support > Technical Support
Robert83
Hi,

I had WinXP Pro (FAT32) and Suse 9.1PRO (ext3), my WinXP was pretty screwed up and when I got my hands on doom3 I needed to reinstall it fast smile.gif , so now it's :

IDE 1 [MASTER] Disk1 (WinXP NTFS)
[SLAVE] Disk2 (NTFS, ext3 /boot)

IDE 2 [MASTER] DVD Writer
[SLAVE] Disk3 (ext3 / /disk2 swap)

I've tried Hughesjr's solution

rebooted with the Suse 9.1 DVD recovery option , entered as root did the following :
mkdir /mnt/fixgrub
mount /dev/hdd1 /mnt/fixgrub (/dev/hdd1 - is my root)
mount /dev/hdb8 /mnt/fixgrub/boot (/dev/hdb8 - is my boot)

chroot /mnt/fixgrub
grub
root (hd0)

and got this error :

filesystem type unknown, using whole disk this maybe because my primary drive is now NTFS ? is there a way around this ? /dev/hdb8 was made because I must be able to remove that 20GB removable drive when I get some new movies or mp3's so I think I cannot rebuild grub on disk3 , cause my system would not be able to boot up if I removed it right?


anyway the next thing I've tried is create a grub boot disk :

mkdir /mnt/fixgrub
mount /dev/hdd1 /mnt/fixgrub
mount /dev/hdb8 /mnt/fixgrub/boot

it told me to look for a stage1 and stage2 in /usr/share/grub/i386-pc/ but I found it only in /boot/grub

so I did this

dd if=stage1 of=/dev/fd0 bs=512 count=1
dd if=stage2 of=/dev/fd0 bs=512 seek=1

the floppy was created , and I rebooted with the floppy and this error comes up...

Grub Stage2 Geom Failure

why? what did I do ? the disk1 disk2 dvd disk3 is the same size it was before nothing was changed only fat32 was formated (and or converted) to NTFS.

I need help to solve this, I'm out of ideas on how to solve this problem.

Sincerely
Robert B
lesio1974
there is a bug in the kernel that SuSe 9.1 uses (Core 2 had the same problems on some machines) that causes it to write/read incorrect vaules in the partition table when there are NTFS partitions on the hard-drive (you say that FAT32 is converted to NTFS now);

Here you go;

Hope this helps a bit;

g
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2017 Invision Power Services, Inc.