[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: a patch for working with HDD images and for newer Intel cards
From: |
Pádraig Brady |
Subject: |
Re: a patch for working with HDD images and for newer Intel cards |
Date: |
Tue, 22 Apr 2003 23:30:04 +0100 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030313 |
Sergey Babkin wrote:
Hi,
I've been trying to create the images of hard disks with GRUB and
found that on Linux it wants to write to the partition as a separate
file. Which is not neccessary and just plain harmful in case if
I'm installing GRUB on a disk image. So I've made the attached a small
patch grub-0.91-hddimage.patch. The patch is made against a
Caldera-patched version of 0.91 but it applies fine to 0.93 too.
But what if the user has the partition(s) in the disk image (file)
mounted seperately?
I was wondering the same thing (you might have seen my post to the list
today (I only got yours now :-()), and assumed because of the linux bug that
you would have to determine whether any partitions were mounted in the
file/disk
you're working on, to know whether to ignore this test?
In other words as far as this linux bug is concerned whether it's a file
or "real"
disk doesn't matter?
Pádraig