LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-05-2008, 05:52 AM   #1
diazden
LQ Newbie
 
Registered: Aug 2008
Posts: 3

Rep: Reputation: 0
rh9 multiple booting


hi;
I have a large hd and have 3 partitions on it linux, xp, and another partition that was boot and was xp as well, but without internet connection (im sick of viruses) since I have installed linux (after xp) grub can boot in both linux & the first xp partition , but it wont read or boot the second xp partition ,
can someone please help me so i can edit grub so it can boot in all existing partitions?
thank you
mariano
 
Old 08-05-2008, 05:58 AM   #2
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
I was under the impression that Windows had to be on the first partition
 
Old 08-06-2008, 01:11 AM   #3
diazden
LQ Newbie
 
Registered: Aug 2008
Posts: 3

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by billymayday View Post
I was under the impression that Windows had to be on the first partition
And probably is , remember that grub is working with one xp partition and the linux one but is the other xp partition that i have that is not working
regards
mariano
 
Old 08-06-2008, 01:32 AM   #4
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
What I meant was that if I'm right (and I'm running on vague memories here) it won't work if it isn't the first partition. Period. But are you saying it used to work OK?

can you post your menu.lst for grub
 
Old 08-06-2008, 01:57 AM   #5
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,125

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
Grub will boot any partition. XP needs to be in a primary partition on the first (BIOS boot) disk - not necessarily the first partition. The last (M$ost) O/S to need that was probably the original Win 95.
Post the output from "fdisk -l" as well as the grub conf (which may be called grub.conf for RH9).
 
Old 08-06-2008, 08:11 AM   #6
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,501

Rep: Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489
Do you have two separate versions of xp installed or is one of the xp partitions just data? Grub doesn't actually boot xp, it chainloads it which means it points to the bootloader in xp and tells the machine to look there for a bootloader. You need the entries for booting the second xp in the first xp. I'm curious as to how you were booting before installing Linux and what distribution of Linux do you have?

This is the way I understand everything I've read about booting windows, so if it's not right, someone correct me.
 
Old 08-12-2008, 05:20 AM   #7
diazden
LQ Newbie
 
Registered: Aug 2008
Posts: 3

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by syg00 View Post
Grub will boot any partition. XP needs to be in a primary partition on the first (BIOS boot) disk - not necessarily the first partition. The last (M$ost) O/S to need that was probably the original Win 95.
Post the output from "fdisk -l" as well as the grub conf (which may be called grub.conf for RH9).

this is the output of fdisk -l
sorry about the delay
regards
mariano


[root@localhost root]# cat /boot/grub/grub.conf
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this
file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,0)
# kernel /vmlinuz-version ro root=/dev/hdb5
# initrd /initrd-version.img
#boot=/dev/hdb
default=2
timeout=10
splashimage=(hd0,0)/grub/splash.xpm.gz
title Red Hat Linux (2.4.20-6smp)
root (hd0,0)
kernel /vmlinuz-2.4.20-6smp ro root=LABEL=/ hdc=ide-scsi
initrd /initrd-2.4.20-6smp.img
title Red Hat Linux-up (2.4.20-6)
root (hd0,0)
kernel /vmlinuz-2.4.20-6 ro root=LABEL=/ hdc=ide-scsi
initrd /initrd-2.4.20-6.img
title DOS
rootnoverify (hd0,2)
chainloader +1
[root@localhost root]# fdisk -l

Disk /dev/hdb: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hdb1 1 13 104391 83 Linux
/dev/hdb2 47229 60801 109025122+ f Win95 Ext'd (LBA)
/dev/hdb3 7297 39395 257835217+ 7 HPFS/NTFS
/dev/hdb4 * 39397 47228 62910540 7 HPFS/NTFS
/dev/hdb5 47229 60547 106984836 83 Linux
/dev/hdb6 60548 60801 2040223+ 82 Linux swap

Partition table entries are not in disk order
[root@localhost root]#
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Booting multiple OS at once. kiranbyk Linux - Software 5 12-23-2007 10:19 AM
Multiple Blade servers booting from multiple disk drives simultaneously NGC_cheryl Linux - Enterprise 0 11-26-2007 08:38 AM
Setting up RH9 on multiple computers with the same configuration gmichel Linux - Newbie 4 05-27-2004 08:58 AM
Multiple Network Card RH9?? JOHNnDENVER Linux - Networking 6 10-24-2003 03:59 AM
RH9 not booting CMDR_PAIN Linux - Newbie 3 08-19-2003 03:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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

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