ابدأ بالتواصل مع الأشخاص وتبادل معارفك المهنية

أنشئ حسابًا أو سجّل الدخول للانضمام إلى مجتمعك المهني.

متابعة

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

user-image
تم إضافة السؤال من قبل saurabh mahi
تاريخ النشر: 2013/09/22
مستخدم محذوف‎
من قبل مستخدم محذوف‎

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
من قبل 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
من قبل 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

مستخدم محذوف‎
من قبل مستخدم محذوف‎

  • 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

مستخدم محذوف‎
من قبل مستخدم محذوف‎

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
من قبل 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

المزيد من الأسئلة المماثلة