Dual boot gone wrong!

General software, Operating Systems, and Programming discussion.
Everything from software questions, OSes, simple HTML to scripting languages, Perl, PHP, Python, MySQL, VB, C++ etc.
Post Reply
User avatar
Onethenumber2
Advanced Member
Posts: 833
Joined: Wed Mar 13, 2002 9:52 pm
Location: somewhere South of the North Pole

Dual boot gone wrong!

Post by Onethenumber2 »

So here I was instaling linux for the first time as happy as could be.

I was looking to dual boot it on my 60 gig WD HDD. 40 gigs for windows XP pro and 20 for Mandrake 9.0 right? so I get mandrake all up and running and thats all fine and dandy but the LILO prompt didnt have a windows option. So I tried to add a windows option but it kept not liking it. Well I thought, I'll just use the windows loader. So I grabbed my trusty WIN XP boot disk and plugged in A:\>fdisk/mbr

Problem solved I thought. Not so. So then I put in my WIN XP CD and got into recovery console. Got a C:\windows> prompt and plugged in bootcfg /add. Well then it came up with the one windows installation, I selected that, it came up with Installation name and I put in Windows XP Professional and it came up with Load OS options and I left that blank just like microsoft.com said to. But I could never get things to work.

So I want to Dual boot Windows XP and Linux both are already installed but I have no boot loader apparently. I NEED to get into XP Linux is optional as I was just messing around.

The Error reads Error:Failed to add selected entry to bootlist

Thanks a million for any help
XP 1600+ @1606 Mhz, GIGABYTE Mobo WD 60GB 8MBc, 512 MB pc 2100 DDR, GF 2 Ultra, Win XP Pro, CDRWx40

War is an ugly thing but not the ugliest of things: The decayed and degraded state of moral and patriotic feelings, which thinks nothing (is) worth a war, is worse.

-John Stuart Mill “The Contest in America”
User avatar
TonyT
SG VIP
Posts: 10356
Joined: Fri Jan 28, 2000 12:00 am
Location: Fairfax, VA

Post by TonyT »

Can you boot into linux? If so, download and install Grub.
No one has any right to force data on you
and command you to believe it or else.
If it is not true for you, it isn't true.

LRH
User avatar
Onethenumber2
Advanced Member
Posts: 833
Joined: Wed Mar 13, 2002 9:52 pm
Location: somewhere South of the North Pole

Post by Onethenumber2 »

nope it just gives a flashing underscore thing in the top left hand corner
XP 1600+ @1606 Mhz, GIGABYTE Mobo WD 60GB 8MBc, 512 MB pc 2100 DDR, GF 2 Ultra, Win XP Pro, CDRWx40

War is an ugly thing but not the ugliest of things: The decayed and degraded state of moral and patriotic feelings, which thinks nothing (is) worth a war, is worse.

-John Stuart Mill “The Contest in America”
User avatar
Norm
SG VIP
Posts: 14195
Joined: Tue Mar 27, 2001 12:00 pm

Post by Norm »

Recov console

fixmbr
bootcfg
User avatar
Onethenumber2
Advanced Member
Posts: 833
Joined: Wed Mar 13, 2002 9:52 pm
Location: somewhere South of the North Pole

Post by Onethenumber2 »

what exactly will that do/
XP 1600+ @1606 Mhz, GIGABYTE Mobo WD 60GB 8MBc, 512 MB pc 2100 DDR, GF 2 Ultra, Win XP Pro, CDRWx40

War is an ugly thing but not the ugliest of things: The decayed and degraded state of moral and patriotic feelings, which thinks nothing (is) worth a war, is worse.

-John Stuart Mill “The Contest in America”
User avatar
Onethenumber2
Advanced Member
Posts: 833
Joined: Wed Mar 13, 2002 9:52 pm
Location: somewhere South of the North Pole

Post by Onethenumber2 »

did that and got the same error hope my data is ok!
XP 1600+ @1606 Mhz, GIGABYTE Mobo WD 60GB 8MBc, 512 MB pc 2100 DDR, GF 2 Ultra, Win XP Pro, CDRWx40

War is an ugly thing but not the ugliest of things: The decayed and degraded state of moral and patriotic feelings, which thinks nothing (is) worth a war, is worse.

-John Stuart Mill “The Contest in America”
User avatar
Onethenumber2
Advanced Member
Posts: 833
Joined: Wed Mar 13, 2002 9:52 pm
Location: somewhere South of the North Pole

Post by Onethenumber2 »

would a 3rd party boot ap help in this situation?
XP 1600+ @1606 Mhz, GIGABYTE Mobo WD 60GB 8MBc, 512 MB pc 2100 DDR, GF 2 Ultra, Win XP Pro, CDRWx40

War is an ugly thing but not the ugliest of things: The decayed and degraded state of moral and patriotic feelings, which thinks nothing (is) worth a war, is worse.

-John Stuart Mill “The Contest in America”
User avatar
Joel
Senior Member
Posts: 2981
Joined: Mon Sep 01, 2003 12:00 pm
Location: F.WV

Post by Joel »

Originally posted by Onethenumber2
would a 3rd party boot ap help in this situation?

That's what GRUB is, a third party boot manager.

Well, there is always the long way around things, kind of a fail safe if you would. You could always instal a fresh copy of windows onto the linux partition. After you got all the boot up things sorted out with the good version of windows you could delete the temporary windows in the 20gb partition.

That might take a few minutes to do, though. If you have to do that, you wouldnt have to instal 3rd party drivers as you'd only be using the temp windows instal to get the windows boot up manager.

[edit]Just read your sig and my OC 0wnz ü!!!1!1!
Core 2 Quad Q6600 @ 3.6GHz on Water | 8GB DDR2 | 2x 74GB Raptor RAID0 | 250GB Storage | P5E | 2900XT @ 850 Core | DVD-RW | 2x 24" Widescreen LCD | Saitek Eclipse | Logitech G5
User avatar
Onethenumber2
Advanced Member
Posts: 833
Joined: Wed Mar 13, 2002 9:52 pm
Location: somewhere South of the North Pole

Post by Onethenumber2 »

hmm then what would I do in the long run to get linux back? How can I instal Linux and keep useing the windows boot program?

That is a nice OC!
XP 1600+ @1606 Mhz, GIGABYTE Mobo WD 60GB 8MBc, 512 MB pc 2100 DDR, GF 2 Ultra, Win XP Pro, CDRWx40

War is an ugly thing but not the ugliest of things: The decayed and degraded state of moral and patriotic feelings, which thinks nothing (is) worth a war, is worse.

-John Stuart Mill “The Contest in America”
User avatar
Joel
Senior Member
Posts: 2981
Joined: Mon Sep 01, 2003 12:00 pm
Location: F.WV

Post by Joel »

I don't have much experience with Linux, but there should be an option to not instal LILO, then you could instal GRUB from Windows and use it.
Core 2 Quad Q6600 @ 3.6GHz on Water | 8GB DDR2 | 2x 74GB Raptor RAID0 | 250GB Storage | P5E | 2900XT @ 850 Core | DVD-RW | 2x 24" Widescreen LCD | Saitek Eclipse | Logitech G5
Kyle
Senior Member
Posts: 4850
Joined: Sat Sep 28, 2002 12:00 pm

Post by Kyle »

I have dual booted XP and Linux a bit. I always find the best results by FAR when I give them each there own physical disk and when I want to switch, I just change the first boot in the bios. Since M$ uses there own wierd boot methods it makes it hard to have Windows and "real" OSes coincide peacefully...

Kyler1
User avatar
TonyT
SG VIP
Posts: 10356
Joined: Fri Jan 28, 2000 12:00 am
Location: Fairfax, VA

Post by TonyT »

Your problem is that when you installed Linux, you installed Lilo in the master boot record. Should not have done that. Always install it in a boot partition.

1. Do as Norm instructed and fixmbr.
2. Download a Linux boot floppy and boot into linux.
3. download and install Grub.
4. Set up Grub to give a choice of operating systems at boot.
5. uninstall Lilo.

This guide is for Debian Grub but the Grub configuring is the same:
http://myrddin.org/howto/debian-grub.html
No one has any right to force data on you
and command you to believe it or else.
If it is not true for you, it isn't true.

LRH
User avatar
stevebakh
Posts: 3228
Joined: Wed Aug 07, 2002 12:00 pm

Post by stevebakh »

With you being rather new to linux, I would recommend you stick with LILO because:

1) It's tried and tested with loads of support.

2) It uses the standard *nix/linux disk naming conventions - better for newb, less confusion.

3) It's super simple to configure.

If you can boot into your linux install (using a boot floppy you may have possibly created at installation time, or using a live disk and chrooting in - checkout knoppix) then open up the file located at /etc/lilo.conf in an editor and add the following lines:

Code: Select all

other=/dev/hdxx
label=WindowsXP
Substituting hdxx for the partition where windows is installed to. Most likely hda1.

You will then be able to reboot and select WindowsXP from the menu option.

If you decide you want to give linux another try in the future, I would recommend setting up at least 2 primary partitions. 1 for windows and and a second one (which you can divide up) for linux and it will be easier on you, if you install windows first.

Good luck.
User avatar
Onethenumber2
Advanced Member
Posts: 833
Joined: Wed Mar 13, 2002 9:52 pm
Location: somewhere South of the North Pole

Post by Onethenumber2 »

I will try useing a floppy to get into linux and then configure grub to let me boot into XP however I tired adding XP to the LILO boot list but it didnt work. Does grub have a site with instructions?

er nevermind ill try all this stuff first Thanks for the great tips!
XP 1600+ @1606 Mhz, GIGABYTE Mobo WD 60GB 8MBc, 512 MB pc 2100 DDR, GF 2 Ultra, Win XP Pro, CDRWx40

War is an ugly thing but not the ugliest of things: The decayed and degraded state of moral and patriotic feelings, which thinks nothing (is) worth a war, is worse.

-John Stuart Mill “The Contest in America”
User avatar
TonyT
SG VIP
Posts: 10356
Joined: Fri Jan 28, 2000 12:00 am
Location: Fairfax, VA

Post by TonyT »

This guide is for Debian Grub but the Grub configuring is the same:
http://myrddin.org/howto/debian-grub.html
No one has any right to force data on you
and command you to believe it or else.
If it is not true for you, it isn't true.

LRH
Post Reply