Jump to content

dual booting with 2 hd's help..


Recommended Posts

ok what im wondering is this.

 

master hd has windows xp, slave has redhat 9.

 

i want to be able to use the linux bootloader to boot between the 2.

 

whats the best way to do this? will i have to reinstall redhat?

 

thanks

 

replier beware..im only about a week into linux :)

Link to comment
Share on other sites

The easiest way is to set it all up when you do the install. Red Hat is really good at detecting a windows install and configuring the boot loader so you can boot into either OS.

 

However, there should be a way to do this after the install as well. I know in Mandrake you could just go into the Mandrake Control Centre and click on bootloader and install the bootloader into the mbr and that should take care of it. So, there must be something similiar in Red Hat.

 

With that said, make sure you back everything up just in case something goes wrong and toast both OS's

Link to comment
Share on other sites

just remember hda is the master hard drive and hdb is the slave. if you want to install red hat on the slave then formate hdb with the file system of your choice. then install. enjoy :thumbs:

Edited by linux_learner
Link to comment
Share on other sites

The way I did it was to put Linux on hda (master) windose on hdb (slave). Then put this in /etc/lilo.config:

 

other=/dev/hdb1

label="dos"

table=/dev/hdb

map-drive=0x80

to=0x81

map-drive=0x81

to=0x80

 

Then run lilo -v.

 

Works perfectly ever since. If you are using grub there is another entry.

Link to comment
Share on other sites

no need to reinstall. Just edit the bootloader config file. RH's default is grub, and it's config is /boot/grub/menu.lst (actually a symlink to grub.conf if I remember rt). As stated above;

hda=master

hdb=slave

same as grubs

hd0=master

hd1=slave

 

XP=hd0

RH=hd1

 

first partition on the master is

hd0,0

first partition on the slave is

hd1,0

 

post your menu.lst if you'd like.

Link to comment
Share on other sites

Last night on the #musb, you said you xp was on hdb1, is that the case?

 

If it's on hdb1

 

title=Windows XP

root (hd1,0)

chainloader (hd1,0)+1

 

If it's on hda1

 

title=Windows XP

root (hd0,0)

chainloader (hd0,0)+1

 

Something like that I think?

 

In Grub, AFAIK, you have to add the chainloader.

 

Yes, please post what your menu.lst has.

Link to comment
Share on other sites

ok here is whats in mine.

 

# grub.conf generated by anaconda

#

# Note that you do not have to rerun grua 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

#fer 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/hda3

# initrd /initrd-version.img

#boot=/dev/hda

default=0

timeout=10

splashimage=(hd0,0)/uuub/splash.xpm.gz

title Red Hat Linux (2.4.20-20.9bigmem)

root (hd0,0)

kernel /vmlinuz-2.4.20-20.9bigmem ro root=LABEL=/ hdd=ide-scsi

initrd /initrd-2.4.20-20.9bigmem.img

title DOS

rootnoverify (hd1,0)

chainloader +1

 

 

now..windows xp is on master hd, redhat is on slave.

Link to comment
Share on other sites

thats the orig list....not sure what to change to make it work. thats why i posted this. :)

Ok, I guess I got confused some were. When you first installed RH next to WinXP were you able to boot to WinXp?

 

Did you open up your computer and move you HD's around?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...