View previous topic :: View next topic |
Author |
Message |
toralf Developer


Joined: 01 Feb 2004 Posts: 3943 Location: Hamburg
|
Posted: Fri Mar 13, 2015 8:36 pm Post subject: [solved] boot the Gentoo admin cd from the ISO file |
|
|
I'm curious how I can get the Gentoo admin to be booted in a similar manner as I can boot TAILS ISO DVD directly from the download area : Code: | t44 ~ # cat /etc/grub.d/40_custom ; grub2-mkconfig -o /boot/grub/grub.cfg
#!/bin/sh
exec tail -n +3 $0
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
set fallback=4
menuentry "TAILS" {
set root='hd0,gpt3'
set isofile='/home/tfoerste/Downloads/tails.iso'
loopback loop $isofile
linux (loop)/live/vmlinuz2 boot=live config live-media=removable apparmor=1 security=apparmor nopersistent noprompt timezone=Etc/UTC block.events_dfl_poll_msec=1000 splash noautologin module=Tails quiet
initrd (loop)/live/initrd2.img
}
menuentry "admincd" {
set root='hd0,gpt3'
set isofile='/home/tfoerste/Downloads/admincd.iso'
#linux (loop)/isolinux/image.squashfs root=/dev/ram0 init=/linuxrc dokeymap looptype=squashfs cdroot vga=791
#initrd (loop)/isolinux/gentoo.igz
linux /usr/share/syslinux/memdisk iso
initrd /home/tfoerste/Downloads/admincd.iso
}
menuentry "Ubuntu" {
set root='hd0,gpt3'
set isofile='/home/tfoerste/Downloads/ubuntu.iso'
loopback loop $isofile
linux (loop)/casper/vmlinuz.efi file=/cdrom/preseed/ubuntu.seed boot=casper quiet splash --
initrd (loop)/casper/initrd.lz
} |
Currently the admincd initrd is booted, I'm asked for a keyboard, but then the boot stucks in mounting the right device onto /.
Last edited by toralf on Mon Mar 23, 2015 9:33 pm; edited 1 time in total |
|
Back to top |
|
 |
The_Great_Sephiroth Veteran

Joined: 03 Oct 2014 Posts: 1609 Location: Fayetteville, NC, USA
|
Posted: Fri Mar 13, 2015 9:31 pm Post subject: |
|
|
I tried this a while back and never got it going. While GRUB works fine with some ISO images, what appears to happen is that the Gentoo CD boots, then takes control of the hardware and sees the USB stick but does not see the files inside the ISO on your USB stick. In other words, once it has started, it needs the files on that ISO image, but cannot read into said image. _________________ Ever picture systemd as what runs "The Borg"? |
|
Back to top |
|
 |
toralf Developer


Joined: 01 Feb 2004 Posts: 3943 Location: Hamburg
|
Posted: Mon Mar 23, 2015 9:33 pm Post subject: |
|
|
found the answer here in the forum, this works here now : Code: | menuentry "Gentoo Live DVD" {
set isofile='/home/tfoerste/Downloads/livedvd.iso'
loopback loop $isofile
set root=(loop)
linux (loop)/isolinux/gentoo root=/dev/ram0 init=/linuxrc dokeymap aufs looptype=squashfs loop=/image.squashfs cdroot initrd=gentoo.igz isoboot=$isofile
initrd (loop)/isolinux/gentoo.igz
} |
|
|
Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|