[Bug 1922342] Re: Impish live session takes ages to boot on BIOS systems

Chris Guiver 1922342 at bugs.launchpad.net
Fri May 20 03:46:35 UTC 2022


-- reply to  @Thomas #112 (start paste)
So if we want to propose a workaround for the current layout, it would be a good base if you could confirm that j3400 boots after the plain procedure with no other experiments inbetween:

  # Patch the ISO already as image on hard disk
  ISO=ubuntu-22.04-desktop-amd64.iso
  dd if=/dev/zero bs=1 count=16 of="$ISO" conv=notrunc seek=462

  # Put it onto the USB stick as you usually do. E.g.
  sudo dd bs=4M oflag=sync status=progress of=/dev/sdb if="$ISO"

Then you would check if it boots twice on the j3400. If the second boot
succeeds and shows a writable big partition as last one, then we could
be sure that this procedure is a valid workaround.

A run of

  sudo xorriso -indev stdio:/dev/sdb -report_system_area plain

would (hopefully) confirm that there is no second MBR partition with
boot flag.

Of course it would be enough if you can confirm that you did this already during the experiments, with no intermediate manipulations. But given the curvy way of this bug report, we need to be sure.
--  (end paste)

I grabbed my thumb-drive 2; Ubuntu-MATE jammy (2022-04-19)
- plugged into j3400; enter pressed [just] @12:28 using room clock, plymouth seen at 12:36, maybe-ubiquity appeared at 12:38

This wasn't required/requested; but I omitted `sudo` for last; so added
here

--- (start paste)
guiverc at d960-ubu2:~/uwn/issues/735$   sudo xorriso -indev stdio:/dev/sdb -report_system_area plain
[sudo] password for guiverc: 
xorriso 1.5.4 : RockRidge filesystem manipulator, libburnia project.

xorriso : NOTE : Loading ISO image tree from LBA 0
xorriso : UPDATE :     774 nodes read in 1 seconds
libisofs: NOTE : Found hidden El-Torito image for EFI.
libisofs: NOTE : EFI image start and size: 1422522 * 2048 , 8496 * 512
xorriso : NOTE : Detected El-Torito boot information which currently is set to be discarded
Drive current: -indev 'stdio:/dev/sdb'
Media current: stdio file, overwriteable
Media status : is written , is appendable
Boot record  : El Torito , MBR protective-msdos-label grub2-mbr cyl-align-off GPT
Media summary: 1 session, 1424812 data blocks, 2783m data, 4849m free
Volume id    : 'Ubuntu-MATE 22.04 LTS amd64'
System area options: 0x00004201
System area summary: MBR protective-msdos-label grub2-mbr cyl-align-off GPT
ISO image size/512 : 5699248
Partition offset   : 16
MBR heads per cyl  : 0
MBR secs per head  : 0
MBR partition table:   N Status  Type        Start       Blocks
MBR partition      :   1   0x00  0xee            1     15630335
MBR partition      :   2   0x80  0x00            0            1
GPT                :   N  Info
GPT disk GUID      :      92da1293cf19e54b80558e26d983bc85
GPT entry array    :      2  248  separated
GPT lba range      :      64  15630272  15630335
GPT partition name :   1  490053004f003900360036003000
GPT partname local :   1  ISO9660
GPT partition GUID :   1  92da1293cf19e54b80548e26d983bc85
GPT type GUID      :   1  a2a0d0ebe5b9334487c068b6b72699c7
GPT partition flags:   1  0x1000000000000001
GPT start and size :   1  64  5690024
GPT partition name :   2  41007000700065006e006400650064003200
GPT partname local :   2  Appended2
GPT partition GUID :   2  92da1293cf19e54b80578e26d983bc85
GPT type GUID      :   2  28732ac11ff8d211ba4b00a0c93ec93b
GPT partition flags:   2  0x0000000000000000
GPT start and size :   2  5690088  8496
GPT partition name :   3  4700610070003100
GPT partname local :   3  Gap1
GPT partition GUID :   3  92da1293cf19e54b80568e26d983bc85
GPT type GUID      :   3  a2a0d0ebe5b9334487c068b6b72699c7
GPT partition flags:   3  0x1000000000000001
GPT start and size :   3  5698584  600
GPT partition name :   4  
GPT partition GUID :   4  a77519baa6474c698e9d5848797c7dc5
GPT type GUID      :   4  af3dc60f838472478e793d69d8477de4
GPT partition flags:   4  0x0000000000000000
GPT start and size :   4  5701632  9928641
guiverc at d960-ubu2:~/uwn/issues/735$ 
---  (end paste)

