Hire me if you like: blake.irvin@gmail.com

Friday, January 09, 2009

Adding Memtest86+ to the OpenSolaris GRUB Menu

Here's what I did (thanks to francois for this):


[root@host downloads]# wget http://www.memtest.org/download/2.11/memtest86+-2.11.bin.gz
--12:20:12-- http://www.memtest.org/download/2.11/memtest86+-2.11.bin.gz
=> `memtest86+-2.11.bin.gz'
Resolving www.memtest.org... 217.70.182.162
Connecting to www.memtest.org|217.70.182.162|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 48,655 (48K) [application/x-gzip]

100%[=============================================>] 48,655 96.69K/s

12:20:13 (96.58 KB/s) - `memtest86+-2.11.bin.gz' saved [48655/48655]

[root@host downloads]# gunzip memtest86+-2.11.bin.gz

[root@host downloads]# ls
memtest86+-2.11.bin

[root@host downloads]# cp memtest86+-2.11.bin /platform/i86pc/kernel/memtest

[root@host downloads]# vi /rpool/boot/grub/menu.lst


At the end of the file I added:


title Solaris 10 memtest86+
kernel /platform/i86pc/kernel/memtest


This ought to work, with appropriate modifications, for any GRUB-booted system.

2 comments:

famille said...

it fails for me with the message:
Error 28: Selected item cannot fit into memory.

Any idea?

blake said...

this seems to be a known issue with memtest in newer builds?:

http://www.smop.co.uk/blog/index.php/2009/01/04/grub-error-28-selected-item-cannot-fit-into-memory/

Archive