LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   a simple,foolish question. (https://www.linuxquestions.org/questions/linux-newbie-8/a-simple-foolish-question-78349/)

arunshivanandan 08-02-2003 01:13 PM

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 :newbie:

david_ross 08-02-2003 01:17 PM

fidsk /mbr should reinstall the windows bootloader. You do know that you can just use grub to boot windows.

Oxagast 08-02-2003 01:19 PM

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

TheWalkingDead 08-02-2003 01:22 PM

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

arunshivanandan 08-02-2003 11:27 PM

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 ??

arunshivanandan 08-03-2003 12:43 AM

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.

lappen 08-03-2003 04:01 AM

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)

arunshivanandan 08-03-2003 04:10 AM

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

arunshivanandan 08-03-2003 04:18 AM

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??


All times are GMT -5. The time now is 12:41 PM.