A way to install Alpine Linux on a Scaleway Stardust instance without the use of a rescue image, but by booting into the install image over the network using https://netboot.xyz.
-
Connect to the serial console, using
scw instance server console {uuid} zone={zone}
-
Reboot the VM into UEFI settings
-
Go to
Device Manager
->Network Device List
-> the only network device ->HTTP Boot Configuration
->Boot URI
-
Enter the value
http://boot.netboot.xyz/ipxe/netboot.xyz.efi
-
Save it and go back to the main page (you might need to press
Esc
twice to go up once) -
Enter the
Boot Manager
and select the newly-added boot option -
Wait for netboot.xyz to launch
-
Once in the netboot.xyz interface, go to
Utilities (UEFI)
->Kernel cmdline params
and enterconsole=ttyS0
this will not only allow you to see and interact with the installer over the serial port, butsetup-alpine
will detect it and configure the installed system to also use the serial console -
Now you can back out, select
Linux Network Installs (64-bit)
->Alpine Linux
and enjoy the rest of the installation process
EDIT: This is applicable only if the default storage is a block storage and not a local storage.
For some reason alpine linux can't write in the first 4MB of the sectors of the disk so I had to:
Change this line after
setup_partitions()
:To: