Gentoo Archives: gentoo-user

From: Peter Humphrey <peter@××××××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] ISO on /boot
Date: Tue, 12 Apr 2022 13:40:22
Message-Id: 4409976.LvFx2qVVIh@wstn
In Reply to: Re: [gentoo-user] ISO on /boot by Neil Bothwick
1 On Tuesday, 12 April 2022 11:56:53 -00 Neil Bothwick wrote:
2 > On Tue, 12 Apr 2022 11:05:12 +0000, Peter Humphrey wrote:
3 > > I've seen people say they have a rescue ISO image in their /boot
4 > > partition. I'd like to try this; is there any particular knack to it,
5 > > or do I just copy the ISO image into place? I'm using bootctl from
6 > > sys-boot/systemd-boot.
7 >
8 > Unlike GRUB, systemd-boot doesn't have the ability to boot directly from
9 > an ISO image (GRUB can mount the ISO) but if you are using System Rescue,
10 > you can mount the mage and copy the relevant files to /boot. Full
11 > instructions are on the System Rescue site, here the the boot loader
12 > entry I use
13 >
14 > title System Rescue 9.01
15 > version 9.01
16 > linux /sysresccd/boot/x86_64/vmlinuz
17 > options archisobasedir=sysresccd archisolabel=boot setkmap=uk
18 > rootpass=password1 initrd /sysresccd/boot/x86_64/sysresccd.img
19 >
20 > You need to set a filesystem label on /boot and use that for the
21 > archisolabel argument.
22
23 Just what I needed. Thanks Neil
24
25 --
26 Regards,
27 Peter.