Results 1 to 5 of 5

Thread: How to format mounted flash ?!

  1. #1
    Join Date
    Oct 2011
    Beans
    2

    How to format mounted flash ?!

    Hi,
    i mount ubuntu iso to my flash memory, it's separated to 2 drive, now i want format it and merge it to 1 drive, how can i done it ?!
    Thanks in advance .

  2. #2
    Join Date
    Jul 2005
    Location
    England
    Beans
    Hidden!

    Re: How to format mounted flash ?!

    Quote Originally Posted by redred1 View Post
    Hi,
    i mount ubuntu iso to my flash memory, it's separated to 2 drive, now i want format it and merge it to 1 drive, how can i done it ?!
    Thanks in advance .
    I don't understand your question, I'm afraid, so tell us more about your situation.

    Do you have a live USB (flash drive) and is that what you mean by "I mount ubuntu iso to my flash memory"?
    DISTRO: Xubuntu 14.04-64bit --- Code-tags --- Boot-Repair --- Grub2 wiki & Grub2 Basics --- RootSudo

  3. #3
    Join Date
    Jul 2010
    Location
    Michigan, United States
    Beans
    106
    Distro
    Ubuntu Gnome 14.04 Trusty Tahr

    Re: How to format mounted flash ?!

    From what I understand, you need to install gparted, unmount the device, create a partition table, and write it to the USB drive. If this is not right please post!
    BTC: 1E8os2cx3JLnp9PMZAtn1eT8kBxaRPq9Hp

  4. #4
    Join Date
    Oct 2011
    Beans
    2

    Re: How to format mounted flash ?!

    I use dd if=ubuntu.iso of=/dev/sdc5
    and mount iso to use flash !
    now i want format it !

  5. #5
    Join Date
    Apr 2011
    Location
    3rd Rock from the Sun
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: How to format mounted flash ?!

    What you are saying is that you have two partitons on the USB Drive after burning Ubuntu on it, right?

    Follow the commands below... but make ablsolutely sure the the device name of your USB Drive. If you make a mistake with this there could be serious consequences. UNMOUNT THE DIRVE FIRST.

    Code:
    sudo dd count=1 bs=512 if=/dev/zero of=/dev/sdx
    ('x' is your USB Drive number not partiton no.)

    Now you can use either Gparted or Disks to create a new partitions table MSDOS and format it with either FAT or Ext4. OR you can also use 'cfdisk':

    to format it to FAT:
    Code:
    sudo cfdisk /dev/sdx
    sudo mkfs.vfat -F32 /dev/sdx1
    sudo dosfslabel /dev/sdx drivelabel
    Last edited by fantab; April 18th, 2013 at 12:44 PM.
    "Evolution is Nature's way of issuing upgrades."


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •