LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-05-2004, 11:47 PM   #1
dmdm
LQ Newbie
 
Registered: May 2004
Posts: 11

Rep: Reputation: 0
Sort of dual boot...


Okay, I'm in a unique situation: I've got a really plain vanilla generic pc I built myself that I've been using two hard disks in, one with windows xp & its programs and one to store all sorts of media files.

Well, I had an extra hard disk laying around, and I figured I could plug it in in place of my media disk and install a linux distro to play around with (I know approximately nothing.) I figured I could just yank it and plug the media disk back in when I didn't feel like playing with linux, right?

Not so much now. I installed Mandrake 10 official on the extra hd with lilo set up automatically by the installer to dual-boot, and now when I yank the linux disk and put the media disk back in and try to boot, I get through the BIOS memory checks and whatnot and then nothing but a black screen with (oddly enough) a lot of 9s. wtf?

I don't have enough plugs in my cheap power supply to use all three hard disks at once, and now I can't run Windows unless the Linux disk is plugged in (which means no media disk for me!) I have no idea why... Windows can't even see the Linux disk.

Anybody know what the hell I've done to my poor unsuspecting PC?
 
Old 05-06-2004, 01:47 AM   #2
motub
Senior Member
 
Registered: Sep 2003
Location: The Netherlands
Distribution: Gentoo (main); SuSE 9.3 (fallback)
Posts: 1,607

Rep: Reputation: 46
Yes. When you installed the Mandrake bootloader, it installed LiLO in two stages: one is on the MBR (Master Boot Record) of the first hard drive, and then there is a configuration file on the Mandrake partition which tells LiLO what the menu should look like and where the boot files for the entries in the menu are (it's called /etc/lilo.conf).

If the Mandrake drive is not on the system, LiLO can't find this configuration file, and therefore cannot boot anything.

You have several options:

1) Restore the Windows bootloader (which will make you unable to boot Linux), and then transfer the Linux boot sector to the Windows bootloader menu so that you can boot Linux from the Windows bootloader menu: Instructions here and here;

2) Use a third party Windows bootloader to manage both systems; some examples are Boot Magic (commercial; comes with Partition Magic), System Commander (commercial) or some free boot managers are listed here and here;

3) Transfer/install LiLO to a floppy; in my experience this means you will always have to boot with this floppy in the drive. Alternatively, despite the fact that the kernel is likely too big to fit on a floppy, thus a normal boot disk cannot be made, there are workarounds for this problem: instructions for both these procedures (as well as how to make a bootable CD) can be found on the Mandrake 9.2 Errata page;

4. Install GRUB to a floppy and use that to boot both OSes; instructions in the Grub manual;

5. Use LOADLin to boot both OSes; instructions here.

Hope one of these solutions works for you.
 
Old 05-06-2004, 02:09 AM   #3
dmdm
LQ Newbie
 
Registered: May 2004
Posts: 11

Original Poster
Rep: Reputation: 0
Cool Weeee!

Thank you so much for such a well thought-out answer!

I'll have a go at it in the morning
 
Old 05-09-2004, 12:08 PM   #4
dmdm
LQ Newbie
 
Registered: May 2004
Posts: 11

Original Poster
Rep: Reputation: 0
Thumbs down ah, crap

So, um... anybody know how to restore the windows bootloader?

I booted up from my XP installer disc, went into the Recovery Console, did a

fixboot c:

and a

bootcfg /rebuild

and still the exact same thing... this is no good

At this point I'm planning to just get XP back where it should be, then disconnect its drive altogether while I reinstall Mandrake, and then just choose which one I want to boot from my BIOS boot menu. But first I have to get XP working on its own.

Ayayaye.

Last edited by dmdm; 05-09-2004 at 12:13 PM.
 
Old 05-09-2004, 12:37 PM   #5
motub
Senior Member
 
Registered: Sep 2003
Location: The Netherlands
Distribution: Gentoo (main); SuSE 9.3 (fallback)
Posts: 1,607

Rep: Reputation: 46
The command in the Recovery Console is FIXMBR (at least it is if it's the same as Win2k).

You can also boot from the first Mandrake disk, type "rescue" instead of hitting enter at the first screen, and choose the "Restore Windows Bootloader" option from the menu.

Hope this helps.
 
Old 05-09-2004, 12:48 PM   #6
dmdm
LQ Newbie
 
Registered: May 2004
Posts: 11

Original Poster
Rep: Reputation: 0
I actually tried fixmbr and fixboot, but only fixboot appeared to do anything.

I'm excited about this Mandrake restore windows bootloader gadget... I hope it works.

Thanks for the help again, mate
 
Old 05-09-2004, 01:00 PM   #7
motub
Senior Member
 
Registered: Sep 2003
Location: The Netherlands
Distribution: Gentoo (main); SuSE 9.3 (fallback)
Posts: 1,607

Rep: Reputation: 46
It looks like the reason fixmbr didn't work may be because you didn't put a device name after it:

See Microsoft Windows XP - Fixmbr on the Microsoft site.
 
Old 05-09-2004, 02:54 PM   #8
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,669

Rep: Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892
BTW its possible to purchase a Y adapter for adding additional plugs.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
odd sort of boot/windows/partition type problem Julian2005 Linux - General 3 06-25-2005 09:17 AM
sort of dual boot... nistur Linux - General 6 06-22-2005 04:52 AM
Fedora Core 3 Dual Boot, Dual Hard drives, Grub Boot Loader Denali03 Linux - Newbie 1 03-04-2005 01:44 PM
dual dial up, multilink and anything of the sort deathsythe210 Linux - Networking 1 07-27-2004 06:21 PM
Odd dual-boot sort of inquiry doctorjohn Linux - General 4 03-16-2002 02:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:26 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration