Page 83 of 126 FirstFirst ... 3373818283848593 ... LastLast
Results 821 to 830 of 1259

Thread: Howto make USB boot drives

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

    Re: Howto make USB boot drives

    Have been doing some testing with unetbootin-windows-661 and Ubuntu 19.04 & 19.05 lately.
    Seems to work fine for me, have even managed to replace the Persistent file with a Persistent partition.
    (I understand that there have been problems with unetbootin-ubuntu with 18.04 and later, but there are now workarounds.

    It seems that Persistent Ubuntu runs mostly in RAM nowadays, wondering if maybe @jahja's RAM is no longer sufficient for the latest Ubuntu.
    I am not finding a difference in speed between UNetbootin install and a mkusb install. Will take a closer look.

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

    Re: Howto make USB boot drives

    Remote login via ssh into a persistent live drive

    There is no (publicly known) password for the default user in Ubuntu based flavours and distros. When asked for a password, for example to run sudo, you simply press the Enter key. But ssh wants a password, so it does not work to log in remotely via ssh into a persistent live drive.

    I found the following workaround, create a second user with a password, and tested it with Lubuntu Eoan.

    After login to the second user it is possible to switch user to the default user ('lubuntu' in Lubuntu persistent live).

    There are more details at this link.

  3. #823
    Join Date
    Jul 2019
    Beans
    1

    Re: Howto make USB boot drives

    Last edited by deadflowr; September 25th, 2019 at 05:37 PM. Reason: fixed link

  4. #824
    Join Date
    Feb 2010
    Location
    In My Food Forest
    Beans
    9,318

    Re: Howto make USB boot drives

    Quote Originally Posted by lookchupapp View Post
    404
    Attached Images Attached Images
    Cheers & Beers, uRock
    [SIGPIC][/SIGPIC]

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

    Re: Howto make USB boot drives

    Much easier to create persistent live drives with a partition for persistence

    Because the new feature alias removed bug in casper it is now much easier to create persistent live drives with a partition for persistence. It is already there in Debian 10 and in Ubuntu Eoan

    - So we will soon have it in Ubuntu 19.10

    - It will take months (maybe years) until it will appear in Ubuntu 18.04.x LTS.

    - We can expect to get it in Ubuntu 20.04 LTS.

    Opportunity

    This will make it much easier to create persistent live drives with big storage for persistence, and we can expect that most tools will add this feature. See the following link,

    - Cloned USB drive with Lubuntu Eoan can be made persistent live

    Risk

    General tools may start prompting people into trying to create partitions for persistence with Ubuntu 18.04.x LTS. It will fail and people will get frustrated with a USB drive that does not work at all. We should be prepared, and recognize when this happens.

    Rufus has released a version with this feature, and I have already seen a few cases at AskUbuntu, where this has happened.

    - Can't get Ubuntu 18.04 installed as dual boot on Dell Precision 7540

    - USB persistence not working with a discussion between me and @Akeo, the developer of Rufus

    This is a typical output from a USB pendrive that does not boot with Ubuntu 18.04.x, when Rufus failed to make it work with a partition for persistence:

    Code:
    (initramfs) mount: mounting /cow on /root failed: invalid argument
    overlay mount failed


    Edit 1: Please remember that mkusb works as usual.

    Edit 2: Please read the next post, where @Akeo, the developer of Rufus, gives his version of the risk/problem.

    I want to add that I have often recommended Rufus, and I hope to continue to do so. I am glad that Rufus is early to use this new feature alias squashed bug.

    But I see a risk here, that people will get frustrated, so I try to let people [who help here] know and recognize what happens, when beginners (and people who do not read warnings) fail to make a working USB boot drive. Knowing the problem will make it easier to help. I think most people need 'only' a live-only USB drive, and cloning is a robust method for that purpose, 'dd-mode' in Rufus.

    Please note that it is still possible to create a file in the FAT32 partition with the name 'casper-rw' and an ext file system for persistence in 18.04.x LTS. This risk/problem/discussion will probably be forgotten when Ubuntu 20.04 LTS is released in April 2020.
    Last edited by sudodus; September 25th, 2019 at 07:56 PM. Reason: mkusb works as usual; @Akeo's version

  6. #826
    Join Date
    Apr 2016
    Beans
    3

    Re: Howto make USB boot drives

    You may want to mention that the reason why persistence doesn't work with 18.04 LTS or any pre 19.10 version, when persistence is added through a second partition on the bootable drive, has nothing to do with the utility involved and is due to a major bug in the casper scripts that, unfortunately (and despite multiple reports) has been left unaddressed for years. See https://bugs.launchpad.net/ubuntu/+s...r/+bug/1489855.

    Especially, if you manually create a FAT32 and an ext3/ext4 partition on a drive, then copy the content for the 18.04 ISO onto the FAT32 partition and edit /boot/grub/grub.cfg to add add persistence to the kernel options, you will run into the same overlay mount failed issue.

    I will also point out that, when creating a bootable drive with in Rufus with an Ubuntu ISO, users do receive a very prominent notification (it will always appears during the creation process) advising them that, because this is an ISOHybrid, they need to choose between writing it in ISO (default) or DD mode and also advising them that, if they encounter any issue when booting in ISO mode, they should recreate the drive in DD mode (in which case persistence will be disabled and they will be able to to boot).

    Therefore, people who do pay attention to the Rufus prompts should never be left stranded...
    Last edited by Akeo; September 25th, 2019 at 12:02 PM.

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

    Re: Howto make USB boot drives

    @Akeo:

    From 14.04 to 19.04 persistent same disk partitions did not work, however putting casper-rw persistence partition on a second USB, or on the internal HDD worked fine.

    Thank you for adding persistent partitions to Rufus, I think you are the first to add persistent partitions to a boot disk maker for Windows.

  8. #828
    Join Date
    Apr 2011
    Location
    Mystletainn Kick!
    Beans
    13,615
    Distro
    Ubuntu

    Re: Howto make USB boot drives

    Quote Originally Posted by uRock View Post
    404
    It was missing the s in windows in the link.
    Fixed it.
    Splat Double Splat Triple Splat
    Earn Your Keep
    Don't mind me, I'm only passing through.
    Once in a blue moon, I'm actually helpful
    .

  9. #829
    Join Date
    Feb 2010
    Location
    In My Food Forest
    Beans
    9,318

    Re: Howto make USB boot drives

    Quote Originally Posted by deadflowr View Post
    It was missing the s in windows in the link.
    Fixed it.
    You're awesome! Thanks for fixing that.
    Cheers & Beers, uRock
    [SIGPIC][/SIGPIC]

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

    Re: Howto make USB boot drives

    @Akeo,

    I have often recommended Rufus, and I hope to continue to do so. I am glad that Rufus is early to use this new feature alias squashed bug. It is a great tool that works well even for beginners who run Windows and are interested in Linux.

    But I see a risk here, that people will get frustrated, so I try to let people [who help here] know and recognize what happens, when beginners (and people who do not read warnings) fail to make a working USB boot drive. Knowing the problem will make it easier to help. I think most people need 'only' a live-only USB drive, and cloning is a robust method for that purpose, 'dd-mode' in Rufus.

    I do not want to bash Rufus, only steer away from problems.

Page 83 of 126 FirstFirst ... 3373818283848593 ... LastLast

Tags for this Thread

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
  •