Commit f05d24b0 authored by Gustav Geier's avatar Gustav Geier

Added .gitignore, updated grub.cfg with new configuration

parent e3809613
.filesystems
*.lz
set iso32="lipws1213-i386.iso"
set iso64="lipws1213-amd64.iso"
if loadfont /boot/grub/font.pf2 ; then
set gfxmode=auto
insmod efi_gop
insmod efi_uga
insmod gfxterm
terminal_output gfxterm
fi
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
function set64 {
set iso=${iso64}
set bits="64"
set altbits="32"
}
function set32 {
set iso=${iso32}
set bits="32"
set altbits="64"
}
function guesscpu {
if cpuid -l
then
......@@ -39,65 +47,105 @@ else
fi
fi
# Set up a loop device and start a Debian style Casper Live CD from it.
function LoadCasperLoop {
if test -z "${isodev}"
then
search -f -s isodev /${iso}
echo "Found ${iso} on (${isodev})"
echo ""
fi
loopback loop (${isodev})/${iso}
echo "Loading kernel (takes up to 2 minutes)"
echo ""
echo "Hint: You may need to mount the USB stick on /isodevice by hand !"
echo " Or you may need to run this:"
echo " . /scripts/casper-helpers"
echo " find_cow_device ${iso}"
linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=/$iso file=/cdrom/preseed/ubuntu.seed ${localeinfo} nosplash verbose --
echo "Loading initrd from iso (takes up to 5 minutes)"
initrd (loop)/casper/initrd.lz
set gfxpayload=keep
# Start a Debian style Casper Kernel
function LoadCasper {
echo "Loading kernel${bits} (takes up to 2 minutes)"
linux /casper/vmlinuz${bits} boot=casper file=/cdrom/preseed/kbuntu.seed ${localeinfo} unionstack=lipcommon.squashfs:lip${bits}.squashfs nosplash verbose --
echo "Loading initrd${bits} (takes up to 5 minutes)"
initrd /casper/initrd${bits}.lz
echo "Starting kernel"
}
menuentry "Empfohlen: Ubuntu 12.04 LTS ${bits}bit (deutsch)" {
menuentry "Empfohlen: Ubuntu 13.10 ${bits}bit (deutsch)" {
set localeinfo="debian-installer/locale=de_DE console-setup/layoutcode=de"
LoadCasperLoop
LoadCasper
}
menuentry "Empfohlen: Ubuntu 12.04 LTS ${bits}bit (english)" {
menuentry "Empfohlen: Ubuntu 13.10 ${bits}bit (english)" {
set localeinfo=""
LoadCasperLoop
LoadCasper
}
menuentry "========================= Helfermenu ===============================" {
echo "hier ist nichts"
}
menuentry "Ubuntu 12.04 AMD64 LIP WS1213 Custom" {
set iso=${iso64}
set localeinfo=""
LoadCasperLoop
#menuentry "Helfermenu. Nur Nach Ruecksprache mit einem Install-Helfer benutzen." {
# export bits
# set autobits=${bits}
# export autobits
# configfile (${root})/boot/grub/helfer.cfg
#}
menuentry "Toggle 32/64 bits" {
set tmp cbit=${bits}
set bits=${altbits}
set altbits=${cbit}
export bits
configfile ($root)/grub/grub.cfg
}
menuentry "Ubuntu 12.04 AMD64 LIP WS1213 Custom DE" {
set iso=${iso64}
set localeinfo="debian-installer/locale=de_DE console-setup/layoutcode=de"
LoadCasperLoop
menuentry "Tool: Check ${bits}bit install medium for defects" {
set localeinfo="integrity-check"
LoadCasper
}
menuentry "Ubuntu 12.04 i386 LIP WS1213 Custom" {
set iso=${iso32}
set localeinfo=""
LoadCasperLoop
menuentry "Tool: 32bit GParted Live CD (laeuft im RAM -> mindestens 224MB)" {
# Hint: remove "toram=..." to make it work with 128mb ram
loopback loop ($root)/gparted-live-0.18.0-1-i486.iso
echo "Loading 32 bit GParted kernel (takes up to 2 minutes)"
linux (loop)/live/vmlinuz boot=live config noswap noprompt nosplash findiso=/gparted-live-0.18.0-1-i486.iso toram=filesystem.squashfs
echo "Loading initrd from iso (takes up to 5 minutes)"
initrd (loop)/live/initrd.img
echo "Starting 32 bit GParted kernel"
}
menuentry "Ubuntu 12.04 i386 LIP WS1213 Custom DE" {
set iso=${iso32}
set localeinfo="debian-installer/locale=de_DE console-setup/layoutcode=de"
LoadCasperLoop
menuentry "Tool: 64bit GParted Live CD (laeuft im RAM -> mindestens 224MB)" {
# Hint: remove "toram=..." to make it work with 128mb ram
loopback loop ($root)/gparted-live-0.18.0-1-amd64.iso
echo "Loading 64 bit GParted kernel (takes up to 2 minutes)"
linux (loop)/live/vmlinuz boot=live config noswap noprompt nosplash findiso=gparted-live-0.18.0-1-amd64.iso toram=filesystem.squashfs
echo "Loading initrd from iso (takes up to 5 minutes)"
initrd (loop)/live/initrd.img
echo "Starting 64 bit GParted kernel"
}
menuentry "Ubuntu 13.10 ${bits}bit (deutsch, failsafe)" {
set localeinfo="debian-installer/locale=de_DE console-setup/layoutcode=de nomodeset noplymouth nosplash verbose text noacpi"
LoadCasper
}
menuentry "Ubuntu 13.10 ${bits}bit (english, failsave)" {
set localeinfo="nomodeset noplymouth nosplash verbose text noacpi"
LoadCasper
}
menuentry "EFI-Shell" {
chainloader /EFI/shell/Shell.efi
menuentry "Tool: Memtest86+" {
loopback loop ($root)/gparted-live-0.18.0-1-i486.iso
echo "Loading memtest"
linux16 (loop)/live/memtest
echo "Starting Memtest86Plus"
}
menuentry "Tool: FreeDOS (nicht mit EFI)" {
echo "Loading memdisk"
linux16 /FreeDOS/memdisk
echo "Loading FreeDOS"
initrd16 /FreeDOS/freedos144.img
echo "Starting FreeDOS"
}
menuentry "Tool: EFI-Shell" {
echo "Loading EFI-Shell"
chainloader /EFI/shell/Shell.efi
}
menuentry "Tool: System-Firmware" {
echo "Entering Firmware"
fwsetup
}
#end;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment