Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 12-24-2008, 03:52 AM   #1
LQ Newbie
Registered: Dec 2008
Posts: 2

Rep: Reputation: 0
Exclamation Format Pen from ext2 to fat32


i have 2 GB pen drive recently i put pendrivelinux.img on that like the below command

fdisk -l
dd if=pendrivelinux.img of=/dev/sdX

Optional - Create a second partition for saving changes:

fdisk /dev/sdX
n (makes a new partition)
p (makes the new partition a primary partition)
2 (makes this the 2nd primary partition)
w (writes the new partition information to the USB drive)
umount /dev/sdX1
mkfs.ext2 -b 4096 -L live-rw /dev/sdX2

after that i am trying to formatted my pen drive (in windows) it showing on 400MB how to get my 2GB

when i insert into Linux machine it showing two partition

i want to format my pen drive as single partition how to do this?

please tell me the procedure to do format

Last edited by drkanna217; 12-24-2008 at 03:58 AM.
Old 12-24-2008, 04:25 AM   #2
Senior Member
Registered: Apr 2008
Location: Gurgaon, India
Distribution: Cent OS 6/7
Posts: 4,629

Rep: Reputation: Disabled
In linux you can delete the partition and then format it. Before that back up the data if you feel so. Use mke2fs -j /dev/sdb to format it as one single partition.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Format pen to FAT32 file system grvemula Linux - General 2 06-11-2008 07:21 AM
how to detect ext2 pen drive in windows cnm Linux - General 5 11-24-2006 11:30 AM
Converting FAT32 to Ext2 PetruM Ubuntu 2 07-27-2006 09:01 AM
How to format to FAT32, and how to mount my FAT32 partition. bonniehandi Linux - Newbie 16 03-05-2006 07:54 PM
ext2 and fat32 gag Linux - Newbie 2 10-16-2003 03:02 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:19 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration