Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
lipstick
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
osak
lipstick
Commits
f05d24b0
Commit
f05d24b0
authored
11 years ago
by
Gustav Geier
Browse files
Options
Downloads
Patches
Plain Diff
Added .gitignore, updated grub.cfg with new configuration
parent
e3809613
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitignore
+2
-0
2 additions, 0 deletions
.gitignore
grub/grub.cfg
+92
-44
92 additions, 44 deletions
grub/grub.cfg
with
94 additions
and
44 deletions
.gitignore
0 → 100644
+
2
−
0
View file @
f05d24b0
.filesystems
*.lz
This diff is collapsed.
Click to expand it.
grub/grub.cfg
+
92
−
44
View file @
f05d24b0
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
1
2.04
LTS
${bits}bit
(deutsch)"
{
menuentry
"Empfohlen:
Ubuntu
1
3.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"
LoadCasper
Loop
LoadCasper
}
}
menuentry
"Empfohlen:
Ubuntu
1
2.04
LTS
${bits}bit
(english)"
{
menuentry
"Empfohlen:
Ubuntu
1
3.10
${bits}bit
(english)"
{
set
localeinfo
=
""
set
localeinfo
=
""
LoadCasper
Loop
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;
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment