Page 1 of 2 12 LastLast
Results 1 to 10 of 18

Thread: Can boot persistent liveUSB from laptops but not desktops

  1. #1
    Join Date
    Jul 2010
    Beans
    256
    Distro
    Ubuntu 20.04 Focal Fossa

    Can boot persistent liveUSB from laptops but not desktops

    Without getting into details, I have made a groovy persistent LiveUSB. I have tried this liveUSB on several laptops of different makes (all are AMD Ryzen laptops) without any problem. Actually it works great (except that I have to hit ctrl + c keys to stop filesystem checking during grub booting).

    But yesterday I tried to boot this liveUSB on my main working machine, which is an AMD Ryzen 7 desktop with B450 mainboard, and run into kernel panic. A friend with a similar machine also couldn't boot from a similar liveUSB.

    Just wondering what might have been the problem?

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

    Re: Can boot persistent liveUSB from laptops but not desktops

    Maybe a problem with the graphics. Did you try with recovery mode or to add the boot option nomodeset at the grub menu?

  3. #3
    Join Date
    Jul 2010
    Beans
    256
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: Can boot persistent liveUSB from laptops but not desktops

    Quote Originally Posted by sudodus View Post
    Maybe a problem with the graphics. Did you try with recovery mode or to add the boot option nomodeset at the grub menu?
    Tried. Still getting kernel panic.
    Attached Images Attached Images
    Last edited by ping-wu; October 28th, 2020 at 06:21 PM.

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

    Re: Can boot persistent liveUSB from laptops but not desktops

    Have you tried also booting live (live-only, not persistent)?

    It is possible that the linux kernel cannot manage the hardware of that computer. But let us hope that you can change some setting in order to make things work.

    I must admit, that I don't know what is the problem. Let us hope that someone else can chip in and suggest what to try next.

  5. #5
    Join Date
    Jul 2010
    Beans
    256
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: Can boot persistent liveUSB from laptops but not desktops

    No problem with normal boot from the LiveUSB. Looks like the persistent parameter caused kernel panic.

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

    Re: Can boot persistent liveUSB from laptops but not desktops

    Can you still boot other computers from this persistent live drive?

    In that case there is a problem with this particular computer (and I don't know how to solve it).

    But if also the other computers fail now, the problem is probably that the content of the partition for persistence causes the corruption. In this case you can remove all files from it and also check/repair the file system.

    Code:
    sudo e2fsck -f /dev/sdxn
    where x is the drive letter and n is the partition number of the partition for persistence.

  7. #7
    Join Date
    Jul 2010
    Beans
    256
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: Can boot persistent liveUSB from laptops but not desktops

    I have no problem booting this persistent LiveUSB from all my other computers (all three of them are Ryzen notebooks). A persistent LiveUSB made from the same procedures had problem booting from another B450 based desktop computer. Indeed, the reason I discovered this problem was a friend had problem booting the persistent LiveUSB from a similar B450 desktop.

    BTW, I made a persistent LiveUSB for 20.04.1 and 18.04.5; both failed to boot. But I was successful in booting a persistent LiveUSB, made from identical procedures, from 19.10.

    To reiterate, I have no problem in booting the same LiveUSB with the persistent boot parameter disabled, from all my computers. No problem in booting this persistent LiveUSB from notebooks. No problem with 19.10. Similar problem with 20.04.1 and 18.04.5.

    I copied the EFI folders from 19.10 iso to 20.10 persistent LiveUSB, but for unknown reasons, I screwed up--system not found.

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

    Re: Can boot persistent liveUSB from laptops but not desktops

    You have really checked a lot of alternatives and shown where the problem occurs. I don't understand what is the problem and how to make a persistent live drive work in the problematic computer.



    Maybe you find it worthwhile to test an installed system in a USB pendrive or SSD connected via USB (installed like into an internal drive, but into a USB drive). I would be very interested in the result - if it works or not in the problematic computer.

    I made a compressed image file from an installed system of Ubuntu 20.04 LTS. This system can boot both in UEFI mode and BIOS mode. You can download it (and check with md5sum) and then use mkusb to extract and flash it to the USB drive (with size at least 16 GB) in one operation.

    See the following links,

    If you need not encrypt the drive, there is an easy alternative

    help.ubuntu.com/community/Installation/UEFI-and-BIOS

  9. #9
    Join Date
    Jul 2010
    Beans
    256
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: Can boot persistent liveUSB from laptops but not desktops

    This is the error message I got when booting the 20.10 persistent LiveUSB from a B450M based desktop machine:

    run-init: can't execute '/sbin/init': No such file or directory
    Target filesystem doesn't have requested /sbin/init.
    run-init: can't execute '/sbin/init': No such file or directory
    . . .

    Again, no such problem when booting from laptops or when the persistent parameter was turned off.

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

    Re: Can boot persistent liveUSB from laptops but not desktops

    Thanks for the details. Unfortunately I still don't understand what is the problem. I can only suggest some more 'trial and error'.

    Try another tool/method to create the persistent live drive

    1. What tool/method have you been using? If you used mkusb-dus, you can try mkusb-plug instead and vice versa. If you intend to use mkusb-plug with Ubuntu 20.10, you should get the newest version from the unstable PPA

    Code:
    sudo add-apt-repository ppa:mkusb/unstable
    2. You can also try 'grub-n-iso' alias 'isoboot' according to this link
    Last edited by sudodus; October 30th, 2020 at 11:12 AM.

Page 1 of 2 12 LastLast

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
  •