LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 07-25-2008, 05:31 AM   #1
bomahony
LQ Newbie
 
Registered: Jul 2008
Posts: 5

Rep: Reputation: 0
fdisk issues


I recently used cfdisk to create another logical partition on my system in unused space. When i use cfdisk, the partitions are displayed correctly. when i use fdisk however, i get:


This doesn't look like a partition table
Probably you selected the wrong device.

Device Boot Start End Blocks Id System
/dev/sda1p1 ? 105945 207378 814758329+ 74 Unknown
Partition 1 has different physical/logical beginnings (non-Linux?):
phys=(288, 110, 36) logical=(105944, 131, 12)
Partition 1 has different physical/logical endings:
phys=(366, 104, 37) logical=(207377, 59, 61)
Partition 1 does not end on cylinder boundary.
/dev/sda1p2 ? 82801 116350 269488144 65 Novell Netware 386
Partition 2 has different physical/logical beginnings (non-Linux?):
phys=(107, 121, 32) logical=(82800, 34, 51)
Partition 2 has different physical/logical endings:
phys=(10, 121, 13) logical=(116349, 218, 61)
Partition 2 does not end on cylinder boundary.
/dev/sda1p3 ? 33551 120595 699181456 53 OnTrack DM6 Aux3
Partition 3 has different physical/logical beginnings (non-Linux?):
phys=(345, 32, 19) logical=(33550, 137, 11)
Partition 3 has different physical/logical endings:
phys=(324, 77, 19) logical=(120594, 153, 54)
Partition 3 does not end on cylinder boundary.
/dev/sda1p4 ? 243387 243391 32672 bb Boot Wizard hidden
Partition 4 has different physical/logical beginnings (non-Linux?):
phys=(65, 1, 0) logical=(243386, 212, 25)
Partition 4 has different physical/logical endings:
phys=(128, 0, 7) logical=(243390, 229, 37)
Partition 4 does not end on cylinder boundary.

Partition table entries are not in disk order

So i went to extra functionality, and used f to fix to the order. The system is working fine, the new filesystem is working fine and is mounted through fstab. The system works after rebooting. sfdiskshows the cortrect info, but fdisk shows the exact same as above, with the last line "Partition table entries are not in disk order" now missing.


how can i fix this?

---

Edit - i added another partition to it using fdisk and it seemed to fix the information....

Last edited by bomahony; 07-25-2008 at 05:34 AM.
 
Old 07-25-2008, 05:45 AM   #2
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
They may be using different sizes for the cylinder sizes. Try fdisk with the "-u" option.
 
Old 07-25-2008, 05:48 AM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,126

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
[sc]fdisk all require a device as input, not a partition. Looks like you did "fdisk /dev/sda1" instead of (the correct) "fdisk /dev/sda".
 
  


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
weird fdisk problem (Fdisk unable to see winxp partitions) khidot Slackware - Installation 5 04-07-2007 09:26 PM
promise ultra66 issues: unable to open device with fdisk spargonaut Linux - Hardware 1 12-12-2005 05:56 PM
Help Using Fdisk Dannydy Linux - Hardware 3 07-20-2004 09:26 AM
Fdisk Help! SnowSurfAir Linux - Software 21 07-21-2003 01:15 PM
can't fdisk tweak13 Linux - Newbie 4 04-02-2003 01:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:59 PM.

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