Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Dual Boot Windows xp and linux

Status
Not open for further replies.

DannyBVW

IS-IT--Management
Apr 11, 2002
3
US
Ok, ive had Windows Xp on my machine for quite a while then i decided to install redhat 7.1! after i installed redhat, i got a new boot menu, but all it has is linux on it, no windows xp. i think the new boot is called lilo. u should know what it is called, but im not sure. my question to u is: Does ne one know how to add windows xp to the menu in "lilo" so that i can once again use my windows xp? thx in advance.
 
DannyBVW,

Oh dear - I sympathise with you - I did exactly this when I first tried Linux! Actually - my one had an option it called 'dos' which was actually the Windows partition - do you have that option?

If not ;

Go to a terminal window in linux and type :

emacs /etc/lilo.conf

That will bring up the lilo configuration file

You need to add a section for WindowsXP in there (best to leave out spaces and stuff I found)

Once you've added the right bits, save the file and exit emacs - that should drop you back into the terminal window. Next type :

/bin/lilo

-or-

/sbin/lilo

(I can't remember exactly which one it is.

This will apply the changes in /etc/lilo.conf to the lilo boot configuration.

I'm trying to find somewhere that has specific information on what to put into lilo.conf as I don't have a copy of my one on hand.

regards
wmg
 
DannyBVW,

Looks like what you need is a section like;

other=/dev/hda1
label=WindowsXP

Just make sure that /dev/hd?? is set right- if you just have one disk then it will likely be hda but the number refers to which partition XP is installed in.

Regards
wmg
 
Hey, thx to all u who have replied to my msg, but to my own surprise, i found out by playing around. what i did was rather simple for ne one who wants to know who doesnt really know the slightest thing about redhat. all i did was open kde, goto kontrol panel, click lilo, i think it is something like add operating system or something, but then add the os, just point to the drive like wmg said and i quote "other=/dev/hda1
label=WindowsXP"
actually exactly that, i even was able to make windows xp boot up automaticaly instead of linux. now, for whoever actually read to the bottom of this page, can neone help me find an online book or something to tell me the ins and outs of linux, bcuz to tell u the truth, i dont even know what "Once you've added the right bits, save the file and exit emacs - that should drop you back into the terminal window. Next type:" is. well, thx again. also, i want some cool games, thx.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top