LinuxQuestions.org
Review your favorite Linux distribution.
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 04-10-2004, 04:38 PM   #1
oldi
Member
 
Registered: Mar 2004
Posts: 53

Rep: Reputation: 15
Delete Linux partition


I want to delete linux partitions using windows, so that i can reorganize my partitions and give more space to linux, but i am afraid that by deleting them i will be deleting grub the boot loader and then will not be able to load even windows. Is this wright? Can i delete the linux partitions? Where is the location of MBR is it in a windows partition of in a linux partition? Any suggestion what should i do in this case?

thanks
 
Old 04-10-2004, 04:49 PM   #2
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 67
The MBR stands for Master Boot Record. Which is usually stored in the first sector of a hard disk (not in a partition). You can probably safely delete the linux partitions with the exception of the one that contains the stage files for grub (/boot). What I would do on my system is make room on the disk and grow the linux partition rather then deleting it (which you can do with reiserfs, not sure about other partition types).
 
Old 04-10-2004, 04:52 PM   #3
ranger_nemo
Senior Member
 
Registered: Feb 2003
Location: N'rn WI -- USA
Distribution: Kubuntu 8.04, ClarkConnect 4
Posts: 1,142

Rep: Reputation: 47
The MBR is the Master Boot Record of the hard-drive. When a computer boots up, it runs through the boot list looking for a valid boot device. When it looks at the hard-drive, it executes whatever is in the MBR. In a Windows system, it's usually just a bit of code that tells the computer to boot Windows off the first partition.

When you have GRUB of LILO installed, they take-over the MBR, and install a bit of code that tells the computer to run GRUB/LILO, on whatever partition GRUB/LILO was installed to and initially run from. GRUB/LILO then let you choose which OS you want to run.

If you delete the partition that holds GRUB/LILO, then the computer will be looking for something that doesn't exist, and can't boot. So, if you want to remove Linux and GRUB/LILO, than you need to restore the MBR to the Windows default. If you have Win 2000/XP, you can do this in the disk management section of the control panel. I don't remember exactly where, off hand. If you have Win ME/98/95, then you'll need to run "fdisk /mbr" from a DOS prompt. You might need a boot floppy to get there.

After that, you can safely delete the Linux partitions.
 
Old 04-10-2004, 04:59 PM   #4
oldi
Member
 
Registered: Mar 2004
Posts: 53

Original Poster
Rep: Reputation: 15
thanks very much can you tell me how i use reiserfs.
I read somewhere that i can use fixmbr to replace mbr with a valid windows boat loader. Is that true? Does that work?
 
Old 04-10-2004, 05:08 PM   #5
oldi
Member
 
Registered: Mar 2004
Posts: 53

Original Poster
Rep: Reputation: 15
thanks very much you have just answered my question while i was typing it. Thank you
 
Old 12-05-2004, 07:18 AM   #6
Brahl
LQ Newbie
 
Registered: Dec 2004
Location: England
Posts: 13

Rep: Reputation: 0
I'm having the same problem, the thing is i formatted the partition and i don't have an XP disk, can it be done any other??
 
Old 12-05-2004, 09:21 AM   #7
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 52
Brahl; if i understand correct, you formatted the linux-part. and you just want the win-bootloader back .
if you can startup win ( from a floppy ), you can run "fixmbr " in a win-console.
if you don't have a bootfloppy, find one with google to boot xp ( there are many free- and share-ware versions )

egag
 
Old 12-07-2004, 11:47 AM   #8
Brahl
LQ Newbie
 
Registered: Dec 2004
Location: England
Posts: 13

Rep: Reputation: 0
cheers egag! shall be looking now now hopefully this floppy will format!!!!!!
 
  


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
delete third partition (what happens?) invasian Linux - General 1 09-24-2004 05:33 PM
How can i delete linux completely from my partition? violentpatrick Linux - Newbie 3 06-27-2004 06:55 PM
I can't get rid of linux, can't delete partition with fdisk Dachy Linux - Newbie 14 05-05-2004 02:25 PM
how to delete linux partition?? eye Linux - Software 8 08-26-2003 05:16 AM
how to delete an partition schatoor Linux - General 3 12-03-2002 09:16 AM


All times are GMT -5. The time now is 10:24 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