Saurabh Sharma
2007-Dec-09 17:23 UTC
[CentOS] Formating and Mounting Partitions giving problems
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> </head> <body bgcolor="#ffffff" text="#000000"> <small>Hi <br> After the installation of </small><small>Windows and L</small><small>inux on my desktop.I partitioned the disk space under Windows and kept the partitions as raw.<br> Switched to Linux as Root,and viewed the disk </small><small>it showed the partitions as FAT 16 while i kept them Raw,under windows.</small><br> <small><i>[root@localhost ~]# fdisk -l<br> Disk /dev/hdc: 250.0 GB, 250059350016 bytes<br> 255 heads, 63 sectors/track, 30401 cylinders<br> Units = cylinders of 16065 * 512 = 8225280 bytes<br> Device Boot Start End Blocks Id System<br> /dev/hdc1 * 1 1275 10241406 7 HPFS/NTFS<br> /dev/hdc2 1276 30400 233946562+ f W95 Ext'd (LBA)<br> /dev/hdc5 1276 7649 51199123+ 6 FAT16<br> /dev/hdc6 7650 14023 51199123+ 6 FAT16<br> /dev/hdc7 14024 20397 51199123+ 6 FAT16<br> /dev/hdc8 20398 26771 51199123+ 6 FAT16<br> /dev/hdc9 26772 26784 104391 83 Linux<br> /dev/hdc10 26785 28059 10241406 83 Linux<br> /dev/hdc11 28060 28124 522081 82 Linux swap / Solaris<br> /dev/hdc12 28125 30400 18281938+ 6 FAT16<br> <br> </i><big><big> </big></big></small><small><big><big><small><small><small><small><small><small><small>More over fo</small></small></small></small></small>rmatting them</small></small> </big></big>under Linux [as shown below] ,</small><small>did not altered their system type.<br> </small><small></small><small><small><small><i>[root@localhost ~]# mkdosfs -v -F32 /dev/hdc5<br> mkdosfs 2.11 (12 Mar 2005)<br> /dev/hdc5 has 255 heads and 63 sectors per track,<br> logical sector size is 512,<br> using 0xf8 media descriptor, with 102398246 sectors;<br> file system has 2 32-bit FATs and 32 sectors per cluster.<br> FAT size is 24988 sectors, and provides 3198382 clusters.<br> Volume ID is 475c1a5c, no volume label.<br> <br> </i></small></small></small><small>They are still shown as F<small><small>AT</small></small> 16,the system shows some FAILURE messages at the boot time.<br> <i><br> [root@localhost log]# tail -10 dmesg<br> EXT3 FS on hdc9, internal journal<br> EXT3-fs: mounted filesystem with ordered data mode.<br> FAT: Unrecognized mount option "rw.defaults" or missing value<br> FAT: Unrecognized mount option "rw.defaults" or missing value<br> FAT: Unrecognized mount option "rw.defaults" or missing value<br> FAT: Unrecognized mount option "rw.defaults" or missing value<br> EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended<br> Adding 522072k swap on /dev/hdc11. Priority:-1 extents:1 across:522072k<br> </i></small><small><br> Which i think are logged at /var/log/ as i had entered entry for them in /etc/fstab to be mounted at boot.</small><br> <small><i><small>[root@localhost etc]# cat fstab<br> LABEL=/1 / ext3 defaults 1 1<br> LABEL=/boot1 /boot ext3 defaults 1 2<br> devpts /dev/pts devpts gid=5,mode=620 0 0<br> tmpfs /dev/shm tmpfs defaults 0 0<br> proc /proc proc defaults 0 0<br> sysfs /sys sysfs defaults 0 0<br> LABEL=SWAP-hdc11 swap swap defaults 0 0<br> <u>/dev/hdc5 /mnt/win1 vfat rw.defaults,umask=0000,auto 0 0<br> /dev/hdc6 /mnt/win2 vfat rw.defaults,umask=0000,auto 0 0<br> /dev/hdc7 /mnt/win3 vfat rw.defaults,umask=0000,auto 0 0<br> /dev/hdc8 /mnt/win4 vfat rw.defaults,umask=0000,auto 0 0<br> </u>/dev/hdc12 /mnt/win5 ext2 defaults 0 0<br> <br> </small></i><small>I've to manually mount them under Linux in order to use them.<small></small><br> <br> Please help me out with these partitioning and mounting issues.thanking you all.<br> <br> Thanks and Regards<br> Saurabh<br> </small></small> </body> </html>
Fajar Priyanto
2007-Dec-10 12:16 UTC
[CentOS] Formating and Mounting Partitions giving problems
On Monday 10 December 2007 00:23:27 Saurabh Sharma wrote:> [root at localhost log]# tail -10 dmesg > EXT3 FS on hdc9, internal journal > EXT3-fs: mounted filesystem with ordered data mode. > FAT: Unrecognized mount option "rw.defaults" or missing value > FAT: Unrecognized mount option "rw.defaults" or missing value > FAT: Unrecognized mount option "rw.defaults" or missing value > FAT: Unrecognized mount option "rw.defaults" or missing value > EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended > Adding 522072k swap on /dev/hdc11.? Priority:-1 extents:1 across:522072kHello, I believe the options in /etc/fstab should be: defaults,rw ? Not defaults [dot] rw -- Fajar Priyanto | Reg'd Linux User #327841 | Linux tutorial http://linux2.arinet.org 19:16:04 up 32 min, 2.6.22-14-generic GNU/Linux Let's use OpenOffice. http://www.openoffice.org The real challenge of teaching is getting your students motivated to learn. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part. URL: <http://lists.centos.org/pipermail/centos/attachments/20071210/b4610907/attachment-0003.sig>