Making Partition in Linux
Open text mode or console mode
- Type : parted
- Then it'll open partition mode
- You can type : help, if you want to see all the command
-if you want to see all the partition type : print
-making partition : using mkpartfs
Mkpartfs
ex: mkpartfs logical ext3 30000 40000
-exit the partition mode by typing : quit
-make mount point directory
ex: mkdir /mount/mynewpartition
-mount the new partition
ex: mount -t ext3 /dev/hd10 /mount/mynewpartition
•Deleting Partition
- umount /mount/mynewpartition
- open partition mode : parted
- print
- rm
ex: rm 10
- quit
•converting ext2 to ext3:
-unmount the partition first
-type : tune2fs -j
ex: tune2fs -j /dev/sdb1
•Converting ext3 back to ext2
-unmount the partition first
- type :tune2fs ^has_journal
ex: tune2fs ^has_journal /dev/sdb1
0 comments: to “ Making Partition in Linux ”
Post a Comment