Skip to content
Snippets Groups Projects
Commit f05d24b0 authored by Gustav Geier's avatar Gustav Geier
Browse files

Added .gitignore, updated grub.cfg with new configuration

parent e3809613
No related branches found
No related tags found
No related merge requests found
.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 { function set64 {
set iso=${iso64}
set bits="64" set bits="64"
set altbits="32" set altbits="32"
} }
function set32 { function set32 {
set iso=${iso32}
set bits="32" set bits="32"
set altbits="64" set altbits="64"
} }
function guesscpu { function guesscpu {
if cpuid -l if cpuid -l
then then
...@@ -39,65 +47,105 @@ else ...@@ -39,65 +47,105 @@ else
fi fi
fi fi
# Set up a loop device and start a Debian style Casper Live CD from it. set gfxpayload=keep
function LoadCasperLoop {
if test -z "${isodev}" # Start a Debian style Casper Kernel
then function LoadCasper {
search -f -s isodev /${iso} echo "Loading kernel${bits} (takes up to 2 minutes)"
echo "Found ${iso} on (${isodev})" linux /casper/vmlinuz${bits} boot=casper file=/cdrom/preseed/kbuntu.seed ${localeinfo} unionstack=lipcommon.squashfs:lip${bits}.squashfs nosplash verbose --
echo "" echo "Loading initrd${bits} (takes up to 5 minutes)"
fi initrd /casper/initrd${bits}.lz
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
echo "Starting kernel" 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" 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="" set localeinfo=""
LoadCasperLoop LoadCasper
} }
menuentry "========================= Helfermenu ===============================" { menuentry "========================= Helfermenu ===============================" {
echo "hier ist nichts" echo "hier ist nichts"
} }
menuentry "Ubuntu 12.04 AMD64 LIP WS1213 Custom" { #menuentry "Helfermenu. Nur Nach Ruecksprache mit einem Install-Helfer benutzen." {
set iso=${iso64} # export bits
set localeinfo="" # set autobits=${bits}
LoadCasperLoop # 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" { menuentry "Tool: Check ${bits}bit install medium for defects" {
set iso=${iso64} set localeinfo="integrity-check"
set localeinfo="debian-installer/locale=de_DE console-setup/layoutcode=de" LoadCasper
LoadCasperLoop
} }
menuentry "Ubuntu 12.04 i386 LIP WS1213 Custom" { menuentry "Tool: 32bit GParted Live CD (laeuft im RAM -> mindestens 224MB)" {
set iso=${iso32} # Hint: remove "toram=..." to make it work with 128mb ram
set localeinfo="" loopback loop ($root)/gparted-live-0.18.0-1-i486.iso
LoadCasperLoop 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" { menuentry "Tool: 64bit GParted Live CD (laeuft im RAM -> mindestens 224MB)" {
set iso=${iso32} # Hint: remove "toram=..." to make it work with 128mb ram
set localeinfo="debian-installer/locale=de_DE console-setup/layoutcode=de" loopback loop ($root)/gparted-live-0.18.0-1-amd64.iso
LoadCasperLoop 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 "Tool: Memtest86+" {
loopback loop ($root)/gparted-live-0.18.0-1-i486.iso
echo "Loading memtest"
linux16 (loop)/live/memtest
echo "Starting Memtest86Plus"
} }
menuentry "EFI-Shell" { 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 chainloader /EFI/shell/Shell.efi
} }
menuentry "Tool: System-Firmware" {
echo "Entering Firmware"
fwsetup
}
#end;
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment