[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Debian3.0, Win2000 and LILO problem



Hi Jan,

On Sun, 17 Nov 2002 the mental interface of 
Jan Krupa told:

[...]

> # /etc/lilo.conf - See: `lilo(8)' and `lilo.conf(5)',
> # ---------------       `install-mbr(8)', `/usr/share/doc/lilo/',
> #                       and `/usr/share/doc/mbr/'.
> 
> # +---------------------------------------------------------------+
> # |                        !! Reminder !!                         |
> # |                                                               |
> # | Don't forget to run `lilo' after you make changes to this     |
> # | conffile, `/boot/bootmess.txt', or install a new kernel.  The |
> # | computer will most likely fail to boot if a kernel-image      |
> # | post-install script or you don't remember to run `lilo'.      |
> # |                                                               |
> # +---------------------------------------------------------------+
> 
> # Support LBA for large hard disks.
> lba32
> 
> # Overrides the default mapping between harddisk names and the BIOS'
> # harddisk order. Use with caution.
> #disk=/dev/hde
> #    bios=0x81
> 
> #disk=/dev/sda
> #    bios=0x80
> 
> # Specifies the boot device.  This is where Lilo installs its boot
> # block.  It can be either a partition, or the raw device, in which
> # case it installs in the MBR, and will overwrite the current MBR.
> #
> boot=/dev/hda
> 
> # Specifies the device that should be mounted as root. (`/')
> #
> # root=/dev/hda3
> 
> 
> install=/boot/boot-menu.b
> 
> # Specifies the location of the map file
> #
> # map=/boot/map
> 
> 
> # delay=20
> 
> 
> prompt
> # timeout=150
> #	prompt
> #	single-key
> #	delay=100
> #	timeout=100
  ^
  why not?

> # Specifies the VGA text mode at boot time. (normal, extended, ask,
> <mode>)
> #
> # vga=ask
> # vga=9
> #
> vga=normal
> 
> 
> # append=""
> 
> # Boot up Linux by default.
    ^^^^^^^^^^^^^^^^^^^^^^^^
> #
> default=Win2000(hda1)
  ^^^^^^^^^^^^^^^^^^^^^
  What do you want as your default?

> image=/vmlinuz
> 	label=Linux
> 	root=/dev/hda3
> 	read-only
> #	restricted
> #	alias=1
> 
> # image=/vmlinuz.old
> #	label=LinuxOLD
> #	read-only
> #	optional
> #	restricted
> #	alias=2
> 
> # If you have another OS on this machine to boot, you can uncomment the
> # following lines, changing the device name on the `other' line to
> # where your other OS' partition is.
> #
> # other=/dev/hda4
> #	label=HURD
> #	restricted
> #	alias=3
> other=/dev/hda1
>   label="Win2000(hda1)"

So everything you need in your lilo.conf is:

boot = /dev/hda
read-only
lba32
prompt
timeout = 100
install=/boot/boot-menu.b

image=/vmlinuz
label=Linux
root=/dev/hda3
vga=normal

other=/dev/hda1
optional
label=Win2000(hda1)



-- 
    .~.
    /V\   L   I   N   U   X
   /( )\ >Phear the Penguin<
   ^^-^^

Attachment: pgpG7ywbuLBCC.pgp
Description: PGP signature


Reply to: