[EMAIL PROTECTED] wrote:
Hello,

Someone I know moved his dual-boot system to a new disk
and now has problems logging in to the Windows partition.

Setup:

1. Fedora Croe 3
2. Windows 2000 (Server?) on an NTFS partition

Both on the same disk. Another disk is used for data.

The windows partition was copied by creating a partition with at least
the same amount of sectors on the new disk then dd'ing the partition.
We also made sure that the partition number is the same as on the
old disk.

Windows boot fine, but after a user name and password are entered
it just pops back into login screen.

Microsoft's site explains exactly how to fix this, except that they
assume access from a windows machine (e.g. over the net).
Apparently it's something to do with hash strings of the drive
identification inside the registry.

We found a tool to edit the registry file on NTFS from Linux but it
seems to be geared only towards reseting passwords, not about
updating strings in the registry in general.

Does anyone know of a way to edit the Windows registry from Linux?

(I'd supply the links we found but don't have them handy right now).

Thanks,

--amos

I've been keeping an eye out for similar utility. samba has one listed but it is not finished/done yet.


A possibility is to replace the login window with a command shell. I've done this before. I can't remember the specifics of it, but basically you can replace the login window binary (lsass, lra or lga or some such thing) with a copy of the cmd.exe file (obviously making backups). Boot the system and instead of the login window you get a "command prompt" console. From here you should be able to run regedit and do whatever is necessary. Could be wrong, but may be worth a try. I think notepad.exe can be used also (instead of cmd.exe) and use the File, OPen to run things (eg Notepad, File, Open, C:\windows\system32\regedit.exe will actually execute regedit instead of opening it - or that's the rumour I read somewhere).

HTH

Fil
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to