Results 1 to 5 of 5

Thread: mkusb questions

  1. #1
    Join Date
    Sep 2007
    Beans
    1,476

    mkusb questions

    I have been trying to figure out how to use msusb. I have read several articles on this one and they tend to confuse. What I am trying to do is to take a curretn usb stick and return it to its initial settings (1 partition, no nuthin - as bought). this is a 62gb sandisk stick, single partition. The stick I am dealing with was a bootable ubuntu iso file with 3 partitions. Disks showed it with three partitions (1 at /dev/sdd1, 2 at /dev/sdd2, and 3 at /dev/sdd3). I am simply trying to make the stick go back to original settings. I read man mkusb first. That even had me confused. There were 2 places that said it would reset the stick. Apparently I can run it as plain mkusb, then I choose 'd' for 'dus' (dus 12.6.4) got a message that it will deal with the whole stick. Now, apparently, I have two choices, the first might be dus s /dev/sdd (assuming that sdd without the 1,2,3 means the whole stick) OR I can say dus-restore which will, in theory, restore the stick to its initial state. I have tried both to no avail. on one I got a message that said "no pff input" which I have no idea what that means. I tried to find it but failed. Basically the stick remained the same throughout and i still have the three partitions.

    then I found; http://www.linuxandubuntu.com/home/r...state-in-linux which had a completely different way to do the the restoration with mkusb. This wants me to reinstall mkusb (its already installed) and then proceed to just run it and it will magically restore the offending stick. that one is, apparently magic. I tell it nothing, just run it and it does it. I don't tell it anything, don't tell it what stick to deal with, etc. It scares me so I have not messed with that one.

    There are others but, hopefully, somebody will understand my concerns and aim me at the correct solution. I have two hard drives on this machine and really don't want to do anything to them. Just fix the usb stick.

    Thank you....................
    Memory: 16gb
    Processor: Intel® Core™ i7-2600 CPU
    Graphics: NVC1
    OS: Ubuntu 22.04.3 Gnome: 42.9

  2. #2
    Join Date
    Oct 2004
    Location
    Albuquerque New Mexico, U
    Beans
    1,189
    Distro
    Ubuntu Development Release

    Re: mkusb questions

    Here's the MKUSB Wiki:


    https://help.ubuntu.com/community/mkusb


    It'll tell you everything you want to know.
    regards

  3. #3
    Join Date
    Jun 2007
    Location
    Hikkaduwa, Sri Lanka
    Beans
    3,449
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    Re: mkusb questions

    This will pinpoint the info you seek from rbmorse's link:

    https://help.ubuntu.com/community/mk...e_the_pendrive

    Select "restore to a standard storage device"
    Last edited by C.S.Cameron; November 12th, 2020 at 06:10 AM.

  4. #4
    Join Date
    Nov 2011
    Location
    /dev/root
    Beans
    Hidden!

    Re: mkusb questions

    Quote Originally Posted by jgw View Post
    I am simply trying to make the stick go back to original settings. I read man mkusb first.
    Yes, this is possible (and easy) as described in the previous answers. You had bad luck because you got started in a complicated way.
    Apparently I can run it as plain mkusb, then I choose 'd' for 'dus' (dus 12.6.4) got a message that it will deal with the whole stick.
    So far it is correct.
    Now, apparently, I have two choices, the first might be dus s /dev/sdd (assuming that sdd without the 1,2,3 means the whole stick) OR I can say dus-restore which will, in theory, restore the stick to its initial state. I have tried both to no avail. on one I got a message that said "no pff input" which I have no idea what that means. I tried to find it but failed. Basically the stick remained the same throughout and i still have the three partitions.
    1. dus wants you to select target device in dialogue, and does not accept the target device as a parameter,

    so dus s /dev/sdd does not work.

    2. dus-restore is supposed to be called from dus, where the target device is selected. The reason is to avoid selecting the wrong target device (and avoid destroying valuable data).

    then I found; http://www.linuxandubuntu.com/home/r...state-in-linux which had a completely different way to do the the restoration with mkusb. This wants me to reinstall mkusb (its already installed) and then proceed to just run it and it will magically restore the offending stick. that one is, apparently magic. I tell it nothing, just run it and it does it. I don't tell it anything, don't tell it what stick to deal with, etc. It scares me so I have not messed with that one.

    There are others but, hopefully, somebody will understand my concerns and aim me at the correct solution. I have two hard drives on this machine and really don't want to do anything to them. Just fix the usb stick.

    Thank you....................
    Code:
    $ dus
    [sudo] password for sudodus:   {Enter password here; there is no echoing; then press the Enter key}
    live system or temporary superuser permissions
    {You should see a dialogue window ...}
    The solution is to let mkusb-dus reach a dialogue window. Select OK to continue until a dialogue window where you select

    'restore to a Standard storage device'

    press OK and continue to the next dialogue window ...

    See the attached screenshot of the crucial dialogue window.
    Attached Images Attached Images
    Last edited by sudodus; November 12th, 2020 at 04:43 PM.

  5. #5
    Join Date
    Sep 2007
    Beans
    1,476

    Re: mkusb questions

    Thank you for the information - I will study it!

    thanks again! will mark this one as solved..............
    Memory: 16gb
    Processor: Intel® Core™ i7-2600 CPU
    Graphics: NVC1
    OS: Ubuntu 22.04.3 Gnome: 42.9

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
  •