Moving from windows to Ubuntu for a while. There have been a lot of ups and downs, now more than at first, summed up some experience to share with you. This passage focuses on my Ubuntu partitioning experience. Because I didn't use Windows to remove it, so much data was saved on the FAT32 hard drive, and when I moved to the Ubuntu system I used the ext3 hard drive as my workspace, and the usual code writing and compiling was done on this ext3 hard drive.
1. Hard disk partition
Partition type space function
(1) sda1 NTFS 15G my c disk, Windows system installed here
(2) SDA5 FAT32 29G my D-plate, a lot of information put here
(3) Sda6 ext3 10G My workspace, the usual code writing and compiling are here
(4) Sda3 root 16G my Ubuntu is installed here.
(5) SDA4 swap 2G My memory is 1G, so I divided the swap space 2G
2. Re-mount Partition
Ubuntu itself can mount the hard drive automatically, but it is inconvenient for me to use (such as read and write property settings), I will sda5 and Sda6 two non-system hard disk mount.
(1) Command line input
sudo cp/etc/fstab/etc/fstab.bak backup before modification, I hope we can develop this good habit
(2) command line input
sudo vi/etc/fstab edit this file to mount again
(3) After the modification of my fstab file, add the following statement
# my D disk (FAT32), a lot of information is placed here, set umask=000 so that normal users of D disk can write
/dev/sda5/mnt/wind vfat user,defaults,utf8,umask=000 0 0
# my Workspace (ext3), the usual code writing and compiling are here
/dev/sda6/mnt/sda6 ext3 defaults 0 0
(4) After saving the file, enter
sudo mount-a to mount all partitions again
sudo df Check to see if the mount is correct
(5) Reboot system
You have any questions and suggestions please contact me, today is January 21, 09, wish you a Happy New Year:
Want to be your friend
Dreamcode:http://blog.csdn.net/dreamcode
Msn:itecies@hotmail.com
Skype ID:javen.china