LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


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

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


hai

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 04:58 AM.
 
Old 12-24-2008, 05:25 AM   #2
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
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.
 
  


Reply


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 08:21 AM
how to detect ext2 pen drive in windows cnm Linux - General 5 11-24-2006 12:30 PM
Converting FAT32 to Ext2 PetruM Ubuntu 2 07-27-2006 10:01 AM
How to format to FAT32, and how to mount my FAT32 partition. bonniehandi Linux - Newbie 16 03-05-2006 08:54 PM
ext2 and fat32 gag Linux - Newbie 2 10-16-2003 04:02 PM


All times are GMT -5. The time now is 03:51 PM.

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