FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > CentOS > CentOS

 
 
LinkBack Thread Tools
 
Old 12-09-2007, 04:23 PM
Saurabh Sharma
 
Default Formating and Mounting Partitions giving problems

Hi

After the installation of Windows and Linux
on my desktop.I partitioned the disk space under Windows and kept the
partitions as raw.

Switched to Linux as Root,and viewed the disk it showed
the partitions as FAT 16 while i kept them Raw,under windows.

[root@localhost ~]# fdisk -l

Disk /dev/hdc: 250.0 GB, 250059350016 bytes

255 heads, 63 sectors/track, 30401 cylinders

Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot*** ** Start* * ***** End**** Blocks* ** Id * * System

/dev/hdc1** *********** 1******* 1275*** 10241406*** 7* HPFS/NTFS

/dev/hdc2*********** 1276****** 30400** 233946562+** f* W95 Ext'd (LBA)

/dev/hdc5*********** 1276******* 7649*** 51199123+** 6* FAT16

/dev/hdc6*********** 7650****** 14023*** 51199123+** 6* FAT16

/dev/hdc7********** 14024****** 20397*** 51199123+** 6* FAT16

/dev/hdc8********** 20398****** 26771*** 51199123+** 6* FAT16

/dev/hdc9********** 26772****** 26784***** 104391** 83* Linux

/dev/hdc10********* 26785****** 28059*** 10241406** 83* Linux

/dev/hdc11********* 28060****** 28124***** 522081** 82* Linux swap /
Solaris

/dev/hdc12********* 28125****** 30400*** 18281938+** 6* FAT16



*More
over formatting them
under Linux [as shown below] ,did not
altered their system type.

[root@localhost ~]#
mkdosfs -v -F32 /dev/hdc5

mkdosfs 2.11 (12 Mar 2005)

/dev/hdc5 has 255 heads and 63 sectors per track,

logical sector size is 512,

using 0xf8 media descriptor, with 102398246 sectors;

file system has 2 32-bit FATs and 32 sectors per cluster.

FAT size is 24988 sectors, and provides 3198382 clusters.

Volume ID is 475c1a5c, no volume label.



They are still shown as FAT
16,the system shows some FAILURE messages at the boot time.



