Gentoo Archives: gentoo-user

From: Neil Bothwick <neil@××××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Booting memtest86 from grub2
Date: Sun, 12 May 2013 10:07:36
Message-Id: 20130512110718.586a5c17@digimed.co.uk
In Reply to: [gentoo-user] Booting memtest86 from grub2 by walt
1 On Sat, 11 May 2013 16:12:52 -0700, walt wrote:
2
3 > Dale, you didn't describe the symptoms you're seeing, but maybe
4 > just seeing how I did it will help:
5 >
6 > menuentry "memtest86" {
7 > search -l gentoo64unstable -s root
8 > linux ($root)/boot/memtest86/memtest
9 > boot
10 > }
11
12 I don't know about memtest86, but memtest86+ installs a menu file
13 in /etc/grub.d, which means grub-mkconfig handles it.
14
15 % cat /etc/grub.d/39_memtest86+
16 #!/bin/sh
17 exec tail -n +3 $0
18
19 menuentry "memtest86+ 4.20" {
20 linux16 /boot/memtest86plus/memtest
21 }
22
23 menuentry "memtest86+ 4.20 (netbsd)" {
24 insmod bsd
25 knetbsd /boot/memtest86plus/memtest.netbsd
26 }
27
28
29 --
30 Neil Bothwick
31
32 Maybe... How much are you bribing me this time?

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-user] Booting memtest86 from grub2 Dale <rdalek1967@×××××.com>