I realize this is not really your topic, but maybe you can help?
I've tried different options and I can't boot ISO from GRUB menu provided that ISO is on disk with Easy2Boot (in standard _ISO/LINUX directory).
If I copy the ISO to the disk with Linux, it loads normally, if with E2B, it doesn't want to (different errors, but the maximum I achieved is that it starts loading and then the screen turns off and nothing happens).
This parameters:
menuentry 'Arch' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod msdospart
insmod ntfs
insmod ext2
insmod loopback
root_uuid=94B012C9B012B22A
search -s root -u $root_uuid
set imgdevpath='/dev/disk/by-uuid/94B012C9B012B22A'
set isofile='/_ISO/LINUX/ArchLinux-2024.12.01-x86_64.iso'
loopback loop $isofile
linux (loop)/arch/boot/x86_64/vmlinuz-linux img_dev=$imgdevpath img_loop=$isofile earlymodules=loop
initrd (loop)/arch/boot/x86_64/initramfs-linux.img
}
PS. I have already contacted the specialized forums, there also could not help.
I realize this is not really your topic, but maybe you can help?
I've tried different options and I can't boot ISO from GRUB menu provided that ISO is on disk with Easy2Boot (in standard _ISO/LINUX directory).
If I copy the ISO to the disk with Linux, it loads normally, if with E2B, it doesn't want to (different errors, but the maximum I achieved is that it starts loading and then the screen turns off and nothing happens).
This parameters:
menuentry 'Arch' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod msdospart
insmod ntfs
insmod ext2
insmod loopback
root_uuid=94B012C9B012B22A
search -s root -u $root_uuid
set imgdevpath='/dev/disk/by-uuid/94B012C9B012B22A'
set isofile='/_ISO/LINUX/ArchLinux-2024.12.01-x86_64.iso'
loopback loop $isofile
linux (loop)/arch/boot/x86_64/vmlinuz-linux img_dev=$imgdevpath img_loop=$isofile earlymodules=loop
initrd (loop)/arch/boot/x86_64/initramfs-linux.img
}
PS. I have already contacted the specialized forums, there also could not help.
I copied the arch ISO to my E2B USB drive, defragged the file (made it contiguous) and then ran Virtual Box in Legacy/BIOS mode and booted to E2B menu. The arch ISO then booted just fine.
Are you asking me how to legacy boot from this ISO under grub (rather than grub4dos)?
The /boot/grub/loopback.cfg file inside the ISO has
menuentry "Arch Linux install medium (x86_64, ${archiso_platform})" --class arch --class gnu-linux --class gnu --class os --id 'archlinux' {
set gfxpayload=keep
linux /arch/boot/x86_64/vmlinuz-linux archisobasedir=arch img_dev=UUID=${archiso_img_dev_uuid} img_loop="${iso_path}"
initrd /arch/boot/x86_64/initramfs-linux.img
}
So I would be tempted to use a similar menu for grub.
UUID is shown in E2b menu when highlighted as '2024-12-01-05-48-32-00'
Your menu does not seem to have the =UUID= part in it?
HTH
Hi, sorry but your message is not very clear
I copied the arch ISO to my E2B USB drive, defragged the file (made it contiguous) and then ran Virtual Box in Legacy/BIOS mode and booted to E2B menu. The arch ISO then booted just fine.
Are you asking me how to legacy boot from this ISO under grub (rather than grub4dos)?
The /boot/grub/loopback.cfg file inside the ISO has
menuentry "Arch Linux install medium (x86_64, ${archiso_platform})" --class arch --class gnu-linux --class gnu --class os --id 'archlinux' {
set gfxpayload=keep
linux /arch/boot/x86_64/vmlinuz-linux archisobasedir=arch img_dev=UUID=${archiso_img_dev_uuid} img_loop="${iso_path}"
initrd /arch/boot/x86_64/initramfs-linux.img
}
So I would be tempted to use a similar menu for grub.
UUID is shown in E2b menu when highlighted as '2024-12-01-05-48-32-00'
Your menu does not seem to have the =UUID= part in it?
Well in grub2 menu you can exit to command line and type grub2 commands directly.
You can type ls for instance to list devices or
ls (hd0,1)/
To list files on boot device first partition which will presumably by the e2b drive?
Can you be clear? What device are you booting grub2 from? If not booting from the same drive that contains the iso, then the device number of the e2b usb drive will vary depending on how grub2 enumerates it. It may be hd1 or hd2 or hd3 or hd4 or hd5 etc
Use ls in grub2 to find out where the iso is located.
Then set that device as the root in your grub2 menu.
Are you experienced in grub2 or just a beginner? I assumed you know how to use grub2 and debug and type commands etc?
Well in grub2 menu you can exit to command line and type grub2 commands directly.
You can type ls for instance to list devices or
ls (hd0,1)/
To list files on boot device first partition which will presumably by the e2b drive?
Can you be clear? What device are you booting grub2 from? If not booting from the same drive that contains the iso, then the device number of the e2b usb drive will vary depending on how grub2 enumerates it. It may be hd1 or hd2 or hd3 or hd4 or hd5 etc
Use ls in grub2 to find out where the iso is located.
Then set that device as the root in your grub2 menu.
Are you experienced in grub2 or just a beginner? I assumed you know how to use grub2 and debug and type commands etc?
If you craft menu works, then all you have to do is copy it, but change the lines starting with linux and initrd to be the same as I have used, with relevant $ variable names used.
It sounds like you are not booting from the same drive as the iso, so you need to set the root device first which is what your craft menu does.
If you craft menu works, then all you have to do is copy it, but change the lines starting with linux and initrd to be the same as I have used, with relevant $ variable names used.
It sounds like you are not booting from the same drive as the iso, so you need to set the root device first which is what your craft menu does.
Well in grub2 menu you can exit to command line and type grub2 commands directly.
You can type ls for instance to list devices or
ls (hd0,1)/
To list files on boot device first partition which will presumably by the e2b drive?
Can you be clear? What device are you booting grub2 from? If not booting from the same drive that contains the iso, then the device number of the e2b usb drive will vary depending on how grub2 enumerates it. It may be hd1 or hd2 or hd3 or hd4 or hd5 etc
Use ls in grub2 to find out where the iso is located.
Then set that device as the root in your grub2 menu.
Are you experienced in grub2 or just a beginner? I assumed you know how to use grub2 and debug and type commands etc?
That's exactly how I looked at the disk numbering. That's why it's strange that ArchCraft even has the wrong disk in its parameters, but it boots, while Arch and other builds don't want to boot in any way, as I showed you in the video.
I'mnotaprofessional,butlinuxbasicsareunderstood.
GRUB2 load theoneinstalledonmyexistingsystem-ArchLinux. And in it I checked with the command ls(hdX,X)/ to find out the E2B numbering.
Well in grub2 menu you can exit to command line and type grub2 commands directly.
You can type ls for instance to list devices or
ls (hd0,1)/
To list files on boot device first partition which will presumably by the e2b drive?
Can you be clear? What device are you booting grub2 from? If not booting from the same drive that contains the iso, then the device number of the e2b usb drive will vary depending on how grub2 enumerates it. It may be hd1 or hd2 or hd3 or hd4 or hd5 etc
Use ls in grub2 to find out where the iso is located.
Then set that device as the root in your grub2 menu.
Are you experienced in grub2 or just a beginner? I assumed you know how to use grub2 and debug and type commands etc?
That's exactly how I looked at the disk numbering. That's why it's strange that ArchCraft even has the wrong disk in its parameters, but it boots, while Arch and other builds don't want to boot in any way, as I showed you in the video.
I'mnotaprofessional,butlinuxbasicsareunderstood.
GRUB2 load theoneinstalledonmyexistingsystem-ArchLinux. And in it I checked with the command ls(hdX,X)/ to find out the E2B numbering.
The set root line in your craft menu is irrelevant and so is not used. It can be deleted if you want.
The craft grub2 code finds the iso and then sets the root to the same drive that the iso was on.
So that same code can be used for archlinux, but you need to change the linux and initrd lines.
I can't waste time writing menus for you if you don't understand grub2. You posted on a forum about grub4dos and e2b but your issue has nothing to do with either!
I suspect your archlinux original menu did not work because the uuid is wrong! Compare it with the one in my menu which has
14FA69A3FA6981BA
The set root line in your craft menu is irrelevant and so is not used. It can be deleted if you want.
The craft grub2 code finds the iso and then sets the root to the same drive that the iso was on.
So that same code can be used for archlinux, but you need to change the linux and initrd lines.
I can't waste time writing menus for you if you don't understand grub2. You posted on a forum about grub4dos and e2b but your issue has nothing to do with either!
I suspect your archlinux original menu did not work because the uuid is wrong! Compare it with the one in my menu which has
The set root line in your craft menu is irrelevant and so is not used. It can be deleted if you want.
The craft grub2 code finds the iso and then sets the root to the same drive that the iso was on.
So that same code can be used for archlinux, but you need to change the linux and initrd lines.
I can't waste time writing menus for you if you don't understand grub2. You posted on a forum about grub4dos and e2b but your issue has nothing to do with either!
I suspect your archlinux original menu did not work because the uuid is wrong! Compare it with the one in my menu which has
14FA69A3FA6981BA
I've done that before, here's an example of it not working either.
Here I substituted the Craft parameters and left the kernel and iniramfs from your Arch example. It tries to load, but the screen goes into standby and nothing happens.
The set root line in your craft menu is irrelevant and so is not used. It can be deleted if you want.
The craft grub2 code finds the iso and then sets the root to the same drive that the iso was on.
So that same code can be used for archlinux, but you need to change the linux and initrd lines.
I can't waste time writing menus for you if you don't understand grub2. You posted on a forum about grub4dos and e2b but your issue has nothing to do with either!
I suspect your archlinux original menu did not work because the uuid is wrong! Compare it with the one in my menu which has
14FA69A3FA6981BA
I've done that before, here's an example of it not working either.
Here I substituted the Craft parameters and left the kernel and iniramfs from your Arch example. It tries to load, but the screen goes into standby and nothing happens.
The archlinux menu works for me (after minor correction of filename because my ISO is all lowercase letters).
set dri and set craftiso is not used or needed. I also removed " " from linux line.
I have added some debug lines so you can see the variables before they are used.
menuentry "Arch Linux with ArchCraft Parameters" {
set iso_path="/_ISO/LINUX/archlinux-2024.12.01-x86_64.iso"
search --no-floppy -f --set=root $iso_path
probe -u $root --set=archiso_img_dev_uuid
loopback loop $iso_path
ls
echo
ls (loop)/
echo
ls /
echo
echo archiso_img_dev_uuid=${archiso_img_dev_uuid} iso_path=${iso_path} root=${root}
read
linux (loop)/arch/boot/x86_64/vmlinuz-linux archisobasedir=arch img_dev=UUID=${archiso_img_dev_uuid} img_loop=${iso_path}
initrd (loop)/arch/boot/x86_64/initramfs-linux.img
read
}
#if your results looks the same, then maybe your hardware is just not compatible with archlinux ?
Yes, trying, but the same thing - the screen goes into standby mode (probably need to find out additional parameters for my nvidia video card). Although there is already progress, ArcoPlasma and ALG-PLasma (to RAM) is loaded with the parameters. In principle, this is enough for me.
Thank you so much for helping!
I apologize again.
UPD. Yes, I took the parameters from the cfg file inside ArchCraft ISO nvidia nvidia-drm.modeset=1 nouveau.modeset=0 module_blacklist=nouveau and Archlinux loaded. Hooray!
Can you show a few pieces for example from this book?
The archlinux menu works for me (after minor correction of filename because my ISO is all lowercase letters).
set dri and set craftiso is not used or needed. I also removed " " from linux line.
I have added some debug lines so you can see the variables before they are used.
menuentry "Arch Linux with ArchCraft Parameters" {
set iso_path="/_ISO/LINUX/archlinux-2024.12.01-x86_64.iso"
search --no-floppy -f --set=root $iso_path
probe -u $root --set=archiso_img_dev_uuid
loopback loop $iso_path
ls
echo
ls (loop)/
echo
ls /
echo
echo archiso_img_dev_uuid=${archiso_img_dev_uuid} iso_path=${iso_path} root=${root}
read
linux (loop)/arch/boot/x86_64/vmlinuz-linux archisobasedir=arch img_dev=UUID=${archiso_img_dev_uuid} img_loop=${iso_path}
initrd (loop)/arch/boot/x86_64/initramfs-linux.img
read
}
#if your results looks the same, then maybe your hardware is just not compatible with archlinux ?
Yes, trying, but the same thing - the screen goes into standby mode (probably need to find out additional parameters for my nvidia video card). Although there is already progress, ArcoPlasma and ALG-PLasma (to RAM) is loaded with the parameters. In principle, this is enough for me.
Thank you so much for helping!
I apologize again.
UPD. Yes, I took the parameters from the cfg file inside ArchCraft ISO nvidia nvidia-drm.modeset=1 nouveau.modeset=0 module_blacklist=nouveau and Archlinux loaded. Hooray!
Can you show a few pieces for example from this book?
nvidia graphics adaptors and linux issues are common.
All my eBooks have a list of contents.
nvidia graphics adaptors and linux issues are common.
All my eBooks have a list of contents.
BlagoYar has reacted to this post.
BlagoYar
Multi-buy discount 10%
eBooks (in PDF format)
Easy-to-read eBooks are available in PDF format (each eBook is over 100 pages) – rated 4.5/5stars.
Learn the secrets of Legacy and UEFI USB booting and then make your perfect multiboot USB drive.
E2B eBook #1 includes instructions on how to remove the E2B 5-second start-up delay blue screen.
E2B is unique in that it uses partition images which allows you to directly boot from Secure Boot images (no need to disable Secure Boot or run MOK manager or modify your UEFI BIOS).
Most eBooks are over 100 pages long, contain original content (not AI generated!) and step-by-step exercises which are suitable for both the beginner or the more experienced user.
Customer reviews are located at bottom of each eBook product page and multi-buy discounts are available when you buy more than one eBook. Please also visit RMPrepUSB.com and the E2B Forum.
Subscribe to my blog for the latest news, tips, USB boot articles and free eBook updates.