I'm making a multiboot disk so i was wondering if anybody has the requires menuentry.
Found this great link : http://trcmdisk01.tripod.com/linux/s_mmlf01.html
However it's for 7, will it work on 8?
For some reason 40 custom file disappeared.
Anyways now i got this in grub customizer:
echo ooo
set isofile="/iso/centos8.2-2004.iso"
loopback loop (hd0,2)$isofile
linux (loop)/isolinux/vmlinuz selinux=0 root=live:CDLABEL=CentOS-8-2-2004-x86_64-dvd iso-scan/filename=$isofile rootfstype=auto ro rd.live.image rd.luks=0 rd.md=0 rd.dm=0 log_buf_len=64K rhgb
initrd (loop)/isolinux/initrd.img
It throws an initqueue error.
CentOS menuentry to boot ISO from grub.
-
- Posts: 45
- Joined: 2017/08/27 09:48:47
Re: CentOS menuentry to boot ISO from grub.
Are you still up to this task?
I was installing centos 8 from ISO about 5 times since 2 months ago.
I was installing centos 8 from ISO about 5 times since 2 months ago.
-
- Posts: 45
- Joined: 2017/08/27 09:48:47
Re: CentOS menuentry to boot ISO from grub.
Here is my boot menu entry from iso
set isofile -> is the location of the iso file
hd1 -> means second disk
gpt1 -> means first READABLE gpt partition
change those to your desire.
Code: Select all
menuentry 'Install CentOS Linux 8 in basic graphics mode from ISO' --class fedora --class gnu-linux --class gnu --class os {
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod ext2
insmod iso9660
set isofile='/installer/CentOS-8.1.1911-x86_64-dvd1.iso'
loopback loop (hd1,gpt1)$isofile
linuxefi (loop)/images/pxeboot/vmlinuz inst.stage2=hd:LABEL=CentOS-8-1-1911-x86_64-dvd nomodeset quiet iso-scan/filename=$isofile
initrdefi (loop)/images/pxeboot/initrd.img
}
hd1 -> means second disk
gpt1 -> means first READABLE gpt partition
change those to your desire.
-
- Posts: 15
- Joined: 2020/08/04 06:45:47
Re: CentOS menuentry to boot ISO from grub.
Thank you so much.