LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   HELP!!! I messed up my installation! (https://www.linuxquestions.org/questions/linux-newbie-8/help-i-messed-up-my-installation-44704/)

slvrphnx 02-09-2003 01:58 PM

HELP!!! I messed up my installation!
 
I have an IBM Aptiva, with a Pentium II, 133 MHz processor. It has about 1 gigabyte of memory. I started out trying to install VectorLinux, and ended up with a total mess. When I partitioned the HD, the DOS files that boot Windows and the main VectorLinux files got deleted. The computer cannot recognize the CD-ROM drive, but I know it is working, because when I ran the product recovery disk, it worked. But that did absolutely nothing to recover the DOS files for Windows. Now I’m stuck with a computer that does nothing. Can anyone help this complete :newbie: ?

salparadise 02-09-2003 02:32 PM

have you got a windows boot floppy?

if so sys c: to copy the three files back to the hard drive that windows needs to boot

then start the machine

i'm afraid i dont know VectorLinux at all (only Mandrake and RedHat) and so don't know what the install bit is like.

you can partition with fdisk (on winboot floppy)
or with disk druid under linux

Sparky 02-10-2003 01:53 PM

You may only need to re-establish/reset the Master Boot Record. With the MS-DOS boot disk and the FDISK.EXE program (some would call a "command") simply boot DOS and type in:

FDISK /MBR

This is NOT the same as repartitioning your hard drive which is what FDISK's main purpose is (Microsoft's FDISK that is)! Lilo and other OS "loaders" have a tendency to mess up the MBR if all you want to do is run a Microsoft OS later on (that's the short answer anyway). One word of caution though: if you want to be able to boot and SELECT the OS (ie. Linux, Windows, OS2, Etc.), which is what Lilo and other similar loaders do, then you need to reinstall Lilo or whatever it was that you used to do that with (I can't tell you how that's done since I'm still just a Linux newbie myself and know very little about the inner-workings of Lilo). Resetting the the MBR for MS-DOS/Windows will permanently disable Lilo (or whatever) from allowing you to select ANY other OS when booting. This is usually the LAST step AFTER you resize any partitions BACK to their former parameters too. Of course, re-establishing the Microsoft boot files can't hurt either. To do that type in:

SYS C:

from a command prompt. Then again, that's assuming you have the SYS.COM utility on your floppy boot disk too (you really only need to do that if MSDOS.SYS, IO.SYS and/or COMMAND.COM are gone or corrupt which is NOT very likely). More often than not, simply copying the COMMAND.COM is all that's required. Hope it helps. L8R...

slvrphnx 02-17-2003 09:14 PM

Thanks! Your sugggestions would have worked, had I been awake while I ran fdisk. But since I was intelligent enough to make the wrong partition the primary DOS partition, the computer is now trying to boot from 2 mb. I think I'll re-format it using another computer...


All times are GMT -5. The time now is 09:08 AM.