Re: Re: Formating and Mounting Partitions giving problems

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Scott Silva wrote:
on 12/10/2007 8:59 AM Saurabh Sharma spake the following:
Fajar Priyanto wrote:
Hello,
I believe the options in /etc/fstab should be:
defaults,rw ? Not defaults [dot] rw
------------------------------------------------------------------------

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos
Thanks for correcting me ,with the mistake.Now no error were logged and directories were mounted. :-) But the File Sytem type is still FAT16.what's the issue with file system type. I formated the /dev/hdc12 using /mkfs.ext3 /but the file system shown is still FAT16.

/[root@localhost etc]# mkfs.ext3 /dev/hdc12
mke2fs 1.39 (29-May-2006)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
2289280 inodes, 4570484 blocks
228524 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=0
140 block groups
32768 blocks per group, 32768 fragments per group
16352 inodes per group
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
        4096000
Writing inode tables: done Creating journal (32768 blocks): done
Writing superblocks and filesystem accounting information: done
This filesystem will be automatically checked every 25 mounts or
180 days, whichever comes first.  Use tune2fs -c or -i to override.

But what is the partition type set to?
If they are set to 0x04 they will show up as fat16, for ext2/3 they need to be 0x83.

Thanks for replying,as i'm too new to linux i dont know how to set the partition type,i just google for things and move ahead.Can you please let me know how to get this done or what all you meant.After Scott's comments i just goggled and found parted,which showed partitions type as FAT32,this is just opposite to one shown by fdisk -l.

[root@XBox ~]# parted /dev/hdc print

Model: ST3250820A (ide)
Disk /dev/hdc: 250GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number  Start   End     Size    Type      File system  Flags
1      32.3kB  10.5GB  10.5GB  primary   ntfs         boot
2 10.5GB 250GB 240GB extended lba 5 10.5GB 62.9GB 52.4GB logical fat32 6 62.9GB 115GB 52.4GB logical fat32 7 115GB 168GB 52.4GB logical fat32 8 168GB 220GB 52.4GB logical fat32 9 220GB 220GB 107MB logical ext3 10 220GB 231GB 10.5GB logical ext3 11 231GB 231GB 535MB logical linux-swap 12 231GB 250GB 18.7GB logical ext3
Information: Don't forget to update /etc/fstab, if necessary.

Please help me grow...!

Thanks and Regards
Saurabh Sharma

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux