LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 09-21-2005, 11:06 AM   #1
linuxmom
LQ Newbie
 
Registered: Aug 2003
Posts: 5

Rep: Reputation: 0
Remove Mandrake Linux (sigh!)


Some time ago, I tried to install Mandrake Linux (I believe it was 9.1) on my laptop. Something went seriously wrong with the install, and I have never ever been able to get it to work in gui mode (KDE, etc.). In fact, it generally hangs shortly after I log in. I think I may have had a corrupted install CD or selected a wrong option somewhere.

I want to remove the botched install, and start again totally fresh.

The laptop is running a dual-boot with Windows Me, which works just fine.

If anyone can give me *totally cookbook instructions* on how to remove the entire Linux partition and have things just boot up in Windows, I would be exceedingly grateful. Again, my goal is to reclaim the partition space for Windows and make sure that Windows comes up when I push the on button. Then I will try again with a new Linux install. (Wish me luck!)

The key words are *totally cookbook* -- I'm a Linux newbie!

Many thanks!
 
Old 09-21-2005, 11:32 AM   #2
nabeelmoidu
Member
 
Registered: Jul 2005
Location: Bangalore
Distribution: Fedora
Posts: 71

Rep: Reputation: 15
When you boot from a linux cd , you will have options to repair your linux installation . You should find somewhere there an option to restore your windows boot loader.
Then get into windows , go to the disk management and just format the partitions you had set for linux or instead just reinstall the new linux version on the current partitions directly

Hope it helps
 
Old 09-21-2005, 11:37 AM   #3
kuser:)
Member
 
Registered: Sep 2005
Location: Olsztyn, Poland
Distribution: Slackware 14.1
Posts: 168

Rep: Reputation: 91
if You want to reset boot loader (erase lilo/grub boot loader), You should create start disk in Win ME, run computer using it and in DOS use:
Code:
mbr /fix
 
Old 09-21-2005, 11:39 AM   #4
john2
Member
 
Registered: Aug 2004
Location: Wales
Distribution: Mint, Mageia, OpenSUSE, Kubuntu
Posts: 95

Rep: Reputation: 25
Or just do a fresh Linux install. When you get to partitioning, tell the installer to format the non-Windows partitions (or delete them and create new ones). The actual way you do this varies from distro to distro, but most are pretty obvious.
 
Old 09-21-2005, 11:52 AM   #5
titanium_geek
Senior Member
 
Registered: May 2002
Location: Melbourne Australia
Distribution: it died/ macosx
Posts: 2,478

Rep: Reputation: 50
ok.
STEP 1) BACK UP EVERYTHING!!!! yes I mean it! all your files, on a cd, somewhere safe.

2) think about it. Do you want windows to have all the space and repatition, or just reuse the existing partition?

after doing those and responding to step 2, post back and I'll continue (sorry- gotta go... grr. more time later)

titanium_geek
 
Old 09-21-2005, 02:52 PM   #6
linuxmom
LQ Newbie
 
Registered: Aug 2003
Posts: 5

Original Poster
Rep: Reputation: 0
Well, titanium_geek, if I were to do a fresh install, and the installer actually offered to delete the old Linux partition (as suggested by John2), I could live with that.

My fear is that there was something wrong with the old partition...not enough space, something corrupted, I don't know what.

I am guessing that I would be safest restoring the computer to Windows-only, and then starting a fresh install.

Please note, I am indeed, planning a fresh install, so I don't really care how I achieve it. I just don't want to lose the disk used by the existing partition.

I don't remember for sure, but I think I have 10Gb, of which I think I allocated 3.5Gb to Linux.
 
Old 09-21-2005, 03:19 PM   #7
witiwap
LQ Newbie
 
Registered: May 2005
Posts: 8

Rep: Reputation: 0
No Worries

I am a hardware tech with almost no Linux expirience, but I've done a bit of screwing around with installing linux. When you are re-installing your distro it will give you the option to re-format your drive, choose this, but be careful not to wipe your Windows Me. The boot loader/MBR is basically a shortcut that will be overwritten when you install the distro again, so there isn't a reason to set it back to windows before you re-install the mandrake. As long as you reformat when installing, nothing from the old install can affect the new install. Basically, just do what you did the first time, but you might want to be careful about dependencies (ie just install the default package.) Have fun.
 
Old 09-21-2005, 07:48 PM   #8
titanium_geek
Senior Member
 
