Re: problem with lilo on thinkpad



On Wed, 31 Oct 2007 17:01:19 +0000, Tauno Voipio wrote:

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.

This BIOS limitation no longer exists on contemporary computers, say made
within the last 5 years or so. So, that's not the problem.

Stef
.



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: Big HD-Small BIOS Problem. Need to edit registry in unbootable sy
    ... Linux kernels have their own disk drivers, they don't rely on the BIOS for 48-bit addressing, that is why it can see and use the whole drive but Windows cannot. ... Created large Second primary partition for Windows 2000. ...
    (microsoft.public.win2000.registry)
  • Re: Dual boot Win XP Pro/FC3 again
    ... does the 1024 cylinder limitation apply to your Linux ... That is a bios limitation if it exists, and with a certain type of bios ... why do you say "second primary partition on slave ...
    (comp.os.linux.setup)
  • Re: problem with lilo on thinkpad
    ... Lilo was installed to the superblock of the Linux root partition, ... sectors of code is to use the BIOS disk drivers, ...
    (comp.os.linux.setup)
  • Re: Windows multiboot (aaargh!)
    ... >> The Linux boot floppy is a bit more tricky. ... So I tried adding cfdisk to a spare Debian Woody boot ... > I reduced all the partition sizes by a third. ...
    (Debian-User)