Communiquez avec les autres et partagez vos connaissances professionnelles

Inscrivez-vous ou connectez-vous pour rejoindre votre communauté professionnelle.

Suivre

How to format flash drive from shell in opens use 11.4?

user-image
Question ajoutée par saurabh mahi
Date de publication: 2013/09/22
Utilisateur supprimé
par Utilisateur supprimé

For Pen Drive/Flash Drive Formatting:Use mkfs.ext3 -L "Label" /dev/sdx for ext3 file system or mke2fs -L 'Label'/dev/sdx for ex2, Replace Label with the name you want the pen/flash drive to haveand /dev/sdx with your drive.Ext3 file system: [root@ras ~]# mkfs.ext3 -L "KVMREDDY" /dev/sdb1mke2fs1.39 (29-May-2006)Filesystem label=KVMREDDYOS type: Linux.............................[root@ras ~]# ext2 file system: [root@ras ~]# mke2fs -L 'VENU' /dev/sdb1mke2fs1.39 (29-May-2006)Filesystem label=VENUOS type: Linux...........................[root@ras ~]# After formatting you will be returned to the prompt then remove and insert thepen/flash drive to have mounted again.

KASHIF ZEESHAN
par KASHIF ZEESHAN , Corporate Trainer , ORION EDUTECH PVT LTD

For Pen Drive/Flash Drive Formatting:Use mkfs.ext3 -L "Label" /dev/sdx for ext3 file system or mke2fs -L 'Label'/dev/sdx for ex2, Replace Label with the name you want the pen/flash drive to haveand /dev/sdx with your drive.Ext3 file system: [root@ras ~]# mkfs.ext3 -L "KVMREDDY" /dev/sdb1mke2fs1.39 (29-May-2006)Filesystem label=KVMREDDYOS type: Linux.............................[root@ras ~]# ext2 file system: [root@ras ~]# mke2fs -L 'VENU' /dev/sdb1mke2fs1.39 (29-May-2006)Filesystem label=VENUOS type: Linux...........................[root@ras ~]# After formatting you will be returned to the prompt then remove and insert thepen/flash drive to have mounted again.

Athanassios Staveris-Polykalas
par Athanassios Staveris-Polykalas , Secretary General of Telecommunications and Post - Hellenic Republic , General Secretariat of Telecommunications and Post - Hellenic Republic

i think the easiest way is to go to YAST-System-Partitioner  and format it to what ever you want

Utilisateur supprimé
par Utilisateur supprimé

  • check first for the mount drive in the linux terminal to identify the exact drive partition you want to format.

sudo fdisk -l

  • or checking the device status by plugging in the drive

dmesg | tail

  • let's assume your flash drive is /dev/sda1
  • command on formatting drive using extended file system (ext3)

sudo mkfs.ext3 -L "label name" /dev/sda1

  • command on formatting drive using msdos/winxp

sudo mkfs.vfat -L "label name" /dev/sda1

Utilisateur supprimé
par Utilisateur supprimé

YaST > System >  Plug in your memory stick. Click on the correct device partition, then 'Edit'. You can then format with the desired file system as required.

Ali Al-Attar
par Ali Al-Attar , Founder , Iraqi Technological Academy

http://en.opensuse.org/Main_Page

 

http://www.linuxforums.org/forum/newbie/19316-how-format-usb-drive.html

More Questions Like This