jorgicio Posted May 7, 2015 Report Share Posted May 7, 2015 Hi! I use memtest+86, and want to add that entry in grub config file. Has boot-update support for the boot.conf file? And if so, How can I do it? Because I find nothing. Thanks :) Link to comment Share on other sites More sharing options...
0 666threesixes666 Posted May 7, 2015 Report Share Posted May 7, 2015 ugh i hate grub, however as it is default for the distribution i will work on this issue for you, and provide documentation. i deployed the memtest + lilo instructions on the wiki so its my fault... ill stop teasing you :D bzcat /usr/share/doc/boot-update-1.7.1/boot-update.8.rst.bz2 bzcat /usr/share/doc/boot-update-1.7.1/boot.conf.5.rst.bz2 bzcat /usr/share/doc/boot-update-1.7.1/boot.conf.example.bz2 this needs in /boot/grub/grub.conf -- boot update generates this.... (cat /etc/grub.d/39_memtest86+ from the memtest ebuild instructions is how i discovered this) menuentry "memtest86+ 5.01" {linux16 /boot/memtest86plus/memtest} append to /etc/boot.conf "memtest86+ 5.01" {kernel memtest86plus/memtest} boot-update Link to comment Share on other sites More sharing options...
0 jorgicio Posted May 7, 2015 Author Report Share Posted May 7, 2015 Hi! I tried and it worked, but it misgenerated this in grub.cfg, does it imply something? menuentry "Memtest 86+ - memtest" { insmod part_msdos insmod ext2 set root=(hostdisk//dev/sda,msdos5) search --no-floppy --fs-uuid --set 85772e23-9cd4-4448-ad6b-c1ee1e32266b linux /memtest86plus/memtest rootfstype=btrfs root=/dev/sda7 set gfxpayload=keep } Anyway, thanks. Link to comment Share on other sites More sharing options...
0 sputnik Posted May 8, 2015 Report Share Posted May 8, 2015 Good call threesixes. I would like to point out such a thing can be automated so you don't have to go thru the drugery with each new kernel. See this post: http://forums.funtoo.org/topic/243-set-grub-theme-via-etcbootconf/?do=findComment&comment=1214 Link to comment Share on other sites More sharing options...
0 666threesixes666 Posted May 9, 2015 Report Share Posted May 9, 2015 append to /etc/boot.conf"memtest86+ 5.01" {kernel memtest86plus/memtest}boot-update also misgenerated for me, but its close... i get messages saying that i need to use linux16 instead... well i already knew that was going to happen =P for now: remove memtest entries from /etc/boot.conf, and append the correct entry to the bottom of grub.cfg boot-update cat >> /boot/grub/grub.cfg << EOF menuentry "memtest86+ 5.01" {linux16 /boot/memtest86plus/memtest} EOF Link to comment Share on other sites More sharing options...
0 sputnik Posted May 11, 2015 Report Share Posted May 11, 2015 I had to leave off the /boot: menuentry " memtest86+ 5.01" { linux16 /memtest86plus/memtest } I dunno, works Edit: Oh yeah, 'cause "/boot" is really small partition /dev/sda1. So in this case, before mounting, it's just /. Link to comment Share on other sites More sharing options...
0 666threesixes666 Posted May 14, 2015 Report Share Posted May 14, 2015 ah that's possible, my boot swap and / are all 1 partition Link to comment Share on other sites More sharing options...
Question
jorgicio
Hi! I use memtest+86, and want to add that entry in grub config file. Has boot-update support for the boot.conf file? And if so, How can I do it? Because I find nothing.
Thanks :)
Link to comment
Share on other sites
6 answers to this question
Recommended Posts