[root@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:522072k



Which i think are logged at /var/log/ as i had entered entry for them
in /etc/fstab to be mounted at boot.

[root@localhost etc]# cat fstab

LABEL=/1*************** /********************** ext3*** defaults*******
1 1

LABEL=/boot1*********** /boot************* ext3*** defaults******* 1 2

devpts***************** /dev/pts**************** devpts*
gid=5,mode=620* 0 0

tmpfs****************** /dev/shm*************** tmpfs** defaults*******
0 0

proc******************* /proc******************** proc***
defaults******* 0 0

sysfs****************** /sys********************** sysfs**
defaults******* 0 0

LABEL=SWAP-hdc11******* swap******************* swap*** defaults*******
0 0

/dev/hdc5************** /mnt/win1************** vfat***
rw.defaults,umask=0000,auto** 0 0

/dev/hdc6************** /mnt/win2************** vfat***
rw.defaults,umask=0000,auto** 0 0

/dev/hdc7************** /mnt/win3************** vfat***
rw.defaults,umask=0000,auto** 0 0

/dev/hdc8************** /mnt/win4************** vfat***
rw.defaults,umask=0000,auto** 0 0

/dev/hdc12************* /mnt/win5************** ext2***
defaults******* 0 0



I've to manually mount them under Linux in order to
use them.



Please help me out with these partitioning and mounting issues.thanking
you all.



Thanks and Regards

Saurabh




_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 12-10-2007, 11:16 AM
Fajar Priyanto
 
Default Formating and Mounting Partitions giving problems

On Monday 10 December 2007 00:23:27 Saurabh Sharma wrote:
> [root@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:522072k

Hello,
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.
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 12-10-2007, 03:59 PM
Saurabh Sharma
 
Default Formating and Mounting Partitions giving problems

Fajar Priyanto wrote:

On Monday 10 December 2007 00:23:27 Saurabh Sharma wrote:


[root@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:522072k



Hello,
I believe the options in /etc/fstab should be:
defaults,rw ? Not defaults [dot] rw



_______________________________________________
CentOS mailing list
CentOS@centos.org
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.






_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 12-10-2007, 06:10 PM
Scott Silva
 
Default Formating and Mounting Partitions giving problems

on 12/10/2007 8:59 AM Saurabh Sharma spake the following:

Fajar Priyanto wrote:

On Monday 10 December 2007 00:23:27 Saurabh Sharma wrote:


[root@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:522072k



Hello,
I believe the options in /etc/fstab should be:
defaults,rw ? Not defaults [dot] rw

------------------------------------------------------------------------


_______________________________________________
CentOS mailing list
CentOS@centos.org
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.


--
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't!!!!

_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 12-11-2007, 03:02 PM
Saurabh Sharma
 
Default Formating and Mounting Partitions giving problems

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@centos.org
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@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 12-11-2007, 04:21 PM
Scott Silva
 
Default Formating and Mounting Partitions giving problems

on 12/11/2007 8:02 AM Saurabh Sharma spake the following:

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@centos.org
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...!


If you run fdisk /dev/hdc, you can change the partition types.
At the fdisk prompt, a "p" will list the partition table.
From there you use "t" to change a partition type.
Ext2/3 partitions are type 83 and linux swap is type 82.
Make sure you only change the partitions that you wanted to be ext3, and not
your windows partitions.
A "w" will write the new table and exit, and a "q" exits without writing if
you make a mistake.

A "m" gives a list of choices (menu).


--
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't!!!!

_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 12-12-2007, 11:40 PM
Saurabh Sharma
 
Default Formating and Mounting Partitions giving problems

Scott Silva wrote:

on 12/11/2007 8:02 AM Saurabh Sharma spake the following:

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@centos.org
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...!


If you run fdisk /dev/hdc, you can change the partition types.
At the fdisk prompt, a "p" will list the partition table.
From there you use "t" to change a partition type.
Ext2/3 partitions are type 83 and linux swap is type 82.
Make sure you only change the partitions that you wanted to be ext3,
and not your windows partitions.
A "w" will write the new table and exit, and a "q" exits without
writing if you make a mistake.

A "m" gives a list of choices (menu).

The thing worked,the way is really great......
...thanks for the support....
:-)
Thanks & Regards
Saurabh
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 12-12-2007, 11:50 PM
Scott Silva
 
Default Formating and Mounting Partitions giving problems

on 12/12/2007 4:40 PM Saurabh Sharma spake the following:

Scott Silva wrote:

on 12/11/2007 8:02 AM Saurabh Sharma spake the following:

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@centos.org
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...!


If you run fdisk /dev/hdc, you can change the partition types.
At the fdisk prompt, a "p" will list the partition table.
From there you use "t" to change a partition type.
Ext2/3 partitions are type 83 and linux swap is type 82.
Make sure you only change the partitions that you wanted to be ext3,
and not your windows partitions.
A "w" will write the new table and exit, and a "q" exits without
writing if you make a mistake.

A "m" gives a list of choices (menu).

The thing worked,the way is really great......
...thanks for the support....
:-)
Thanks & Regards
Saurabh
Since you are just starting out, there is a wealth of info on the net for
every level from newbie to guru.

http://www.linuxhelp.net/
http://www.linuxquestions.org/
http://www.justlinux.com/
http://www.reallylinux.com/docs/consult.shtml

Just some from a quick google search. There are answers to every question
floating around on the world's largest public library.

Welcome to the Linux world!


--
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't!!!!

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

Thread Tools




All times are GMT. The time now is 07:40 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org