Latest LQ Deal: Latest LQ Deals
Go Back > Linux Answers > Applications / GUI / Multimedia
User Name


By talLinux at 2005-05-21 04:41
I write this tutorial to explain how to solve a problem that occurred to me using SuSE 9.2 and 9.3, but that affects the Grub bootmanager, distro-independent.

PROBLEM. You have 2 Hard-disks on your machine: the primary disk has Linux installed (e.g SuSE 9.3 Pro) and the secondary one has MS Windows (e.g WinXP Pro); if you select Windows in the bootloader screen, the O.S won't boot up, and an error message similar to the following appears:

(hd 0,1)
Filesystem type unknown, partition type 0x7
chainloader +1

SOLUTION. 1) Open a filemanager as Superuser (On Suse 9.3: MenuK > System > File managers > SuperUser file manager, or run the command "kdesu konqueror" in KDE).
2) Go to the folder /boot/grub/ and click the file menu.lst
3) The file opens in a text editor. Select the menu File > Open with > Kate. The file is opened with Kate, which allows you to edit it.
4) Look for the part of the document which regards Windows and replace it with the following:

title Windows
map (hd0) (hd1)
map (hd1) (hd0)
chainloader (hd1,0)+1

5) Save the file and reboot your computer. Now if you select "Windows" in Grub starting screen, Microsoft O.S should boot up without problems.



by swaroopadusumilli on Thu, 2005-11-10 14:16
I am new to this forum.

I have a weird problem with dual booting windows xp and RH9.0.
My configuration:
hda - 256G IDE PATA drive - /boot and swap space installed
hdb - 256G IDE PATA drive - RH9.0 / installed
SATA in RAID Configuration - Windows XP installed.

my system came originally with sata drive with windows xp installed. Better way to install RH9.0 is on secondary drive, hence went in and bought 2 256G IDE drives and installed RH9.0 on them. That's it I could only see hda and hdb from which Linux could be loaded. SATA drive cannot be seen at all and hence windows cannot be booted.

I followed the method of editing GRUB loader and edited for correct DOS path. But RH9.0 does not even see the sata drive.

I thought i would go into system setup (F2 during computer boot) and try to change boot sequence, but it does not allow me to change it. the order is:
Primary Master Hard Drive - hda
Primary Slave Hard Drive -hdb
Hard Disk C: (SATA drive)

please i need help in havind boot ability both windows xp and RH9.0


by dsnuggs on Tue, 2006-01-03 08:34
Hi swaroopadusumilli.

I have a simular problem with my Windows ME not booting from GRUB, which I'm trying to sort out.

Does your mobo have the facility to press F8 at boot-up, and select which drive to boot from?
Also, does GRUB or Linux not see your SATA drive as a 'sda' drive?

If you have F8 facility, then for the present you can boot into windows that way, until your problem is sorted out.

Also, what make of PC have you got?
If it's something like DELL, then I believe you have a BIG problem.

When I find out how to get over my problem, (Error 25), then I will let you know the answer. It may help you with your problem.

by desooch on Mon, 2006-01-16 20:37
i think as a newbie, you may have to accept defaults at installation of rh9.
your solution (for a newbie) is to reinstall rh9.
did you or somebody else did the installation of rh9?
fix first your mbr by booting into the winxp cd, select recover then fixboot, (i always do fixboot and fixmbr) then reboot. and my winxp is back. once i know my computer can boot winxp then i reinstall rh9 always being careful on the fdisk portion of the installation (where i have to partition and set the root partition, the /boot partition, and the swap partition

by rbad on Tue, 2006-06-13 12:25
Originally Posted by talLinux
This thread is to discuss the article titled:]Booting Windows on second HD with Grub[/url]

O' my, after of hours of googling and 3 installs of both OS's windows xp and suse 10.1. This one link took care of my problem duel booting the 2 OS's in like 2 mins. Im a complete noob to linux, and cant thank the guy enough on supplying this artical and/or for writing it.
Thank You Thank You Thank You Thank You Thank You Thank You Thank You Thank You

Sorry for the spam just wanted to express my happyness

Hehehe so noob that i cant post links yet

by NoobieDoobieDo on Tue, 2007-02-13 10:37
Worked for me but had to add a few more commands


All times are GMT -5. The time now is 01:01 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration