LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


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

Rep: Reputation: 0
Create new partitions after LInux installation


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

thanks..
 
Old 08-13-2003, 04:54 PM   #2
peace
Member
 
Registered: Jul 2003
Location: Canada
Posts: 214

Rep: Reputation: 31
Hi,

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 04:56 PM.
 
Old 08-13-2003, 09:19 PM   #3
tyler0123
Member
 
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.
 
  


Reply


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


All times are GMT -5. The time now is 10:53 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration