David Barrett wrote:
> Following up on my previous post: I've figured out some of the steps,  
> but I'm stuck on installing Grub.  Do you know how to install grub on a  
> raw device file?

You may be able to get grub-install to work using the --grub-mkdevicemap
option and a dummied up device map that points to the disk image.

> echo "Creating 1GB file of zeros in $1.raw"
> dd if=/dev/zero of=$1.raw bs=1024 count=1048576

But wouldn't it be easier to stop here and run:

qemu -cdrom mini.iso -hda $1.raw -boot c

(Downloading an appropriate d-i mini.iso or other iso first.)

-- 
see shy jo

Attachment: signature.asc
Description: Digital signature

Reply via email to