LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices

Reply
 
Search this Thread
Old 01-08-2008, 06:18 AM   #1
DJGCrusader
LQ Newbie
 
Registered: Aug 2007
Posts: 17

Rep: Reputation: 0
Wine installed a program onto my windows partition, Windows BSOD on boot.


To make a long story short, I made the virtual C/ drive in WINE /media/sda1 (my real Windows C drive). stupid, stupid, stupid. Now I cannot uninstall the program using "uninstall Wine Software", and I get this BSOD every time i boot into Windows:

Stop: c000021a {Fatal System Error}
The Windows Logon System Process terminated unexpectedly with a status of (0x00000000 0x00000000)
0xc0000139

greeeeat...
It's definately the change of installed programs in my registry, but how do i diagnose it in the first place?

HELP???
 
Old 01-08-2008, 06:41 AM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728
I'm not qualified to be much help here, but I am curious.....I assume that you simply mounted your real C drive (sda1?) to ~/.wine/drive_c. When you installed something after doing that, did it work? If so, why would you not be able to uninstall it?
 
Old 01-08-2008, 06:18 PM   #3
DJGCrusader
LQ Newbie
 
Registered: Aug 2007
Posts: 17

Original Poster
Rep: Reputation: 0
Well, it RAN but i got a random error, and it closed. And for WINE, i didnt "mount" anything. Unless i did, (if then stupid me lol) but in the preferences "Drives" tab, you can choose what drives are displayed/effected by the Windows Emulator. I made /media/sda1 my C:/ drive, and the /home/blah/.wine/drive_c/ i made the virtual D:/ drive. I tried reinstalling it, and the installer won't run if i make the default C:/ the /.wine/drive_c, only if it is the /media/sda1/ folder.
gah... I don't have any windows install CD of any sort, and my XP image comes standard with the school, but the IT guy at school doesn't ask any questions and simply reimages the hard drive. Any idea of what live cd i could use to diagnose and fix my predicament? Or how i can do it while running ubuntu? or even how to get Wine to work?
 
Old 01-19-2008, 03:13 PM   #4
DJGCrusader
LQ Newbie
 
Registered: Aug 2007
Posts: 17

Original Poster
Rep: Reputation: 0
Does anyone want to help me out here?
 
Old 01-19-2008, 03:32 PM   #5
gankoji
Member
 
Registered: Nov 2007
Location: Southern California
Distribution: Slackware-13.0 x86_64, Slackware 12.2, slackware64-current
Posts: 225

Rep: Reputation: 35
honestly DJG, the best way to handle this is to back up your data and let the IT guy at school do his thing. The problem is that you allowed WINE to use its virtual registry on top of the registry already found on the C drive, which more than likely caused windows to have a fit. Also, there could have been a conflict with WINE writing to a NTFS partition, although I don't know about that. You're options have become very limited, because removing the program that you installed isn't going to patch up your registry. There are more than likely some tools that will allow you mess with the registry, but you'd have to fix your computer one attribute at a time.

Reinstalling windows will automatically take over your MBR, so if you use LILO or GRUB be sure to get ready a method to reinstall them from a LiveCD. On the positive side, a reinstall/reimage isn't always bad...

Happy Hunting :-)
 
Old 01-19-2008, 03:38 PM   #6
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728
ditto.
Backup your data (you can access it from Linux) and re-install Windows.

More than once, I have tracked down an issue like this, fixed it, and then discovered more side effects which caused me to eventually re-install. Now I give it maybe 30 minutes before I grab the installation disk and make a new pot of coffee. (30 cups if it is Windows to be re-installed....)
 
Old 01-19-2008, 04:48 PM   #7
proc
Member
 
Registered: Jul 2007
Location: /dev/urandom
Posts: 70

Rep: Reputation: 15
As far as i know Linux can't write to NTFS without a 3rd party driver, it can only replace files that are the same size.
 
Old 01-20-2008, 09:49 AM   #8
DJGCrusader
LQ Newbie
 
Registered: Aug 2007
Posts: 17

Original Poster
Rep: Reputation: 0
Well I suppose what you're saying is right. I'm going to start transferring important files using my iPod 30g or something. I'd like to keep my Linux partition, or at least keep most of the same settings. Is there some sort of migration manager that I can use to kepe the same settings? I know the Compiz manager built into gutsy can export settings. I'm going to remain n my state a bit longer until my lack of internet at school really ticks me off. Thanks for all your help!
 
Old 08-14-2009, 06:53 AM   #9
theacerguy
Member
 
Registered: Jan 2009
Location: on my pc!
Distribution: openSUSE 11.2 opensolaris 2009.06
Posts: 218
Blog Entries: 7

Rep: Reputation: 32
well when you reinstall if he can choose to install just to the part where win was then go into a live-cd and then terminal then sudo grub
you should now have a prompt like this:
grub> at this type find /boot/grub/stage1
that will return something like hd(0,1) (/dev/sda2 which i guess it your linux part)
then root what the previous command returned so like root hd(0,1)
setup hd(0) and then wait for that to finish and reboot and you will have grub back!
 
Old 08-14-2009, 08:25 AM   #10
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728
Please note the date of the thread and OP's closing statement implying he had a plan. (He has not been here since.)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Running eMule installed in Windows partition through Wine on Ubuntu eluzi Linux - Software 2 03-12-2007 10:38 PM
dual boot - Grub won't boot Windows on /windows/D partition biosol Suse/Novell 9 04-09-2006 08:14 PM
linux/ windows dual boot. Windows XP is in portable HDD (already installed) izquierdista Linux - General 1 02-03-2006 10:23 AM
No more BSOD on windows makuyl General 1 06-03-2005 06:09 PM
Running a windows program from windows partition, on linux, possible? Kriptis Linux - Newbie 4 01-18-2005 10:52 PM


All times are GMT -5. The time now is 01:12 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration