qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] installing a boot loader into the disk images


From: Diego Iastrubni
Subject: Re: [Qemu-devel] installing a boot loader into the disk images
Date: Sat, 11 Sep 2004 17:44:02 +0300
User-agent: KMail/1.7

בשבת, 11 בספטמבר 2004, 16:18, נכתב על ידי Mark A. Williamson:
> I assume you're on a linux host: if it's just a raw HD image, use the
> losetup command to bind the image file to a loop block device (e.g.
> /dev/loop0), then install grub / lilo on that.
>
> The loop block device is handy becuase it allows you to make a file appear
> as a block device to the rest of the OS.  Unfortunately, it does not
> support partitions within the "file" device.  There are patches available
> on the internet which if applied to your host kernel may enable this...
Lets take this approach.

Now my problem is:
I use a disk with one partition. I put the kernel on thr proper location and 
install lilo/grub on it. Will this work? I think the boot loader will be 
looking for a normal setup, not this hack.

Another option is still is making a boot floppy, that will mount /dev/hda (the 
raw disk image) as /.  (Thanks Tim).
http://rescuecd.sourceforge.net/288.html#grub

Anyway, you been more then helpfull. Thanks!

-- 

diego, kde-il translation team

Please avoid sending me Word or PowerPoint attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html
Free MS-Office replacement for most platforms
http://www.openoffice.org/




reply via email to

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