Results 1 to 10 of 12
Hi guys,,
could some one help me figure out, how can i create a partion /home. Is tht done using Gparted??...
- 12-21-2006 #1Just Joined!
- Join Date
- Dec 2006
- Posts
- 53
Hi guys,,
could some one help me figure out, how can i create a partion /home. Is tht done using Gparted??
- 12-22-2006 #2
You can use gparted, qtparted or fdisk to manage partitons. You create a new partition with any of those tools and then add an entry for it in /etc/fstab. If you use fdisk, format the partition to a type you want using mkfs before making an entry in /etc/fstab. Are you already running Linux?
- 12-22-2006 #3Just Joined!
- Join Date
- Dec 2006
- Posts
- 53
yeah i was on linux, but my ultimate goal was to have different partitions for / and home, and i am trying that using gparted, now i want to figure out which option in gpartel helps me to create / and home separately,
Originally Posted by daark.child
can v create partitions for home and / , while we are working on linux????
- 12-22-2006 #4You need to make two separate partitions and then label one as / and the other as /home in your /etc/fstab. If you were creating these filesystems during install time, then the installer would automatically add the entries for your disks into /etc/fstab.
Originally Posted by RIZ618
- 12-22-2006 #5Just Joined!
- Join Date
- Dec 2006
- Posts
- 53
I have created three ext3 partitons and one swap partition for 1GB, Now u mean
Originally Posted by daark.child
inorder to make a partition /home i need to make changes in /etc/fstab right.
Could you plese tell me how to open /etc/fstab and how to make changes.....
- 12-22-2006 #6
Take a look here for info about the /etc/fstab and how to create entries.
- 12-22-2006 #7Just Joined!
- Join Date
- Dec 2006
- Posts
- 53
# /etc/fstab: static file system information.
Originally Posted by daark.child
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# /dev/sda8
/ ext3 defaults,errors=remount-ro 0 1
# /dev/sda1
/media/sda1 vfat defaults,utf8,umask=007,gid=46 0 1
# /dev/sda2
/media/sda2 ntfs defaults,nls=utf8,umask=007,gid=46 0 1
# /dev/sda5
/media/sda5 ext3 defaults 0 2
# /dev/sda6
/media/sda6 ext3 defaults 0 2
# /dev/sda7
none swap sw 0 0
/dev/scd1 /media/cdrom0 udf,iso9660 user,noauto 0 0
/dev/scd0 /media/cdrom1 udf,iso9660 user,noauto 0 0
~
This is what i get from /etc/fstab
how do i know which one of them is a CD rom and flopy drive.
more over how do i save changes in /etc/fstab file.
Thanks
- 12-22-2006 #8
Its a bit obvious isn't it? For cdrom entries take a look at
There isn't an entry for a floppy in the /etc/fstb you posted. Such entries tend to look likeCode:/dev/scd1 /media/cdrom0 udf,iso9660 user,noauto 0 0 /dev/scd0 /media/cdrom1 udf,iso9660 user,noauto 0 0
As for how to make changes to /etc/fstab, you simply edit the file with your favourite text editor and save the changes.Code:/dev/fd0 /mnt/floppy auto noauto 0 0
- 12-22-2006 #9Just Joined!
- Join Date
- Dec 2006
- Posts
- 53
Yeah i figured tht out,, i just dint c it by chance,, anyways thanks,,
Originally Posted by daark.child
Now looking at it, if i want to create /dev/sda5 as /home then could u tell me how are you going to mount it. So tht all my work is saved in home directory.
- 12-22-2006 #10You could put the line below in /etc/fstab
Originally Posted by RIZ618
Code:/dev/sda5 /home ext3 defaults 0 0


Reply With Quote