1- fdisk -l(to see the partitiom list) 2- fdisk /dev/sda (for parttion) 3- n (new parttion ) 4- press enter 5- type space for drive like 20gb parttion --> +50gb 6- w(for save) 7-mkfs.ext3 /dev/sda5 8-partprobe(to update kernel entry) 9-vi /etc/fstab 10 - /dev/sda5 /data ext3 defaults defaults 0 0 11:wq 12-mkdir /data 13- mount /dev/sda5 /data 14 - restart (init 6) On Sat, Nov 20, 2010 at 10:39 PM, Pushparaj Shetty <[email protected]>wrote:
> Hi, > Thanx for info. How can make use of that partition then? It had windows > partition. I have deleted it fully. Now I have to use that space in linux. > How do i convert it to logical partition? > Pushparaj > > > > On Sat, Nov 20, 2010 at 11:58 AM, Ravi shankar Choudhary < > [email protected]> wrote: > >> /dev/sda3 is a extended partition(as per the fdisk -l output), we can >> format only logical partitions within it. >> >> On Sat, Nov 20, 2010 at 12:06 AM, [email protected] < >> [email protected]> wrote: >> >>> >>> >>> On Fri, Nov 19, 2010 at 8:04 PM, VIPIN KUMAR <[email protected]>wrote: >>> >>>> >>>> >>>> >>>> 1-mkfs.ext3 /dev/sdax >>>> >>>> x=1,2,3,4(which drive u want to format) >>>> >>>> 2-remove the entry of drive from vi /etc/fstab >>>> >>>> it remove the entry of partition from the os. >>>> >>>> now my ques is how to mount ntfs parttion in redhat. >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> On Fri, Nov 19, 2010 at 4:16 PM, Pushparaj Shetty <[email protected] >>>> > wrote: >>>> >>>>> Hi, >>>>> I want to format a unalloated partition in Mandriva linux. >>>>> >>>>> >>>>> [r...@localhost manimeh]# mkfs.ext3 /dev/sda3 >>>>> ke2fs 1.40.8 (13-Mar-2008) >>>>> mkfs.ext3: inode_size (128) * inodes_count (0) too big for a >>>>> filesystem with 0 blocks, specify higher inode_ratio (-i) >>>>> or lower inode count (-N). >>>>> >>>>> *Please tell me the exact command* >>>>> >>>>> The following is the output of fdisk >>>>> >>>>> >>>>> Please tell me the exact command >>>>> [r...@localhost manimeh]# /sbin/fdisk -l >>>>> Disk /dev/sda: 160.0 GB, 160041885696 bytes >>>>> 240 heads, 63 sectors/track, 20673 cylinders >>>>> Units = cylinders of 15120 * 512 = 7741440 bytes >>>>> Disk identifier: 0x0cdaffd2 >>>>> >>>>> Device Boot Start End Blocks Id System >>>>> /dev/sda3 11783 20673 67215960 5 Extended >>>>> /dev/sda5 11783 12865 8187448+ 83 Linux >>>>> /dev/sda6 12866 13406 4089928+ 82 Linux swap / >>>>> Solaris >>>>> /dev/sda7 13407 20673 54938488+ 83 Linux >>>>> >>>>> >>>>> -- >>>>> Pushparaj Shetty D. >>>>> Research Scholar >>>>> Dept. of Mathematics >>>>> IIT Delhi >>>>> Cell# 9212370093 >>>>> -- >>>>> l...@iitd - http://tinyurl.com/ycueutm >>>>> >>>> >>>> >>>> >>>> -- >>>> 4658 >>>> >>>> -- >>>> l...@iitd - http://tinyurl.com/ycueutm >>>> >>> >>> mount -t ntfs-3g <partition> <mount point> >>> >>> >>> -- >>> >>> ...salman ... >>> >>> >>> -- >>> l...@iitd - http://tinyurl.com/ycueutm >>> >> >> -- >> l...@iitd - http://tinyurl.com/ycueutm >> > > > > -- > Pushparaj Shetty D. > Research Scholar > Dept. of Mathematics > IIT Delhi > Cell# 9212370093 > -- > l...@iitd - http://tinyurl.com/ycueutm > -- 4658 -- l...@iitd - http://tinyurl.com/ycueutm
