Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Gentoo User (http://www.linux-archive.org/gentoo-user/)
-   -   Should /boot be mounted to upgrade grub? (http://www.linux-archive.org/gentoo-user/98752-should-boot-mounted-upgrade-grub.html)

Grant 06-01-2008 11:10 AM

Should /boot be mounted to upgrade grub?
 
Should /boot be mounted to upgrade grub?

- Grant
--
gentoo-user@lists.gentoo.org mailing list

Daniel Pielmeier 06-01-2008 11:45 AM

Should /boot be mounted to upgrade grub?
 
Grant schrieb:

Should /boot be mounted to upgrade grub?

- Grant


/boot is auto mounted by the grub ebuild using mount-boot.eclass.
--
gentoo-user@lists.gentoo.org mailing list

Alexander Meinke 06-01-2008 11:45 AM

Should /boot be mounted to upgrade grub?
 
Grant wrote:

Should /boot be mounted to upgrade grub?



Hi Grant,

if you upgrade grub via emerge, /boot should be mounted. As stage1, stage2 etc.
will be upgraded in /boot/grub and also in /lib/grub/i386-pc. You should also
check if /etc/mtab is available, because grub-install require this file to
determine your partition structure.


Hope I could help you,

acm.

Ian Hilt 06-01-2008 11:48 AM

Should /boot be mounted to upgrade grub?
 
On Sun, 1 Jun 2008 at 4:10am -0700, Grant wrote:

> Should /boot be mounted to upgrade grub?

If /boot is not mounted by default, then "yes". The "menu.lst"
and "grub.conf" files live in /boot/grub and these are updated
when grub is upgraded, although menu.lst is usually a symlink
to grub.conf.

If you're upgrading grub through the emerge process, then /boot
will be mounted for you, IIRC.

--
Ian Hilt
ian.hilt (at) gmx.com
GnuPG key: 0x4AFC1EE3
--
gentoo-user@lists.gentoo.org mailing list

Grant 06-01-2008 12:00 PM

Should /boot be mounted to upgrade grub?
 
>> Should /boot be mounted to upgrade grub?
>
> If /boot is not mounted by default, then "yes". The "menu.lst"
> and "grub.conf" files live in /boot/grub and these are updated
> when grub is upgraded, although menu.lst is usually a symlink
> to grub.conf.
>
> If you're upgrading grub through the emerge process, then /boot
> will be mounted for you, IIRC.
>
> --
> Ian Hilt

Awesome thanks guys.

- Grant
--
gentoo-user@lists.gentoo.org mailing list

Dirk Heinrichs 06-01-2008 08:27 PM

Should /boot be mounted to upgrade grub?
 
Am Sonntag, 1. Juni 2008 schrieb Ian Hilt:

> If you're upgrading grub through the emerge process, then /boot
> will be mounted for you, IIRC.

Which should not happen at all. NOTHING should EVER mount or unmount something
on a users system w/o being explicitely allowed to do so. People unmount (or
mount ro) /boot for a reason and no package manager should change that behind
the users back!

See this bug: http://bugs.gentoo.org/show_bug.cgi?id=223311

Bye...

Dirk


All times are GMT. The time now is 10:16 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.