Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Re: grub-install in chroot

From: Shane Spencer <shane(at)bogomip.com>
Date: Tue Oct 16 2007 - 20:30:30 EDT


Not sure what the instructions said, not that interested in finding out. But there is no need to boot a chroot debian root. Grub is an x86 bootloader. If you want to "boot" a chroot distro then you need to learn how the init process works, or manually bring up daemons from the init system.

Reply to me later off list if you are interested in learning how multiple Linux instances can run in tandem with vserver.

On 10/16/07, Igor Stirbu <igor.stirbu@gmail.com> wrote:
> Hello,
>
> I've been following the instructions on installing a Debian GNU/Linux system
> [1] and
> found an issue that was not completely covered: I could not run grub-install
> in chroot
> because there are no /dev/hdX special files. So the command to be ran in
> chroot
>
> grub-install /dev/hda
>
> should be run as like that outside the chroot:
>
> grub-install --recheck --root-directory=/mnt/debinst /dev/hda
>
> I found this hint here [2] and hope it may be useful.
>
> [1]
> http://www.debian.org/releases/stable/i386/apds03.html.en
> [2]
> http://www.cs278.org/blog/ubuntu-configuration/feisty-debootstrap-encrypted-install/
>
> Thanks,
> Igor
>
> PS: I'm not on the list so please CC me if you want me to see the reply.
>
> --
> :wq

-- 
To UNSUBSCRIBE, email to debian-boot-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Received on Tue Oct 16 20:31:16 2007

This archive was generated by hypermail 2.1.8 : Wed Mar 19 2008 - 03:05:40 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library