Computing.Net > Forums > Linux > Two HDs, Two OSes

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Two HDs, Two OSes

Reply to Message Icon

Name: Tychon
Date: December 6, 2002 at 18:17:28 Pacific
OS: Slackware 8.1 / Win2000
CPU/Ram: Athlon 2000 / 1GB
Comment:

Alright, I have a perhaps interesting question. I have two hard drives in my computer. One 9GB, and one 120GB. The 9GB has Slackware 8.1 installed, the 120GB has Win2000. I have the Linux HDD set up as master and apparently the Windows setup as slave (lol). Anyway, I'm attempting to set up LILO to be able to boot either Slack or Win2000. I've been doing research online about this, but all I can find is about installing Win2000 on the same hard drive as the Linux, and currently all I've seen are very odd ways involving copying Linux files to the Windows partition and running both LILO and Windows boot loader.
So, being as none of that helps me, I would appreciate any help anyone could offer on this problem I have.
Oh, right. Currently all outputs I get from LILO when I try various configs is an L followed by repetitions of 40. Beyond that, nothing happens. Don't know if that helps, but anyway.



Sponsored Link
Ads by Google

Response Number 1
Name: Michael
Date: December 6, 2002 at 23:54:53 Pacific
Reply:

Hopefully you know that you will always have to go through the two boot loaders if you don't resort to a third party boot manager (or boot Linux from a floppy). LILO calls up a copy of the W2k boot sector that calls up NTLDR. That's just the way it works. Works the other way around too. W2k would call up the LILO boot sector (via c:\=bootsect.lnx"Linux boot"). See the links at the bottom.

Linux will make the dual boot with u$ already installed. W2k won't do it for Linux, from what I've read.

Not knowing what your drives are setup like (partitions and formats), which/when and how each OS was installed, nor what you're willing to do (like start over), it would be almost impossible to talk you through a fix for your dual boot problem.

As a general idea though:
Linux/W2k will boot from any HDD that it can read the boot sector from. This means the format of the ACTIVE primary partition on the boot drive has to be something both W2k and Linux can read (yea FAT). A 5MB partition should do.

Install W2k first, onto the slave drive (chosen during install). This will write the bootsector of the ACTIVE primary partition (yea FAT) on the master drive. It will also add the boot files NTLDR, NTDETECT.COM and boot.ini to the boot drive.

Then install Linux. Depending on the distro, during the install it should ask about also booting Windows. This will make a copy of the W2k boot sector and replace it with the Linux bootloader. Write the MBR if you are going to use the Linux boot loader (though it is really the boot sector that gets written).

As for your L... problem, I think I read (maybe one of Lawrence's posts?) where that means LILO can't find the second part of the kernel to continue the boot process. Haven't a clue how fix that via Slackware, though I think ManDrake had a GUI driven point and fix.

Some links:

http://www.linuxgazette.com/issue36/larriera.html

http://www.littlewhitedog.com/reviews_other_00011.asp

http://www.tu-chemnitz.de/linux/Dokumentation/lilo/user/

HTH


0

Response Number 2
Name: a5015b
Date: December 11, 2002 at 18:28:56 Pacific
Reply:

On your L... problem, I have had that happen after I have installed a new kernel or otherwise reinstalled LILO and then not copied the new boot sector to wherever my boot manager needs it.


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: Two HDs, Two OSes

New Suse 9.1 Pro Install www.computing.net/answers/linux/new-suse-91-pro-install/25808.html

Reinstalling linux again and again www.computing.net/answers/linux/reinstalling-linux-again-and-again-/25208.html

How do I create a partition that both win98 and linux read? www.computing.net/answers/linux/how-do-i-create-a-partition-that-both-win98-and-linux-read/179.html