Hi,

i uploaded a new development snapshot of GNU xorriso which can create a
GPT similar to the result of Lucap's gnome disks run.

  cd "$HOME"/xorriso_dir
  wget http://www.gnu.org/software/xorriso/xorriso-1.5.5.tar.gz
  tar xzf xorriso-1.5.5.tar.gz
  cd xorriso-1.5.5
  ./configure --prefix=/usr
  make

Then

  xorriso/xorriso -version

should say

  GNU xorriso 1.5.5 : RockRidge filesystem manipulator, libburnia project.
  ...
  Version timestamp :  2021.05.25.195904
  ...

This program is able to repack "$ORIG" to gnome disks' idea of a GPT:

  "$HOME"/xorriso_dir/xorriso-1.5.5/xorriso/xorriso \
    -indev "$ORIG" \
    -outdev "$NEW" \
    -changes_pending yes \
    -boot_image any replay \
    -boot_image any mbr_force_bootable=off \
    -boot_image any gpt_iso_bootable=on \
    -boot_image any gpt_iso_not_ro=on

Inspection of "$NEW" by xorriso should yield
  ...
  MBR partition table:   N Status  Type        Start       Blocks
  MBR partition      :   1   0x00  0xee            1      5503775
  GPT                :   N  Info
  ...
  GPT partition flags:   1  0x0000000000000005
  ...

The partition tables of "$NEW" will differ from "$ORIG" by:
- No dummy MBR partition 2, because of mbr_force_bootable=off.
- bit 2 = "Legacy bootable" of the ISO 9660 partition is set, because of
  gpt_iso_bootable=on
- bit 60 = "Read-only" of that partition is not set, because of
  gpt_iso_not_ro=on

(The latter two -boot_image options are new in 1.5.5.)

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