[prev in list] [next in list] [prev in thread] [next in thread] 

List:       qemu-devel
Subject:    Re: [Qemu-devel] installing a boot loader into the disk images
From:       Diego Iastrubni <elcuco () kdemail ! net>
Date:       2004-09-11 14:44:02
Message-ID: 200409111744.02985.elcuco () kdemail ! net
[Download RAW message or body]

בשבת, 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/


_______________________________________________
Qemu-devel mailing list
Qemu-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/qemu-devel

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic