LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-01-2007, 09:16 AM   #1
eponymous
Member
 
Registered: Oct 2004
Distribution: Gentoo
Posts: 78

Rep: Reputation: 15
fdisk reports odd "Start "and "End" sectors on single partition


Hello,

I have a Western Digital 120 GB hard disk which I have put a single parition on using fdisk.

However, when I do a:

Code:
fdisk -u /dev/hdd
I get the following output:

Code:
Disk /dev/hdd: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders, total 234441648 sectors
Units = sectors of 1 * 512 = 512 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hdd1              63   234436544   117218241   83  Linux
Why doesn't the hard disk start at sector 0 and end at sector 234441648 (or 234441647 if it counts from 0).

What is all the other space being used for?

Is there any way I can view what is in this extra space?


Thanks in advance.


----------------------------------
Supplemental:

My other hard disk in this system (the one with all the boot, root and swap crap on it) reports the same thing:

Code:
Disk /dev/hdc: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders, total 234441648 sectors
Units = sectors of 1 * 512 = 512 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hdc1   *          63       80324       40131   83  Linux
/dev/hdc2           80325     1092419      506047+  82  Linux swap / Solaris
/dev/hdc3         1092420   234436544   116672062+  83  Linux
----------------------------------

Last edited by eponymous; 10-01-2007 at 10:28 AM.
 
Old 10-01-2007, 09:49 AM   #2
teckk
LQ Guru
 
Registered: Oct 2004
Distribution: Arch
Posts: 5,135
Blog Entries: 6

Rep: Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826
I believe that the first 63, 0 - 62 is the MBR and fdisk is not counting that on the partition.
http://linuxcommand.org/man_pages/fdisk8.html

Last edited by teckk; 10-01-2007 at 09:53 AM.
 
Old 10-01-2007, 11:02 AM   #3
eponymous
Member
 
Registered: Oct 2004
Distribution: Gentoo
Posts: 78

Original Poster
Rep: Reputation: 15
Thanks.


Does anyone have any ideas as to why the "End" of /dev/hdc3 is not at 234441648?

There seems to be 5104 sectors un-accounted for :S
 
Old 10-01-2007, 03:41 PM   #4
eponymous
Member
 
Registered: Oct 2004
Distribution: Gentoo
Posts: 78

Original Poster
Rep: Reputation: 15
Supplemental:

It appears that if I run fdisk /dev/hdd (a drive with only one parition on it called /dev/hdd1), I cannot make another partition as fdisk complains about there being no free sectors.

However, using fdisk -u /dev/hdd will allow me to make a small parition that fills up the rest of the drive.

What the hell is going on here?! the "-u" option simply states you want the partition sizes displayed as sectors rather than cylinders!

Last edited by eponymous; 10-01-2007 at 03:50 PM.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
lilo says, "L 01 01 01" and fdisk says, "Unable to seek on /dev/hda1" clausawits Linux - General 3 12-31-2007 09:33 PM
LXer: Displaying "MyComputer", "Trash", "Network Servers" Icons On A GNOME Desktop LXer Syndicated Linux News 0 04-02-2007 08:31 AM
fdisk "No free sectors Available" xfezz Linux - General 3 04-21-2005 09:25 AM
How to start KDE automaticlly without typing "startx" then "startkde" Jonescity Slackware 8 10-29-2004 09:32 PM
Linux Partition Table Editor - Need to change "Hidden Sectors" value Ouch_Taser Linux - Newbie 3 02-11-2004 10:03 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:43 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