Deleted Win partition formatted using ext4 how to use it as storage

Asked by Lorenzo Tom James

I am currently running ubt 11.4.I have just deleted my partition with windows on it.After reading question 105390(deleting windows ntfs,fat32 partitions to make more room for ubuntu in dual boot system)and answered by Sergeg Davidoff(2010-03-24),I created a new Ext4 partition.Now ,if I am understanding correctly,the easiest and most reliable thing to do is use this new partition for storage,or is it possible,meaning fairly easy and reliable to make Natty make use of this newly created partition?

Thanks

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu util-linux Edit question
Assignee:
No assignee Edit question
Solved by:
actionparsnip
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

Sure, you can even add it in /etc/fstab to mount at boot then make a symlink folder from the mount point to your home directory to make access easier, you could even move a large folder (like pics etc) to the partition then symlink that, the images will be stored on the new partition but the 'Pictures' folder will still be there, just as a link ;)

Revision history for this message
Lorenzo Tom James (jameslorenzo913) said :
#2

You have really brighten-up my day with your answer,now.....if it's not too much trouble would you please outline the procedure for accomplishing this.I am somewhat new to ubuntu and I understand clearly what you are saying....I just don't know exactly how to go about doing it.

Thanks

Revision history for this message
Best actionparsnip (andrew-woodhead666) said :
#3

Get the partition added in /etc/fstab so that it mounts at each boot, you will need a folder to mount to so make that first.

If you want the pictures folder to be the one linked to (as an example). You can use this. For the sake of the example I will use the following:
- Extra partition is mounted to /storage
- User is called foo

You would move the Pictures folder to /storage then run:

ln -s /storage/Pictures ~/Pictures

Now the files you save in ~/Pictures will really be saved on /data/Pictures

HTH

Revision history for this message
Lorenzo Tom James (jameslorenzo913) said :
#4

Thanks actionparsnip, that solved my question.