• [gentoo-user] ISO on /boot

    From Peter Humphrey@21:1/5 to All on Tue Apr 12 13:10:01 2022
    Hello list,

    I've seen people say they have a rescue ISO image in their /boot partition.
    I'd like to try this; is there any particular knack to it, or do I just copy the ISO image into place? I'm using bootctl from sys-boot/systemd-boot.

    --
    Regards,
    Peter.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Neil Bothwick@21:1/5 to Peter Humphrey on Tue Apr 12 14:00:01 2022
    On Tue, 12 Apr 2022 11:05:12 +0000, Peter Humphrey wrote:

    I've seen people say they have a rescue ISO image in their /boot
    partition. I'd like to try this; is there any particular knack to it,
    or do I just copy the ISO image into place? I'm using bootctl from sys-boot/systemd-boot.

    Unlike GRUB, systemd-boot doesn't have the ability to boot directly from
    an ISO image (GRUB can mount the ISO) but if you are using System Rescue,
    you can mount the mage and copy the relevant files to /boot. Full
    instructions are on the System Rescue site, here the the boot loader
    entry I use

    title System Rescue 9.01
    version 9.01
    linux /sysresccd/boot/x86_64/vmlinuz
    options archisobasedir=sysresccd archisolabel=boot setkmap=uk rootpass=password1
    initrd /sysresccd/boot/x86_64/sysresccd.img

    You need to set a filesystem label on /boot and use that for the archisolabel argument.


    --
    Neil Bothwick

    There is absolutely no substitute for a genuine lack of preparation.

    -----BEGIN PGP SIGNATURE-----

    iQIzBAEBCAAdFiEE8k9T/rX16EJxEKG692eFu0QSMJgFAmJVaQUACgkQ92eFu0QS MJjcVA/+NjtzIbcsTwVS38wawoXzMBoyezKPahXtseUmpe8WS5aEl9yVuy52Iujj RoK6qxZQqaGIt2efPWfF0K8OnH3Hizm0FqEFHqZN5TUXHNgDys/38wUsmCTtdVCa bL0PWrwCJD0PgHS+B+accLiHS/Zj6NURGyehp1RvtC3Mwl9p9Ydv0g8oL6ti44qd h+sTerI+Ls2w9Ob/qQJhe/qt0OdgulR0KtrEOVlQrEankqeLwK7f/PszGdDzcm1D rMxTM0tdQdno4sEPyWO3OjX/BsDiXBv7NwoCwkjxD864kNgSh1H2l2YNsB96FlFa uY9qreSx+0xFigRDMYeOhiPJ1vvQnhvx0MDDd6NgyReYW2/4llv1U9jX37bx5GA4 3SvgVaNNPeYrD2QI9bvRIHlaWCn+cO2hAh3rllDWhpg3gnCoXB6el1RC1U3qnM9e dNQN0sd6wG/Vt5B0frJfxlRZqDJQnWxITEBFyLSNyo1qrpC541BIT7keZugkvsMP SoXjMO0LdU5m7lXdVMA8gaNKNr1TLORKokbrLcw0w/lJ/lEemDqbjQiWigD4cye7 DlqufDFYA1ZU0U62T8PLuvvjMusD3F1HfOaIowehKhczfDRMa/6Sj4RfxiGZw7gD nrwOeGTZASokn4ggWRBtZyKSbQ0Zwxh5B788+H8RGVQzubxmUjk=
    =WxpS
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Peter Humphrey@21:1/5 to All on Tue Apr 12 15:50:01 2022
    On Tuesday, 12 April 2022 11:56:53 -00 Neil Bothwick wrote:
    On Tue, 12 Apr 2022 11:05:12 +0000, Peter Humphrey wrote:
    I've seen people say they have a rescue ISO image in their /boot
    partition. I'd like to try this; is there any particular knack to it,
    or do I just copy the ISO image into place? I'm using bootctl from sys-boot/systemd-boot.

    Unlike GRUB, systemd-boot doesn't have the ability to boot directly from
    an ISO image (GRUB can mount the ISO) but if you are using System Rescue,
    you can mount the mage and copy the relevant files to /boot. Full instructions are on the System Rescue site, here the the boot loader
    entry I use

    title System Rescue 9.01
    version 9.01
    linux /sysresccd/boot/x86_64/vmlinuz
    options archisobasedir=sysresccd archisolabel=boot setkmap=uk rootpass=password1 initrd /sysresccd/boot/x86_64/sysresccd.img

    You need to set a filesystem label on /boot and use that for the
    archisolabel argument.

    Just what I needed. Thanks Neil

    --
    Regards,
    Peter.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)