Monday, November 23, 2009

create a new partition in Redhat

fdisk /dev/sda

p - print the partition table

n - create new partition

[Enter] to accept the default starting cyclinder

+20M

w - update the partition table

restart or type partprobe to use the new partition

mkfs.ext3 /dev/sda7

mount /dev/sda7 /mnt

umount /mnt

No comments:

Post a Comment

About

Blogger templates