LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices

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

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


Greetings:
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
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian Squeeze
Posts: 5,765

Rep: Reputation: 306Reputation: 306Reputation: 306Reputation: 306
Here is an example you can adapt to your needs. Don't forget to run /sbin/lilo after making changes to your lilo config.
http://www.control-escape.com/linux/lilo-cfg.html
 
Old 01-09-2010, 09:40 PM   #3
titetanium
Member
 
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.
 
  


Reply

Tags
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/Novell 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


All times are GMT -5. The time now is 10:16 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration