LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices



Reply
 
Search this Thread
Old 01-26-2004, 09:07 PM   #1
andym
Member
 
Registered: Apr 2003
Location: UK
Posts: 52

Rep: Reputation: 15
Unhappy help! deleted linux partition!


i have deleted all partitions on with linux on my computer using windows disk management but i stupidly deleted the grub loader thing (or the [partition with it on) and linux was the default boot up. so now when i switch it on it just says grub 0.93 and a grub> prompt....how can i load into windows from here and how can i get rid of this all the grub loader stuff?????

thanks

andy
 
Old 01-26-2004, 09:12 PM   #2
vectordrake
Senior Member
 
Registered: Nov 2003
Location: NB,Canada
Distribution: Something alpha or beta, binary or source...
Posts: 2,280
Blog Entries: 4

Rep: Reputation: 47
win9x--------> fdisk /mbr
win2000,XP----> from recovery console, fixmbr


lotsa threads with good explanations try the search box
 
Old 01-27-2004, 02:34 PM   #3
andym
Member
 
Registered: Apr 2003
Location: UK
Posts: 52

Original Poster
Rep: Reputation: 15
i tried typing those and it doesnt recognise the command. when i boot it just says :

GRUB version 0.93 (639k lower / 260352K upper memory)

[minimal BASH-like line editing is supported. for the first word, TAB lists possible command completions. Anywhere else TAB lists the possible completions of a device/filename.]

i was using RH9. all i want to do is get rid of this and linux altoether on this machine so i can just boot into the windows partition as usual. i dont quite understand what happened, in windows i deleted the partitions and the reformatted them as fat32, and everything was fine until i rebooted

i do not have a windows cd by the way

Any help would be great thanks

andy
 
Old 01-27-2004, 04:43 PM   #4
vectordrake
Senior Member
 
Registered: Nov 2003
Location: NB,Canada
Distribution: Something alpha or beta, binary or source...
Posts: 2,280
Blog Entries: 4

Rep: Reputation: 47
Andy,

I have read most of your other posts on other topics and I am getting the idea that you must do things on impulse. The jump to Linux was a good one. Perhaps Red Hat was a bad start, as RPMs seem to cause problems soon out of the gates. Perhaps you can give it another go sometime with a boxed set with a manual in it.

Here is what you do to get your windows back. I am gonna answer for both types of fixes, since I don't know what version of Windows you have. If you do as I tell you to, it will probably bring your Windows back:

1: If its Windows 95,98,98SE,ME do this ---

Get someone who is nice with windows 98, 98SE, or ME to make you a recovery floppy. That can be done in the control panel under add/remove programs, I believe. Once that is made, you have all you need.

Boot your computer with the floppy in the drive (be sure that your boot sequence in your BIOS is set to boot from floppy before the hard drive). Let it boot to the A: prompt. When done, type "fdisk /mbr". Remember the space before the "/" switch. Then remove the floppy and reboot your machine. You should be back to Win98 or whatever.

2: If you have Windows 2000 or XP, you'll be best served by borrowing a friend's installation cd and booting from it (choose 'boot from cd' when prompted). The same rule applied to BIOS settings: set it to boot from the CD before the HD. Let it churn along and get itself to the 'choose what to do' screen (about 5 minutes on my P-III 700). You'll at that point have the option to install Windows, upgrade Windows, or enter the recovery console. Choose the recovery console. Let it boot into it. You'll be presented with an A: prompt. Type "fixmbr". Reboot. You should be back in Windows. If that doesn't work, you've got more than bootloader problems.

The above steps are well documented on the web. A quick google search with even general search terms will give you results enough to keep you reading for days. I am sure there are other threads on this site as well that describe the procedure (regardless of whether its not a Linux-related question). Good luck

BTW: If you get back into WIndows, write down your product ID# and keep it in a safe place. Then, you might consider checking out prices on the cd for your OS. Ebay has a lot of sales on Windows disks constantly. You'd be well served to have one in case you ever hose your system. Sorry to see you give up on Linux. Perhaps after reading the manual for your distro of choice, you'll have a better handle on what to do if something goes wrong. Listen to the Boy Scouts and "be prepared"
 
Old 01-28-2004, 05:13 AM   #5
andym
Member
 
Registered: Apr 2003
Location: UK
Posts: 52

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by vectordrake
Andy,

I have read most of your other posts on other topics and I am getting the idea that you must do things on impulse.
Thankyou very much i will try this asap you are right i defintely need to stop doing things like this on impulse! dont worry though i havent given up on linux, just i needed the space on my laptop, i have a spare laptop that i intend to make 100% linux and have linux on secondary HD's at work do u think it would be best to use a different distribution like SUSE or MANDRAKE or something?

many thanks and fingers crossed

thanks

andy
 
Old 01-28-2004, 07:01 PM   #6
vectordrake
Senior Member
 
Registered: Nov 2003
Location: NB,Canada
Distribution: Something alpha or beta, binary or source...
Posts: 2,280
Blog Entries: 4

Rep: Reputation: 47
Glad to see that you didn't get bit too hard by the mad penguin. Honestly, I feel most at home in Debian and Mandrake, for different reasons (I can't comment on SUSE since I haven't installed it, but they will be going places - if you like KDE, theirs is the best distro to go with, since they seem to be the major financial sponsor). Mandrake is compiled for pentium or faster, so it is a bit more responsive than an i386 install. It has great tools as well, such as Mandrake Control Center. Its actually possible to configure a network, printers, and new hardware, as well as user and group permissions in a GUI that doesn't make you click through 50 different wizard windows. Most RPMs out there will usually install on Mandrake, although they have some compiled on Mandrake systems that run a bit better. There is URPMI, which is Mandrake's attempt to resolve dependancies. Instead of rpm this and rpm that and rpm the other thing, you hit urpmi packagename and it even fetches most dependancies.

Debian is another story because of, mainly, apt-get. If you want a package installed, you type apt-get install packageX and it installs it with dependancies, all ready for use. Very rarely do you break your system. The default installs (what NetBSD calls 'canned distributions'LOL) sometimes have too many packages that do the same thing, so its easier to install them 'by the each'. Currently, I am trying to install Gentoo on my machine. Got the system there but the bootloader is being stubborn, so I am relegated to Windows XP for a little bit until I figure out the parameters (which I will write an unfficial mini-howto forwhen I figure it out). Perhaps that would be the new recommendation. Although its from source, their instructions are the most lucid that I have seen.

If you wanna see a good hardware detection routine, get a coppy if Knoppix, Gnoppix, Mepis, or Damn Small Linux. You'll be amazed at these. They are all Debian-based live cd's. A great way to get another feel for Linux. If you like them, they'll install to your hard drive easily. Wait until the 2.6 kernel comes as default on a distro. That'll be a good one. Many improvements there.
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Deleted linux partition (using partition magic) Geminias General 7 10-09-2005 05:14 PM
Deleted ntfs partition - added linux partition in its place - corrupt! eklhad Linux From Scratch 2 06-28-2005 02:31 AM
Linux Partition deleted - cannot access XP PhaseSpace Linux - General 2 05-16-2005 09:10 PM
deleted linux partition adn the boot loader was deleted also,now i have only gnu grub boris199 Linux - Laptop and Netbook 2 01-29-2005 05:53 PM
Deleted XP partition - Can't boot linux mansonmuni Linux - Hardware 6 12-26-2003 12:18 AM


All times are GMT -5. The time now is 04:55 PM.

Main Menu
Advertisement
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