Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
grub
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
certo
grub
Commits
5af77d8c
Commit
5af77d8c
authored
Mar 19, 2019
by
Vladimir Bashkirtsev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Initial commit
parents
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
67 additions
and
0 deletions
+67
-0
Makefile
Makefile
+55
-0
grub-2.02.tar.xz
grub-2.02.tar.xz
+0
-0
grub.kvm64.groups
grub.kvm64.groups
+12
-0
No files found.
Makefile
0 → 100644
View file @
5af77d8c
kvm64
:
grub.bios
e2-6110
:
grub.efi
i3-540
:
grub.efi
i5-3317u
:
grub.efi
i5-8500
:
grub.efi
i7-2600
:
grub.efi
xeon-5130
:
grub.efi
xeon-e5620
:
grub.efi
xeon-x5650
:
grub.efi
xeon-e3-1271
:
grub.efi
grub.bios
:
grub-config
tar
xf grub-2.02.tar.xz
cd
grub-2.02
&&
./configure
--prefix
=
/usr
--sbindir
=
/sbin
--sysconfdir
=
/etc
--disable-efiemu
--disable-werror
$(MAKE)
-C
grub-2.02
$(MAKE)
-C
grub-2.02
install
rm
/etc/bash_completion.d/grub
mkdir
-p
/boot/grub
mkfs
-t
vfat
-n
GRUB /dev/
$(DISK)
1
sed
-i
"/
\/
dev
\/
root/a
\/
dev
\/
disk
\/
by-label
\/
GRUB
\/
boot/grub vfat defaults,sync,auto 0 0"
/etc/fstab
mount /dev/
$(DISK)
1 /boot/grub
grub-install /dev/
$(DISK)
@
echo
"
$$
GRUB_CONFIG"
>
/boot/grub/grub.cfg
umount /dev/
$(DISK)
1
rm
-rf
grub-2.02
grub.efi
:
grub-config
tar
xf grub-2.02.tar.xz
cd
grub-2.02
&&
./configure
--prefix
=
/usr
--sbindir
=
/sbin
--sysconfdir
=
/etc
--with-platform
=
efi
--disable-werror
$(MAKE)
-C
grub-2.02
$(MAKE)
-C
grub-2.02
install
rm
/etc/bash_completion.d/grub
mkdir
-p
/boot/efi
mkfs
-t
vfat
-n
EFIBOOT /dev/
$(DISK)
1
sed
-i
"/
\/
dev
\/
root/a
\/
dev
\/
disk
\/
by-label
\/
EFIBOOT
\/
boot/efi vfat defaults,sync,auto 0 0"
/etc/fstab
mount /dev/
$(DISK)
1 /boot/efi
mkdir
-p
/boot/efi/EFI/BOOT
grub-mkimage
-p
/efi/boot
-o
/boot/efi/EFI/BOOT/bootx64.efi
-O
x86_64-efi part_gpt fat ext2 normal linux efi_gop
@
echo
"
$$
GRUB_CONFIG"
>
/boot/efi/EFI/BOOT/grub.cfg
umount /dev/
$(DISK)
1
rm
-rf
grub-2.02
grub-config
:
define
GRUB_CONFIG
# Begin /boot/grub/grub.cfg
set
default
=
0
set
timeout
=
5
insmod
ext2
set
root
=(
hd0,2
)
linux
/boot/zImage
console
=
tty1
root
=
/dev/disk/by-label/CLFS
rootfstype
=
ext4
rootflags
=
discard rw rootwait
elevator
=
noop quiet
loglevel
=
3 systemd.show_status
=
1 net.ifnames
=
0
boot
endef
export
GRUB_CONFIG
grub-2.02.tar.xz
0 → 100644
View file @
5af77d8c
File added
grub.kvm64.groups
0 → 100644
View file @
5af77d8c
bin
/sbin/.*
/usr/bin/.*
/usr/share/grub/.*
locale
/usr/share/locale/.*
info
/usr/share/info/.*
lib
/usr/lib/.*
etc
/etc/.*
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment