Categories
Development Linux Ubuntu

Edit/Add a line in Grub2 Ubuntu

I want to make my grub2 tell me when it loads a kernel and initrd file. so i edited my /boot/grub/grub.cfg file to get something like this : menuentry ‘Ubuntu’ –class ubuntu –class gnu-linux –class gnu –class os $menuentry_id_option ‘gnulinux-simple-0b1e0d0c-7515-41a4-ae05-2e62c31cba02′ { gfxmode $linux_gfx_mode insmod gzio insmod ntfs set root=’hd0,msdos4’ if [ x$feature_platform_search_hint = xy ]; […]