LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Formatting? (https://www.linuxquestions.org/questions/linux-newbie-8/formatting-354621/)

blackjack90 08-18-2005 01:17 PM

Formatting?
 
I was wondering...If I install Linux and I some how cant connect to the internet OR get Windows to boot up which ways can I format so I can just have Windows working again?

Nylex 08-18-2005 01:22 PM

Boot from your Windows CD and reinstall it.

blackjack90 08-18-2005 01:36 PM

Wow...So I would have to re-install Windows? :cry:

Nylex 08-18-2005 01:39 PM

Sorry, I thought that was what you wanted to do. You probably would need to if your Windows partition got corrupted or definitely if it was overwritten. Be sure to add an entry for Windows when you set up your bootloader during your Linux installation, that should let you dual boot.

bosewicht 08-18-2005 01:40 PM

You could try to clear the MBR, windows may boot back up. I believe that windows does not use it.

blackjack90 08-18-2005 02:07 PM

Ok...If my dual booting doesnt go up right where could I locate the MBR?

aysiu 08-18-2005 02:29 PM

Quote:

Originally posted by blackjack90
Ok...If my dual booting doesnt go up right where could I locate the MBR?
You don't need to reinstall Windows. Just use fixmbr:

http://www.microsoft.com/resources/d...d_tro_ldau.asp

blackjack90 08-18-2005 03:26 PM

Well I dont have Windows Professional...

pagaporcristo 09-17-2005 11:35 AM

Windows must be the ACTIVE partition on hda1 (in other words, must be the active partition on your master hard drive). Otherwise, it won't boot. I had this trouble when I tried to format a UNIX partition as an NTFS partition from within WINXP. To fix the problem, it required me to use gdisk to change the active and hidden partitions and then manually configure GRUB (which is the bootloader that I was using at the time). I can't remember exactly what I did, it was just playing around with the hidden partitions and the syntax for GRUB is a little awekward. My recommendation, don't install Linux if you want to just try it out. Many distros now offer "live" cd's that let you check things out without installing everything. They run basically out of your ram from the CD. Check out SuSE and Knoppix for popular distros. Personally, I use SuSE 9.3 pro, so I guess I'm jaded. Also, Linspire is a great Newbie distro but its software support does cost $25/year. They were giving away free copies last I checked.

Lagg 09-17-2005 12:12 PM

Quote:

Originally posted by blackjack90
Well I dont have Windows Professional...

Doesn't matter, I have a XP home Upgrade (you know if you had 98 from before, probably the lowest XP cd you can get) and I use that to repair.

Mr. Swillis 09-17-2005 08:27 PM

WHOA!!!! Hold up people!

No need to re-install here....jeez. Is this XP or older? If it's XP, just put the install cd in and reboot. When it comes up to the boot screen select repair existing installation. This will give you a command line login. Hopefully you remember the Administrator Password because you will need this. If you don't recall entering one, you may not have...you don't have to Windows...in this case, just press enter at the password prompt.

At the prompt, type "fixmbr" and answer yes to anything. Then type 'exit' to reboot and remember to remove the cd. This is all that's necessary to remove the bootloaders for linux and get windows working again. In some cases there may be more issues with the boot sector, but 9 out of 10 times, the "fixmbr" is all you need.

In win9x, you can boot with dos boot disk and use something like "fdisk /mbr" to accomplish the same goal....read up on that one though, as it has been a while for me in the 9x world.

Hope this helps.... "reinstall...." .... man, I know this is a Linux place, but data is data, you need to be careful with the Windows suggestions here too.

Mr. Swillis


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