Re: [Mageia-dev] GRUB can't see HD from chroot unless parent /dev is bind-mounted in chroot ?

2013-01-17 Thread Colin Guthrie
'Twas brillig, and Bruno Cornec at 17/01/13 10:35 did gyre and gimble: > Colin Guthrie said on Thu, Jan 17, 2013 at 09:45:27AM +: > >> If you would like to detail the problems with squid and point at a >> detailed bug report I can take a look or at least advise on the best >> steps to take to

Re: [Mageia-dev] GRUB can't see HD from chroot unless parent /dev is bind-mounted in chroot ?

2013-01-17 Thread Bruno Cornec
Colin Guthrie said on Thu, Jan 17, 2013 at 09:45:27AM +: > If you would like to detail the problems with squid and point at a > detailed bug report I can take a look or at least advise on the best > steps to take to get a really solid system. I've detailed my feedback here: http://brunocornec

Re: [Mageia-dev] GRUB can't see HD from chroot unless parent /dev is bind-mounted in chroot ?

2013-01-17 Thread Colin Guthrie
'Twas brillig, and Bruno Cornec at 16/01/13 23:41 did gyre and gimble: > Colin Guthrie said on Wed, Jan 16, 2013 at 09:17:46PM +: > >>> C) of course, udev is not inside systemd, so it appears the new way is now >>> to >>> somehow spawn a systemd process inside the chroot (maybe systemd-nspaw

Re: [Mageia-dev] GRUB can't see HD from chroot unless parent /dev is bind-mounted in chroot ?

2013-01-16 Thread Bruno Cornec
Colin Guthrie said on Wed, Jan 16, 2013 at 09:17:46PM +: > > C) of course, udev is not inside systemd, so it appears the new way is now > > to > > somehow spawn a systemd process inside the chroot (maybe systemd-nspawn?) > > Personally I think that's overkill. +1 and systemd works badly wi

Re: [Mageia-dev] GRUB can't see HD from chroot unless parent /dev is bind-mounted in chroot ?

2013-01-16 Thread Christiaan Welvaart
On Wed, 16 Jan 2013, AL13N wrote: A) mount --bind solution (in fact, only /dev is required) ; mount /proc and /sys can be done inside. AFAIK there is no need to bind mount /dev, just mount devtmpfs. Christiaan

Re: [Mageia-dev] GRUB can't see HD from chroot unless parent /dev is bind-mounted in chroot ?

2013-01-16 Thread Colin Guthrie
'Twas brillig, and AL13N at 16/01/13 19:48 did gyre and gimble: > Op woensdag 16 januari 2013 11:30:27 schreef Liam R E Quin: >> On Wed, 2013-01-16 at 16:24 +, Colin Guthrie wrote: >>> Personally I've been bind mounting /dev, /proc and /sys for years >>> whenever doing any rescuecd etc. stuff.

Re: [Mageia-dev] GRUB can't see HD from chroot unless parent /dev is bind-mounted in chroot ?

2013-01-16 Thread Liam R E Quin
On Wed, 2013-01-16 at 20:48 +0100, AL13N wrote: > Op woensdag 16 januari 2013 11:30:27 schreef Liam R E Quin: > > Why not add a command to the rescue disk, > > bind-mount dir - mount /dev, /proc and /sys as /dir/dev etc for chroot > because in fact, it's not really the correct solution (and ther

Re: [Mageia-dev] GRUB can't see HD from chroot unless parent /dev is bind-mounted in chroot ?

2013-01-16 Thread AL13N
Op woensdag 16 januari 2013 11:30:27 schreef Liam R E Quin: > On Wed, 2013-01-16 at 16:24 +, Colin Guthrie wrote: > > Personally I've been bind mounting /dev, /proc and /sys for years > > whenever doing any rescuecd etc. stuff. Partly because I have several > > LVM volumes where a static /dev/

Re: [Mageia-dev] GRUB can't see HD from chroot unless parent /dev is bind-mounted in chroot ?

2013-01-16 Thread Liam R E Quin
On Wed, 2013-01-16 at 16:24 +, Colin Guthrie wrote: > Personally I've been bind mounting /dev, /proc and /sys for years > whenever doing any rescuecd etc. stuff. Partly because I have several > LVM volumes where a static /dev/ wouldn't help anyway... > > But bind mounting /dev has just been p

Re: [Mageia-dev] GRUB can't see HD from chroot unless parent /dev is bind-mounted in chroot ?

2013-01-16 Thread Colin Guthrie
'Twas brillig, and Frank Griffin at 16/01/13 16:03 did gyre and gimble: > I've been re-running /boot/grub/install.sh from within chroots for years > with no problem. But today when I tried doing this, I consistently got > Error 21: no such device. After googling a bit, I noticed that if I > start

[Mageia-dev] GRUB can't see HD from chroot unless parent /dev is bind-mounted in chroot ?

2013-01-16 Thread Frank Griffin
I've been re-running /boot/grub/install.sh from within chroots for years with no problem. But today when I tried doing this, I consistently got Error 21: no such device. After googling a bit, I noticed that if I started grub in the rescue system and did "grub> geometry (hd0)", I got a correct