Re: automate creation of hard disk image

2004-05-24 Thread David N. Welton
[ Please CC replies to me. ] As near as I can tell, the problem is in write_to_partition in device.c which always adds the partition number. You are right. I thought I fixed this, but I was mistaken. So I have implemented a bugfix for this right now. Could you try the cvs version once again? It

Re: automate creation of hard disk image

2004-05-23 Thread Yoshinori K. Okuji
Hello David, On Friday 21 May 2004 12:47, David N. Welton wrote: > As near as I can tell, the problem is in write_to_partition in > device.c which always adds the partition number. You are right. I thought I fixed this, but I was mistaken. So I have implemented a bugfix for this right now. Could

Re: automate creation of hard disk image

2004-05-22 Thread David N. Welton
[ 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

Re: automate creation of hard disk image

2004-05-21 Thread David N. Welton
David N. Welton wrote: [ Please CC replies to me, thanks! ] I think this has been fixed. Which version of GRUB are you using? Could you try the current version in the CVS? 0.94 from Debian unstable. I suppose I can try recompiling it from CVS... The savannah 'grub' project referenced on the web

Re: automate creation of hard disk image

2004-05-21 Thread David N. Welton
[ Please CC replies to me, thanks! ] Yoshinori K. Okuji wrote: On Thursday 20 May 2004 14:58, David N. Welton wrote: An strace reveals that it attempts to open the file hd.image1, which of course does not exist. Any way to tell it to not do that? I think this has been fixed. Which version of GRUB

Re: automate creation of hard disk image

2004-05-20 Thread Yoshinori K. Okuji
On Thursday 20 May 2004 14:58, David N. Welton wrote: > An strace reveals that it attempts to open the file hd.image1, which > of course does not exist. Any way to tell it to not do that? I think this has been fixed. Which version of GRUB are you using? Could you try the current version in the C

Re: automate creation of hard disk image

2004-05-20 Thread David N. Welton
Running "install /boot/grub/stage1 (hd0) (hd0)1+16 p (hd0,0)/boot/grub/stage2 /boot/grub/menu.lst"... failed Error 22: No such partition grub> geometry -w (hd0) 93 16 63 Error 11: Unrecognized device string Thanks again, An strace reveals that it attempts to open the file hd.image1, which of

Re: automate creation of hard disk image

2004-05-20 Thread David N. Welton
David N. Welton wrote: [ please CC replies to me - thanks! ] Hi, I have a disk image I am creating in a file, hd.img. I've been attempting, so far without success, to automate the installation of grub to this disk. It's not a complex setup - just a HD image for use with bochs (and eventually on

automate creation of hard disk image

2004-05-20 Thread David N. Welton
Hi, I have a disk image I am creating in a file, hd.img. I've been attempting, so far without success, to automate the installation of grub to this disk. It's not a complex setup - just a HD image for use with bochs (and eventually on the target system), but things don't seem to be working. Ha