瀏覽代碼

Testing out SteamOS

Antony Messerli 9 年之前
父節點
當前提交
f8f6e73fcb
共有 2 個文件被更改,包括 32 次插入0 次删除
  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 opensuse ${space} openSUSE
 item scientific ${space} Scientific
 item scientific ${space} Scientific
 item slackware ${space} Slackware
 item slackware ${space} Slackware
+item steamos ${space} SteamOS
 item ubuntu ${space} Ubuntu
 item ubuntu ${space} Ubuntu
 item tinycore ${space} TinyCoreLinux
 item tinycore ${space} TinyCoreLinux
 # Options
 # Options
@@ -66,3 +67,7 @@ goto linux_menu
 :slackware
 :slackware
 chain slackware.ipxe
 chain slackware.ipxe
 goto linux_menu
 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