[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt-users] Migrate Win2k3 to KVM

Hash: SHA1

On 12/07/2015 11:09, Ruzsinszky Attila wrote:
>> Great, then, it opens possibilities. Let's try the following: - -
>> Install chntpw
> Is that a Linux program? I use Ubuntu 14.04 64 bit.

Yes. And Ubuntu provides a package for this program.

>> - - Now, start registry editor: chntpw -e sam system security
>> software
> "system security software" is parameters?

All are parameters. '-e' means you want to start the program as
registry editor. Then, the rest if just the list of the hives you want
to open. SAM is mandatory, chntpw is always looking for it. Security &
software might actually not be mandatory for what we do.

>> The following commands are to type in chntpw prompt: - - hive 1
>> (to move to system) - - cd ControlSet001 - - cd Control - - cd
>> CriticalDeviceDatabase - - Check you have the following keys:
>> primary_ide_channel, secondary_ide_channel,
>> pci#ven_8086&dev_7010, pci#ven_8086&dev_7111 keys. Some will be
>> missing (otherwise, you'd boot ;-)).
> I think I'll find SATA something, because the original image was
> taken from a SATA system.

You'll likely find pci#vend_XXXX&dev_XXXX keys matching your SATA buses.

>> - - Add the missing ones. For example: 'nk
>> pci#ven_8086&dev_7111'
> What does it mean "'nk"?

It's the command for creating a 'new key'

>> followed by: 'cd pci#ven_8086&dev_7111' followed by 'nv 1
>> Service' (1
> ... and "'nv"?

It's the command for creating a 'new value' in a key.

>> for REG_SZ) followed by 'ed Service' and type intelide. Proceed
>> like that will all the missing keys & values[1], 'cd ..' when
>> you're done with all the values of a key, to proceed for the
>> others - - cd .. (you're now in Control) - - cd .. (you're now in
>> ControlSet001) - - cd Services - - Check you have the following
>> keys: atapi and intelide - - Add the missing ones[2]. REG_DWORD
>> type is 4 when doing nv. (like nv 4 ErrorControl) - - You're
>> done, so: q to quit chntpw (of course, reply 'y' to write hives)
> Maybe I'll have question with registry. Tomorrow morning I'll try
> your steps. Can I a backup file from the registy before I start the
> procedure? And how?

Backup the config directory files. They are the hives containing your
Windows registry.

>> Back to your linux term: - - cd ../drivers/ - - Check you have
>> atapi.sys and intelide.sys. In case you don't, extract them from
>> the cab file you can find in Windows\Driver Cache\i386 - -
>> Umount - - Try to boot again, and report.
> Now I copied the virtio drivers to the ./Drivers directory. I
> understand the 1st goal is booting from IDE. What about SATA?

I unfortunately don't happen to have a VM using SATA buses, so I've no
idea what HW IDs is Qemu using for its buses. It could be interesting
to have a look though.
- -- 
Pierre Schweitzer <pierre at reactos.org>
System & Network Administrator
Senior Kernel Developer
ReactOS Deutschland e.V.
Version: GnuPG v2.0.22 (GNU/Linux)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]