Dual Boot problem,help!!!!

Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Dual Boot problem,help!!!!
# 1  
Old 12-19-2001
Dual Boot problem,help!!!!

I had Win98 and Win Xp on a dual boot on my system, I formatted my C: drive to get rid of Win98 and installed Linux Madrake in its Place, it all installed ok but when I boot up I can no longer dual boot and it goes straight into Mandrake Linux. How can I get either a dual boot so I can get to XP or remove my Linux altogether for now? I am complete linux Newbie but experienced with windows and dos, please help!!!


# 2  
Old 12-19-2001
No problem so far.

Linux overwrites the MBR (master boot record) with his own LILO (linux loader). It is now on you for adapting this LILO in Linux so that you can dual boot.

This file is probably located on /etc/lilo.conf

You'll have to know how your Windows partition is named under lilo (fi. /dev/hda1) and the label of the partition (fi. Windows). So the /etc/lilo.conf looks something like this after adaption:


I'l hope this was helpfull ...

BTW the example was from RedHat
# 3  
Old 12-19-2001
Getting rid of it completely?

How can I just remove my copy of Linux? Just I am going to be getting another PC soon and will use that for the linux stuff so I dont have anymore problems like this

# 4  
Old 12-19-2001

Sory but I really am a beginner, how do I change these files and how do I find out what the other partitions is called? Using Mandrake 8.1
# 5  
Old 12-20-2001
To just remove the linux partition, the first thing you will have to do is to use the XP install disk in "Repair mode" this will restore the boot record.
Next use any partitioning software to remove the Linux partitions and re-format them as FAT/Fat32/NTFS or whatever you want.
I have used this for Win2K without any trouble so this should work fine for you as well,

If you want to find the names of the partitions, boot up under Linux, and login as root.
Next type "fdisk /dev/hda" and press return, this will load up the partitioning software for Linux, if you hit "p" and press return it will show all the partitions, and the filesystems.
Usually Windows is installed on the lowest numbered FAT/NTFS partition in my experience.
when you are done use "q" and return to quit.

# 6  
Old 12-20-2001

I ahve no rescue disk for my XP and its not bootable, I ahve tried booting off my 98 cd's and when going to try and fdisk they just freeze, when I boot off a win98 boot disk it doesnt pick up any harddrives at all. a bit of a nightmare so far!

Also have been unable to edit the lilo.conf I can open it up and then it wont save.

God I sound like a right amateur!
# 7  
Old 12-20-2001
If you don't need the Linux installation it is maybe possible to install an new windows version on the Linux partition. From which on you can recover your old windows environment.

But there will remain a problem when trying to reboot because the LILO (see above) will still be in the MBR. This will cause that your PC will startup and end with (LI) on the screen and then stops.

This can be fixed by entering in dos the following

fdisk /mbr

With this command you clean up the master boot record and remove the LILO.

And remember ... there is only one way to learn!
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Emergency UNIX and Linux Support

Dual boot

Hi, I am having 1 TB hard disk and in that I have to install windows,linux 64 bit and linux 32 bit total 3 operating systems I need to install, how could I do that please help. I am having 64 bit machine h/w Thanks, Trimurtulu (5 Replies)
Discussion started by: ktrimu
5 Replies

2. Red Hat

Dual Boot Problem - Vista & Redhat -Incorrect BIOS geometry

Hi Folks, Initially I had vista and redhat 9 .. due to some reasons i had to re instal my vista again.. since then the dual boot menu disappeared.. i tried to re install redhat and changing the boot configuration of redhat 9 but i am not getting both the OS back .. I am not aboe to boot linux... (2 Replies)
Discussion started by: subhotech
2 Replies

3. UNIX for Dummies Questions & Answers

Problem setting up dual boot

Hi, I am trying to set up a dual boot system with Red Hat EL 5.2 and Windows XP Pro. I have a separate disk for each OS. Grub is on the same disk as redhat(the primary disk). I know that Windows is installed correctly because if I force a load on the secondary disk Windows loads correctly.... (0 Replies)
Discussion started by: adawg1217
0 Replies

4. Solaris

Windows / Open Solaris dual boot problem.

Okay, let me sketch the problem. I did have a ubuntu / Windows XP dual boot scenario that ran grub as my boot loader. I decided I wanted to try out solaris, so I popped in the opensolaris CD and hit install and told it to format and install over my linux partition. Of course it did that, and... (2 Replies)
Discussion started by: syndex
2 Replies

5. UNIX for Dummies Questions & Answers

another dual boot question/problem

Well, I formatted my entire harddrive (40gig), partitioned it into three partitions, FAT32 for WindowsXP (30 gig), Linux ext3 (7gig), and Linux swap (about 500mb). All this with PartitionMagic 8.0 and it took hours. After all that, I installed the "publishers version" of Red Hat with ease. I was on... (12 Replies)
Discussion started by: chutt
12 Replies

6. UNIX for Advanced & Expert Users

Dual boot problem

Hi All, I have a pc loaded with windows 2000 professional. Recently added new disk of size 80GB and installed redhat linux to second disk. Now system is booting to linux but not to windows 2000. How to configure for dual boot. Thanks in advance - Bache Gowda (3 Replies)
Discussion started by: bache_gowda
3 Replies

7. UNIX for Advanced & Expert Users

Dual Boot on HP-UX

Hy all Does anyone have Info on how to make a dual boot HP UX 10-20 HP UX 11 on a server ? Thanks in advance Olivier (3 Replies)
Discussion started by: Olivier
3 Replies

8. UNIX for Dummies Questions & Answers

Dual Boot help...

Hi there! I have a laptop which I plan on installing a dual boot on with Windows and Linux. I have Windows 98 installed at the moment, and I also have a copy of Slackware 8. I talked to friend, and he said he had some problems installing a dual boot with linux on his laptop... So I just came... (2 Replies)
Discussion started by: satan404
2 Replies

9. UNIX for Dummies Questions & Answers

Dual boot no more

Ok I had a windows and RH dual boot system and have now converted over completly to the linux system. How do I regain the other half of my drive? I cannot see it in the disk manager. what do I do to format so that i can mount it? (1 Reply)
Discussion started by: macdonto
1 Replies

10. UNIX for Dummies Questions & Answers

problem in dual boot

i want to know how do i make my system a dual boot system for Linux 7.1 and Windows Nt 4.0 :( :confused: :confused: (2 Replies)
Discussion started by: mad2life
2 Replies
Login or Register to Ask a Question