Skip to content

Rufus doesn't add persistent flag to "label live" in isolinux/live.cfg when persistent option is enabled #2807

@yulian5

Description

@yulian5

Checklist

  • I have been made aware that if my problem can be summarized as "I've created or tried to create a media using Rufus, and ...", and I am not including a log, this issue will be summarily closed.
  • I looked at https://github.com/pbatard/rufus/wiki/FAQ to see if my question has already been answered.
  • I performed a search in the issue tracker for similar issues using keywords relevant to my problem, such as the error message I got from the log.
  • I clicked the 'Log' button (🗒️) or pressed Ctrl-L in Rufus, or used DebugView, and copy/pasted the log into the section that says <FULL LOG> below.
  • The log I am copying is the FULL log, starting with the line Rufus version: x.y.z - I have NOT removed any part of it.

Additionally (if applicable):

  • I ran a bad blocks check, by clicking Show advanced format options then Check device for bad blocks, and confirmed that my USB is not defective.
  • I also tried one or more of the following:
    • Using a different USB drive.
    • Plugging the USB into a different port.
    • Running Rufus on a different computer.
  • If using an image, I clicked on the (✓) button to compute the MD5, SHA1 and SHA256 checksums, which are therefore present in the log I copied. I confirmed, by performing an internet search, that these values match the ones from the official image.

Issue description

I flashed latest Linux Mint 22.2 Cinnamon with persistent option 10gb and then noticed that persistence actually doesn't work when booting using BIOS: I installed VeraCrypt which was missing after reboot.
After some investigation I found that my old I PC boots in only BIOS and live entry in isolinux/live.cfg have persistent flag missing. After I added it, persistence starts to work:

label live
menu label Start Linux Mint
menu default
kernel /casper/vmlinuz
append boot=casper persistent initrd=/casper/initrd.lz uuid=6e72f523-dc09-4880-8910-93ffa64401c5 username=mint hostname=mint quiet splash --

But other entries in isolinux/live.cfg have persistent flag.

One more problem: casper-rw is formatted as ext3, I guess it should be ext4. I reformatted my casper-rw as ext4.

Thanks!

Log

<FULL LOG>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions