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
2bc72ff3
Commit
2bc72ff3
authored
9 years ago
by
Moritz Holtz
Browse files
Options
Downloads
Patches
Plain Diff
made grub cpuid secure-boot safe
parent
728294d5
No related branches found
No related tags found
2 merge requests
!2
Ss16
,
!1
WIP: Ws16
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
grub/grub.cfg
+13
-5
13 additions, 5 deletions
grub/grub.cfg
with
13 additions
and
5 deletions
grub/grub.cfg
+
13
−
5
View file @
2bc72ff3
...
@@ -26,6 +26,9 @@ function set32 {
...
@@ -26,6 +26,9 @@ function set32 {
function
guesscpu
{
function
guesscpu
{
if
insmod
cpuid
then
echo
"cpuid
funktioniert,
lasst
uns
die
Architektur
überprüfen!"
if
cpuid
-l
if
cpuid
-l
then
then
echo
"Dein
System
scheint
ein
64-bit
System
zu
sein."
echo
"Dein
System
scheint
ein
64-bit
System
zu
sein."
...
@@ -34,6 +37,11 @@ function guesscpu {
...
@@ -34,6 +37,11 @@ function guesscpu {
echo
"Dein
System
scheint
ein
32-bit
System
zu
sein."
echo
"Dein
System
scheint
ein
32-bit
System
zu
sein."
set32
set32
fi
fi
else
echo
"cpuid
kann
nicht
geladen
werden,
wahrscheinlich
ist
Secure
Boot
an."
echo
"Das
System
ist
dann
wahrscheinlich
ein
64-bit
System."
set64
fi
echo
"Die
weiseste
Wahl
sollte
$bits
bits
mit
$iso
und
$isoinitrd
zu
sein"
echo
"Die
weiseste
Wahl
sollte
$bits
bits
mit
$iso
und
$isoinitrd
zu
sein"
echo
echo
}
}
...
...
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