Skip to content

"kicksecure iso doesn't boot under Heads #2008

@makkiato83

Description

@makkiato83

Please identify some basic details to help process the report

To reproduce:

  1. Download kicksecure iso from https://www.kicksecure.com/download/iso/17.4.4.6/Kicksecure-Xfce-17.4.4.6.Intel_AMD64.iso
  2. Burn to a usb drive using dd, as usual.
  3. Boot heads and choose "Boot from USB".
  4. Heads will search for usb partitions and will ask for user choice giving options: /dev/sdb1, /dev/sdb2 and /dev/sdb3.
  5. Any of the three choices results in an error.
!!! ERROR: ERROR: Failed to mount /dev/sdb1 as read only !!!
/etc/gui_functions: line 23: [: -ne: unary operator expected
!!!! Something failed during USB boot
!!!! Starting recovery shell

Heads goes back to recovery shell. Running dmesg gives:

...
GPT: Primary header thinks Alt. header is not at the end of the disk.
GPT: 2430031 != 240253439
GPT: Alternate GPT header not at the end of the disk.
GPT: 2430031 != 240253439
GPT: Use Gnu Parted to correct GPT errors.
sdb: sdb1 sdb2 sdb3
isofs_fill_super: bread failed, dev=sdb1, iso_blknum=78, block=156
exFAT-fs (sdb1): invalid boot record signature
exFAT-fs (sdb1): failed to read boot sector
exFAT-fs (sdb1): failed to recognize exfat type
exFAT-fs (sdb1): invalid boot record signature
exFAT-fs (sdb1): failed to read boot sector
exFAT-fs (sdb1): failed to recognize exfat type
isofs_fill_super: bread failed, dev=sdb1, iso_blknum=78, block=156

Some investigations

Connecting the usb drive to another computer (say, as /dev/sda),
running sudo fdisk -l /dev/sda gives:

GPT PMBR size mismatch (2430031 != 240253439) will be corrected by write.
The backup GPT table is not on the end of the device.
Disk /dev/sda: 114.56 GiB, 123009761280 bytes, 240253440 sectors
Disk model:  SanDisk 3.2Gen1
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: ...

Device     Start     End Sectors  Size Type
/dev/sda1     64     375     312  156K Microsoft basic data
/dev/sda2    376    9911    9536  4.7M EFI System
/dev/sda3   9912 2429967 2420056  1.2G Microsoft basic data

Trying to mount /dev/sda1 and /dev/sda2 gives:

wrong fs type, bad option, bad superblock on /dev/sda1, missing codepage or helper program, or other error.
       dmesg(1) may have more information after failed mount system call.

Mounting /dev/sda2 works. After mounting, sudo blkid /dev/sda2 gives:

/dev/sda2: SEC_TYPE="msdos" UUID="6898-60D7" BLOCK_SIZE="512" TYPE="vfat" PARTLABEL="EFI boot partition" PARTUUID="...."

and
sudo file -s /dev/sda2 gives a FAT12 file system:

/dev/sda2: DOS/MBR boot sector, code offset 0x3c+2, OEM-ID "mkfs.fat", sectors/cluster 4, reserved sectors 4, root entries 512, sectors 9536 (volumes <=32 MB), Media descriptor 0xf8, sectors/FAT 8, sectors/track 32, reserved 0x1, serial number 0x689860d7, unlabeled, FAT (12 bit)

Finally, sudo find mount_point gives:

/mnt/usb
/mnt/usb/EFI
/mnt/usb/EFI/boot
/mnt/usb/EFI/boot/bootx64.efi
/mnt/usb/EFI/boot/grubx64.efi
/mnt/usb/boot
/mnt/usb/boot/grub
/mnt/usb/boot/grub/grub.cfg

A. Provide Hardware Details

  1. I am using a Lenove x230 with heads-EOL_x230-hotp-maximized-v0.2.0-2790-gaaeb63d.

  2. I am using HEADS in "Basic mode"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions