Comment on How to Run Custom Linux Images on Oracle Free Tier

<- View Parent
InnerScientist@lemmy.world ⁨1⁩ ⁨day⁩ ago

Yeah I tried just now and it diesn’t seem to be working (anymore?) could’ve sworn that worked.

You can still kexec the installiers directly, I followed the netboot.xyz scripts and got the links they use. Here’s Debian as an example:

From the scripts: deb.debian.org/debian/dists/…/netboot/ looking at the boot config debian-installer/amd64/grub/grub.cfg

submenu '... KDE Plasma desktop boot menu ...' {
    set gfxpayload=keep
    menuentry '... Install' {
        set background_color=black
        linux    /debian-installer/amd64/linux desktop=kde vga=788 --- quiet
        initrd   /debian-installer/amd64/initrd.gz

so we need to download those two files and take the netboot.xyz cmdline arguments then

$ kexec --command-line="desktop=kde vga=788 mirror/suite=Debian13.2 initrd=initrd.magic console=ttyS0,115200n8"  --initrd=initrd.gz -l linux´
$ systemctl kexec

and it boots.

also here’s an example for the nixos netboot commands, more on that in the nixos manual:

$ kexec --load ${SCRIPT_DIR}/bzImage \
  --initrd=${SCRIPT_DIR}/initrd.gz \
  --command-line "init=/nix/store/n37nmcvbrblk9ahfzj9nxy01axs7zsf6-nixos-system-nixos-kexec-25.11pre-git/init nohibernate loglevel=4 lsm=landlock,yama,bpf"
$ systemctl kexec

source
Sort:hotnewtop