Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 08-13-2003, 03:46 PM   #1
LQ Newbie
Registered: Aug 2003
Posts: 2

Rep: Reputation: 0
Create new partitions after LInux installation

I have installed my laptop with RH linux 9 with using GRUB bootloader to run in dual-boot option.

I created root, swap and /boot partitions during the installation of LInux (anaconda) process. But now I want to create the /var and /home. I still have 7 gig unallocated space available in my secondary IDE drive. I have read article that you can do with parted command. But I don't want to get the space from / (root)partition (12 gig). I want to use the space from 7 gig unallocated space. Is there any way to accomplish this. Can anyone come across this earlier after you install the Linux OS.

Old 08-13-2003, 03:54 PM   #2
Registered: Jul 2003
Location: Canada
Posts: 214

Rep: Reputation: 31

This is definately possible (and it's not too hard either )

Please note: you do not need seperate partitions for /var and /home. I personally have never made them seperate. But if you still want to:

Use the tool fdisk (or cfdisk) and make the partitions from the unallocated space. Then, edit your (make sure you have superuser privledges) /etc/fstab file to mount /home and /var as your new partitions. By looking at the other entries already in fstab, this should be fairly self-explanatory. By the way, fstab is the File System TABle.

I have never done this, but I have set up a few Linux computers and run RH9 on my notebook as well, so it should work.

Come back here for any more questions!

Last edited by peace; 08-13-2003 at 03:56 PM.
Old 08-13-2003, 08:19 PM   #3
Registered: Aug 2003
Posts: 134

Rep: Reputation: 16
this may work. it may not. the /var and /home partitions already exist. so you may need to set symbolic links after copying the information to the new partitions. i would personally make the new partitions with different names, like /vardir and /homedir, then reboot the pc and copy all information from /var and /home to the newly created /vardir and /homedir directories on the newly made partitions. then i would remove the /var and /home partitions and create symbolic links from the /vardir to /var and the /homedir to /home. i may be wrong. so follow the earlier advice. if does not work let me know and i will go into greater detail.


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
Resize Linux and NTFS Partitions after installation complete akabatman2 SUSE / openSUSE 8 09-23-2005 11:17 AM
create a linux installation smartentity Linux - Software 1 08-06-2005 06:22 AM
Can somebody create a nount point after Linux installation? kpachopoulos Linux - Newbie 4 08-17-2004 11:35 AM
Create software RAID partitions first, then create filesystem partitions on top of th stefanlasiewski Linux - Software 1 04-28-2004 04:12 PM
howto create linux partitions on 80GB HD DNS / Proxy server ? cccc Linux - Networking 5 10-11-2003 01:32 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:14 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
Open Source Consulting | Domain Registration