Solved

"partition magic"

Posted on 1997-01-08
1
357 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

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Join & Write a Comment

This is the error message I got (CODE) Error caused by incompatible libmp3lame 3.98-2 with ffmpeg I've googled this error message and found out sometimes it attaches this note "can be treated with downgrade libmp3lame to version 3.97 or 3.98" …
The purpose of this article is to demonstrate how we can use conditional statements using Python.
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

758 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now