Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.


  Search this Thread
Old 03-08-2004, 05:51 AM   #1
LQ Newbie
Registered: Sep 2003
Posts: 26

Rep: Reputation: 15
Question Creating New Partitions on a Second Drive

I'm having a couple of problems with Linux Partitions and I'm hoping someone can help.
When I first installed Linux a year ago I installed it onto a 1 Gig Hard Drive with two Partitions / and /home at the time this was enough and I wasn't really doing much with it. However I've now filled the Drive and I want to add a second hard drive with Partitions for /var,/etc,/usr and /tmp. Is it possible for me to mount these drives onto my system and then copy the Data from the relevant folders under / into the new partitions I have created on the new,second, Hard drive.

Has anyone done anything like this before. How would I go about do this.

I don't want to have to Start from scratch and have to install linux again.

Someone suggested that I format and partition the drive and mount it onto /mnt so that I could copy the relevant data into the correct partitions.

I would then be able to Mount the partition permanently in the fstab file.

However what will happen to the var,etc,usr and tmp folders under / will i have to delete these in order for linux to point at the correct partitions instead.

Hope this makes sense to someone.


Old 03-08-2004, 07:02 AM   #2
Registered: Nov 2003
Location: Bristol, Britain
Distribution: Slackware
Posts: 548

Rep: Reputation: 57
If you mount the new partition that contains the /var files over the existing /var directory and have the entry in fstab on reboot you will see your new /var directory. The old /var directory will still be there will all it's data intact you just won't be able to see/use it.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Creating more than 4 primary partitions... noWareSystems Linux - General 3 10-25-2005 10:16 AM
creating partitions simcox1 Mandriva 1 04-22-2005 06:49 AM
Creating Partitions adamb10 Slackware - Installation 4 03-30-2005 03:36 PM
Creating New Partitions in linux iqlinx Linux - Software 3 12-21-2004 02:28 AM
Creating partitions during LFS. trickykid Linux From Scratch 4 02-08-2002 02:11 PM > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 12:55 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration