qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] gentoo disk image for QEmu


From: Magnus Damm
Subject: Re: [Qemu-devel] gentoo disk image for QEmu
Date: Sat, 12 Mar 2005 11:31:43 +0100

Hello again,

On Sat, 12 Mar 2005 10:55:49 +0100, Jérôme Bouat
<address@hidden> wrote:
> Here is what did my scripts in order to install the bootloader :
> ---
> /sbin/losetup $(loop_device_2) $(disk_image).tmp && \
> mount -t proc none $(tree)/proc && \
> $(chroot) $(tree) /bin/bash install_grub.sh && \
> /sbin/losetup -d $(loop_device_2) && \
> ---
> 
> with 'install_grub.sh':
> ---
> /usr/sbin/env-update && source /etc/profile &&
> echo using this device map for GRUB: &&
> echo --- &&
> cat dev.map &&
> echo --- &&
> grub --device-map=dev.map <<END
> root (hd0,0)
> setup (hd0)
> END
> ---
> 
> But it never worked. Could your tool help me ?

Grub is not included in my tool, so I guess it won't help you in this
case. But feel free to add grub and send a patch to me. =)

Have you tried executing the commands one by one to see exectly where
things fail? Verify that the chrooted environment has all the required
device nodes and libraries.

/ magnus




reply via email to

[Prev in Thread] Current Thread [Next in Thread]