Grub and Mounting problem

I am a new user of suse 11.0. I had a 80 GB SATA hard disk with Windows Xp(sda1) and SUSE installed.Later when I re-installed XP I hadnt been able to boot to SUSE. So I repaired the GRUB using SUSE 11.0 DVD. I also bought another 80 GB hard disk partitioned in NTFS.

  1. MY first problem is that GRUB doesnt show Windows as boot option.
  2. SUSE doesn,t show the newer harddrive contents.

Please help…

The output of the command fdisk -l is given below

Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x7cef7cef

Device Boot Start End Blocks Id System
/dev/sda1 * 1 765 6144831 7 HPFS/NTFS
/dev/sda2 766 9728 71995297+ f W95 Ext’d (LBA)
/dev/sda5 766 3315 20482843+ 7 HPFS/NTFS
/dev/sda6 3316 5865 20482843+ 7 HPFS/NTFS
/dev/sda7 5866 7777 15358108+ 7 HPFS/NTFS
/dev/sda8 7778 7839 497983+ 82 Linux swap / Solaris
/dev/sda9 7840 9728 15173361 83 Linux

Disk /dev/sdb: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x01ad01ad

Device Boot Start End Blocks Id System
/dev/sdb1 1 3187 25599546 7 HPFS/NTFS
/dev/sdb2 3188 9728 52540582+ f W95 Ext’d (LBA)
/dev/sdb5 3188 6374 25599546 7 HPFS/NTFS
/dev/sdb6 6375 9728 26940973+ 7 HPFS/NTFS

If you use the menu option “repair installed system” it will put only Suse on the boot menu. Then you have to have Yast recalculate a full menu to include windows (and other operating systems). Here’s how to do that:

Go to Yast → System → Boot Loader. The Grub configuration screen comes up with the Tab “Section Management” activated. In the lower right is a drop-down selector labelled “Other”. Select from “Other” the option “Propose New Configuration” and then wait for Grub to analyse your partitions and display a new configuration. This may take a while. Important: When that finishes, activate the tab labelled “Boot Loader Installation” and select to “Boot from the Master Boot Record”. [Yast will often default to booting from the root or boot partition rather than from the MBR but that’s for experts only – always choose the MBR.] Then click Finish to save the changes and install the reconfigured Grub into the hard drive’s MBR. If you get a message that "The bootloader boot sector will be written to a floppy disk … don’t bother with the floppy – just click OK to proceed and install to the MBR. Reboot and you should see windows in the menu list.

The quote is from this reference:
GRUB Boot Multiboot openSUSE Windows (2000, XP, Vista) using the Grub bootloader.

Hi! rotfl!Good day, I have a similar issue. My case is, I have two hard drives installed in my PC. I’ve had had installed XP in the second before I even knew linux, so after that, I installed open suse in the first hard drive. My grub is located in the open suse drive (sda) and windows remains in hdd 2 (sdb). To change I need to switch the boot dev, which is a little annoying. Xp does appear in the grub menu, but when I choose that, appears root loader chain error or something like that. I’ve installed open suse like 3 times and always is that issue. I would like to know what files I should to review and how the configuration must be made, an example would be fine. Well, thanks a lot, hope get any answer, and if the answer is somewhere else, sorry, I didn’t see it and I would appreciate the link. Thanks!!!;:wink:

Hello, I see this is your first post: Welcome to the openSUSE Forums.

Is this true: you have a standard windows install on sda2/drive2 and that it was once the first drive (which is why you have to switch in the bios to make it boot) but now you have moved it to be the second drive? Tell me if I am wrong.

Then you connected a new first drive and on on the new first drive you installed Suse? Tell me if I am wrong.

I think we can make it so you don’t have to switch in the bios to boot windows. Is that what you want?

So answer those three questions and also please post the contents of the file /boot/grub/menu.lst. To make the contents visible you execute this command in a console:

sudo cat /boot/grub/menu.lst

Then paste the contents in a reply here. That should show me what Grub thinks about your windows partition.

Also please paste the dialogue you get in a console when you enter this command:

sudo /sbin/fdisk -l

That should give me a look at the arrangement of your drives and partitions.