Logo 
Search:

Unix / Linux / Ubuntu Forum

Ask Question   UnAnswered
Home » Forum » Unix / Linux / Ubuntu       RSS Feeds

How do I create a new partition for my data files

  Date: Dec 11    Category: Unix / Linux / Ubuntu    Views: 524
  

Many moons ago I read on this list a way of creating a separate
partition for keeping personal data so that when you do an update it
does not affect your personal information. Then how would I get ubuntu
to recognize this partition?

Now that I have a high speed connection I will be able to go back to
using Ubuntu but I don't want to have to copy half of my drive when I
update. Any and all help will be greatly appreciated.

Share: 

 

4 Answers Found

 
Answer #1    Answered On: Dec 11    

Basically you need three Linux partitions for this and you choose the last
option in the partitioning part of the installer, to do it manually. You install
Ubuntu to one partition with the mount point / for root. The second partition
will be a tiny swap partition that should equal but not exceed the amount of RAM
and it has its own format. The third will be for home and the mount point will
be /home. You can choose your file type for the format. Use ext3 or ext4 (for
Jaunty). I have found that you need more space for your home partition than in
the root partition. How you split it is up to you. Just leave room for growth.
You always need more than you think.

When you choose your user name it will create a user directory in /home. This
will be what you will use for whatever distro that you have installed. When you
want to re-install, you repeat the steps above, but do NOT format /home. You
choose the file system as ext3 or whatever, but make sure that the format box is
unchecked. When you get to user name, then you input the same thing as before.
This re-uses the user data and your desktop settings, bookmarks and email
accounts remain intact. It is a good idea to back up just in case, especially
the hidden files found in your use directory.

You can even save your package list and re-install the same packages so that
your new installation is identical to the old one. See:
http://ubuntuforums.org/showthread.php?t=1057608
http://ubuntuforums.org/showthread.php?t=479071

 
Answer #2    Answered On: Dec 11    

Is there a way to do this retroactively, that is, after
failing to have done so at the time installing Ubuntu?

 
Answer #3    Answered On: Dec 11    

It can be done, but you cannot work from a mounted file system to alter your
partitions. Use a Live CD and resize your partitions and format new ones from
the free space.
See:
https://help.ubuntu.com/community/Partitioning/Home/Moving
www.ivankuznetsov.com/.../...ts-own-partition.html
http://www.psychocats.net/ubuntu/separatehome

I suspect that it can be done from a graphical interface as well using the Live
CD's Gparted and Users and Groups in System, Administration of your Ubuntu
installation, either by creating a new user or changing your user properties.

It might be wise to backup as you never know...

 
Answer #4    Answered On: Dec 11    

I use on a dual boot
outfit is simply just to create a new partion (gpARTED OR 'Admin/Partition
Editor) either on the working drive or a separate drive, ext3 or ntfs can be
read/written by either OS and the data files/music/pictures are availble to
both. Give the partion a 'title',Gparted should mount the new partition
effortlessly or check the settings under 'Preferences' I The details end up in
/etc/fstab.

Aside, I understand newish PCs with GBts of ram don't actually use mich swap and
flash drives particularly avoid it. Ext4 may be up and coming but earlier OS's
such as 8.04 and BillsOS can't read or write to it.

 
Didn't find what you were looking for? Find more on How do I create a new partition for my data files Or get search suggestion and latest updates.




Tagged: