Ask the Expert

Partitioning tips, GRUB and more

I partitioned my hard drive to install Windows 2000 on 28 GB partition and installed Red Hat Linux, version 7.1, on a 9 GB partition. Whenever I need to get into Linux, I have to go into BIOS settings and change the boot sequence to floppy drive:>. Then, I am able to enter into Linux. Can let me know how can I can go into Linux while booting my machine rather than going into BIOS settings? I have a DELL PC with P3, 1.3 GHz processor, 256 MB RAM, 40 GB hard drive.

    Requires Free Membership to View

I recently installed SUSE Linux Professional 9 and 9.1 on a Windows XP machines. The hard disk was 40GB and Windows owns 10GB of it. The Linux distributions were installed into the remaining partition on each machine.

Both SUSE 9 and 9.1 automatically added both operating systems to the GRUB boot screen. This means I can choose to run either Linux or Windows XP at boot time without having to manually fiddle this are you need to do.

My solution to your problem would be to set the Linux partition as the active partition, then add to your GRUB control file:

/boot/grub/grub.conf

title Windows

root(hd0,x)

chainloader +1

Where x is the partition that Windows is installed in starting at 0 as the first partition.

Note: This assumes that RH7.1 uses GRUB. If it uses LILO (ie: there is no /boot/grub/grub.conf file), I suggest you join the Red Hat mailing list and ask for help there.

Alternately, you could leave the Windows partition as the default boot partition and simply add the Linux partition entry using a tool such as BootPart.

This was first published in July 2004

There are Comments. Add yours.

 
TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to: