Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I know this is LQ, but I have several Ubuntu computers already, and I've "inherited" a Windows 7 computer that went blotto. It's a Optiplex GX520, and having Windows on it would help me do a few things. I've tried to run the repair feature. No luck. The computer says there are no system restore points. In the 'advanced options' I was able to start 'last good configuration.' It started and took hours. It got all the way to 92% completion and froze.
Any other thoughts on how I could get the Windows 7 back?
Open the PC. Remove and reseat the memory and drive cables. Consider replacing the CMOS battery. With the case back together, run a hard drive diagnostics (perhaps using the UBCD). A memory check wouldn't hurt either.
Quote:
Originally Posted by Gregg Bell
...I've tried to run the repair feature. No luck...
Windows recovery or Dell Utilities? If the PC still has the Dell utilities pressing F12 at boot should give you access to them. You are supposed to be able to check the hard drive using the utilities.
Check the partition layout with a live CD. That should show if there is a Dell partition or a Windows recovery partition you may be able to use.
One other thing in addition to above: I presume you've tried booting/restoring in safe mode/command prompt. If you look at the messages, see if you can find the last one it freezes on. Sometimes searching google by that particular message can help pinpoint the problem.
And if you're seriously wanting to fix it, you might want to image the drive with dd prior to making any other modifications.
I'd run chkdsk command on system and boot partitions. Sometime it helps, but not to say it guarantee the system will be restored. Apart from chkdsk you could try fix it by "bootrec.exe /fixboot" and "bootrec.exe /fixmbr" commands.
All these commands presented on Win 7 installation media.
Another one thing worth to try is booting into safe mode. Just boot and if you'll be lucky on next reboot you will get your Windows back
If the computer case has a Windows 7 License sticker on it with a alpa-numeric code on it, then go the link above and put your code in and verify. Then you should be able to download it and burn to a cd, so you can boot to it and reinstall Windows 7. If it doesn't have the sticker, then try (like others said above) try the recovery partition, if it has one. Usually you get to the recovery by hitting an F key during bootup, it may tell you which F-Key it is on the on of the screens while its booting.
May I ask what you still need Windows for? Maybe there is a linux alternative software we might can recommend.
Have fun reading 11 paqes. You will find something. I know I did.
OMG! There are so many links in those pages! Thanks. Hey, I was looking at the links you have for free books. Do you happen to know if any of them are .epub or .mobi files? (Everybody calls .pdfs ebooks and they're not. Ebooks get read on ereaders (eg. Kindle) and .pdfs don't.)
Open the PC. Remove and reseat the memory and drive cables. Consider replacing the CMOS battery. With the case back together, run a hard drive diagnostics (perhaps using the UBCD). A memory check wouldn't hurt either.
Windows recovery or Dell Utilities? If the PC still has the Dell utilities pressing F12 at boot should give you access to them. You are supposed to be able to check the hard drive using the utilities.
Check the partition layout with a live CD. That should show if there is a Dell partition or a Windows recovery partition you may be able to use.
Apparently the OS boots but doesn't run properly?
Thanks a lot, 2damncommon. Being pretty new (and the computer is new to me too) I've avoided at all costs opening the computer up. Anyway, the Dell Utilities isn't there. And on start up the computer runs the MS colors but leads to choosing either a system restore or I believe (I don't have the computer on now) something similar. Choosing the system restore just runs and runs but comes to the conclusion that it can't help.
One other thing in addition to above: I presume you've tried booting/restoring in safe mode/command prompt. If you look at the messages, see if you can find the last one it freezes on. Sometimes searching google by that particular message can help pinpoint the problem.
And if you're seriously wanting to fix it, you might want to image the drive with dd prior to making any other modifications.
Thanks mostlyharmless. I have no opportunity to boot in the safe mode. By gerrymandering around I was able to get to the command line, though.
How could I image the drive, though, if I can't get to it?
I'd run chkdsk command on system and boot partitions. Sometime it helps, but not to say it guarantee the system will be restored. Apart from chkdsk you could try fix it by "bootrec.exe /fixboot" and "bootrec.exe /fixmbr" commands.
All these commands presented on Win 7 installation media.
Another one thing worth to try is booting into safe mode. Just boot and if you'll be lucky on next reboot you will get your Windows back
Thanks Teufel. I'll see if I can get back into the terminal and then I'll run those commands. And I wasn't able to boot to the safe mode.
Smells like a physically damaged hard disk. Replace disk, install from scratch.
Thanks Vamos. I don't know. The computer was my sister's and she just said it froze and she did ctrl-alt-del a few times and then yanked the power plug from the wall outlet, so I'm thinking (hoping?) the disk isn't physically damaged.
If the computer case has a Windows 7 License sticker on it with a alpa-numeric code on it, then go the link above and put your code in and verify. Then you should be able to download it and burn to a cd, so you can boot to it and reinstall Windows 7. If it doesn't have the sticker, then try (like others said above) try the recovery partition, if it has one. Usually you get to the recovery by hitting an F key during bootup, it may tell you which F-Key it is on the on of the screens while its booting.
May I ask what you still need Windows for? Maybe there is a linux alternative software we might can recommend.
Thanks erik. Yes, it has the sticker. I will try that. That would be great if it works.
And yeah, I don't really need the Windows, but there are a few things it would make easier. I could see what my website looks like on IE. I could get the later versions of Adobe Digital Editions (than I can on Wine). Just stuff like that. And since I already have several linux computers I figure, why not.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.