Registered: May 2002
Location: Melbourne Australia
Distribution: it died/ macosx
Posts: 2,478

Rep: Reputation: 50
allright-

Step 3: make sure you have ALL the necesary disks on hand- driver disks for windows, cds, everything. This is collecting ingredients, so if there is any configurations you need to remeber, write them down. you also need a knoppix cd.

Step 4: put a knoppix cd in the drive. any recentish version will do (3.6 on) if you can't manage the DVD.
4.1)turn off the computer, turn it on again. make sure that the bios is set to boot from the CD before the harddrive.
4.2)when you put the CD in, you will get a commandline type thing. if you just hit enter now, it will boot knoppix. (also after a time out will boot knoppix) Now, this is cool, but before it does this, type knoppix 2 [ enter ]

step 5) ok, so now you are at a commandline type thing. don't panic! we only need to do one thing, nothing complicated.
5.1) type cfdisk /dev/hda this is telling it to start cfdisk (a partitioning program) and telling cfdisk to look at your first harddrive (in your case, only)
5.2) now we are going to go into a cfdisk howto- move on to step 6.

Step 6) CFDISK (it's really not that bad)
at the top of the screen is a list of partitions with some info about the partition. below this is a menu. to change which partition is selected, use the up/down arrow keys. To change the selection of what you want on the menu, use the left-right arrow keys.

I can't check this out right now for specific instructions, it's fairly easy to work out.

6.1) the best way would be to delete both partitions and make new partitions. the windows ME one should be Fat 32 (right?) and the linux ones should probably be ext3.

umm.. are you still with me?

titanium_geek
 
Old 09-21-2005, 10:27 PM   #9
witiwap
LQ Newbie
 
Registered: May 2005
Posts: 8

Rep: Reputation: 0
not sure

I don't think she wants to wipe the Windows, but I could be wrong.
 
Old 09-22-2005, 04:08 AM   #10
john2
Member
 
Registered: Aug 2004
Location: Wales
Distribution: Mint, Mageia, OpenSUSE, Kubuntu
Posts: 95

Rep: Reputation: 25
Quote:
I don't remember for sure, but I think I have 10Gb, of which I think I allocated 3.5Gb to Linux.
3.5GB is a bit on the low side, but should be enough as long as you don't try to install too much. Most distros tell you how much space the packages you select need. Try a fairly minimal install - you can always add more later, and only create a swap partition (twice your memory) and a root partition.
 
Old 09-23-2005, 09:40 AM   #11
titanium_geek
Senior Member
 
Registered: May 2002
Location: Melbourne Australia
Distribution: it died/ macosx
Posts: 2,478

Rep: Reputation: 50
ok- if you are concerned about the partition quality, then you need to start over. it also depends on the age of the hardware- do you want a swap partition or not? Do you want to give more to linux?

don't worry- this is possible... it just takes a little effort in the head department.

titanium_geek
 
Old 09-29-2005, 04:53 PM   #12
linuxmom
LQ Newbie
 
Registered: Aug 2003
Posts: 5

Original Poster
Rep: Reputation: 0
Thanks, folks for all your suggestions!

I've not been tracking this for a little while...I thought I'd try the re-partitioning via a new install, but I discovered that the CD on my laptop doesn't work :-(

I'm investigating other installation options, but they seem to be rather complex.

I thought I'd try debian this time, but the documentation really seems a bit intimidating.

Maybe I'll just get an external CD drive :-)
 
Old 09-29-2005, 08:44 PM   #13
titanium_geek
Senior Member
 
Registered: May 2002
Location: Melbourne Australia
Distribution: it died/ macosx
Posts: 2,478

Rep: Reputation: 50
external cd's are fairly cheap- repartitioning via new install is good- though this has been known to fail (probably my fault though *blush*)

let us know how it turns out. Debian is cool- but it is tough to get your head around.

titanium_geek
 
  


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
Mandrake 10, xorg, and prefdm *sigh* jiml8 Linux - Software 4 02-28-2005 09:36 AM
*sigh* I Killed Linux (as odd as it sounds) GT_Onizuka Linux - Newbie 8 09-28-2003 08:42 PM
Remove Mandrake 9 penguin62 Linux - General 1 05-09-2003 12:04 AM
Win2k/mandrake -> win2k [remove linux] wct Linux - General 7 11-24-2002 12:48 AM
Remove the Linux-Mandrake kito Linux - Software 1 04-24-2001 02:40 PM


All times are GMT -5. The time now is 05:55 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration