LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   antiX / MX Linux (https://www.linuxquestions.org/questions/antix-mx-linux-127/)
-   -   Start antiX from an ISO with grub (https://www.linuxquestions.org/questions/antix-mx-linux-127/start-antix-from-an-iso-with-grub-4175652538/)

astroboy_fan 04-21-2019 10:17 PM

Start antiX from an ISO with grub
 
[ALMOST SOLVED]
I have a USB drive FAT32 that is able to startup with UEFI
on a MacBook Air, and shows a grub menu, It's for a different distribution of GNU/Linux, that didn't install properly.

I have an antiX 17.2 base iso file that I have copied to the USB in order to boot from the iso [as a loop device].

I used and can use a PowerPC (non-Intel-based) computer with no useable DVD burner nor internet, to perform the copy of the iso but can't read the iso file (reFind not compatible) as there is no ext4 FS support.

Question: What is the top level file/folder listing for antiX-17.2_x64-base.iso? OR what is the boot= option in grub2 I would use? Thanks. I couldn't find it online.

ANSWER: WITHIN GRUB2 command line you can view inside .ISOs:

Code:

grub> loopback loop0 /boot/iso/path-to-iso
!!! BUT NOW !!!
It loads up the kernel and initrd, but since it thinks it's a CD,/DVD it can't find linuxfs.

I can't edit the iso, so I'm wondering how I can configure the iso to find itself at startup without edits to the iso... Difficult I'm sure.

mrmazda 04-22-2019 05:26 PM

1 Attachment(s)
This from an older version, but the names should not have changed in 17.2:
Code:

antiX> ls -Gg
-r-xr-xr-x 1  3599777 Apr 26  2016 initrd.gz
-r-xr-xr-x 1        44 Apr 26  2016 initrd.gz.md5
-r-xr-xr-x 1 694120448 Apr 26  2016 linuxfs
-r-xr-xr-x 1        42 Apr 26  2016 linuxfs.md5
-r-xr-xr-x 1  4226000 Apr 26  2016 vmlinuz
-r-xr-xr-x 1        42 Apr 26  2016 vmlinuz.md5
efi/boot> ls -Gg
-r-xr-xr-x 1  621056 Apr 26  2016 bootia32.efi
-r-xr-xr-x 1 1355736 Apr 26  2016 bootx64.efi
-r-xr-xr-x 1  993144 Apr 26  2016 grubx64.efi
-r-xr-xr-x 1    6823 Apr 26  2016 mt86.png
/boot/grub/grub.cfg (attached)



All times are GMT -5. The time now is 02:09 PM.