LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   lilo and logical partition error (https://www.linuxquestions.org/questions/linux-software-2/lilo-and-logical-partition-error-9985/)

iggymac 12-12-2001 05:23 PM

lilo and logical partition error
 
I have an IBM Caldera Linux laptop at work here that came with this default config for partitions:

/dev/hda1 Linux /
/dev/hda2 FAT16 (ibm hibernation part.)
/dev/hda3 Linux swap
/dev/hda4 Win95 ext. (lba)
/dev/hda5 Linux /home
/dev/hda6 Win95 fat32 (lba)

I know it's a little strange but this is what the machine ships like.

So I thought I could install Windows 2000 into that logical partition (hda6) and update lilo to boot into it.

NOTE: I HAVE NOT INSTALLED WINDOWS INTO HDA6 YET.

I put this entry into lilo.conf:

other = /dev/hda6
label=windows
table=/dev/hda


When I ran lilo I got:

Fatal: Partition Entry not Found

So I updated lilo to 22.1 and put lba32 into lilo.conf thinking that would fix it but it did not. I still get the same error.

Any idea why?

Aussie 12-12-2001 08:13 PM

Try "table = /dev/hda1"

iggymac 12-17-2001 01:37 PM

Just for the heck of it I tried that:

table = /dev/hda1

and I also tried

table = /dev/hda2 and 3 and 4 and 5 and 6 :)

No good.

Any other ideas?

Bret

linuxcool 12-17-2001 10:50 PM

If the machine ships with win95 in hda6, how did you get win95 to run? I didn't think you could get windows to run from a logical partition.

How about:

other=/dev/hda4
label=windows
table=/dev/hda

The ' table= ' line always refers to the entire device, not a specific partition.

iggymac 12-18-2001 05:02 PM

There is no windows installed anywhere. The hda4 is the extended partition and I wanted to install 2000 (which does not have that limitation) into the logical partition hda6.

bluecadet 12-18-2001 05:32 PM

i'm pretty sure you can't boot from a logical partition... esp not windows, as dos can't see logical drives at all.

maxg 12-20-2001 11:50 AM

Re: lilo and logical partition error
 
Quote:

Originally posted by iggymac

NOTE: I HAVE NOT INSTALLED WINDOWS INTO HDA6 YET.

Fatal: Partition Entry not Found

Any idea why?

Obviously it can't find an OS to boot that isn't there!

But I believe All Windows operating systems have to have their boot files on the 1st partition of the 1st HD, so it may not work.

I always create a FAT partition at the beginning of the first HD, just for the flexibility to be able to install any DOS/Win OSes. (Or you could use FAT32, if you are 100% sure you'll never want to install DOS 6 or NT4)

Some may argue that there are ways around it, but I prefer to keep it simple :)


All times are GMT -5. The time now is 08:55 PM.