LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 11-18-2005, 10:38 AM   #1
Dasc
Member
 
Registered: Jul 2004
Posts: 47

Rep: Reputation: 15
incorrect partition table


investigating some other problems I happened to find out that my partition table has something wrong
everything works fine, I can mount/umount , read/write etc on every partition I should be able to, but the fact that I've experienced some HD related problems makes me suspect that the cause has something to do with this (the problems I'm talking about basically caused always the system to hang during hardware recognition with both knoppix live and winxp installer cd. in the winxp case the problem disappeared disconnecting the hd. not checked with knoppix yet, but still..)

this is my config (I'll paste command outputs afterwards to make the post a little more readable)

up to date debian testing with 2.6.12 kernel
asus a7v8x mobo with 3 maxtor IDE hd

hd setup:
first hd (60GB):
FAT32 - 35GB - (share space between win and linux)
ext3 - 20GB - linux /
swap - 1.5GB - swap partition
ext3 - 50MB - I'll probably use this as /tmp, currently unmounted

second hd (120GB):
currently disconnected - single NTFS partition - data only

third hd (80GB):
NTFS - 20GB - WinXP
NTFS - 60GB - win program files

the reported problem has something to do with the first hd, but the third gives warnings too

this is the output of a sfdisk -l that reports the problem
Code:
root@1[knoppix]# sfdisk -l

Disk /dev/hda: 119150 cylinders, 16 heads, 63 sectors/track
Warning: The partition table looks like it was made
for C/H/S=*/255/63 (instead of 119150/16/63).
For this listing I'll assume that geometry.
Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0

Device Boot Start End #cyls #blocks Id System
/dev/hda1 * 0+ 4714 4715- 37873206 c W95 FAT32 (LBA)
/dev/hda2 7469 7475 7 56227+ 83 Linux
start: (c,h,s) expected (1023,254,63) found (1023,0,1)
/dev/hda3 4715 7272 2558 20547135 83 Linux
start: (c,h,s) expected (1023,254,63) found (1023,0,1)
/dev/hda4 7273 7468 196 1574370 82 Linux swap / Solaris
start: (c,h,s) expected (1023,254,63) found (1023,0,1)

Disk /dev/hdc: 158816 cylinders, 16 heads, 63 sectors/track
Warning: extended partition does not start at a cylinder boundary.
DOS and Linux will interpret the contents differently.
Warning: The partition table looks like it was made
for C/H/S=*/255/63 (instead of 158816/16/63).
For this listing I'll assume that geometry.
Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0

Device Boot Start End #cyls #blocks Id System
/dev/hdc1 * 0+ 2549 2550- 20482843+ 7 HPFS/NTFS
/dev/hdc2 2550 9962 7413 59544922+ f W95 Ext'd (LBA)
start: (c,h,s) expected (1023,254,63) found (1023,0,1)
/dev/hdc3 0 - 0 0 0 Empty
/dev/hdc4 0 - 0 0 0 Empty
/dev/hdc5 2550+ 9962 7413- 59544891 7 HPFS/NTFS
start: (c,h,s) expected (1023,254,63) found (1023,1,1)

this is what parted outputs (it's the same for third hd):
Code:
parted
GNU Parted 1.6.9
Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
This program is free software, covered by the GNU General Public License.

This program is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE. See the GNU General Public License for more details.

Using /UNIONFS/dev/hda
Warning: Unable to align partition properly. This probably means that another
partitioning tool generated an incorrect partition table, because it didn't have
the correct BIOS geometry. It is safe to ignore,but ignoring may cause
(fixable) problems with some boot loaders.
Ignore/Cancel? c
Information: The operating system thinks the geometry on /UNIONFS/dev/hda is
119150/16/63. Therefore, cylinder 1024 ends at 503.999M.
(parted) print
Warning: Unable to align partition properly. This probably means that another
partitioning tool generated an incorrect partition table, because it didn't have
the correct BIOS geometry. It is safe to ignore,but ignoring may cause
(fixable) problems with some boot loaders.
Ignore/Cancel? i
Disk geometry for /UNIONFS/dev/hda: 0.000-58644.140 megabytes
Disk label type: msdos
Minor Start End Type Filesystem Flags
1 0.031 36985.583 primary fat32 boot, lba
3 36985.583 57051.145 primary ext3
4 57051.145 58588.615 primary linux-swap
2 58588.616 58643.525 primary ext3
(parted) quit
Information: Don't forget to update /etc/fstab, if necessary.
 
Old 11-18-2005, 12:19 PM   #2
Dasc
Member
 
Registered: Jul 2004
Posts: 47

Original Poster
Rep: Reputation: 15
I forgot to say that my HD are already set as LBA in BIOS (after some googling it appears to be a fix for a similar bug in FC installation) and the format is in fact 1024 - 255 - 63 (I've tried also to config the values manually) so basically I don't know where that "16" comes from

in addition I have to add that my current HW config always froze on startup (kernel 2.6.12 as i said above) until I disabled acpi
that's where knoppix boot fails
don't know if the win install cd problem is related or if this whole thing has something to do with the HD one but I thought it was better to say it than not
 
Old 11-18-2005, 07:11 PM   #3
Dasc
Member
 
Registered: Jul 2004
Posts: 47

Original Poster
Rep: Reputation: 15
I've partially solved the issue
the acpi thing had something to do with my bios not being up to date reflashing it did the trick, also I sfdisked the 2 hd (sfdisk -d /dev/hdX | sfdisk --no-reread -H255 -S63) so it no more complains about wrong start positions

but still it gives warning about that the head number..
 
  


Reply



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
"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
Incorrect partion table andrewgates1979 Linux - Hardware 0 07-11-2004 04:33 AM
Data Recover Help -> Incorrect Partition Table PhuckFonix Linux - General 8 05-30-2004 10:12 PM
Fixing An Incorrect Partition Table? Leben Linux - Hardware 6 01-25-2003 01:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 09:33 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration