Jump to content
  • 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

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
Sign in to follow this  

×
×
  • Create New...