LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Dual Boot Linux and XP on two seperate HD's (https://www.linuxquestions.org/questions/linux-software-2/dual-boot-linux-and-xp-on-two-seperate-hds-14025/)

jimippa 02-11-2002 10:18 AM

Dual Boot Linux and XP on two seperate HD's
 
OK folks here's the deal. I've jsut installed my first experimantal version of Linux on my machine. Experimental meaning I've seldomly used it and when I did... it was mostly at school. Anyway, I wanted to instal it on my second HD keeping the the two's just away from one another. When Time came to try it out for the first time, there was no boot choice for XP anymore. Does anybody know how I can recover XP, I know it's there, I just don't have the know hows to get to it...
Thanks
Jimi

acid_kewpie 02-11-2002 10:49 AM

you'll find plenty of answers if you search the site.

toolshed 02-11-2002 10:47 PM

get a windoze 98 bootdisk...insert and reboot

then ...

when u get command prompt type:

fdisk/mbr

i think that is it....if not do a search it is close...u can wipe master boot record and then reinstall Grub or lilo....i got grub going on and it works with XP crapo.

just make sure u tell lilo or grub where Xp is locate hdx, x as the a,b,c,d (primary -> master/slave, secondary -> master/slave)

to reinstall grub or lilo...just insert cd and it should walk u throught it

what distro u using....

linuxcool 02-11-2002 11:56 PM

If your boot loader lets you boot into linux, all you need to do is edit either your lilo.conf, grub.conf, or menu.lst. If you are using lilo, then edit /etc/lilo.conf. Try adding these lines to it:

other=/dev/hda1
label=winxp
table=/dev/hda


Don't forget to run /sbin/lilo after you edit lilo.conf.

If it's grub you're using, look for either /boot/grub/grub.conf or /boot/grub/menu.lst and add these lines:

title winxp
rootnoverify=(hd0,0)
makeactive
chainloader +1

Coda 02-27-2002 01:45 AM

Beauty, linuxcool. That worked like a charm. And it was TONS easier than some of the silly suggestions I've seen posted here.

Thanks!

LinuxGod 02-27-2002 02:57 AM

Great!!! answer LinuxCool.

linuxcool 02-28-2002 03:53 AM

You're welcome Coda and LinuxGod. :)


All times are GMT -5. The time now is 03:01 AM.