On 3 June 1999, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
>
>   I'm trying to get lilo to boot a Win95 disk which uses FAT32, but it
> freezes.
>
> The configuration is as follows: 
> 
> 2 physically different drives (Quantum Fireball and WD Caviar)
> /dev/hda contains Linux and lilo. Primary master (WD caviar disk)
> /dev/hdb contains Win95 FAT32 version. Set up as Primary Slave.
> 
> Both operating systems work OK when run as primary master drive.
> 
> /etc/lilo.config is as follows:
> 
> boot=/dev/hda
> map=/boot/map
> install=/boot/boot.b
> prompt
> append="bmouse=3"
> image=/boot/kernel_99
>       label=linux
>       root=/dev/hda3
>       read-only
> other=/dev/hdb1
>       label=win95
>       table=/dev/hdb1
        ^^^^^^^^^^^^^^^

    Here's your problem.  Change it to

        table=/dev/hdb

[...]
> Can someone explain to me exactly what the table entry does in this
> situation

    According to "man 5 lilo.conf", it instructs lilo that the partition
table information for the disk hosting Windows is to be retrieved from
the named device, and that the information should be passed to the OS:

:      table=device
:             This specifies the device that contains the  parti�
:             tion  table.   The boot loader will not pass parti�
:             tion information to the booted operating system  if
:             this  variable  is omitted. (Some operating systems
:             have other means to determine from which  partition
:             they have been booted.  E.g., MS-DOS usually stores
:             the geometry of the boot disk or partition  in  its
:             boot  sector.)  Note that /sbin/lilo must be re-run
:             if a partition table mapped referenced with `table'
:             is modified.

> and if it is necessary (lilo documentation is very vague)?

    As you already found out, it is.

> Does Windows require that it is on the Primary Master disk?

    I never bothered to actually install a Win'95, I suppose it will
boot ok if and only if you don't have DOS partitions on the primary
disk.  Anyway, you can instruct lilo to swap the (logical) disks:

        map-drive = 0x80
          to = 0x81
        map-drive = 0x81
          to = 0x80

    Alternatively, you can make the Windows disk primary, Linux has no
problem booting from a secondary disk.  All you have to do is switch the
jumpers, edit fstab and lilo.conf, and run lilo.

> Does lilo work with FAT32 systems (using lilo version 20)?

    Lilo doesn't care about the filesystems for entries of type "other".

    Regards,

    Liviu Daia

-- 
Dr. Liviu Daia               e-mail:   [EMAIL PROTECTED]
Institute of Mathematics     web page: http://www.imar.ro/~daia
of the Romanian Academy      PGP key:  http://www.imar.ro/~daia/daia.asc

Reply via email to