From: Neil Bothwick <neil@digimed.co.uk>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Booting memtest86 from grub2
Date: Sun, 12 May 2013 13:50:40 +0100 [thread overview]
Message-ID: <20130512135040.586a665c@digimed.co.uk> (raw)
In-Reply-To: <518F8DAF.8070009@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1715 bytes --]
On Sun, 12 May 2013 07:40:15 -0500, Dale wrote:
> > I don't know about memtest86, but memtest86+ installs a menu file
> > in /etc/grub.d, which means grub-mkconfig handles it.
> >
> > % cat /etc/grub.d/39_memtest86+
> > #!/bin/sh
> > exec tail -n +3 $0
> >
> > menuentry "memtest86+ 4.20" {
> > linux16 /boot/memtest86plus/memtest
> > }
> >
> > menuentry "memtest86+ 4.20 (netbsd)" {
> > insmod bsd
> > knetbsd /boot/memtest86plus/memtest.netbsd
> > }
>
> That is what I did last. I just emerged the thing and it put the file
> there. You know I don't reboot often here but this is what it says
> when I update grub:
>
> root@fireball / # /root/grub-update
> Generating grub.cfg ...
> Found linux image: /boot/kernel-3.8.7-1
> Found linux image: /boot/kernel-3.6.6-1
> Found linux image: /boot/kernel-3.5.3-3
> done
> root@fireball / #
>
> Shouldn't there be a line for the memtest entry or does it not show
> that? Maybe it is working and I don't know it yet. lol
There are no echo commands in the file, so it doesn't show anything when
adding. grub-mkconfig doesn't output anything by default, only the helper
scripts generate non-error output
Check the contents of grub.cfg.
> Oh, I have a script that has the longer command in it with all the nifty
> options. That's why the command is different.
>
> root@fireball / # cat /root/grub-update
>
> grub2-mkconfig -o /boot/grub2/grub.cfg
I do a similar thing, except the script is in /usr/local/bin, where it
should be :P, and it checks if /boot is mounted ro and remounts it rw if
necessary.
--
Neil Bothwick
WinErr 019: User error - Not our fault. Is Not! Is Not!
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
next prev parent reply other threads:[~2013-05-12 12:50 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-11 23:12 [gentoo-user] Booting memtest86 from grub2 walt
2013-05-12 10:07 ` Neil Bothwick
2013-05-12 12:40 ` Dale
2013-05-12 12:50 ` Neil Bothwick [this message]
2013-05-12 14:00 ` Dale
2013-05-12 14:31 ` Neil Bothwick
2013-05-12 20:24 ` Dale
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20130512135040.586a665c@digimed.co.uk \
--to=neil@digimed.co.uk \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox