- Bearbeitet
sudo cat /boot/grub/grub.cfg
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#
### BEGIN /etc/grub.d/00_header ###
insmod part_gpt
insmod part_msdos
if [ -s $prefix/grubenv ]; then
load_env
fi
if [ "${next_entry}" ] ; then
set default="${next_entry}"
set next_entry=
save_env next_entry
set boot_once=true
else
set default="0"
fi
if [ x"${feature_menuentry_id}" = xy ]; then
menuentry_id_option="--id"
else
menuentry_id_option=""
fi
export menuentry_id_option
if [ "${prev_saved_entry}" ]; then
set saved_entry="${prev_saved_entry}"
save_env saved_entry
set prev_saved_entry=
save_env prev_saved_entry
set boot_once=true
fi
function savedefault {
if [ -z "${boot_once}" ]; then
saved_entry="${chosen}"
save_env saved_entry
fi
}
function load_video {
if [ x$feature_all_video_module = xy ]; then
insmod all_video
else
insmod efi_gop
insmod efi_uga
insmod ieee1275_fb
insmod vbe
insmod vga
insmod video_bochs
insmod video_cirrus
fi
}
if [ x$feature_default_font_path = xy ] ; then
font=unicode
else
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 71d8e9de-d37d-47c4-a003-56b959b00e9c
else
search --no-floppy --fs-uuid --set=root 71d8e9de-d37d-47c4-a003-56b959b00e9c
fi
font="/usr/share/grub/unicode.pf2"
fi
if loadfont $font ; then
set gfxmode=1600x900
load_video
insmod gfxterm
set locale_dir=$prefix/locale
set lang=de_DE
insmod gettext
fi
terminal_input console
terminal_output gfxterm
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 71d8e9de-d37d-47c4-a003-56b959b00e9c
else
search --no-floppy --fs-uuid --set=root 71d8e9de-d37d-47c4-a003-56b959b00e9c
fi
insmod gfxmenu
loadfont ($root)/boot/grub/themes/catppuccin/font.pf2
insmod png
set theme=($root)/boot/grub/themes/catppuccin/theme.txt
export theme
if [ x$feature_timeout_style = xy ] ; then
set timeout_style=menu
set timeout=3
# Fallback normal timeout code in case the timeout_style feature is
# unavailable.
else
set timeout=3
fi
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/10_linux ###
menuentry 'Arch Linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-71d8e9de-d37d-47c4-a003-56b959b00e9c' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 71d8e9de-d37d-47c4-a003-56b959b00e9c
else
search --no-floppy --fs-uuid --set=root 71d8e9de-d37d-47c4-a003-56b959b00e9c
fi
echo 'Linux linux-lts wird geladen …'
linux /boot/vmlinuz-linux-lts root=UUID=71d8e9de-d37d-47c4-a003-56b959b00e9c rw loglevel=3 quiet
echo 'Initiale Ramdisk wird geladen …'
initrd /boot/intel-ucode.img /boot/initramfs-linux-lts.img
}
submenu 'Erweiterte Optionen für Arch Linux' $menuentry_id_option 'gnulinux-advanced-71d8e9de-d37d-47c4-a003-56b959b00e9c' {
menuentry 'Arch Linux, mit Linux linux-lts' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-lts-advanced-71d8e9de-d37d-47c4-a003-56b959b00e9c' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 71d8e9de-d37d-47c4-a003-56b959b00e9c
else
search --no-floppy --fs-uuid --set=root 71d8e9de-d37d-47c4-a003-56b959b00e9c
fi
echo 'Linux linux-lts wird geladen …'
linux /boot/vmlinuz-linux-lts root=UUID=71d8e9de-d37d-47c4-a003-56b959b00e9c rw loglevel=3 quiet
echo 'Initiale Ramdisk wird geladen …'
initrd /boot/intel-ucode.img /boot/initramfs-linux-lts.img
}
menuentry 'Arch Linux, with Linux linux-lts (fallback initramfs)' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-lts-fallback-71d8e9de-d37d-47c4-a003-56b959b00e9c' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 71d8e9de-d37d-47c4-a003-56b959b00e9c
else
search --no-floppy --fs-uuid --set=root 71d8e9de-d37d-47c4-a003-56b959b00e9c
fi
echo 'Linux linux-lts wird geladen …'
linux /boot/vmlinuz-linux-lts root=UUID=71d8e9de-d37d-47c4-a003-56b959b00e9c rw loglevel=3 quiet
echo 'Initiale Ramdisk wird geladen …'
initrd /boot/intel-ucode.img /boot/initramfs-linux-lts-fallback.img
}
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###
### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###
### BEGIN /etc/grub.d/30_uefi-firmware ###
if [ "$grub_platform" = "efi" ]; then
fwsetup --is-supported
if [ "$?" = 0 ]; then
menuentry 'UEFI Firmware Settings' $menuentry_id_option 'uefi-firmware' {
fwsetup
}
fi
fi
### END /etc/grub.d/30_uefi-firmware ###
### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###
### BEGIN /etc/grub.d/41_custom ###
if [ -f ${config_directory}/custom.cfg ]; then
source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
source $prefix/custom.cfg
fi
### END /etc/grub.d/41_custom ###
cat /etc/default/grub
1 │ # GRUB boot loader configuration
2 │
3 │ GRUB_DEFAULT=0
4 │ GRUB_TIMEOUT=3
5 │ GRUB_DISTRIBUTOR="Arch"
6 │ GRUB_CMDLINE_LINUX_DEFAULT="loglevel=3 quiet"
7 │ # GRUB_CMDLINE_LINUX_DEFAULT="nomodeset"
8 │ GRUB_CMDLINE_LINUX=""
9 │
10 │ # Preload both GPT and MBR modules so that they are not missed
11 │ GRUB_PRELOAD_MODULES="part_gpt part_msdos"
12 │
13 │ # Uncomment to enable booting from LUKS encrypted devices
14 │ #GRUB_ENABLE_CRYPTODISK=y
15 │
16 │ # Set to 'countdown' or 'hidden' to change timeout behavior,
17 │ # press ESC key to display menu.
18 │ GRUB_TIMEOUT_STYLE=menu
19 │
20 │ # Uncomment to use basic console
21 │ GRUB_TERMINAL_INPUT=console
22 │
23 │ # Uncomment to disable graphical terminal
24 │ #GRUB_TERMINAL_OUTPUT=console
25 │
26 │ # The resolution used on graphical terminal
27 │ # note that you can use only modes which your graphic card supports via
│ VBE
28 │ # you can see them in real GRUB with the command `videoinfo'
29 │ GRUB_GFXMODE=auto
30 │
31 │ # Uncomment to allow the kernel use the same resolution used by grub
32 │ GRUB_GFXPAYLOAD_LINUX=keep
33 │
34 │ # Uncomment if you want GRUB to pass to the Linux kernel the old parame
│ ter
35 │ # format "root=/dev/xxx" instead of "root=/dev/disk/by-uuid/xxx"
36 │ #GRUB_DISABLE_LINUX_UUID=true
sudo lsblk -o NAME,MOUNTPOINT,FSTYPE,UUID,PARTUUID
NAME MOUNTPOINT FSTYPE UUID PARTUUID
sda
└─sda1
/ ext4 71d8e9de-d37d-47c4-a003-56b959b00e9c c7bd56d9-01
sr0 `
**cat /proc/cmdline**
`File: /proc/cmdline
1 │ BOOT_IMAGE=/boot/vmlinuz-linux-lts root=UUID=71d8e9de-d37d-47c4-a003-56
│ b959b00e9c rw loglevel=3 quiet
cat /etc/fstab
File: /etc/fstab
1 │ # /dev/sda1 UUID=71d8e9de-d37d-47c4-a003-56b959b00e9c
2 │ LABEL=ROOT / ext4 rw,relatime 0 1
3 │
sudo: efibootmgr: Befehl nicht gefunden