Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 01-09-2010, 02:16 PM   #1
Registered: Nov 2004
Location: NH/CT
Distribution: Slackware 10 to 14
Posts: 43

Rep: Reputation: 0
Can LILO dual boot Win9x and MSDOS from same hd? If so, how?

I apologize for mentioning the evil empire's OS here, but I started with it and like to keep old friends around. I normally dual boot WinME on /dev/hda1 and my current linux kernel on some other primary partition on the same disk. This has always worked first try.

Sometimes I do real time stuff that is likely to corrupt everything in MSDOS. I'd rather have it booted stand alone rather than in a DOS box under Win9x. I've read the man pages for lilo.conf and it talks about a 'master-boot' option which should make the booted system think its on the first partition even when its not. I can't get this to work. Anyone doing this? I'd love to see a sample lilo.conf file that works! What I want is three options {WinME, MSDOS, Linux} each on its own partition.

I tried it on two different disks. Must have done something slightly different on them, but on one it just hangs booting into WinME on /dev/hda1. In the other configuration it always boots /dev/hda1 for both the DOS menu options even though I have the different partitions correctly specified. Seems to make some difference which partition I have set as active, but that's part of what I though master-boot overrode? Any thoughts? Thanks.

Last edited by will_kranz; 01-09-2010 at 02:18 PM.
Old 01-09-2010, 04:42 PM   #2
LQ Addict
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,893

Rep: Reputation: 351Reputation: 351Reputation: 351Reputation: 351
Here is an example you can adapt to your needs. Don't forget to run /sbin/lilo after making changes to your lilo config.
Old 01-09-2010, 09:40 PM   #3
Registered: Mar 2004
Distribution: debian testing/unstable
Posts: 68

Rep: Reputation: 16
I have that setup on my laptop right now with msdos, linux, winxp, and recovery console. However, I use grub and grub isn't installed to the mbr though. Procedure would be as follows (from memory): install dos first, then install windows, install linux last. After installing linux, you can install lilo to the mbr and it should pick up dos and windows at least. I usually install lilo to the root partition of my linux install and then dd the first 512 bytes to a file on the dos partition. Then I edit the ntloader to pick up the lilo bootfile so I can boot all 3 OSes.


boot, dos, dual

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
MSDOS/SUSE dual boot ionmich SUSE / openSUSE 3 04-26-2007 01:13 AM
Installing dual Boot 98/Linux - WONT 'LILO' Dual Boot !? L1nux3d Linux - Laptop and Netbook 15 02-11-2006 05:36 AM
dual boot win9x and linux harold938 Linux - Software 2 07-09-2005 08:11 AM
Lilo lost, Install disk failing to restore Lilo on dual boot? Dobie Linux - Newbie 2 05-05-2004 05:00 PM
win9x and linux dual boot when data is present abhijitpethkar Linux - Newbie 2 03-30-2004 08:32 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:02 PM.

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