Skippy VonDrake
2014-Dec-22 14:54 UTC
Re: [Libguestfs] does guestfs_list_partitions() work with Windows 95 images?
> > > It's possible that the disk is not partitioned, ie. that what you've > got here is a straight filesystem. You could see if libguestfs can > mount it: > > guestfish --ro -a disk.img -m /dev/sda > ><fs> ll / > >That worked! Thanks for the help. Now I'm tweaking my old code and just replacing my guestfs_mount() call with a hard-coded "guestfs_mount(g, "/dev/sda",'/"); Next task is to review my registry changes and see if those registries even exist in Win95. What this code does is open the image, tweaks some registry settings to use some "generic" drivers and uploads those drivers. With the goal of running the VM without resulting in a BSOD. But I might just try and remove all the "tweaking" and see if a Virtual Box VM can just boot up the image. Might get lucky. Besides - I doubt those drivers are Win95 compatible. I'll let you know how it goes.
Richard W.M. Jones
2014-Dec-23 15:31 UTC
Re: [Libguestfs] does guestfs_list_partitions() work with Windows 95 images?
On Mon, Dec 22, 2014 at 09:54:03AM -0500, Skippy VonDrake wrote:> What this code does is open the image, tweaks some registry settings > to use some "generic" drivers and uploads those drivers.I think you might find that the Windows 95 registry format is not compatible with hivex. I don't think anyone has actually tried it. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com Fedora Windows cross-compiler. Compile Windows programs, test, and build Windows installers. Over 100 libraries supported. http://fedoraproject.org/wiki/MinGW
Reasonably Related Threads
- does guestfs_list_partitions() work with Windows 95 images?
- Re: does guestfs_list_partitions() work with Windows 95 images?
- Re: does guestfs_list_partitions() work with Windows 95 images?
- guestfs_list_partitions with vdi
- Re: does guestfs_list_partitions() work with Windows 95 images?