LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 05-14-2005, 07:21 PM   #1
thesix
LQ Newbie
 
Registered: May 2004
Posts: 8

Rep: Reputation: 0
fdisk doesn't recognize free space on 300GB Disk


System: Dell 400SC.
Disk: Seagate 300GB ATA (ST3300831A), using onboard IDE.

I just installed the new disk and allocated 100GB NTFS in Windows XP Pro,
Computer Management shows this in XP:
jiki.pbase.com/u26/taochen/upload/43368325.disks.jpg
(newbie not allowed to post URL)

Boot into Ubuntu with Live CD 5.04, I want to create a Linux partition for the rest 200GB free space, however, fdisk sees the disk is fully used:

======== screen log ========

Command (m for help): p

Disk /dev/hda: 300.0 GB, 300069052416 bytes
255 heads, 63 sectors/track, 36481 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 1 36481 293033601 42 SFS

Command (m for help): n
Command action
e extended
p primary partition (1-4)
p
Partition number (1-4): 2
No free sectors available

======== end of screen log ========

Is this a kown issue or do I miss anything?

I want to do a 'dd' backup of the other disk to the new partition.
Don't have Linux installed on this system and don't plan to.
If this is a kown issue, do you know any _live_ CD may have a working fdisk?

I burned a Knoppix CD with the lastest version, but the box doesn't recognize it's a bootable CD, guess I need to reburn with another CDR.

Thanks in advance.

Tao
 
Old 05-14-2005, 11:14 PM   #2
thesix
LQ Newbie
 
Registered: May 2004
Posts: 8

Original Poster
Rep: Reputation: 0
Quote:
293036184 = 300069052416 / 1024, according to fdisk, your first partition there is actually using the entire volume.
Hi,

I know, but that was exactly my question :-)

If you look at the Windows XP output,
http://jiki.pbase.com/u26/taochen/up...8325.disks.jpg

I only allocated 100GB in Windows, why fdisk thinks all 300GB are allocated ?

Thanks,

Tao
 
Old 05-17-2005, 04:37 PM   #3
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 72
SFS means secure filesystem... there's something doinked up with the partition table I suspect. You might want to use Windows to format off that other 200Gb for fat32 since it can actually see the partition difference, then when it writes the table again it might let fdisk be able to see what's actually there.

Cheers,

Finegan
 
Old 05-21-2005, 01:57 AM   #4
thesix
LQ Newbie
 
Registered: May 2004
Posts: 8

Original Poster
Rep: Reputation: 0
Finegan,

Sorry I didn't see your reply until now. That's a good idea, I'll try and post the result.

Thanks,
Tao
 
Old 05-21-2005, 09:03 PM   #5
thesix
LQ Newbie
 
Registered: May 2004
Posts: 8

Original Poster
Rep: Reputation: 0
I created a second partition on the 300GB disk (NTFS) in Windows XP, but fisk still sees the whole disk as one SFS partition (tried both Ubuntu and SuSE Live CDs).

I deleted the partition in fdisk, create a 100GB partition at the end of the disk, boot into Windows XP. XP sees the layout correctly.
I then created a NTFS partition, booted into Linux again, now fdisk is happy.

I wonder if anyone else sees this scenario.

Tao
 
Old 05-21-2005, 09:13 PM   #6
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 72
Not that I could see when I was googling about. I was actually gonna suggest that, but that was running fast and loose with the possibility of blasting your partition table, I mean still long odds, just nothing I wanted to take the chance of getting flamed over. Glad it finally nailed out though, keen!

Did you use something nonstandard to create the part on the first run? Or was that just how WinXP carved it out?

Cheers,

Finegan
 
Old 05-21-2005, 10:30 PM   #7
thesix
LQ Newbie
 
Registered: May 2004
Posts: 8

Original Poster
Rep: Reputation: 0
Quote:
Did you use something nonstandard to create the part on the first run? Or was that just how WinXP carved it out?
I didn't do anything special.
Always used "Control-Panel" -> "Computer Management" -> "Storage" -> "Disk Management" -> right click and choose new partition.

Tao
 
  


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
How t get it known free disk space? ukrainet Linux - General 3 05-06-2008 10:52 PM
fdisk doesn't recognize free space on 300GB Disk thesix Linux - Hardware 2 05-14-2005 08:19 PM
free disk space mp4-10 Linux - Software 1 04-06-2005 03:32 AM
FDISK! /var too big; / too small, reallocate disk space pauljtester Linux - General 2 08-05-2004 08:10 PM
is windows extended partion free space visible to linux fdisk purplesky Linux - General 1 11-12-2002 07:27 PM

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

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