LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


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

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


Hi,
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.

Thanks

Flossie
 
Old 03-08-2004, 06:02 AM   #2
aikempshall
Member
 
Registered: Nov 2003
Location: Bristol, Britain
Distribution: Slackware
Posts: 900

Rep: Reputation: 153Reputation: 153
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.
 
  


Reply



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 09:16 AM
creating partitions simcox1 Mandriva 1 04-22-2005 05:49 AM
Creating Partitions adamb10 Slackware - Installation 4 03-30-2005 02:36 PM
Creating New Partitions in linux iqlinx Linux - Software 3 12-21-2004 01:28 AM
Creating partitions during LFS. trickykid Linux From Scratch 4 02-08-2002 01:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 05:56 AM.

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