On Monday 21 Apr 2014 00:55:56 yac wrote: > On Sat, 19 Apr 2014 13:54:07 +0100 > Peter Humphrey <pe...@prh.myzen.co.uk> wrote: > > The installation handbook used to include a command to > > write /etc/mtab in the chroot by grepping the host mtab > > It was part of grub-install, now grub legacy > > https://www.gentoo.org/doc/en/handbook/handbook-amd64.xml?part=1&chap=10#doc > _chap4
Yes, thanks, a couple of people posted what it says here the other day. Now I'm puzzling over whether it's good advice. For instance, suppose I want to reinstall the chroot in which I keep an image of my Atom box here on my workstation. Then /etc/mtab has: /dev/md5 / [...] but once I chroot into /mnt/atom, where the image lives, that's wrong and should be: /dev/mapper/vg7-atom / [...] because vg7-atom is now the root of the file system. Does the handbook need an update? Or maybe it's right after all because when grub runs its installer it's unconcerned with where it's invoked from. [Wanders off stage-left, muttering and scratching his head...] -- Regards Peter