I'm needing to install a bootloader (I believe LILO is my best bet--I need a bootloader that doesn't require a special partition to load it's other stages like GRUB) on a disk with a duplicated Windows 98 installation (vfat).
The disk involved is a PATA disk connected to my linux box via a USB controller. The drive shows up as sdb.
Code: Select all
# fdisk -l /dev/sdb
Disk /dev/sdb: 40.0 GB, 40020664320 bytes
255 heads, 63 sectors/track, 4865 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xbb77bb77
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 4861 39045951 c W95 FAT32 (LBA)Code: Select all
# cat /home/ryan/lilo.conf
boot=/dev/sdb
disk=/dev/hda
other=/dev/hda1
label=windowsCode: Select all
# lilo -v -C /home/ryan/lilo.conf
LILO version 22.8, Copyright (C) 1992-1998 Werner Almesberger
Development beyond version 21 Copyright (C) 1999-2006 John Coffman
Released 19-Feb-2007 and compiled at 19:40:25 on Oct 22 2010
Warning: /home/ryan/lilo.conf should be owned by root
Warning: LBA32 addressing assumed
Reading boot sector from /dev/sdb
Warning: /dev/sdb is not on the first disk
Using MENU secondary loader
Calling map_insert_data
Warning: The boot sector and map file are on different disks.
Boot other: /dev/hda1, on /dev/hda, loader CHAIN
Fatal: First sector of /dev/hda1 doesn't have a valid boot signatureCode: Select all
# cat /home/ryan/lilo.conf
boot=/dev/sdb
disk=/dev/sdb
other=/dev/sdb1
label=windowsCode: Select all
# lilo -v -C /home/ryan/lilo.conf
LILO version 22.8, Copyright (C) 1992-1998 Werner Almesberger
Development beyond version 21 Copyright (C) 1999-2006 John Coffman
Released 19-Feb-2007 and compiled at 19:40:25 on Oct 22 2010
Warning: /home/ryan/lilo.conf should be owned by root
Warning: LBA32 addressing assumed
Reading boot sector from /dev/sdb
Warning: /dev/sdb is not on the first disk
Using MENU secondary loader
Calling map_insert_data
Warning: The boot sector and map file are on different disks.
Boot other: /dev/sdb1, on /dev/sdb, loader CHAIN
Added windows *
Writing boot sector.
/boot/boot.0810 exists - no boot sector backup copy made.What am I missing? Do I need to put the image map (/boot/boot.0810) onto the windows vfat partition?
TIA,
-Ryan

