Jump to content
Read the Funtoo Newsletter: Summer 2023 ×
  • 0

Boot-update with memtest+ support?


jorgicio

Question

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

Link to comment
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.

Link to comment
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

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...