From: Dale <rdalek1967@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] grub: how to install new version of stage 1
Date: Sat, 30 May 2009 16:13:33 -0500 [thread overview]
Message-ID: <4A21A17D.9070708@gmail.com> (raw)
In-Reply-To: <4A2181F4.2040407@uri.edu>
John P. Burkett wrote:
> On a x86 machine I did "emerge -D -uav world" and got a response that
> read in part as follows:
> * Messages for package sys-boot/grub-0.97-r9:
> *
> * To avoid automounting and autoinstalling with /boot,
> * just export the DONT_MOUNT_BOOT variable.
> *
> * *** IMPORTANT NOTE: you must run grub and install
> * the new version's stage1 to your MBR. Until you do,
> * stage1 and stage2 will still be the old version, but
> * later stages will be the new version, which could
> * cause problems such as an unbootable system.
> * This means you must use either grub-install or perform
> * root/setup manually! For more help, see the handbook:
> *
> http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1&chap=10#grub-install-auto
> * To interactively install grub files to another device such as a USB
> * stick, just run the following and specify the directory as prompted:
> * emerge --config =grub-0.97-r9
> * Alternately, you can export GRUB_ALT_INSTALLDIR=/path/to/use to tell
> * grub where to install in a non-interactive way.
>
> After reading
> http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1&chap=10#grub-install-auto
> I did "grep -v rootfs /proc/mounts > /etc/mtab". That seems to have
> produced the needed /etc/mtab file. Now I'm confused by the part of the
> manual with code listings 2.6 and
> 2.7 and the associated commentary.
> The manual suggests doing "grub-install --no-floppy /dev/sda"
> but later says "If your system does not have any floppy drives, add the
> --no-floppy option to the above command to prevent grub from probing the
> (non-existing) floppy drives." My machine has a floppy drive. Should I
> omit the --no-floppy option and just do "grub-install /dev/sda" ?
>
> -John
>
>
>
I got something similar once before. All I did was run grub, then while
inside grub, run root and setup. Basically like I did when i first
installed Linux. It has worked so far so I guess that was all that it
needed was to update the files in /boot for when it first loads after
the BIOS.
Hope that helps.
Dale
:-) :-)
next prev parent reply other threads:[~2009-05-30 21:13 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-30 18:59 [gentoo-user] grub: how to install new version of stage 1 John P. Burkett
2009-05-30 21:13 ` Dale [this message]
2009-05-31 5:01 ` Alan McKinnon
2009-05-31 16:12 ` John P. Burkett
2009-05-31 17:20 ` Alan McKinnon
2009-05-31 20:06 ` John P. Burkett
2009-05-31 20:30 ` Alan McKinnon
2009-05-31 17:43 ` Dirk Heinrichs
2009-05-31 17:57 ` Neil Bothwick
2009-05-31 20:39 ` Dirk Heinrichs
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=4A21A17D.9070708@gmail.com \
--to=rdalek1967@gmail.com \
--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