Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
booting minimal gentoo iso from ssd
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
turtles
Veteran
Veteran


Joined: 31 Dec 2004
Posts: 1680

PostPosted: Sun Oct 20, 2024 8:22 pm    Post subject: booting minimal gentoo iso from ssd Reply with quote

Greetings Gentooers
I'd like to keep the minimal Gentoo iso on a partition (ext4) /dev/sda3

I have grub installed on /dev/sda & /dev/sda1 and I'd like to add a menuentry able to boot the iso.

I mounted a copy of the iso to look around
Code:
 mount -o loop /tmp/gentooiso/install-amd64-minimal-20241006T144834Z.iso /mnt/iso

and came up with this
Code:

menuentry "Gentoo ISO" {
   set isofile="/install-amd64-minimal-20241006T144834Z.iso"
   rmmod tpm
   # iso is on /dev/sda3
   loopback loop (hd0,gpt3)$isofile
   linux (loop)/boot/gentoo
   path=image.squashfs iso-scan/filename=$isofile
   initrd (loop)/boot/gentoo.igz
}


Any comments or suggestions on the best way to do this ?
_________________
Donate to Gentoo
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
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