1 |
On Sun, 12 May 2013 07:40:15 -0500, Dale wrote: |
2 |
|
3 |
> > I don't know about memtest86, but memtest86+ installs a menu file |
4 |
> > in /etc/grub.d, which means grub-mkconfig handles it. |
5 |
> > |
6 |
> > % cat /etc/grub.d/39_memtest86+ |
7 |
> > #!/bin/sh |
8 |
> > exec tail -n +3 $0 |
9 |
> > |
10 |
> > menuentry "memtest86+ 4.20" { |
11 |
> > linux16 /boot/memtest86plus/memtest |
12 |
> > } |
13 |
> > |
14 |
> > menuentry "memtest86+ 4.20 (netbsd)" { |
15 |
> > insmod bsd |
16 |
> > knetbsd /boot/memtest86plus/memtest.netbsd |
17 |
> > } |
18 |
> |
19 |
> That is what I did last. I just emerged the thing and it put the file |
20 |
> there. You know I don't reboot often here but this is what it says |
21 |
> when I update grub: |
22 |
> |
23 |
> root@fireball / # /root/grub-update |
24 |
> Generating grub.cfg ... |
25 |
> Found linux image: /boot/kernel-3.8.7-1 |
26 |
> Found linux image: /boot/kernel-3.6.6-1 |
27 |
> Found linux image: /boot/kernel-3.5.3-3 |
28 |
> done |
29 |
> root@fireball / # |
30 |
> |
31 |
> Shouldn't there be a line for the memtest entry or does it not show |
32 |
> that? Maybe it is working and I don't know it yet. lol |
33 |
|
34 |
There are no echo commands in the file, so it doesn't show anything when |
35 |
adding. grub-mkconfig doesn't output anything by default, only the helper |
36 |
scripts generate non-error output |
37 |
|
38 |
Check the contents of grub.cfg. |
39 |
|
40 |
> Oh, I have a script that has the longer command in it with all the nifty |
41 |
> options. That's why the command is different. |
42 |
> |
43 |
> root@fireball / # cat /root/grub-update |
44 |
> |
45 |
> grub2-mkconfig -o /boot/grub2/grub.cfg |
46 |
|
47 |
I do a similar thing, except the script is in /usr/local/bin, where it |
48 |
should be :P, and it checks if /boot is mounted ro and remounts it rw if |
49 |
necessary. |
50 |
|
51 |
|
52 |
-- |
53 |
Neil Bothwick |
54 |
|
55 |
WinErr 019: User error - Not our fault. Is Not! Is Not! |