How to do grub-install on a (non loading) virtual guest
Amos Shapira
amos.shapira at gmail.com
Tue Sep 22 05:17:27 IDT 2009
2009/9/22 Ehud Karni <ehud at unix.mvs.co.il>:
> Your above recipe differ from mine just by using the host devices as
> is (i.e. not creating different devices on the non-running guest /dev).
>
> Did you try it ? I don't think this will work, because what I'm really
> doing is mapping the HOST /dev/loop7 into the GUEST /dev/hda, and (HOST)
> /dev/mapper/loop7p1 into (GUEST) /dev/hda1.
You are right - I missed that bit and mixed up two different goals
that I used my trick for -
1. Manipulate the "outside chroot" /boot partition from inside the
chroot (in the case of manually installing LVM packages on the Ubuntu
hard disk from the live CD)
2. It is useful to manipulate rpm packages inside the Xen guest on CentOS.
The mapping trick is unique to your situation.
Cheers,
--Amos
More information about the Linux-il
mailing list