?
Solved

"partition magic"

Posted on 1997-01-08
1
Medium Priority
?
372 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 200 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

Will your db performance match your db growth?

In Percona’s white paper “Performance at Scale: Keeping Your Database on Its Toes,” we take a high-level approach to what you need to think about when planning for database scalability.

Question has a verified solution.

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

rdate is a Linux command and the network time protocol for immediate date and time setup from another machine. The clocks are synchronized by entering rdate with the -s switch (command without switch just checks the time but does not set anything). …
Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
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…
Suggested Courses
Course of the Month11 days, 22 hours left to enroll

752 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