Computing.Net > Forums > Linux > Win XP and Redhat 7.2 and GRUB

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Win XP and Redhat 7.2 and GRUB

Reply to Message Icon

Name: binny
Date: August 10, 2002 at 09:52:21 Pacific
Comment:

Ok, I have Windows ME right now dual boot with Redhat 7.2. With GRUB as my boot loader.

I'm going to get Windows XP Professional soon.
I am going to format my Win ME partition and probably convert it to NTFS and install Windows XP.

What I want to know is, would I still be able to dual boot into XP (once installed) and Redhat 7.2 with GRUB?

Do I have to change anything in GRUB etc?



Sponsored Link
Ads by Google

Response Number 1
Name: 3Ly
Date: August 10, 2002 at 10:38:47 Pacific
Reply:

Well, this is what I recomend and this is only my opinion! First in redhat creat a boot disk if you dont already have one, then once you have that done boot over to windows and perform your upgrade, now windows will probably try to rewrite yor mbr so thats why I said the thing about the boot disk then once your upgrade is complete and if windows creates a new mbr you can boot to linux with your boot disk and then re install GRUB from there just to let you know I am not that famillar with grub but I do have Xp home and RH 7.2 on my laptop and just prefer the boot disk method some people don't, I just like it when I start my computer and windows starts as normal and then when I want RH I reboot with my boot disk and then I have linux. AS for the ntfs you should have no problem there also. Hope I helped, and good luck :)


0

Response Number 2
Name: binny
Date: August 11, 2002 at 00:01:16 Pacific
Reply:

thanks for replying 3Ly...but I do not want to upgrade my Windows installation.

I want to do a clean install of Windows XP.
Would GRUB be able to dual boot my computer?


0

Response Number 3
Name: neo
Date: August 11, 2002 at 10:05:15 Pacific
Reply:

I have windows xp and linux redhat 7.2 on my computer and grub works but my primary partition is fat32.
as you know linux redhat 7.2 doesn't support reading ntfs filesystem by deafualt.
so I think if you convert your primrary partition to ntfs you can't use grub boot loader.
and if you install windows xp I think you should install grub again becuase windows changes your MBR.
bye


0

Response Number 4
Name: brando
Date: August 11, 2002 at 18:29:13 Pacific
Reply:

linux in general can read ntfs but can't write to it, it can mess it up and then windows is lost. but grub can boot an ntfs drives, that is what i have, xp and red hat 7.3 when xp installs it will load its boot manager to the mbr, and you could try and use the nt boot loader but i couldn't get it to boot linux. i would try installing grub again, but the time i did an over haul of windows, i also had to install linux again because it wouldn't just install the boot loader for me. maybe its time to move from 7.2 to 7.3


0

Response Number 5
Name: Newbiedoo
Date: August 12, 2002 at 04:02:59 Pacific
Reply:

Appologies before hand about my long ramballing experience in advance ;

I Have W98se, Linux SUSE 8 & WIN XP Pro all booting up. I dont offer any tech evidence of how I done it as I am sure there are numerous ways to achieve it. Bootloaders should be able to handle it all (after all thats their job - oh and since I dont have a scooby doo how to tweak and edit Linux yet and I am still in the WINDOZE dry out clinic :-)

40mb HD

1 Clean Install W98se on fully formatted 40mb fat32 primary partion.

2. Installed Suse, set the size of the SWAP (1.1G) and / (at ~11G). Resized the windows FAT32 primary to (~12G), and left the other space as UNSUSED.

(system boots nicely with the LILO SUSE bootmanager(loaded in the MBR) ..everythings ok)

3. Installed XP pro, that sees the unused disk space (I chose to keep it FAT32 rather then NTFS).

(system boots but no LILO only the XP boot dos boot manager)

Reboots from the SUSE install disk (since I NEVER made that boot disk - fool that I am. Attempts a Re-install, it sees the existing install and lets me boot up into Linux. From there I go through the YAST system control and re-install the boot manager into the MBR making a few small tweaks for startup preference)

Now it boots into the LILO where I can choose LINUX or WINDOWS? choosing windows then puts me to the XP boot manager choice of 98 or XP.

I am quite sure there is a more sleek way of getting this to work (maybe installing the LILO boot manager to a FAT 32 or Linux's own HD (rather than MBR) and then pointing the XP boot manager to it or vica versa...but I am knackerd and now have square eyes being up all through the night getting it going. but it WORKS and I realy need to learn more about linux before attempting it another way.

Hope this can help in any way..

stevie


0

Related Posts

See More



Response Number 6
Name: binny
Date: August 12, 2002 at 23:42:23 Pacific
Reply:

Okay...thanks for the replies.

If I keep RH 7.2, from the replies, I should reinstall GRUB so it can then boot Windows XP and linux.
How do i actually do that?


0

Response Number 7
Name: Jareen
Date: August 13, 2002 at 14:20:38 Pacific
Reply:

Do this,

Since you have GRUB as a boot loader now it must be installed on the MBR of the HD.
We will transfer GRUb from MBR of /dev/hda to the boot partition of linux. (root previlages required)

Find out the partition on which /boot resides.
Now at the shell prompt type :
grub-install /dev/hdax
where x corresponds to the no. at which /boot resides. (actually it can be any partition other than on which you wish to install windows xp)
note that you will not be able to use grub by simple procedures from now on (ie unless you follow all the steps) so if yoy have anything terribly important to do in linux do it now.

You will need a floppy (dos formatted ie normal one) Now, type this at the shell prompt, accurately

dd if=/dev/hdax bs=512 count=1 of=grub.nt

(note : this is really one command however it may look & grub.nt can have any file name; x is no given by linux to the partition on which grub is installed.)

Copy this file to a floppy.
(make sure floppy is not sloppy ie bad)

Now go on let the heaven fall (install windows xp)

After installing windows xp do this (administrator privilages required):

Copy the file you saved in the floppy to c:\
(ie root directory of C:)

Right click on My computer icon and left click properties.

Click on advanced tab.
Click on setiings button coresponding to system startup, failure, and debugging information.

Click edit.
In the notepad window that opens add this at the end (i assume you haven't changed default boot.ini file)

c:\grub.nt="Grub Boot Loader"
(note : this is really one command however it may look)
Now save the file.

Now reboot you computer and select grub at the boot loader to boot linux.

Although i have tried to be as comprehensive as possible if there are any clarifications required feel free to mail me at the given id.


0

Response Number 8
Name: jareen
Date: August 13, 2002 at 14:26:15 Pacific
Reply:

Sorry, I forgot to tell you to bring GRUB back to HD's MBR.

Type this at the shell prompt.
grub-install /dev/hda

You can as well edit /boot/grub/grub.conf file now to boot windows xp (which it should already do since you are booting windows me now)


0

Response Number 9
Name: kanishk
Date: September 30, 2002 at 13:01:52 Pacific
Reply:

i understoods the procedure for dual boot
but i m unable to find boot.ini on my xp(ntfs) could u plz tell the dir or location for that file in xp.


0

Sponsored Link
Ads by Google
Reply to Message Icon






Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: Win XP and Redhat 7.2 and GRUB

XP/ linux Redhat 7.2 Dual boot www.computing.net/answers/linux/xp-linux-redhat-72-dual-boot/13834.html

Dual Boot Redhat 7.2 & Win2K #$#%# www.computing.net/answers/linux/dual-boot-redhat-72-amp-win2k-/6958.html

Whats to diff from Redhat 7.2 to 7. www.computing.net/answers/linux/whats-to-diff-from-redhat-72-to-7/13344.html