Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 07-05-2010, 09:51 PM   #1
LQ Newbie
Registered: Jul 2010
Posts: 2

Rep: Reputation: 0
slackware 13.1 will not boot after install from USB

I am installing slackware 13.1 from USB. This will NOT be a dual-boot system.

The install appears to work correctly installing to /dev/sda2 (/dev/sda1 is my swap)

However I get an error when installing to the LILO to the MBR, root, or even to a floppy drive (I tried all 3 multiple times with no luck)

My issues comes when LILO is installing.

After a couple of video warnings I get the following:
Warning: Device 0x0010 inconsistent partition table
CHS address in PT: 15:12:12 --> LBA(230465)
LBA address in PT: 8064 --> CHS(0:130:5)
Fatal: Either Fix-Table or Ignore-Table must be specified. If not sure, first try Ignore-Table (-P ignore)

It appears to me I have an issue with LILO, but what I am not sure. I looked in the /etc/ dir for lilo.conf but it did not exist.

Thanks in advance for help with this.
Old 07-06-2010, 03:55 AM   #2
Registered: Feb 2008
Distribution: Slackware
Posts: 595

Rep: Reputation: 115Reputation: 115
You would probably have several responses by now if you posted in the Slackware forum rather than the Newbie forum.

It would seem that you have a problem with your partition table. You need to either fix the partition table yourself, tell lilo to fix it, or tell lilo to ignore it (my preference would be to fix it manually).

During install, the lilo.conf will be in /mnt/etc/lilo.conf as per these instructions for manually re-installing lilo in an unbootable system:
Old 07-06-2010, 03:56 AM   #3
Registered: Feb 2008
Distribution: Slackware
Posts: 595

Rep: Reputation: 115Reputation: 115

Last edited by zordrak; 07-06-2010 at 03:56 AM. Reason: Duplicate
Old 07-06-2010, 04:10 AM   #4
Senior Member
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 112Reputation: 112
You could write your own lilo.conf or use Grub instead.

Grub1 is possibly the easiest. Just get hold of a Linux (anything other than Ubuntu 10.04 or distros based on it as they use Grub2 now) and do the following

(1) Boot up the Live CD, mount your sda2 containing the Slackware. Make a /boot/grub directory.

(2) Copy 2 files stage1 and stage2 from the boot up Linux and put these 2 files in Slackware's /boot/grub directory. The stage1 and stage2 are normally available in the /boot/grub of the boot up Linux. You can also find them in other dirctories by "find / -name stage1"

(3) Invoke a Grub shell from the boot up Linux and set up Grub by commands
root (hd0,1)
setup (hd0)
(4) If reboot now your PC will boot to a Grub prompt with which you can boot Slackware manually by commands
root (hd0,1)
kernel /boot/vmlinuz ro root=/dev/sda2
(5) If you are happy with the result you can make the arrangement permanent by adding menu.lst to /boot/grub directory with the following entries
title My Slackware 13.1 booted by Grub
root (hd0,1)
kernel /boot/vmlinuz ro root=/dev/sda2
Slackware is great but its Lilo is crap. Absolute also based on Slackware but has a much better Lilo (or a better installer configuring Lilo properly).

The above is the minimal install of Grub. Same thing can be done with Grub2 if you want it instead of Grub1.

Grub is easier because you can boot every system "manually" if you have a need to. If you "dd" stage1 and stage2 into a floppy it can boot any installed system ever invented on a PC. Lilo is rigid that it only boots whatever you put inside /etc/lilo.conf.

Haven't used one for a long time but you can use Slackware installation CD or DVD to install Lilo again or run program "liloconfig" (I think) at a Slackware terminal to try Lilo again.

Last edited by saikee; 07-06-2010 at 04:22 AM.
Old 07-06-2010, 08:17 AM   #5
Registered: Jan 2005
Location: Summer Midwest USA, Central Illinois, Winter Central Florida
Distribution: SlackwareŽ
Posts: 13,270
Blog Entries: 29

Rep: Reputation: 2462Reputation: 2462Reputation: 2462Reputation: 2462Reputation: 2462Reputation: 2462Reputation: 2462Reputation: 2462Reputation: 2462Reputation: 2462Reputation: 2462

'saikee' it seems to me the OP doesn't have another system installed. The OP can get 'grub' from '/extra'. But it would be easier to repair the partition table and re-install lilo or run 'liloconfig'. Or run 'lilo' with {fix|ignore|<global-option>} options;
excerpt from 'man lilo';

-P {fix|ignore|<global-option>}
Fix or ignore `corrupt' partition tables, i.e., partition tables with linear and cylin-
der/head/sector addresses that do not correspond. Always try -P ignore first, as -P fix
will re-write the partition table, possibly destroying all partitions on the disk.

-P ignore is also used to bypass the partition table check for partition types within
the partition table which might not allow the installation of a LILO boot sector. Com-
pare with the "-F" flag, which overrides the check of the actual boot sector.

-P <global-option> allows the passing of any global option which may appear in the
global section (top) of the configuration file (/etc/lilo.conf). For instance, -P
nowarn will pass the "nowarn" option, just as though "nowarn" appeared in the configura-
tion file (same as the "-w" switch). Similarly, -P timeout=50 will add or override the
"timeout=" line in the configuration file. Note that the general -P switch actually
duplicates a number of command line option switches. However, it is not strictly the
same as some switches whick cause an override of other options; e.g., "-g" (-P geomet-
ric), "-L" (-P lba32).
@OP If you decide to use the '-P' option please read the 'man lilo' above as bad things can still occur. Be sure to check the '-F' option.

I would use the 'Ignore-Table (-P ignore)' option first, then 'fix' if that doesn't work.
Old 07-06-2010, 08:40 AM   #6
Senior Member
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 112Reputation: 112
I use Lilo whnever possible but for some reasons the Lilo installations in Slackware were rarely successfuly in my case. Thus possibly 9 out of 10 cases I cut my loss and put Grub in. I do put Linux beyond the 15th partition frequently and that doesn't help either.

My suggestion is to get Grub sourced from a Live CD. Unless Slackware boots the OP can't get anything from it.

I did suggest using Slackware installation CD to try Lilo installation again. The current situation is Lilo has no lilo.conf in /etc directory of OP that seems rather serious. In such a case no repair can be done except installing Slackware again or just Lilo itself.

Last edited by saikee; 07-06-2010 at 08:45 AM.
1 members found this post helpful.
Old 07-06-2010, 06:20 PM   #7
LQ Newbie
Registered: Jul 2010
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks Everyone

Thanks to everyone for your replies.

I have not used slackware since v8.1 so it may take me a while to get thru all of the items to try.

I will try the LILO suggestions first, but probably end up installing grub.

Well - I have lots of reading to do, but this is for my own personal webserver and am enjoying every minute of this process. (OK maybe not every minute, but I have fun doing it.)

Thanks again everyone.


lilo, partition, slackware, table

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Install slackware on a USB drive without creating an USB livecd Barx Slackware 4 06-28-2010 02:31 PM
Slackware install and boot on USB hard-drive khronosschoty Slackware 2 04-04-2010 07:57 PM
I can't (install in USB), boot from USB, from Ubuntu, from Windows XP... gginis Linux - Software 4 06-26-2008 10:46 AM
Slackware 12/ usb hard drive install will not boot jwk2801 Slackware - Installation 5 02-15-2008 08:11 PM
How to INSTALL not BOOT Slackware 11.0 from USB flash? Daysie Linux - Hardware 2 01-11-2007 05:26 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:46 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration