Showing posts with label Secure Boot. Show all posts
Showing posts with label Secure Boot. Show all posts

Friday, July 03, 2015

Review of antiX-15 USB persist on UEFI Secure Boot.

On 30th June 2015 new version of antiX called antiX-15 (Killah P) was released. I was impressed with the announcement "Want to run live on a box with UEFI bootloader? antiX can do this", and immediately wanted to test this.

I downloaded antiX-15-V_64-full.iso from souceforge. The announcement recommended Unetbbotin to make live usb but unfortunately Unetbootin crashed while selecting the iso file. I used dd command to copy the iso to usb but it allowed me to boot only in Legacy mode of BIOS.

I posted on antiX Forum and was advised to mount the iso and simply copy the contents (same like what I recommend for Ubuntu 14.04 for UEFI)

sudo mkdir -p /mnt/iso
sudo mount -o loop,ro  antiX-15-V_64-full.iso /mnt/iso
cp -a /mnt/iso/. /media/USB_mount_point/

 After selecting boot from usb in BIOS Boot Menu I could boot into antiX default Desktop with secure boot on since antiX has Microsoft signed kernel image.

Then I wanted to make the usb persistent. I used the cheat-code "persist=root!,home" in grub boot line but was getting blank screen.

I created the rootfs and homefs files and placed them in /antiX folder on usb even then it did not work:
dd if=/dev/zero of=rootfs bs=1M count=0 seek=1024
mkfs.ext4 -q -m 0 -O ^has_journal -F rootfs
dd if=/dev/zero of=homefs bs=1M count=0 seek=1024
mkfs.ext4 -q -m 0 -O ^has_journal -F homefs 
After struggling for a day I was told to change "gfxpayload=text" to "gfxpayload=keep" in grub.cfg and it worked.


Friday, June 12, 2015

How to run Debian with secure boot on.

I am having Lenovo G50-45 Laptop which had Windows 8.1 pre installed and I have installed Ubuntu 14.04 and 15.04 in triple boot with secure boot on.

Today I installed Debian 8.1 on another partition. For installing Debian I had to disable secure boot. After installation if I was booting Debian through its Boot Loader I had to disable the secure boot.

Later on I enabled secure boot and using Ubuntu 15.04 and updated the kernel. After update the grub got updated and it picked up the entry of Debian.

Now I could boot Debian through Ubuntu's Boot Loader without disabling secure boot.

NB: For those who are not familiar with UEFI. Each operating system has its own Boot Loader with entries of other operating systems in the Grub Menu.

We are registered voters of Bhopal as per Final eRoll published on 21 Feb 2026.

 We relocated to Bhopal from Delhi wef 28 June 2025. I immediately applied for change of address on Aadhar and got it on 06 July 2025. Then ...