Lurkin Posted November 2, 2003 Report Share Posted November 2, 2003 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 :) Quote Link to comment Share on other sites More sharing options...
fuzzylizard Posted November 2, 2003 Report Share Posted November 2, 2003 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 Quote Link to comment Share on other sites More sharing options...
linux_learner Posted November 2, 2003 Report Share Posted November 2, 2003 (edited) 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 Edited November 2, 2003 by linux_learner Quote Link to comment Share on other sites More sharing options...
WilliamS Posted November 2, 2003 Report Share Posted November 2, 2003 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. Quote Link to comment Share on other sites More sharing options...
Lurkin Posted November 3, 2003 Author Report Share Posted November 3, 2003 well new redhat suppose to come out tomorrow, so i will reinstall then and mabey it will work right. Quote Link to comment Share on other sites More sharing options...
jlc Posted November 3, 2003 Report Share Posted November 3, 2003 #fedora @irc.freenode.whatever Is showing Wednesday, so they might have kicked the date back. Quote Link to comment Share on other sites More sharing options...
bvc Posted November 3, 2003 Report Share Posted November 3, 2003 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. Quote Link to comment Share on other sites More sharing options...
jlc Posted November 3, 2003 Report Share Posted November 3, 2003 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. Quote Link to comment Share on other sites More sharing options...
Lurkin Posted November 3, 2003 Author Report Share Posted November 3, 2003 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. Quote Link to comment Share on other sites More sharing options...
jlc Posted November 3, 2003 Report Share Posted November 3, 2003 So does it work or what? Quote Link to comment Share on other sites More sharing options...
Lurkin Posted November 3, 2003 Author Report Share Posted November 3, 2003 thats the orig list....not sure what to change to make it work. thats why i posted this. :) Quote Link to comment Share on other sites More sharing options...
jlc Posted November 3, 2003 Report Share Posted November 3, 2003 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? Quote Link to comment Share on other sites More sharing options...
Lurkin Posted November 3, 2003 Author Report Share Posted November 3, 2003 the way i installed redhat i unplugged the xp drive and used a new hd for redhat. so xp drive wasnt hooked to the system at all. just onther backup drive with misc. files on it. Quote Link to comment Share on other sites More sharing options...
jlc Posted November 3, 2003 Report Share Posted November 3, 2003 So Rh thinks it's on hda & so does Windows is my guess, what to do what to do. Have to think about this one. what does #df -h & #more /etc/fstab ? Quote Link to comment Share on other sites More sharing options...
Lurkin Posted November 3, 2003 Author Report Share Posted November 3, 2003 so it will be better to just reinstall? i keep on doin this i'll be getting good at installing. LOL Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.