LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   Can't install lilo --> Inconsistent partition table (http://www.linuxquestions.org/questions/slackware-14/cant-install-lilo-inconsistent-partition-table-842818/)

hedron 11-07-2010 12:24 AM

Can't install lilo --> Inconsistent partition table
 
I get the following error when installing lilo:
Code:

device 0x0800 Inconsistent partition table
CHS address in pt: 2:0:33 --> LBA (32162)
LBA address in pt: 2048 --> CHS (0:32:33)

Some have suggested that I issue lilo -P ignore, but that only destroys my MBR and therefor is not an option.

My lilo.conf is pretty much default.

fdisk -l /dev/sda says that some partitions do not end on the cylinder boundary. I can only assume that this is an important hint.

I have never had this problem when dual booting with XP only now that I've installed Windows 7.

seanaustin 11-07-2010 02:58 AM

how exactly are you booting back into slackware after the win7 install? are you able to load windows? Is it safe to assume that you simply re-used the winXP partition(s) for win7?

nutronix 11-07-2010 10:22 AM

Maybe install Grub?

MannyNix 11-07-2010 11:21 AM

Quote:

Originally Posted by hedron (Post 4151563)
...Some have suggested that I issue lilo -P ignore, but that only destroys my MBR and therefor is not an option.

I have never had this problem when dual booting with XP only now that I've installed Windows 7.

I started to get this problem when I installed FreeBSD aisde my OpenBSD, XP and -current partitions. I've been using lilo -P ignore for months without any problems as I haven't had the time to format and install everything again, now that I don't need the BSD partitions anymore I formated them as ext4. Hopefully a new and clean install will fix evertything.

hedron 11-07-2010 11:33 AM

Quote:

Originally Posted by seanaustin (Post 4151649)
how exactly are you booting back into slackware after the win7 install? are you able to load windows? Is it safe to assume that you simply re-used the winXP partition(s) for win7?

I've booted into Win7 without installing lilo. So, slack is installed but I can't boot to it. I guess I'll try grub.

w1k0 11-07-2010 11:40 AM

The long story short: I encountered such a problem using one of the last versions of Slackware – prior to 13.0. I coped with that running Slackware CD-ROM, mounting Slackware partition in /mnt directory, chrooting to /mnt directory and running lilo command.

The whole story is here.

By the way: according to fdisk manual “fdisk is a buggy program that does fuzzy things”. The same manual advise to “try them in the order cfdisk, fdisk, sfdisk”. So if you’d like to avoid complains about partitions not ending on the cylinder boundary backup your data and recreate partitions using cfdisk.

nutronix 11-07-2010 03:18 PM

Thanks for the info ,w1k0 , i had never read the whole man page....hummmm...maybe explains why i did have such a problem with Lilo years back in 10.1 slack release....also hosed my hardrive by the way...thanks again

Amdx2_x64 11-07-2010 03:24 PM

I know you are trying to trouble shoot lilo. For awhile I was duel or triple+ booting and at times the bootloaders (Windows, Lilo, GRUB (Legacy and 2,) wouldn't work together. So I started using G.A.G Bootloader. I am not sure if this would be an option for you if things don't go right. I also believe that lilo would have to be installed on the root partition.

w1k0 11-07-2010 04:54 PM

Quote:

Originally Posted by nutronix (Post 4152027)
i had never read the whole man page....hummmm...

I suspect the only people reading the entire manuals are the authors. It'd be nice to read all Unix manuals but there's a lot of more inspiring activities. In fact reading them isn't sufficient. One have to read them, remember them and be able to use them. I wrote a few manuals for programs I invented. I read each of them a few times when I wrote them. Now I use the basic set of switches allowed by my own programs. When I need any rare used option I have to read my own manuals anew.

trxdraxon 11-07-2010 06:26 PM

This seems to come up a lot with windows 7, with the way it partitions itself. The one time I tried to setup a dual boot I had to install slack then windows 7(using cfdisk to create the partitions). Then go back and reinstall lilo from the slackware dvd.

I am not really sure what the root cause of the issue is as I am not much of a windows user anymore so I haven't looked to much into it. It doesn't seem to use the standard sector zoning format. Normally you will have a few megabytes of space left after creating partitions but with win7 you don't anymore.

hedron 11-13-2010 11:11 PM

I'm not sure what happened exactly, but after failing to be able to install grub I reinstalled slackware using cfdisk instead of fdisk but that didn't seem to work and gave me the 99 99 99 etc error. But then I booted with my usb drive and then rebooted and now it appears it works fine.


All times are GMT -5. The time now is 10:14 AM.