|
From: | David N. Welton |
Subject: | Re: automate creation of hard disk image |
Date: | Fri, 21 May 2004 12:47:25 +0200 |
User-agent: | Mozilla Thunderbird 0.5 (X11/20040306) |
[ Please CC replies to me, thanks ]
In any case it did not work, same error as before in strace.
As near as I can tell, the problem is in write_to_partition in device.c which always adds the partition number.
Backing up some, in devwrite, in disk_io.c, if I add code to make it take the else branch instead of the (current_partition != 0xffffff) branch, things do seem to work. I don't know enough about grub to know why it wouldn't have a valid partition number. Any ideas?
Thanyou once again, Dave
[Prev in Thread] | Current Thread | [Next in Thread] |