LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 05-30-2008, 09:18 PM   #1
Drone4four
Member
 
Registered: Feb 2006
Distribution: Slackware, Gentoo, Manjaro
Posts: 205

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, 09: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, 09:36 PM   #3
moxieman99
Member
 
Registered: Feb 2004
Distribution: Dabble, but latest used are Fedora 13 and Ubuntu 10.4.1
Posts: 425

Rep: Reputation: 147Reputation: 147
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, 09:49 PM   #4
Drone4four
Member
 
Registered: Feb 2006
Distribution: Slackware, Gentoo, Manjaro
Posts: 205

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, 09: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, 09: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, 09:54 PM   #7
Drone4four
Member
 
Registered: Feb 2006
Distribution: Slackware, Gentoo, Manjaro
Posts: 205

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 10:00 PM.
 
Old 05-31-2008, 12: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, 02:02 AM   #9
Drone4four
Member
 
Registered: Feb 2006
Distribution: Slackware, Gentoo, Manjaro
Posts: 205

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 02:05 AM.
 
Old 05-31-2008, 02: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 01:52 PM.
 
  


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

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

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