Solved

"partition magic"

Posted on 1997-01-08
1
368 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Monthly Recap

May was a big month for new releases from Linux Academy! Take a look at what our team built recently in our blog. You can access the newest releases from our blog.

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.…
The purpose of this article is to demonstrate how we can use conditional statements using Python.
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…
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…

688 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