Bläddra i källkod

Testing out SteamOS

Antony Messerli 9 år sedan
förälder
incheckning
f8f6e73fcb
2 ändrade filer med 32 tillägg och 0 borttagningar
  1. 5 0
      src/linux.ipxe
  2. 27 0
      src/steamos.ipxe

+ 5 - 0
src/linux.ipxe

@@ -15,6 +15,7 @@ item gentoo ${space} Gentoo
 item opensuse ${space} openSUSE
 item scientific ${space} Scientific
 item slackware ${space} Slackware
+item steamos ${space} SteamOS
 item ubuntu ${space} Ubuntu
 item tinycore ${space} TinyCoreLinux
 # Options
@@ -66,3 +67,7 @@ goto linux_menu
 :slackware
 chain slackware.ipxe
 goto linux_menu
+
+:steamos
+chain steamos.ipxe
+goto linux_menu

+ 27 - 0
src/steamos.ipxe

@@ -0,0 +1,27 @@
+#!ipxe
+
+# SteamOS
+# http://store.steampowered.com/
+
+goto ${menu}
+
+:steamos
+set os steamos
+
+menu SteamOS ${arch_a}
+item brewmaster SteamOS brewmaster
+item alchemist SteamOS alchemist
+choose version || goto steamos_exit
+goto steamos_boot
+
+:steamos_boot
+imgfree
+set mirror repo.steampowered.com
+set dir steamos/dists/${version}/main/installer-amd64/current/images/netboot/debian-installer/amd64
+kernel http://${mirror}/${dir}/linux vga=788 
+initrd http://${mirror}/${dir}/initrd.gz
+boot
+
+:steamos_exit
+clear menu
+chain linux.ipxe