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 08-02-2003, 02:13 PM   #1
arunshivanandan
Member
 
Registered: May 2003
Location: Kerala,India
Distribution: RedHat,Mandrake,Debian
Posts: 643

Rep: Reputation: 30
a simple,foolish question.


fdisk /MBR clears MBR.So when you boot the next time,Where is the bootloader(or something like that) for window$??ie,where will be the information abt 'where the window$ kernal lies' (for the sake of booting windows) lie??Need i do some thing after fdisk /MBR to uninstall linux and continue with windows.
i ask this out of curiosity and i dont plan to kick old tux from my box in the near future.
this may contain some foolish elements,but afterall i am a
 
Old 08-02-2003, 02:17 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
fidsk /mbr should reinstall the windows bootloader. You do know that you can just use grub to boot windows.
 
Old 08-02-2003, 02:19 PM   #3
Oxagast
Member
 
Registered: Aug 2003
Location: Mocksville, NC, USA
Distribution: Gentoo, Slackware.
Posts: 410

Rep: Reputation: 30
fdisk /MBR from dos is just gonna trash lilo or grub or whatever and make it so your just gonna boot straight back into windows i believe
 
Old 08-02-2003, 02:22 PM   #4
TheWalkingDead
LQ Newbie
 
Registered: Jul 2003
Location: SoCal
Distribution: RedHat 7.3
Posts: 15

Rep: Reputation: 0
Re: a simple,foolish question.

Quote:
Need i do some thing after fdisk /MBR to uninstall linux and continue with windows.
that won't "unistall" linux. it will just reload a "default" MBR....so it will be back to just windows. linux will still exist, you just won't be able to boot to it without a bootdisk....until you reinstall a bootloader that supports linux
 
Old 08-03-2003, 12:27 AM   #5
arunshivanandan
Member
 
Registered: May 2003
Location: Kerala,India
Distribution: RedHat,Mandrake,Debian
Posts: 643

Original Poster
Rep: Reputation: 30
Well,i was talking abt 'fdisk /MBR' after deleting my linux partitions(ok,i didnt mention it earlier).
So, what is the difference b/w the DOS fdisk /MBR and linux fdisk /MBR ??
 
Old 08-03-2003, 01:43 AM   #6
arunshivanandan
Member
 
Registered: May 2003
Location: Kerala,India
Distribution: RedHat,Mandrake,Debian
Posts: 643

Original Poster
Rep: Reputation: 30
What if I am having 2 linuxes and Windows??If i want to uninstall one of the linuxes,after deleting the respective linux partitions and fdisk /MBR from DOS,the MBR will contain windows bootloader only,isnt it??So how do i uninstall one of the linuxes??
---------------------------
This is something i need to know,because i am going to install Mandrake.
 
Old 08-03-2003, 05:01 AM   #7
lappen
Member
 
Registered: Aug 2003
Location: Sweden
Posts: 83

Rep: Reputation: 15
the diffetence between dos fdisk /mbr and linux fdisk /mbr is that dos has that command and linux doesn't

if anyone know's of a way to delete the mbr in linux I would appreciate if they would post it (without any 3rd party tools)
 
Old 08-03-2003, 05:10 AM   #8
arunshivanandan
Member
 
Registered: May 2003
Location: Kerala,India
Distribution: RedHat,Mandrake,Debian
Posts: 643

Original Poster
Rep: Reputation: 30
Probably this will do it.
dd if=/dev/zero of=/dev/hda bs=512 count=1

Read: input file is /dev/zero, output file first IDE disk, block size 512b,
dump only 1 block
 
Old 08-03-2003, 05:18 AM   #9
arunshivanandan
Member
 
Registered: May 2003
Location: Kerala,India
Distribution: RedHat,Mandrake,Debian
Posts: 643

Original Poster
Rep: Reputation: 30
I got the above thing after hitting google.
Quote:
Originally posted by arunshivanandan
What if I am having 2 linuxes and Windows??If i want to uninstall one of the linuxes,after deleting the respective linux partitions and fdisk /MBR from DOS,the MBR will contain windows bootloader only,isnt it??So how do i uninstall one of the linuxes??
I think i got it.if i am having teo linexes+windows and i want to uninstall one linux,after deleting the respective partitions,i need to modify the lilo/grub.conf file,deleting those entries abt the deleted linux.And there is no need to modify MBR.Am I right??
 
  


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
Really foolish question Dillius Debian 14 11-28-2005 12:59 AM
Ubuntu Fluxbox simple question, simple answer? generallimptoes Linux - Software 3 09-26-2005 03:03 PM
Installing Programs - A simple question from my simple mind jmp875 Linux - Newbie 6 02-18-2004 10:03 PM
Foolish Konqueror question Xevious Linux - Newbie 5 12-10-2001 10:44 PM
simple question seeking simple answer enzo250gto Linux - Newbie 1 10-27-2001 05:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:24 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
Open Source Consulting | Domain Registration