Hi,

José Marinho wrote:
> I can't believe it... it boots fine again but once, twice, three
> times... and there is no MBR partition anywhere.

Let me make up a theory:

> - Burn on stick the iso that was builded with xorriso-1.5.5.
> - Boot it for the first time --> Success.

During this run of Ubuntu, casper did its "persistent partition creation",
as Steve Langasek puts it in bug 1899308.
This included a run of a GPT partition editor and then patching of MBR
partition slot 2 by the 16 bytes for the dummy partition with boot flag.

> - Boot it again --> Fails

The evil dummy partition does its work.

> sudo dd if=/dev/zero bs=1 count=16 of=/dev/sdX conv=notrunc seek=462

Now it is gone again.

What is not gone is the persistent GPT partition number 3. It covers the
formerly free space on the USB stick. In case of my "128 GB" stick:
  GPT start and size :   3  5505024  240254913

The "$NEW" ISO from xorriso-1.5.5 with mbr_force_bootable=off has only
two GPT partitions. ("$ORIG" has three. Number 3 covers 300 KiB of padding.)

> - Boot it again --> Success

Up to this first success it is no surprise.

To my theory, casper sees no need to add a "persistent partition" and
thus does not run the partition editor and does not write to MBR partition
slot 2.

> - The following boot attempts went fine too and no MBR partition 2 is
added.

No new MBR partition 2 = no boot problems.

Have a nice day :)

Thomas

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1922342

Title:
  HIrsute live session takes ages to boot on BIOS systems

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/casper/+bug/1922342/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to