guiverc at d960-ubu2:/de2900/ubuntu_mate_64$   cp -pv jammy-desktop-amd64.iso jammy-desktop-amd64.iso.scdbackup
'jammy-desktop-amd64.iso' -> 'jammy-desktop-amd64.iso.scdbackup'
guiverc at d960-ubu2:/de2900/ubuntu_mate_64$   dd if=/dev/zero bs=1 count=16 of=jammy-desktop-amd64.iso.scdbackup conv=notrunc seek=462
16+0 records in
16+0 records out
16 bytes copied, 0.205961 s, 0.1 kB/s
guiverc at d960-ubu2:/de2900/ubuntu_mate_64$   sudo dd bs=4M oflag=sync status=progress of=/dev/sdb if=jammy-desktop-amd64.iso.scdbackup 
[sudo] password for guiverc: 
2918014976 bytes (2.9 GB, 2.7 GiB) copied, 786 s, 3.7 MB/s 
695+1 records in
695+1 records out
2918014976 bytes (2.9 GB, 2.7 GiB) copied, 785.505 s, 3.7 MB/s


Ejected thumb-drive (2) & booted on plugged into hp.dc7700; it failed to boot :(

On j3400; pressed ENTER (at grub) at 13:10 (room clock)..  I didn't note
time of plymouth but I had maybe-ubiquity @ 13:13 (room clock) for
altered version of 2022-04-19 ISO

I used SysRq-REISUO to shutdown there..  (I'm reading your instructions as I do it)
so I'll now boot twice (not record times) & shutdown... 

alas should have noted clock.. it 'feels' slow... nah it's slow :(  sysrq-reisub @ maybe-ubiquity.
another boot on j3400, hit ENTER (at grub) at 13:31, maybe-ubiquity jingle waking me from sleep at 13:41.. i hit TRY and let it boot, settle a bit then selected shutdown at GUI.

Thumb-drive plugged back into my primary box; the following is result

--- start paste
guiverc at d960-ubu2:/de2900/ubuntu_mate_64$    sudo xorriso -indev stdio:/dev/sdb -report_system_area plain
[sudo] password for guiverc: 
xorriso 1.5.4 : RockRidge filesystem manipulator, libburnia project.

xorriso : NOTE : Loading ISO image tree from LBA 0
xorriso : UPDATE :     774 nodes read in 1 seconds
libisofs: NOTE : Found hidden El-Torito image for EFI.
libisofs: NOTE : EFI image start and size: 1422522 * 2048 , 8496 * 512
xorriso : NOTE : Detected El-Torito boot information which currently is set to be discarded
Drive current: -indev 'stdio:/dev/sdb'
Media current: stdio file, overwriteable
Media status : is written , is appendable
Boot record  : El Torito , MBR protective-msdos-label grub2-mbr cyl-align-off GPT
Media summary: 1 session, 1424812 data blocks, 2783m data, 4849m free
Volume id    : 'Ubuntu-MATE 22.04 LTS amd64'
System area options: 0x00004201
System area summary: MBR protective-msdos-label grub2-mbr cyl-align-off GPT
ISO image size/512 : 5699248
Partition offset   : 16
MBR heads per cyl  : 0
MBR secs per head  : 0
MBR partition table:   N Status  Type        Start       Blocks
MBR partition      :   1   0x00  0xee            1     15630335
MBR partition      :   2   0x80  0x00            0            1
GPT                :   N  Info
GPT disk GUID      :      92da1293cf19e54b80558e26d983bc85
GPT entry array    :      2  248  separated
GPT lba range      :      64  15630272  15630335
GPT partition name :   1  490053004f003900360036003000
GPT partname local :   1  ISO9660
GPT partition GUID :   1  92da1293cf19e54b80548e26d983bc85
GPT type GUID      :   1  a2a0d0ebe5b9334487c068b6b72699c7
GPT partition flags:   1  0x1000000000000001
GPT start and size :   1  64  5690024
GPT partition name :   2  41007000700065006e006400650064003200
GPT partname local :   2  Appended2
GPT partition GUID :   2  92da1293cf19e54b80578e26d983bc85
GPT type GUID      :   2  28732ac11ff8d211ba4b00a0c93ec93b
GPT partition flags:   2  0x0000000000000000
GPT start and size :   2  5690088  8496
GPT partition name :   3  4700610070003100
GPT partname local :   3  Gap1
GPT partition GUID :   3  92da1293cf19e54b80568e26d983bc85
GPT type GUID      :   3  a2a0d0ebe5b9334487c068b6b72699c7
GPT partition flags:   3  0x1000000000000001
GPT start and size :   3  5698584  600
GPT partition name :   4  
GPT partition GUID :   4  2cb5eb97156849f2ac802cc470a1f57a
GPT type GUID      :   4  af3dc60f838472478e793d69d8477de4
GPT partition flags:   4  0x0000000000000000
GPT start and size :   4  5701632  9928641
--- end paste

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

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

Status in Release Notes for Ubuntu:
  Fix Committed
Status in casper package in Ubuntu:
  Confirmed
Status in casper source package in Impish:
  Confirmed
Status in casper source package in Kinetic:
  Confirmed

Bug description:
  First of all, I change the description of this bug because, thanks to
  Chris Guiver comments, I could check that the live session effectively
  works but it takes too long to complete. That's why I change the
  description of the bug from live session does not boot to live session
  takes ages to boot. I hope this is the best approach to this.

  I think the problem is the same as described here:
  https://discourse.ubuntubudgie.org/t/20-10-grub-error-can-t-find-
  command-grub-platform/4292. I can see prior to grub menu, briefly, the
  same error: Error can't find grub_platform. After the solution
  described below, this error is not showed and the system is able to
  boot.

  I try making the live usb using startup disk creator and with gnome-
  disks --> Restore disk image and get the same results.

  The live-usb has a gpt partition table instead of mbr like 20.04 live-
  usb has. That implies, I think, that the first one does not boot on
  BIOS systems and the second does.

  I try the same live-usb on an EFI laptop and it boots perfectly
  (perhaps it takes long time, but more less than in this case.

  If I try the solution described here:
  https://bugs.launchpad.net/ubuntu/+source/casper/+bug/1905491/comments/8
  then it works.

  ProblemType: Bug
  DistroRelease: Ubuntu 21.04
  Package: casper 1.461
  ProcVersionSignature: Ubuntu 5.11.0-13.14-generic 5.11.7
  Uname: Linux 5.11.0-13-generic x86_64
  NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
  ApportVersion: 2.20.11-0ubuntu61
  Architecture: amd64
  CasperMD5CheckResult: pass
  CasperVersion: 1.461
  CurrentDesktop: ubuntu:GNOME
  Date: Fri Apr  2 09:55:24 2021
  LiveMediaBuild: Ubuntu 21.04 "Hirsute Hippo" - Beta amd64 (20210331.1)
  ProcEnviron:
   TERM=xterm-256color
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=gl_ES.UTF-8
   SHELL=/bin/bash
  SourcePackage: casper
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-release-notes/+bug/1922342/+subscriptions




More information about the foundations-bugs mailing list