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

Re: lilo and win98



On Sun, 20 Jun 1999, Sander Balkenende wrote:

> hi
> I have problems starting win98 on hdb1 with Lilo. When trying to start
> win (shift, dos), nothing happens. Linux (hda1) starts fine.

I have the exact same setup (unless you have the new release of '98), even
the same partition numbers. First, i'll assume that your Windoze partition
is bootable if you tell bios to boot from the second drive, or switch the
drives around. Don't actually do it for keeps, but it's a good way to
check that it can boot on its own ;)

Then, this lilo.conf should work. This is an exact copy of my current
conf with comments added.

  boot=/dev/hda
  vga=normal
  map=/boot/map
  # Next three or four lines are for my boot menu
  prompt
  timeout=100
  message=/boot/startup-msg
  default=Linux

  # Normal Linux image
  image=/vmlinuz
    root=/dev/hda1
    label=Linux
    read-only
    alias=1
  #
  # Backup, if you use make-kpkg or the kernel debs, it automatically
  # symlinks vmlinuz.old to the kernel you just replaced
  image=/vmlinuz.old
    root=/dev/hda1
    label=oldLinux
    read-only
    alias=3
  #
  # Here's the windoze boot, in case i ever need it
  other=/dev/hdb1
    table=/dev/hdb
    # Next 4 lines tell bios to make windows think it's on the first HD
    map-drive = 0x80
      to = 0x81
    map-drive = 0x81
      to = 0x80
    # chain.b is implied.
    label=win
    alias=2

Until i added the map-drive options, windows would refuse to boot; it
would freeze after Lilo said "Loading win..." and tried to hand control to
the MBR.

Wonder if micros~1 will somehow render this ineffective when they release
W2K?


Reply to: