Slackware - InstallationThis forum is for the discussion of installation issues with Slackware.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I had to transfer a hard drive to another machine after
an electrical short destroyed the motherboard.
I have Slackware 13.37 installed on this hard drive with
an msdos partition table (Gparted) which will boot
properly. However, if I try to run LILO -b /dev/sdc2,
I get the partition table warning:
Warning: Ignoring entry 'boot'
Warning: LBA32 addressing assumed
Warning: /dev/sdc2 is not on the first disk
Warning: Device 0x0820: Inconsistent partition table, 2nd entry
CHS address in PT: 261:53:49 --> LBA (3949707)
LBA address in PT: 4196352 --> CHS (297:128:49)
Fatal: Either FIX-TABLE or IGNORE-TABLE must be specified
If not sure, first try IGNORE-TABLE (-P ignore)
I try to rerun LILO with LILO -b -P ignore /dev/sdc2, but
this results in a display of all switches and their use
which would indicate that my syntax is wrong.
I also ran fdisk and printed the partition table which
showed no partitions.
Pretty simple lilo.conf; don't see how it could be the cause of the problem, although change-rules?
# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
# Append any additional kernel parameters:
append=" vt.default_utf8=1"
boot = /dev/sdc2
I always install LILO on the boot sector of the root partition not the MBR, but after all the
trouble I have been having I did a dd dump of the MBR and it does contain boot code, not just
the partition table. I can erase the boot code there leaving only the partition table and
disk identifier, but I don't see how that is going to cure the "inconsistent partition table".
Problem solved! Took a gamble and ran LILO -P fix after making a copy of the MBR with dd.
This changed two bytes in the partition table. Reran LILO -b /dev/sdc2 and it ran
successfully. Boot is good.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.