Hello!
First again thank you for helping me with a similar thread ( https://www.kubuntuforums.net/showth...oot-info-both& ), on forunatelly the help on that thread somehow doesnt work for the current problem i have, even though i thought it should. Let me explain my problem.
I made three partitions (ok four is i also count swap area) on my hard drive. One is kde4 btrfs partition, one is plasma 5 btrfs partition and the rest is my data (disk) btrfs partition.
sudo blkid reveals this:
i wanted to do the same thing as i did with my previous disk partitions - and what the previous thread has helped me with, but this time i dont know why it doesnt work. First i installed kde4, and then plasma5. When i installed plasma5 i remembered i forgot to create already a menu entry in kde4, so (after i made them menu entry in plasma5 for kde4) i chrooted and ran grub-install /dev/sda in my plasma5 system and in the next reboot the grub menu came for kde4.... i went in the kde4 and it booted fine... then i restarted the system and tried to select the plasma 5 entry and the *same* kde4 menu reappeared alsmost instantly...if i selected "plasma5" multiple times, same thing happened. So i went to kde4 and i tried to chroot into plasma5 system and ran grub-install /dev/sda there, but the command had an error. After reboot, if i selected the Plasma5 menu entry the computer immediately rebooted this time. It means the behaviour is now different. But i dont know if the behaviour is now better or worse... the main thing is, i cannot boot back in the plasma 5.
Here is how i chrooted in both systems:
i also tried to do this (in chrooted plasma5):
and
my "40_custom" in kde4 (/etc/grub.d/40_custom):
my "40_custom" in plasma5 (/etc/grub.d/40_custom):
my grub.cfg in kde4 (/boot/grub/grub.cfg):
my grub.cfg in plasma5 (/boot/grub/grub.cfg):
so,... i dont know what im doing wrong. one thing maybe i did wrong when installing... in both installations i named my computer name as "avatar" --- before i didnt do that, but i figured that maybe that doesnt matter because is a computer name... and the installations exist on different partitions...
anyway,...please help
thank you!
nice day!
Simon
First again thank you for helping me with a similar thread ( https://www.kubuntuforums.net/showth...oot-info-both& ), on forunatelly the help on that thread somehow doesnt work for the current problem i have, even though i thought it should. Let me explain my problem.
I made three partitions (ok four is i also count swap area) on my hard drive. One is kde4 btrfs partition, one is plasma 5 btrfs partition and the rest is my data (disk) btrfs partition.
sudo blkid reveals this:
Code:
fani@avatar:~$ sudo blkid [sudo] password for fani: /dev/sda1: UUID="d2ad0990-78e3-464e-8ac9-1dc67be49963" TYPE="swap" /dev/sda5: LABEL="plasma5" UUID="3af2cb3c-34d8-4f4e-94be-4e7138e331de" UUID_SUB="ee92358e-4e0d-4b63-994e-aa697f36c1b8" TYPE="btrfs" /dev/sda6: LABEL="kde4" UUID="821f7ab0-4351-45f1-b870-1a4b33db1b5c" UUID_SUB="22361e2c-49cf-453e-ae0e-1b6cead244be" TYPE="btrfs" /dev/sda7: LABEL="disk" UUID="da357d7a-0b07-4cf4-913b-bf401349c598" UUID_SUB="896321ca-6656-4e07-b6aa-21cdf31671f6" TYPE="btrfs"
Here is how i chrooted in both systems:
Code:
fani@avatar:~$ sudo mount -o subvol=@ /dev/sda5 /media/fani/plasma5 fani@avatar:~$ for i in dev/pts sys proc run; do sudo mount --bind /$i /media/fani/plasma5/$i; done fani@avatar:~$ sudo chroot /media/fani/plasma5 root@avatar:/# sudo grub-install /dev/sda Installing for i386-pc platform. grub-install: napaka: failed to get canonical path of `/dev/sda5'.
Code:
fani@avatar:~$ sudo mount -o subvol=@ /dev/sda5 /media/fani/plasma5 fani@avatar:~$ for i in dev/pts sys proc run; do sudo mount --bind /$i /media/fani/plasma5/$i; done fani@avatar:~$ sudo chroot /media/fani/plasma5 root@avatar:/# sudo grub-mkconfig -o /boot/grub/grub.cfg /usr/sbin/grub-probe: napaka: failed to get canonical path of `/dev/sda5'.
Code:
fani@avatar:~$ sudo mount -o subvol=@ /dev/sda5 /media/fani/plasma5 fani@avatar:~$ for i in dev/pts sys proc run; do sudo mount --bind /$i /media/fani/plasma5/$i; done fani@avatar:~$ sudo chroot /media/fani/plasma5 root@avatar:/# sudo grub-install --recheck --root-directory=/media/fani/plasma5 /dev/sda Installing for i386-pc platform. grub-install: napaka: failed to get canonical path of `/dev/sda5'.
my "40_custom" in kde4 (/etc/grub.d/40_custom):
Code:
#!/bin/sh exec tail -n +3 $0 # 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. menuentry 'Plasma5' { insmod part_msdos insmod btrfs search --no-floppy --fs-uuid --set=root 3af2cb3c-34d8-4f4e-94be-4e7138e331de configfile /boot/grub/grub.cfg }
Code:
#!/bin/sh exec tail -n +3 $0 # 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. menuentry 'kde4' { insmod part_msdos insmod btrfs search --no-floppy --fs-uuid --set=root 821f7ab0-4351-45f1-b870-1a4b33db1b5c configfile /boot/grub/grub.cfg }
Code:
# # 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 ### if [ -s $prefix/grubenv ]; then set have_grubenv=true 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 recordfail { set recordfail=1 # GRUB lacks write support for btrfs, so recordfail support is disabled. } 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 btrfs set root='hd0,msdos6' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6 821f7ab0-4351-45f1-b870-1a4b33db1b5c else search --no-floppy --fs-uuid --set=root 821f7ab0-4351-45f1-b870-1a4b33db1b5c 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=sl_SI insmod gettext fi terminal_output gfxterm if [ "${recordfail}" = 1 ] ; then set timeout=30 else if [ x$feature_timeout_style = xy ] ; then set timeout_style=menu set timeout=10 # Fallback normal timeout code in case the timeout_style feature is # unavailable. else set timeout=10 fi fi ### END /etc/grub.d/00_header ### ### BEGIN /etc/grub.d/05_debian_theme ### set menu_color_normal=white/black set menu_color_highlight=black/light-gray #set_background_image "images/tile.png"; set menu_color_normal=white/black set menu_color_highlight=black/light-gray if background_color 0,0,0; then clear fi ### END /etc/grub.d/05_debian_theme ### ### BEGIN /etc/grub.d/10_linux ### function gfxmode { set gfxpayload="${1}" if [ "${1}" = "keep" ]; then set vt_handoff=vt.handoff=7 else set vt_handoff= fi } if [ "${recordfail}" != 1 ]; then if [ -e ${prefix}/gfxblacklist.txt ]; then if hwmatch ${prefix}/gfxblacklist.txt 3; then if [ ${match} = 0 ]; then set linux_gfx_mode=keep else set linux_gfx_mode=text fi else set linux_gfx_mode=text fi else set linux_gfx_mode=keep fi else set linux_gfx_mode=text fi export linux_gfx_mode menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-821f7ab0-4351-45f1-b870-1a4b33db1b5c' { recordfail load_video gfxmode $linux_gfx_mode insmod gzio insmod part_msdos insmod btrfs set root='hd0,msdos6' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6 821f7ab0-4351-45f1-b870-1a4b33db1b5c else search --no-floppy --fs-uuid --set=root 821f7ab0-4351-45f1-b870-1a4b33db1b5c fi linux /@/boot/vmlinuz-3.19.0-42-generic root=UUID=821f7ab0-4351-45f1-b870-1a4b33db1b5c ro rootflags=subvol=@ quiet splash $vt_handoff initrd /@/boot/initrd.img-3.19.0-42-generic } submenu 'Napredne možnosti za Ubuntu' $menuentry_id_option 'gnulinux-advanced-821f7ab0-4351-45f1-b870-1a4b33db1b5c' { menuentry 'Ubuntu, z Linuxom 3.19.0-42-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.19.0-42-generic-advanced-821f7ab0-4351-45f1-b870-1a4b33db1b5c' { recordfail load_video gfxmode $linux_gfx_mode insmod gzio insmod part_msdos insmod btrfs set root='hd0,msdos6' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6 821f7ab0-4351-45f1-b870-1a4b33db1b5c else search --no-floppy --fs-uuid --set=root 821f7ab0-4351-45f1-b870-1a4b33db1b5c fi echo 'Nalaganje Linuxa 3.19.0-42-generic ...' linux /@/boot/vmlinuz-3.19.0-42-generic root=UUID=821f7ab0-4351-45f1-b870-1a4b33db1b5c ro rootflags=subvol=@ quiet splash $vt_handoff echo 'Nalaganje začetnega ramdiska ...' initrd /@/boot/initrd.img-3.19.0-42-generic } menuentry 'Ubuntu, with Linux 3.19.0-42-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.19.0-42-generic-recovery-821f7ab0-4351-45f1-b870-1a4b33db1b5c' { recordfail load_video insmod gzio insmod part_msdos insmod btrfs set root='hd0,msdos6' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6 821f7ab0-4351-45f1-b870-1a4b33db1b5c else search --no-floppy --fs-uuid --set=root 821f7ab0-4351-45f1-b870-1a4b33db1b5c fi echo 'Nalaganje Linuxa 3.19.0-42-generic ...' linux /@/boot/vmlinuz-3.19.0-42-generic root=UUID=821f7ab0-4351-45f1-b870-1a4b33db1b5c ro recovery nomodeset rootflags=subvol=@ echo 'Nalaganje začetnega ramdiska ...' initrd /@/boot/initrd.img-3.19.0-42-generic } menuentry 'Ubuntu, z Linuxom 3.19.0-25-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.19.0-25-generic-advanced-821f7ab0-4351-45f1-b870-1a4b33db1b5c' { recordfail load_video gfxmode $linux_gfx_mode insmod gzio insmod part_msdos insmod btrfs set root='hd0,msdos6' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6 821f7ab0-4351-45f1-b870-1a4b33db1b5c else search --no-floppy --fs-uuid --set=root 821f7ab0-4351-45f1-b870-1a4b33db1b5c fi echo 'Nalaganje Linuxa 3.19.0-25-generic ...' linux /@/boot/vmlinuz-3.19.0-25-generic root=UUID=821f7ab0-4351-45f1-b870-1a4b33db1b5c ro rootflags=subvol=@ quiet splash $vt_handoff echo 'Nalaganje začetnega ramdiska ...' initrd /@/boot/initrd.img-3.19.0-25-generic } menuentry 'Ubuntu, with Linux 3.19.0-25-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.19.0-25-generic-recovery-821f7ab0-4351-45f1-b870-1a4b33db1b5c' { recordfail load_video insmod gzio insmod part_msdos insmod btrfs set root='hd0,msdos6' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6 821f7ab0-4351-45f1-b870-1a4b33db1b5c else search --no-floppy --fs-uuid --set=root 821f7ab0-4351-45f1-b870-1a4b33db1b5c fi echo 'Nalaganje Linuxa 3.19.0-25-generic ...' linux /@/boot/vmlinuz-3.19.0-25-generic root=UUID=821f7ab0-4351-45f1-b870-1a4b33db1b5c ro recovery nomodeset rootflags=subvol=@ echo 'Nalaganje začetnega ramdiska ...' initrd /@/boot/initrd.img-3.19.0-25-generic } } ### END /etc/grub.d/10_linux ### ### BEGIN /etc/grub.d/20_linux_xen ### ### END /etc/grub.d/20_linux_xen ### ### BEGIN /etc/grub.d/20_memtest86+ ### menuentry 'Memory test (memtest86+)' { insmod part_msdos insmod btrfs set root='hd0,msdos6' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6 821f7ab0-4351-45f1-b870-1a4b33db1b5c else search --no-floppy --fs-uuid --set=root 821f7ab0-4351-45f1-b870-1a4b33db1b5c fi knetbsd /@/boot/memtest86+.elf } menuentry 'Memory test (memtest86+, serial console 115200)' { insmod part_msdos insmod btrfs set root='hd0,msdos6' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6 821f7ab0-4351-45f1-b870-1a4b33db1b5c else search --no-floppy --fs-uuid --set=root 821f7ab0-4351-45f1-b870-1a4b33db1b5c fi linux16 /@/boot/memtest86+.bin console=ttyS0,115200n8 } ### END /etc/grub.d/20_memtest86+ ### ### BEGIN /etc/grub.d/30_os-prober ### menuentry 'Ubuntu Xenial Xerus (development branch) (16.04) (na /dev/sda5)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-3af2cb3c-34d8-4f4e-94be-4e7138e331de' { insmod part_msdos insmod btrfs set root='hd0,msdos5' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5 3af2cb3c-34d8-4f4e-94be-4e7138e331de else search --no-floppy --fs-uuid --set=root 3af2cb3c-34d8-4f4e-94be-4e7138e331de fi linux /boot/vmlinuz-4.3.0-5-generic root=/dev/sda5 initrd /boot/initrd.img-4.3.0-5-generic } submenu 'Napredne možnosti za Ubuntu Xenial Xerus (development branch) (16.04) (na /dev/sda5)' $menuentry_id_option 'osprober-gnulinux-advanced-3af2cb3c-34d8-4f4e-94be-4e7138e331de' { menuentry 'Ubuntu Xenial Xerus (development branch) (16.04) (na /dev/sda5)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.3.0-5-generic--3af2cb3c-34d8-4f4e-94be-4e7138e331de' { insmod part_msdos insmod btrfs set root='hd0,msdos5' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5 3af2cb3c-34d8-4f4e-94be-4e7138e331de else search --no-floppy --fs-uuid --set=root 3af2cb3c-34d8-4f4e-94be-4e7138e331de fi linux /boot/vmlinuz-4.3.0-5-generic root=/dev/sda5 initrd /boot/initrd.img-4.3.0-5-generic } menuentry 'Ubuntu Xenial Xerus (development branch) (16.04) (na /dev/sda5)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.4.0-0-generic--3af2cb3c-34d8-4f4e-94be-4e7138e331de' { insmod part_msdos insmod btrfs set root='hd0,msdos5' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5 3af2cb3c-34d8-4f4e-94be-4e7138e331de else search --no-floppy --fs-uuid --set=root 3af2cb3c-34d8-4f4e-94be-4e7138e331de fi linux /boot/vmlinuz-4.4.0-0-generic root=/dev/sda5 initrd /boot/initrd.img-4.4.0-0-generic } } set timeout_style=menu if [ "${timeout}" = 0 ]; then set timeout=10 fi ### END /etc/grub.d/30_os-prober ### ### BEGIN /etc/grub.d/30_uefi-firmware ### ### 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. menuentry 'Plasma5' { insmod part_msdos insmod btrfs search --no-floppy --fs-uuid --set=root 3af2cb3c-34d8-4f4e-94be-4e7138e331de configfile /boot/grub/grub.cfg } ### 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 ###
Code:
# # 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 ### if [ -s $prefix/grubenv ]; then set have_grubenv=true 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 recordfail { set recordfail=1 # GRUB lacks write support for btrfs, so recordfail support is disabled. } 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 btrfs set root='hd0,msdos5' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5 3af2cb3c-34d8-4f4e-94be-4e7138e331de else search --no-floppy --fs-uuid --set=root 3af2cb3c-34d8-4f4e-94be-4e7138e331de 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=sl_SI insmod gettext fi terminal_output gfxterm if [ "${recordfail}" = 1 ] ; then set timeout=30 else if [ x$feature_timeout_style = xy ] ; then set timeout_style=menu set timeout=10 # Fallback normal timeout code in case the timeout_style feature is # unavailable. else set timeout=10 fi fi ### END /etc/grub.d/00_header ### ### BEGIN /etc/grub.d/05_debian_theme ### set menu_color_normal=white/black set menu_color_highlight=black/light-gray ### END /etc/grub.d/05_debian_theme ### ### BEGIN /etc/grub.d/10_linux ### function gfxmode { set gfxpayload="${1}" if [ "${1}" = "keep" ]; then set vt_handoff=vt.handoff=7 else set vt_handoff= fi } if [ "${recordfail}" != 1 ]; then if [ -e ${prefix}/gfxblacklist.txt ]; then if hwmatch ${prefix}/gfxblacklist.txt 3; then if [ ${match} = 0 ]; then set linux_gfx_mode=keep else set linux_gfx_mode=text fi else set linux_gfx_mode=text fi else set linux_gfx_mode=keep fi else set linux_gfx_mode=text fi export linux_gfx_mode menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-3af2cb3c-34d8-4f4e-94be-4e7138e331de' { recordfail load_video gfxmode $linux_gfx_mode insmod gzio if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi insmod part_msdos insmod btrfs set root='hd0,msdos5' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5 3af2cb3c-34d8-4f4e-94be-4e7138e331de else search --no-floppy --fs-uuid --set=root 3af2cb3c-34d8-4f4e-94be-4e7138e331de fi linux /@/boot/vmlinuz-4.4.0-0-generic root=UUID=3af2cb3c-34d8-4f4e-94be-4e7138e331de ro rootflags=subvol=@ quiet splash $vt_handoff initrd /@/boot/initrd.img-4.4.0-0-generic } submenu 'Napredne možnosti za Ubuntu' $menuentry_id_option 'gnulinux-advanced-3af2cb3c-34d8-4f4e-94be-4e7138e331de' { menuentry 'Ubuntu, z Linuxom 4.4.0-0-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-0-generic-advanced-3af2cb3c-34d8-4f4e-94be-4e7138e331de' { recordfail load_video gfxmode $linux_gfx_mode insmod gzio if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi insmod part_msdos insmod btrfs set root='hd0,msdos5' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5 3af2cb3c-34d8-4f4e-94be-4e7138e331de else search --no-floppy --fs-uuid --set=root 3af2cb3c-34d8-4f4e-94be-4e7138e331de fi echo 'Nalaganje Linuxa 4.4.0-0-generic ...' linux /@/boot/vmlinuz-4.4.0-0-generic root=UUID=3af2cb3c-34d8-4f4e-94be-4e7138e331de ro rootflags=subvol=@ quiet splash $vt_handoff echo 'Nalaganje začetnega ramdiska ...' initrd /@/boot/initrd.img-4.4.0-0-generic } menuentry 'Ubuntu, with Linux 4.4.0-0-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-0-generic-recovery-3af2cb3c-34d8-4f4e-94be-4e7138e331de' { recordfail load_video insmod gzio if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi insmod part_msdos insmod btrfs set root='hd0,msdos5' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5 3af2cb3c-34d8-4f4e-94be-4e7138e331de else search --no-floppy --fs-uuid --set=root 3af2cb3c-34d8-4f4e-94be-4e7138e331de fi echo 'Nalaganje Linuxa 4.4.0-0-generic ...' linux /@/boot/vmlinuz-4.4.0-0-generic root=UUID=3af2cb3c-34d8-4f4e-94be-4e7138e331de ro recovery nomodeset rootflags=subvol=@ echo 'Nalaganje začetnega ramdiska ...' initrd /@/boot/initrd.img-4.4.0-0-generic } menuentry 'Ubuntu, z Linuxom 4.3.0-5-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.3.0-5-generic-advanced-3af2cb3c-34d8-4f4e-94be-4e7138e331de' { recordfail load_video gfxmode $linux_gfx_mode insmod gzio if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi insmod part_msdos insmod btrfs set root='hd0,msdos5' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5 3af2cb3c-34d8-4f4e-94be-4e7138e331de else search --no-floppy --fs-uuid --set=root 3af2cb3c-34d8-4f4e-94be-4e7138e331de fi echo 'Nalaganje Linuxa 4.3.0-5-generic ...' linux /@/boot/vmlinuz-4.3.0-5-generic root=UUID=3af2cb3c-34d8-4f4e-94be-4e7138e331de ro rootflags=subvol=@ quiet splash $vt_handoff echo 'Nalaganje začetnega ramdiska ...' initrd /@/boot/initrd.img-4.3.0-5-generic } menuentry 'Ubuntu, with Linux 4.3.0-5-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.3.0-5-generic-recovery-3af2cb3c-34d8-4f4e-94be-4e7138e331de' { recordfail load_video insmod gzio if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi insmod part_msdos insmod btrfs set root='hd0,msdos5' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5 3af2cb3c-34d8-4f4e-94be-4e7138e331de else search --no-floppy --fs-uuid --set=root 3af2cb3c-34d8-4f4e-94be-4e7138e331de fi echo 'Nalaganje Linuxa 4.3.0-5-generic ...' linux /@/boot/vmlinuz-4.3.0-5-generic root=UUID=3af2cb3c-34d8-4f4e-94be-4e7138e331de ro recovery nomodeset rootflags=subvol=@ echo 'Nalaganje začetnega ramdiska ...' initrd /@/boot/initrd.img-4.3.0-5-generic } } ### END /etc/grub.d/10_linux ### ### BEGIN /etc/grub.d/20_linux_xen ### ### END /etc/grub.d/20_linux_xen ### ### BEGIN /etc/grub.d/20_memtest86+ ### menuentry 'Memory test (memtest86+)' { insmod part_msdos insmod btrfs set root='hd0,msdos5' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5 3af2cb3c-34d8-4f4e-94be-4e7138e331de else search --no-floppy --fs-uuid --set=root 3af2cb3c-34d8-4f4e-94be-4e7138e331de fi knetbsd /@/boot/memtest86+.elf } menuentry 'Memory test (memtest86+, serial console 115200)' { insmod part_msdos insmod btrfs set root='hd0,msdos5' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5 3af2cb3c-34d8-4f4e-94be-4e7138e331de else search --no-floppy --fs-uuid --set=root 3af2cb3c-34d8-4f4e-94be-4e7138e331de fi linux16 /@/boot/memtest86+.bin console=ttyS0,115200n8 } ### END /etc/grub.d/20_memtest86+ ### ### BEGIN /etc/grub.d/30_os-prober ### ### END /etc/grub.d/30_os-prober ### ### BEGIN /etc/grub.d/30_uefi-firmware ### ### 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. menuentry 'KDE4' { insmod part_msdos insmod btrfs search --no-floppy --fs-uuid --set=root 821f7ab0-4351-45f1-b870-1a4b33db1b5c configfile /boot/grub/grub.cfg } ### 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 ###
anyway,...please help
thank you!
nice day!
Simon
Comment