LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
LinkBack Search this Thread
Old 10-26-2005, 01:25 PM   #1
picobyte
LQ Newbie
 
Registered: Apr 2005
Distribution: slackware, knoppix
Posts: 17

Rep: Reputation: 0
lilo: Inconsistent partition table


Hi,
I have a problem installing lilo after an upgrade to slackware 10.2. grub didn't work either, but I'll keep the discussion to lilo, because that's what I am most accustomed with. I'm not entirely a rookie so I have tried to search for the answer googling etc, but up till now to no avail. Maybe anyone can help me out?

The error:
Code:
root@kitch:/home/stan#lilo
Added linux *
Device 0x0300: Inconsistent partition table, 3rd entry
  CHS address in PT:  67:0:1  -->  LBA (1076355)
  LBA address in PT:  1076544  -->  CHS (67:3:1)
Fatal: Either FIX-TABLE or IGNORE-TABLE must be specified
If not sure, first try IGNORE-TABLE (-P ignore)
root@kitch:/home/stan#
As you can see there is something wrong with my third entry, namely the windoze boot (there's always something with that m$#@! os). fix or ignore table didn't help.

my lilo.conf:
Code:
boot = /dev/hda
prompt
read-only
ramdisk = 0
lba32
map = /boot/map-2.6.13.4
vga = 773

image = /boot/vml-2.6.13.4
  root = /dev/hda4
  label = linux

other = /dev/hda3
  label = windows
Is it something to do with the fact that the partition is above the 1024 cylinder? I have the lba32 option.

Code:
root@kitch:/home/stan# fdisk -l

Disk /dev/hda: 40.0 GB, 40037760000 bytes
255 heads, 63 sectors/track, 4867 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1   *           1           7       49360+  83  Linux
/dev/hda2               7          68      488880   82  Linux swap
/dev/hda3   *          68        3138    24661224    c  W95 FAT32 (LBA)
/dev/hda4            3138        4868    13899816   83  Linux

Disk /dev/hdc: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hdc1               1        2433    19543041    c  W95 FAT32 (LBA)
/dev/hdc2            2434        4866    19543072+   c  W95 FAT32 (LBA)
/dev/hdc3            4867        7298    19535040    c  W95 FAT32 (LBA)
/dev/hdc4            7299        9729    19527007+   7  HPFS/NTFS
Help is much appreciated,

picobyte
 
Old 10-26-2005, 03:46 PM   #2
jailbait
Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Wheezy, SolydK 2013
Posts: 7,434

Rep: Reputation: 134Reputation: 134
"/dev/hda1 * 1 7 49360+ 83 Linux
/dev/hda2 7 68 488880 82 Linux swap
/dev/hda3 * 68 3138 24661224 c W95 FAT32 (LBA)"

The first problem is that swap shares cylinder 7 with hda1 and cylinder 68 with hda3. You can solve this problem by setting swap to start on cylinder 8 and end on cylinder 67. Then reformat swap with the mkswap command.

"/dev/hda3 * 68 3138 24661224 c W95 FAT32 (LBA)
/dev/hda4 3138 4868 13899816 83 Linux"

A second problem seems to be that cylinder 3138 is allocated to both hda3 and hda4. I would try to solve this problem by defragging hda3 and then changing hda3 to end on 3137 instead of 3138. You are least likely to blow something up by removing the last cylinder of the FAT32 partition than the first cylinder of a linux partition. I don't know enough about FAT32 to tell you whether it will gracefully accept the reduction in size or whether you will have to reformat the FAT32 partition after you shave a cylinder off the end.

-----------------------------
Steve Stites

Last edited by jailbait; 10-26-2005 at 03:54 PM.
 
Old 10-26-2005, 06:41 PM   #3
picobyte
LQ Newbie
 
Registered: Apr 2005
Distribution: slackware, knoppix
Posts: 17

Original Poster
Rep: Reputation: 0
ouch, you're right, that's a problem. No, by the way, Fat32 won't like that using fdisk, even after defragmentation. I've made that mistake before I'll just try to resize it using partitionmagic or something like that.

Thanks
 
Old 10-26-2005, 06:45 PM   #4
maroonbaboon
Senior Member
 
Registered: Aug 2003
Location: Sydney
Distribution: debian
Posts: 1,495

Rep: Reputation: 48
The Multi-Disk HOWTO

http://www.tldp.org/HOWTO/Multi-Disk-HOWTO-12.html

says 'fips' (a DOS program) will resize a FAT32 partition.
 
  


Reply


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
"No partition table or unknown signature on partition table" 10.1 install madcow007 Slackware 4 02-09-2009 11:04 AM
Slack 10: S-ATA = "No partition table or unknown signature on partition table"? dissolved soul Slackware - Installation 11 08-05-2004 02:12 PM
Why can't I restore a partition table backup containing a reiser partition? oldweasel Linux - Software 2 05-23-2004 12:11 AM
Booting from an extended partition - need a partition table editor Ouch_Taser Linux - General 2 02-10-2004 06:22 PM
strange partition table - boot partition empty etanter Linux - General 0 12-23-2003 09:46 AM


All times are GMT -5. The time now is 08:15 AM.

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