Re: [newbie] Major LILO screwup

2000-01-05 Thread Ernest N. Wilcox Jr.

On Sat, 01 Jan 2000, Payne Stanifer wrote:
  |  I accidently forgot to setup a dual boot with windows on my install. What 
  |  entries do I need to add to my lilo.conf to get it allow me to choose 
  |  windows at the boot up. PLease help ASAP. I am in dsperate need of some 
  |  critical files! THANKS!
  |  Payne
  |  __
  |  Get Your Private, Free Email at http://www.hotmail.com

As a default, the Mandrake installer sets up LILO to boot both OS's for you.
Linux is the default if you let LILO time out, but to boot Windows, simply
enter "dos" (no quotes) at the LILO prompt.

To chamge the LILO default, you have to edit your /etc/lilo.conf file.
Re-arange the sections so the dos section is ahead of the linux section.

I have included my lilo.conf file as an example, but I have edited my
configuration a little.

The "dos" section starts with the line "other=/dev/hda1" and includes the two
indented lines following.

The Linux section starts with the line "image=/boot/vmlinuz-2.2.13-7mdk" and
includes the three indented lines following.

You may note that my two "label" lines (one for each OS) indicate "w" for the
"dos" section (short for Windows), and "l" (lower case L) for Linux.. This is
because I am a lazy man and do not like to key any more than I need to.

Finally, if you change your /etc/lilo.conf file, you must run the lilo command
from a command line to record the changes in the MBR, and they will be in effect
the next time you re-boot or start your system.

boot=/dev/hda
map=/boot/map
install=/boot/boot.b
prompt
linear
timeout=50
other=/dev/hda1
label=w
table=/dev/hda
image=/boot/vmlinuz-2.2.13-7mdk
label=l
root=/dev/hda5
append="mem=80M"
read-only

HTH,

Ernie   ([EMAIL PROTECTED])



Re: [newbie] Major LILO screwup

2000-01-01 Thread John Aldrich

On Sat, 01 Jan 2000, Payne Stanifer wrote:
 I accidently forgot to setup a dual boot with windows on my install. What 
 entries do I need to add to my lilo.conf to get it allow me to choose 
 windows at the boot up. PLease help ASAP. I am in dsperate need of some 
 critical files! THANKS!

==
boot=/dev/hda
map=/boot/map
install=/boot/boot.b
prompt
timeout=50
image=/boot/vmlinuz-2.2.5-15
label=linux
root=/dev/hda5
read-only
other=/dev/hda1
label=dos
table=/dev/hda
===
Above is a copy of my /etc/lilo.conf. Assuming Windows is on
/dev/hda1, copy the "other" section out of my lilo.conf and put it in
yours and type /sbin/lilo to write the changes to the partition
table. If you want to boot to Windows by default add a line just
below "timeout" that says "default=dos" (I think.)
Also, you might want to make sure your /etc/fstab is aware of your
Windows partition just so you can access it in the future from within
Linux. :-)
John