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
db13c698
Commit
db13c698
authored
9 years ago
by
Moritz Holtz
Committed by
osak buildhauer user
8 years ago
Browse files
Options
Downloads
Patches
Plain Diff
made grub cpuid secure-boot safe
parent
b2175a69
No related branches found
No related tags found
1 merge request
!3
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 @
db13c698
...
...
@@ -26,6 +26,9 @@ function set32 {
function
guesscpu
{
if
insmod
cpuid
then
echo
"cpuid
funktioniert,
lasst
uns
die
Architektur
überprüfen!"
if
cpuid
-l
then
echo
"Dein
System
scheint
ein
64-bit
System
zu
sein."
...
...
@@ -34,6 +37,11 @@ function guesscpu {
echo
"Dein
System
scheint
ein
32-bit
System
zu
sein."
set32
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
}
...
...
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