Gentoo Archives: gentoo-user

From: Dale <rdalek1967@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Booting memtest86 from grub2
Date: Sun, 12 May 2013 12:40:26
Message-Id: 518F8DAF.8070009@gmail.com
In Reply to: Re: [gentoo-user] Booting memtest86 from grub2 by Neil Bothwick
1 Neil Bothwick wrote:
2 > On Sat, 11 May 2013 16:12:52 -0700, walt wrote:
3 >
4 >> Dale, you didn't describe the symptoms you're seeing, but maybe
5 >> just seeing how I did it will help:
6 >>
7 >> menuentry "memtest86" {
8 >> search -l gentoo64unstable -s root
9 >> linux ($root)/boot/memtest86/memtest
10 >> boot
11 >> }
12 >
13 > I don't know about memtest86, but memtest86+ installs a menu file
14 > in /etc/grub.d, which means grub-mkconfig handles it.
15 >
16 > % cat /etc/grub.d/39_memtest86+
17 > #!/bin/sh
18 > exec tail -n +3 $0
19 >
20 > menuentry "memtest86+ 4.20" {
21 > linux16 /boot/memtest86plus/memtest
22 > }
23 >
24 > menuentry "memtest86+ 4.20 (netbsd)" {
25 > insmod bsd
26 > knetbsd /boot/memtest86plus/memtest.netbsd
27 > }
28 >
29 >
30
31
32 That is what I did last. I just emerged the thing and it put the file
33 there. You know I don't reboot often here but this is what it says when
34 I update grub:
35
36 root@fireball / # /root/grub-update
37 Generating grub.cfg ...
38 Found linux image: /boot/kernel-3.8.7-1
39 Found linux image: /boot/kernel-3.6.6-1
40 Found linux image: /boot/kernel-3.5.3-3
41 done
42 root@fireball / #
43
44 Shouldn't there be a line for the memtest entry or does it not show
45 that? Maybe it is working and I don't know it yet. lol
46
47 Oh, I have a script that has the longer command in it with all the nifty
48 options. That's why the command is different.
49
50 root@fireball / # cat /root/grub-update
51
52 grub2-mkconfig -o /boot/grub2/grub.cfg
53 root@fireball / #
54
55 Thanks for the help.
56
57 Dale
58
59 :-) :-)
60
61 --
62 I am only responsible for what I said ... Not for what you understood or
63 how you interpreted my words!

Replies

Subject Author
Re: [gentoo-user] Booting memtest86 from grub2 Neil Bothwick <neil@××××××××××.uk>