Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [12:20:55][whoami--> ~]$sudo cat /boot/grub/grub.cfg
- Password:
- #
- # 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
- set default="${saved_entry}"
- 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
- }
- set menu_color_normal=light-blue/black
- set menu_color_highlight=light-cyan/blue
- 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 513b735c-dac1-432f-9857-16ba9fc11856
- else
- search --no-floppy --fs-uuid --set=root 513b735c-dac1-432f-9857-16ba9fc11856
- fi
- font="/usr/share/grub/unicode.pf2"
- fi
- if loadfont $font ; then
- set gfxmode=auto
- load_video
- insmod gfxterm
- set locale_dir=$prefix/locale
- set lang=it_IT
- 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 513b735c-dac1-432f-9857-16ba9fc11856
- else
- search --no-floppy --fs-uuid --set=root 513b735c-dac1-432f-9857-16ba9fc11856
- fi
- insmod gfxmenu
- loadfont ($root)/usr/share/grub/themes/starfield/dejavu_10.pf2
- loadfont ($root)/usr/share/grub/themes/starfield/dejavu_12.pf2
- loadfont ($root)/usr/share/grub/themes/starfield/dejavu_14.pf2
- loadfont ($root)/usr/share/grub/themes/starfield/dejavu_16.pf2
- loadfont ($root)/usr/share/grub/themes/starfield/dejavu_bold_14.pf2
- insmod png
- set theme=($root)/usr/share/grub/themes/starfield/theme.txt
- export theme
- set timeout=5
- ### END /etc/grub.d/00_header ###
- ### BEGIN /etc/grub.d/10_linux ###
- menuentry 'Chakra Linux' --class chakra --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-513b735c-dac1-432f-9857-16ba9fc11856' {
- savedefault
- 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 513b735c-dac1-432f-9857-16ba9fc11856
- else
- search --no-floppy --fs-uuid --set=root 513b735c-dac1-432f-9857-16ba9fc11856
- fi
- echo 'Caricamento Linux pf...'
- linux /boot/vmlinuz-linux-pf root=UUID=513b735c-dac1-432f-9857-16ba9fc11856 ro rw resume=/dev/sda2 elevator=bfq
- echo 'Caricamento ramdisk iniziale...'
- initrd /boot/initramfs-linux-pf.img
- }
- submenu 'Opzioni avanzate per Chakra Linux' $menuentry_id_option 'gnulinux-advanced-513b735c-dac1-432f-9857-16ba9fc11856' {
- menuentry 'Chakra Linux, con Linux pf' --class chakra --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-pf-advanced-513b735c-dac1-432f-9857-16ba9fc11856' {
- savedefault
- 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 513b735c-dac1-432f-9857-16ba9fc11856
- else
- search --no-floppy --fs-uuid --set=root 513b735c-dac1-432f-9857-16ba9fc11856
- fi
- echo 'Caricamento Linux pf...'
- linux /boot/vmlinuz-linux-pf root=UUID=513b735c-dac1-432f-9857-16ba9fc11856 ro rw resume=/dev/sda2 elevator=bfq
- echo 'Caricamento ramdisk iniziale...'
- initrd /boot/initramfs-linux-pf.img
- }
- menuentry 'Chakra Linux, con Linux pf (modalità ripristino)' --class chakra --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-pf-recovery-513b735c-dac1-432f-9857-16ba9fc11856' {
- 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 513b735c-dac1-432f-9857-16ba9fc11856
- else
- search --no-floppy --fs-uuid --set=root 513b735c-dac1-432f-9857-16ba9fc11856
- fi
- echo 'Caricamento Linux pf...'
- linux /boot/vmlinuz-linux-pf root=UUID=513b735c-dac1-432f-9857-16ba9fc11856 ro single
- echo 'Caricamento ramdisk iniziale...'
- initrd /boot/initramfs-linux-pf.img
- }
- menuentry 'Chakra Linux, con Linux ck' --class chakra --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-ck-advanced-513b735c-dac1-432f-9857-16ba9fc11856' {
- savedefault
- 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 513b735c-dac1-432f-9857-16ba9fc11856
- else
- search --no-floppy --fs-uuid --set=root 513b735c-dac1-432f-9857-16ba9fc11856
- fi
- echo 'Caricamento Linux ck...'
- linux /boot/vmlinuz-linux-ck root=UUID=513b735c-dac1-432f-9857-16ba9fc11856 ro rw resume=/dev/sda2 elevator=bfq
- echo 'Caricamento ramdisk iniziale...'
- initrd /boot/initramfs-linux-ck.img
- }
- menuentry 'Chakra Linux, con Linux ck (modalità ripristino)' --class chakra --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-ck-recovery-513b735c-dac1-432f-9857-16ba9fc11856' {
- 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 513b735c-dac1-432f-9857-16ba9fc11856
- else
- search --no-floppy --fs-uuid --set=root 513b735c-dac1-432f-9857-16ba9fc11856
- fi
- echo 'Caricamento Linux ck...'
- linux /boot/vmlinuz-linux-ck root=UUID=513b735c-dac1-432f-9857-16ba9fc11856 ro single
- echo 'Caricamento ramdisk iniziale...'
- initrd /boot/initramfs-linux-ck.img
- }
- menuentry 'Chakra Linux, con Linux linux' --class chakra --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-advanced-513b735c-dac1-432f-9857-16ba9fc11856' {
- savedefault
- 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 513b735c-dac1-432f-9857-16ba9fc11856
- else
- search --no-floppy --fs-uuid --set=root 513b735c-dac1-432f-9857-16ba9fc11856
- fi
- echo 'Caricamento Linux linux...'
- linux /boot/vmlinuz-linux root=UUID=513b735c-dac1-432f-9857-16ba9fc11856 ro rw resume=/dev/sda2 elevator=bfq
- echo 'Caricamento ramdisk iniziale...'
- initrd /boot/initramfs-linux.img
- }
- menuentry 'Chakra Linux, con Linux linux (modalità ripristino)' --class chakra --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-recovery-513b735c-dac1-432f-9857-16ba9fc11856' {
- 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 513b735c-dac1-432f-9857-16ba9fc11856
- else
- search --no-floppy --fs-uuid --set=root 513b735c-dac1-432f-9857-16ba9fc11856
- fi
- echo 'Caricamento Linux linux...'
- linux /boot/vmlinuz-linux root=UUID=513b735c-dac1-432f-9857-16ba9fc11856 ro single
- echo 'Caricamento ramdisk iniziale...'
- initrd /boot/initramfs-linux.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/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 ###
- ---------------------------------------------------------------------------------------------------
- [14:06:01][whoami--> ~]$cat /etc/default/grub
- GRUB_DEFAULT=saved
- GRUB_TIMEOUT=5
- GRUB_DISTRIBUTOR="Chakra"
- GRUB_CMDLINE_LINUX_DEFAULT="rw resume=/dev/sda2 elevator=bfq"
- GRUB_CMDLINE_LINUX=""
- # If you want to enable the save default function, uncomment the following
- # line, and set GRUB_DEFAULT to saved.
- GRUB_SAVEDEFAULT=true
- # Preload both GPT and MBR modules so that they are not missed
- GRUB_PRELOAD_MODULES="part_gpt part_msdos"
- # Uncomment to enable Hidden Menu, and optionally hide the timeout count
- #GRUB_HIDDEN_TIMEOUT=5
- #GRUB_HIDDEN_TIMEOUT_QUIET=true
- # Uncomment to use basic console
- GRUB_TERMINAL_INPUT=console
- # Uncomment to disable graphical terminal
- #GRUB_TERMINAL_OUTPUT=console
- # The resolution used on graphical terminal
- # note that you can use only modes which your graphic card supports via VBE
- # you can see them in real GRUB with the command `vbeinfo'
- #GRUB_GFXMODE=640x480
- # Uncomment to allow the kernel use the same resolution used by grub
- GRUB_GFXPAYLOAD_LINUX=keep
- # Uncomment if you want GRUB to pass to the Linux kernel the old parameter
- # format "root=/dev/xxx" instead of "root=/dev/disk/by-uuid/xxx"
- #GRUB_DISABLE_LINUX_UUID=true
- # Uncomment to disable generation of recovery mode menu entries
- #GRUB_DISABLE_RECOVERY=true
- # Uncomment and set to the desired menu colors. Used by normal and wallpaper
- # modes only. Entries specified as foreground/background.
- GRUB_COLOR_NORMAL="light-blue/black"
- GRUB_COLOR_HIGHLIGHT="light-cyan/blue"
- # Uncomment one of them for the gfx desired, a image background or a gfxtheme
- #GRUB_BACKGROUND="/path/to/wallpaper"
- GRUB_THEME="/usr/share/grub/themes/starfield/theme.txt"
- # Uncomment to get a beep at GRUB start
- #GRUB_INIT_TUNE="480 440 1"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement