LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices

Reply
 
Search this Thread
Old 08-31-2010, 10:04 AM   #1
kapz
Member
 
Registered: Mar 2009
Location: kernel space
Distribution: Slackware_x64
Posts: 191

Rep: Reputation: 16
cfdisk ate my partition(?)


Ok I have a laptop with 60 GB IDE HDD and Fedora 12 installed on it.

I had partitions as sda1 - sda7 where my root partition was on sda5, 6&7 were spare. So what I did was using sudo I deleted merged sda6&7 into a common partition i.e sda6 through cfdisk but after that the disk space(combined of 6&7) is showing as what sda6 had previously, as if after merging partitions system forgot about my sda7 partition and also forgot to add the disk space into common sda6.Now cfdisk shows partitions from 1-6 only and so does fdisk!

Help. Thanks
 
Old 08-31-2010, 10:34 AM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,638

Rep: Reputation: 523Reputation: 523Reputation: 523Reputation: 523Reputation: 523Reputation: 523
Sounds like you deleted sda7 but didn't expand sda6. Try expanding sda6.
 
Old 08-31-2010, 03:43 PM   #3
kapz
Member
 
Registered: Mar 2009
Location: kernel space
Distribution: Slackware_x64
Posts: 191

Original Poster
Rep: Reputation: 16
Expand! How?... I mean I deleted both sda6 and sda7 and created a new partition of whatever was left and the new partition became sda6. like for example sda6 was 11 GB and sda7 was 8 GB but after doing the above mentioned process, sda6 is still 11 GB and there is no trace of remaining 8 GB whatsoever...!
 
Old 08-31-2010, 04:24 PM   #4
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Debian "Jessie"
Posts: 6,008

Rep: Reputation: 367Reputation: 367Reputation: 367Reputation: 367
As root:

fdisk /dev/sda
m to see the menu
print the partition table
delete sda6 if you are sure that is what you want
add a new partition using the remaining free space
write the changes
quit (may not be necessary)

Now format the new, expanded, partition with your filesystem of choice.
 
Old 08-31-2010, 05:15 PM   #5
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,267

Rep: Reputation: 1028Reputation: 1028Reputation: 1028Reputation: 1028Reputation: 1028Reputation: 1028Reputation: 1028Reputation: 1028
As @tredegar implies, are you (truly) looking at the size of the partition, or the old (maybe forgotten about) filesystem that was in sda6.
I'd reckon you did a mount before a format of the partition.
 
Old 09-01-2010, 12:39 PM   #6
shankargupta
LQ Newbie
 
Registered: Mar 2010
Posts: 2

Rep: Reputation: 0
you forgot to update the disk status
#resize2fs /dev/vol0 (LV Name)
 
Old 09-01-2010, 07:47 PM   #7
kapz
Member
 
Registered: Mar 2009
Location: kernel space
Distribution: Slackware_x64
Posts: 191

Original Poster
Rep: Reputation: 16
I don't know but in the past deleting two partitions and creating a new one of the remaining disk space was the new partition of combined disk space..

I took the image of my current setup and using fdisk, deleted all partitions and now it shows 'em all proper...
I will see if restoring the image helps or causes the same problem.......
 
  


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
partition won't mount after using cfdisk eosoro Linux - Newbie 5 08-26-2009 03:08 PM
Partition using CFDISK ic_torres Linux - Newbie 3 07-24-2007 05:40 AM
slack 11 cfdisk partition ic_torres Slackware 6 04-21-2007 12:35 AM
Partition types in cfdisk davemar Linux - General 1 01-12-2005 07:19 AM
CFDISK Partition Manager tycapel7 Linux - Software 1 06-07-2004 06:31 PM


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