Jump to content
funtoo forums
  • 0
Sign in to follow this  
jorgicio

Boot-update with memtest+ support?

Question

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 :)

Share this post


Link to post
Share on other sites

6 answers to this question

Recommended Posts

  • 0

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

Share this post


Link to post
Share on other sites
  • 0

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.

Share this post


Link to post
Share on other sites
  • 0

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

Share this post


Link to post
Share on other sites
  • 0

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 /.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...