Hello all,
had a dual boot system with openSuse 11.1 and Windows XP working OK - Linux boot loader was where OS selection was made (openSuse was installed after Windows)
Last week I had to reinstall Windows and this removed the Linux loader from MBR and Windows booted automatically.
I wanted the Linux boot loader back,checked the threads about boot loader restoration and did the following:
downloaded Knoppix 6.2.1 ISO and burned to CD
booted with CD
opened terminal with root privileges and typed:
grub (ENTER)
grub> find /boot/grub/stage1 (ENTER)
> (hd0,2)
grub> root (hd0,2) (ENTER)
>Filesystem type is ext2fs, partition type 0x83
grub> setup (hd0) (ENTER)
setup was successful (no error messages)
Now when booting, i have an error that root (0,3) can not be mounted and “Press any key to continue”??? When hitting any key I see that there is GRUB there with all entries as in original state (Suse 11.1 and Windows) but only Windows can be booted.
Then I downloaded live eval of openSuse 11.1 and did the same (booted from CD and run same commands from terminal as root) - again no errors but still “root (0,3)” can not be mounted…
Hi caf4296,
sorry about posting double, I could not remove the post in “Re-Install Grub Quickly with Parted Magic” - let’s continue here if possible please
Many thanks for the quick response, here’s the output of fdisk -l:
Disk /dev/sda: 79,8 GB 79826342400 bytes
255 heads, 63 sectors/track, 9705 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x2b7323fb
Device Boot Start End Blocks Id System
/dev/sda1 * 1 1771 14217525 7 HPFS/NTFS
Partition 1 does not end on cylinder boundary.
/dev/sda2 1771 2033 2104484 82 Linux swap/Solaris
Partition 2 does not end on cylinder boundary.
/dev/sda3 2033 4477 19639462 83 Linux
/dev/sda4 4478 9705 41993910 f W95 Ext’d (LBA)
/dev/sda5 4478 6389 15358108+ 7 HPFS/NTFS
/dev/sda6 6390 6772 3076416 7 HPFS/NTFS
/dev/sda7 6773 7876 8859847 7 HPFS/NTFS
/dev/sda8 7876 8047 1381558+ 83 Linux
/dev/sda9 8048 8430 3076416 7 HPFS/NTFS
/dev/sda10 8431 9705 102414016 7 HPFS/NTFS
Hello caf4296,
many thanks for your attention, I really appreciate this.
Here’s the output of my /ets/fstab after I mounted the Linux partition in Knoppix:
How come this kernel version is now displayed? This is Knoppix still in live eval mode, right? My openSuse kernel is 2.27.54 (the missing Linux I am trying to retrieve after Windoes wiped MBR… )
This is not your hard disk, it’s the live CD. You have to mount your root partition first. So please type :
**mount -t ext3 /dev/sda3 /mnt
**and show us the output of the following commands:
**ls /mnt/boot
ls /mnt/boot/grub **
Hello.
Do you know that 11.1 support is almost over? So if you ever planed to upgrade, that would be a good time. And it would solve your boot problem by the way.
Hi please_try_again,
I tend to consider the 11.3 openSuse installation as well (with previous backing up of my /home for later).
But what I would really want to know is what actually happened on GRUB restore? Was it something I mistyped or something I forgot to type ? I think I have considered all details I could find in related topics…
Could this happen again in similar scenario? The most important thing I’d like to know is if 11.3 installation from scratch will actually repair the MBR?
Many thanks again for your assistance, much appreciated on late Friday afternoon…
Everything is possible. Your MBR is not damaged. You can install Grub there or not, either now or in a new installation. This is not a big deal.
OK. let me see the following files (type the following commands):