All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Alexander E. Patrakov" <patrakov@ums.usu.ru>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] Re: installing a boot loader into the disk images
Date: Sun, 12 Sep 2004 12:56:58 +0600	[thread overview]
Message-ID: <ci0rva$a60$1@sea.gmane.org> (raw)
In-Reply-To: <20040911142553.GA2577@sentinelchicken.org>

Tim wrote:
>>I found some nice utilities to make a HD image from a a dir, and another one 
>>for mounting the image on the host, however they are not enough. I need a way 
>>to partition the HD image, and decide which partition will be (ext3 or swap 
>>for example), and most importat: I need to install from the host a boot 
>>loader on the HD image.
>>
>>The last one is really tricky since last time I tried, lilo did not want to 
>>use a file, but it insisted on a real device. I did not try grub yet.
> 
> 
> Well, you can always boot the blank image in conjunction with a boot
> floppy/cd and just do a normal install.
> 
> On the other hand, if you are really really wanting to do it from the
> host OS, I have found this link handy:
> 
> http://rescuecd.sourceforge.net/288.html#grub

You can also use EVMS to partition the loop device. This is a complete 
replacement of lomount. But it's like (as Russians say) shooting 
sparrows from a big cannon.

-- 
Alexander E. Patrakov

      reply	other threads:[~2004-09-12  7:02 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-11 11:56 [Qemu-devel] installing a boot loader into the disk images Diego Iastrubni
2004-09-11 13:18 ` Mark A. Williamson
2004-09-11 14:44   ` Diego Iastrubni
2004-09-11 15:11     ` Mark A. Williamson
2004-09-11 18:06       ` Magnus Damm
2004-09-11 19:55   ` Marcello 'R.D.O.' Magnifico
2004-09-11 14:25 ` Tim
2004-09-12  6:56   ` Alexander E. Patrakov [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='ci0rva$a60$1@sea.gmane.org' \
    --to=patrakov@ums.usu.ru \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.