Results 1 to 4 of 4
Most of us started with windows and then decided to test out other operating systems eg Linux. Installed Linux and on starting the computer, Grub kicks in and we're able ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 01-23-2005 #1
- Join Date
- Mar 2004
Configuring Grub in a Dual boot Win xp/Suse9 computer
Most of us started with windows and then decided to test out other operating systems eg Linux. Installed Linux and on starting the computer, Grub kicks in and we're able to boot Linux but not windows.
To boot windows, you need to edit "/boot/grub/menu.lst "
Firstly a few basics :-
a. always install Grub, in the boot sector of the root partition of Linux
Never install Grub in the master boot record (MBR) 'cos when you uninstall Linux, you 'll not be able to get back to booting windows. The MBR is trashed.
b. Grub sees the ist hard disk as "hd0"
c. Example, 4 primary partitions, Linux sees 1st partition as 1,2,3,4 respectively, but Grub sees it as 0,1,2,3.
d. If the 4th primary partition is an Extended partition with 2 Logical partitions , then the 1st logical partition is labelled "hd5" and 2nd log. partn. as "hd6"
Note even if there're only 3 primary partitions, the 1st Logical partn. is still labelled "hd5"
Example a hard disk with win xp in 1st partition, Suse9 in 2nd partition
Make sure your partitions are labelled correctly.
Open up YaST2 Control Center, click "Partitioner"
Look for /dev/hda1 x Gb Win95 Fat32 LBA /WxP
/dev/hda2 x Gb Linux native /
hda where " a" denotes 1st hard disk, but Grub sees as "hd0"
hda1 where "1" is 1st primary partition on 1st hard disk, but Grub sees as
x - partition size, Win95 Fat32 LBA is the file type, / WxP - the mount point
Take note of these settings.
Open up YaST2 Control Center, click "Boot Loader Configuration"
Your Boot Loader Type should be GRUB
Boot Loader Location should be /dev/hda2
Available Sections should be Linux(default),windows WxP
Click "Edit Configurating Files "
Under "File Name" bring up /boot/grub/menu.lst (down arrow)
Look for this line.
### Don't change this comment-YaST2 identifier;Original name:windows Wxp ###
title windows WxP
Make sure the windows settings are correct, (change it if necessary)
press "OK", then press "Finish"
Hope this is useful to someone.
- 01-23-2005 #2
Re: Cofiguring Grub in a Dual boot Win xp/Suse9 computerOriginally Posted by pchin"I am not an alcoholic, alcoholics go to meetings"
Registered Linux user = #372327
- 01-24-2005 #3
- Join Date
- Mar 2004
Thank you for pointing this out, sdousley. This is the bit where most prople get stuck with when uninstalling linux. (at the dos prompt type "fixmbr")
- 01-24-2005 #4
Topic Locked. If you need a grub tutorial, see this link:
Nerderello has written a *very* complete one."Time is an illusion. Lunchtime, doubly so."
~Douglas Adams, The Hitchhiker's Guide to the Galaxy