Solved

"partition magic"

Posted on 1997-01-08
1
361 Views
Last Modified: 2013-12-15
Hi Experts,

I have a DOS-partition and a Linux-partition.
Is there a way to take some space from my DOS partition and to add that space to
my Linux partition ?
In short : I want to make my Linux partition bigger and not create two separate Linux
partitions.
I know FIPS : but that's only splitting a partition in two.
I know Partition Magic : but that work's only with DOS partitions...
Or is there a tool to add two partitions (with some data on it, using the same Linux FAT-
structure)
to make one ?

Thanks in advance,
0
Comment
Question by:beta
1 Comment
 
LVL 1

Accepted Solution

by:
mstonge earned 100 total points
ID: 1626769
I believe that you are out of luck if you want to increase the size of an existing linux partition. I say I believe because I never saw it but you never know.  What I would suggest is the following:

Use FIPS and chop a piece of your DOS partition and turn it into a linux native partition.

run mkfs on your new partition using ext2 as filesystem type.

decide which directory you want to put on your partition /var or /home.  These are the most popular to have on a separate partition, me, I use one partition for each, it prevents the root filesystem from fragmenting and gives better performance.

Assuming that you picked /home, mv your /home directory to /home.old and create a new empty directory /home, this is your mount point.

Mount your filesystem on the /home directory by editing your /etc/fstab and then mounting the drive.

Copy all the files from your /home.old to the new home and remove the /home.old


This is probably not what you wanted to hear but I see no other solution.  The final result will be a better, faster system where an overfill of the /home directory structure will not bring the whole thing down.

Marc
mstonge@jklmicro.com
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I am a long time windows user and for me it is normal to have spaces in directory and file names. Changing to Linux I found myself frustrated when I moved my windows data over to my new Linux computer. The problem occurs when at the command line.…
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question