HOW to FAT partition the device?

HOW to FAT partition the device?

am 11.08.2005 16:39:34 von mukundjb

Dear all,
I have silly doubt regarding creating FAT partition on my SD Card.

Can I do it with fdisk? I tried it in the man-pages to find how to do
it?
I found nothing related to FAT.
When I tried to create it with 'n' option, by default it is creating the
ext2 fs & NOT FAT fs.

I think we can not use command like mkdosfs & mkfs to create a partition
of type FAT.
Instead they are used to create an fs on the existing partition.
Please correct if I am wrong somewhere?

Can someone give me the instruction to create FAT partion on my disk?

Regards,
Mukund Jampala


-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

Re: HOW to FAT partition the device?

am 11.08.2005 16:52:40 von Arturas Moskvinas

>
> Dear all,
> I have silly doubt regarding creating FAT partition on my SD Card.
>
> Can I do it with fdisk? I tried it in the man-pages to find how to do
> it?
> I found nothing related to FAT.
> When I tried to create it with 'n' option, by default it is creating the
> ext2 fs & NOT FAT fs.

You can specify what partition type you want to create, press "l"
(small L) to view the list, and "t" to change the partition type...

Arturas M.
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

Re: HOW to FAT partition the device?

am 11.08.2005 20:42:19 von Richard Adams

On Thursday 11 August 2005 16:39, Mukund JB. wrote:
> Can someone give me the instruction to create FAT partion on my disk?

Would it not be better to let your digital camera do the formatting, after
all, if that is done properly then there should be absolutly no reason why
linux could not mount it as a normal camera memory chip, or even beter simply
mount the camera itself via one of your USB inputs.

> Regards,
> Mukund Jampala
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

Re: HOW to FAT partition the device?

am 12.08.2005 00:14:44 von chuck gelm net

Mukund JB. wrote:
> Dear all,
> I have silly doubt regarding creating FAT partition on my SD Card.
>
> Can I do it with fdisk? I tried it in the man-pages to find how to do
> it?
> I found nothing related to FAT.
> When I tried to create it with 'n' option, by default it is creating the
> ext2 fs & NOT FAT fs.
>
> I think we can not use command like mkdosfs & mkfs to create a partition
> of type FAT.
> Instead they are used to create an fs on the existing partition.
> Please correct if I am wrong somewhere?
>
> Can someone give me the instruction to create FAT partion on my disk?
>
> Regards,
> Mukund Jampala

Dear Mukund JB.:

Short answer 'man fdisk' and/or 'man cfdisk'.

I see that 'cfdisk' is preferred over fdisk and especially over 'sfdisk'.
The command 't' is referenced in 'man cfdisk'.
The command 't' is referenced in 'fdisk /dev/tfa0' by pressing 'm' as
mentioned in the prompt. 'l' lists the ID file types.

My CF media for my cameras; HP C200 and Vivitar DSC350:

'fdisk' reports them as ID type 6 'FAT16' and, when mounted,
'mount /dev/sda1 /mnt/hd'
'df -T /dev/sda1' displays them as type 'vfat'

After saving the data on your SD media, you might try to partition them
as FAT16 using 'cfdisk' or 'fdisk' with one partition of ID type 6 (FAT16).
Let the camera format them and then...

mount /dev/tfa0p1 /mnt/mount-point or
mount -t vfat /devtfa0p1 /mnt/mount-point

HTH, Chuck



-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs