Re: problem with lilo on thinkpad



Ulrich Lauther wrote:
Hi,

I installed Slackware 12.0 on a IBM Thinkpad with 50 GByte sata drive.
Lilo was installed to the superblock of the Linux root partition,
/dev/sda3. I get a warning about lba32 addressing.
That partion was made bootable.
When I try to boot, I get "operating system missing".
Now, when I copy 512 bytes from /dev/sda3 to a file on the windows
partition and mention that file in window's boot.ini, mark
the windows partition bootable,
I get a boot-dialog on rebooting and after selecting Linux, I get
the expected Lilo prompt and everything works fine from there.

Any idea, why I cannot directly boot from the linux partition?
The only unusual thing (fdisk warns about this) is that the
partions are not in the sequence as they are numbered:
1. NTFS /dev/sda1
2. linux, root /dev/sda3
3. linux, swap /dev/sda4
4. VFAT /dev/sda2

/dev/sda2 is a windows rescue partion and I didn't dare to move it around.
Could this be the problem?
Or is this a ThinkPad peculiarity?


The partitions before the Linux root on the
disk are too large for the BIOS to address
the LILO code therre.

When booting, the only way to read the first
sectors of code is to use the BIOS disk drivers,
and the body of the boot code must be accessible
for the BIOS drivers.

There are different limits depending on the
age and settings of the BIOS.

This is the main reason why it is recommended
to have a separate smallish partition for /boot
at the start of the disk.

--

Tauno Voipio
tauno voipio (at) iki fi
.



Relevant Pages

  • Re: [SLE] Yast gets incorrect hard disk size during install
    ... >>format as well as partition the HD. ... Linux wants the BIOS to be in control of the hardware but what almost ... everybody who installs M$ does is answer YES to the question in the BIOS ... the first 256 bytes of the partition. ...
    (SuSE)
  • Re: Lilo / XP Partition Woes
    ... >I am trying to set up Linux and XP to dual boot using Lilo. ... ># Override dangerous defaults that rewrite the partition table: ... refer to drives 0x80 and 0x81, which are the two hard drives /dev/hda ...
    (comp.os.linux.misc)
  • Re: Dual (triple) boot problem (win98, Linux, WinXP)
    ... > Device Boot Start End Blocks Id System ... Note that hda4, the extended partition, ends at the last cylinder, ... Simply adding an entry to Lilo for XP is not enough. ... Win98 was already on the machine when you installed Linux) ...
    (linux.redhat.misc)
  • Re: Dual (triple) boot problem (win98, Linux, WinXP)
    ... > Device Boot Start End Blocks Id System ... Note that hda4, the extended partition, ends at the last cylinder, ... Simply adding an entry to Lilo for XP is not enough. ... Win98 was already on the machine when you installed Linux) ...
    (linux.redhat.install)
  • Re: LILO fatal error when writing MBR
    ... DOS can't read ntfs and the win2k partition is too far from ... LILO version 22.5.9, ... # LILO configuration file (Vector Linux) ... label = DOS ...
    (comp.os.linux.misc)