LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 05-30-2008, 10:18 PM   #1
Drone4four
Member
 
Registered: Feb 2006
Distribution: Ubuntu, Slackware. Gentoo
Posts: 199

Rep: Reputation: 30
adding mbs of unalocated space between drives with fdisk


which commands can i enter into fdisk to safely add a few mbs of unallocated disk space between partitions without losing any valuable data? when i start fdisk, it says press m for help which lists a series of commands. I don't know which commands to choose.
 
Old 05-30-2008, 10:30 PM   #2
smbell100
Member
 
Registered: Sep 2007
Location: Shetland, UK
Distribution: Slackware, Mandrake, LFS
Posts: 59

Rep: Reputation: 16
Fidsk cannot resize partitions, which requires a knowledge of the internal structure of the filesystem that fdisk does not have.

Try using gparted. See http://ubuntuforums.org/archive/index.php/t-572760.html, and http://sourceforge.net/project/showf...kage_id=173828
 
Old 05-30-2008, 10:36 PM   #3
moxieman99
Member
 
Registered: Feb 2004
Distribution: Dabble, but latest used are Fedora 13 and Ubuntu 10.4.1
Posts: 419

Rep: Reputation: 146Reputation: 146
Quote:
Originally Posted by Drone4four View Post
which commands can i enter into fdisk to safely add a few mbs of unallocated disk space between partitions without losing any valuable data? when i start fdisk, it says press m for help which lists a series of commands. I don't know which commands to choose.

As has been mentioned, fdisk cannot do it. More importantly, however, no matter what you use, ALWAYS back up your data on the entire disk preferably but on the two adjacent partitions certainly, before you try to do anything.
 
Old 05-30-2008, 10:49 PM   #4
Drone4four
Member
 
Registered: Feb 2006
Distribution: Ubuntu, Slackware. Gentoo
Posts: 199

Original Poster
Rep: Reputation: 30
See, only fdisk sees my 8 unique partitions. GParted, Partition Magic, Ubiquity only see one giant unallocated space. My MBR is really messed up and is the source of my head ache.

Backing data up before messing with partitions is always the wise thing to do, as moxieman99 points out. However, I have about 170GBs worth of stolen intellectual property. It would take me days to back up all the valuable data onto 4.7GB DVDs which is why I want to be extremely careful with the surgery necessary to get Ubiquity to read all my partitions.

It's times like these I wish I was a developer who could modify the code in GParted myself. I am such a slow learner when it comes even to simple scripting languages...ugh.
 
Old 05-30-2008, 10:49 PM   #5
smbell100
Member
 
Registered: Sep 2007
Location: Shetland, UK
Distribution: Slackware, Mandrake, LFS
Posts: 59

Rep: Reputation: 16
Meant to mention safety myself. Changing partitions can be as effective, and very much faster than rm -rf /*. Make sure you know exactly what you want to do. Check each command before you hit the enter key. And backup. Messing with partitions is not safe.
 
Old 05-30-2008, 10:51 PM   #6
smbell100
Member
 
Registered: Sep 2007
Location: Shetland, UK
Distribution: Slackware, Mandrake, LFS
Posts: 59

Rep: Reputation: 16
Might it be easier to get another hard disk, backup to that and then repartition?
 
Old 05-30-2008, 10:54 PM   #7
Drone4four
Member
 
Registered: Feb 2006
Distribution: Ubuntu, Slackware. Gentoo
Posts: 199

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by smbell100 View Post
Might it be easier to get another hard disk, backup to that and then repartition?
I can't afford a 200+ GB HD at the moment.

Here is the bug report in case any of you are interested in what I am dealing with here. https://bugs.launchpad.net/ubuntu/+s...ed/+bug/209974

Slackware installs because it can recognize all the partitions, but Ubuntu won't. Slacwkare is boring because it doesn't run compiz-fusion. I miss compiz-fusion.

Last edited by Drone4four; 05-30-2008 at 11:00 PM.
 
Old 05-31-2008, 01:41 AM   #8
AceofSpades19
Senior Member
 
Registered: Feb 2007
Location: Chilliwack,BC.Canada
Distribution: Slackware64 -current
Posts: 2,079

Rep: Reputation: 58
Quote:
Originally Posted by Drone4four View Post
I can't afford a 200+ GB HD at the moment.

Here is the bug report in case any of you are interested in what I am dealing with here. https://bugs.launchpad.net/ubuntu/+s...ed/+bug/209974

Slackware installs because it can recognize all the partitions, but Ubuntu won't. Slacwkare is boring because it doesn't run compiz-fusion. I miss compiz-fusion.
Slackware runs compiz-fusion just fine, I have it running right now in fact, you just need to do some research to get it working, which is what slackware is all about
 
Old 05-31-2008, 03:02 AM   #9
Drone4four
Member
 
Registered: Feb 2006
Distribution: Ubuntu, Slackware. Gentoo
Posts: 199

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by AceofSpades19 View Post
Slackware runs compiz-fusion just fine, I have it running right now in fact, you just need to do some research to get it working, which is what slackware is all about
I've done my research. I discovered compiz-fusion slackages only with Freerock Gnome installed. And Freerock is fiercely discouraged by the Slackware experts I hang out with. So fuck it. What needs to be written are SlackBuilds to compile either comiz 0.7.4 or master git from source for xfce, not those ugly Gnome wm distributions for Slackware . I don't yet have have the bash scripting skill to do this yet. Do you, AceofSpades19?

Last edited by Drone4four; 05-31-2008 at 03:05 AM.
 
Old 05-31-2008, 03:39 AM   #10
AceofSpades19
Senior Member
 
Registered: Feb 2007
Location: Chilliwack,BC.Canada
Distribution: Slackware64 -current
Posts: 2,079

Rep: Reputation: 58
Quote:
Originally Posted by Drone4four View Post
I've done my research. I discovered compiz-fusion slackages only with Freerock Gnome installed. And Freerock is fiercely discouraged by the Slackware experts I hang out with. So fuck it. What needs to be written are SlackBuilds to compile either comiz 0.7.4 or master git from source for xfce, not those ugly Gnome wm distributions for Slackware . I don't yet have have the bash scripting skill to do this yet. Do you, AceofSpades19?
I didn't need them, and if you look closely enough, you will find something to get the packages for you(hint, hint), and I don't have gnome on my system

Edit:If you really cannot find what I was referring to then here is a link to what I used www.linuxpenguin.net/content/view/103/88888900/

Last edited by AceofSpades19; 05-31-2008 at 02:52 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
Cannot fdisk EMC drives etcetera Linux - Hardware 1 05-16-2006 03:30 PM
Adding additional drives/resizing drives in RAID arrays kheldar Linux - Hardware 1 10-19-2005 02:21 PM
fdisk /dev/hda not enough space jonnyblinux Linux - Software 7 10-05-2005 04:22 PM
fdisk doesn't recognize free space on 300GB Disk thesix Ubuntu 6 05-21-2005 11:30 PM
Merging Unalocated Partitions lramos85 Linux - Newbie 6 07-22-2004 03:29 PM


All times are GMT -5. The time now is 09:54 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration