Find the answer to your Linux question:
Results 1 to 6 of 6
using fedora 9,and Win xp ....hw can i erase the content of memory boot sector when both Os are present...i want to do it in XP way and also in ...
  1. #1
    Banned
    Join Date
    Dec 2008
    Location
    india
    Posts
    8

    Exclamation boot sector...? hlp me

    using fedora 9,and Win xp ....hw can i erase the content of memory boot sector when both Os are present...i want to do it in XP way and also in linux way....coz i want to reload a fresh copy of both operating system...plz giv details while solving my querry...

  2. #2
    Trusted Penguin jayd512's Avatar
    Join Date
    Feb 2008
    Location
    Kentucky
    Posts
    4,071
    Are you saying that you want to reinstall both OS's? Where you can have an option to choose between Linux and Windows at boot time?
    Jay

    New users, read this first.
    New Member FAQ
    Registered Linux User #463940
    I do not respond to Private Messages asking for Linux help. Please, keep it on the public boards.

  3. #3
    oz
    oz is online now
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,095
    Quote Originally Posted by cupid4u View Post
    using fedora 9,and Win xp ....hw can i erase the content of memory boot sector when both Os are present...i want to do it in XP way and also in linux way....coz i want to reload a fresh copy of both operating system...plz giv details while solving my querry...
    Welcome to the forums!

    To clear the MBR (master boot record) only, leaving partition tables alone, you can run this code from the terminal under Linux:

    Code:
    dd if=/dev/zero of=/dev/sda bs=446 count=1
    You'll need to replace /dev/sda with your actual device name such as /dev/hda.

    If needed, you can use the fdisk -l command to determine your device name:

    Code:
    fdisk -l
    ...note that it's a lower case letter L and not a number 1 in the command.
    oz

    new members/users: read this first | new member faq
    no private messages requesting computer support - post them on the forums!
    please use the "report post" button to alert our forum admins to problematic posts rather than responding to them yourself.

  4. #4
    Banned
    Join Date
    Dec 2008
    Location
    india
    Posts
    8

    Cool hlp me...i m nw in linux???????

    Hello every one..
    I use 2 os
    1:linux fedora 9
    2:win xp

    my ques is "iwant 2 erase mbr content.of my hard disk...hw can i do it...
    1:in linux way
    2:win xp way
    [not by deleting d logical partition,
    by administrative tools from control panel]
    i nid d commands which i can enter in d text mode...?]
    also tel me d detail procedure of hw to proceed step by step instruction..coz i just a novice... Bt i want to do it...


    Actually i want to install a fresh cpy of both d operating system....
    Bettr hlp me guys

  5. #5
    Trusted Penguin jayd512's Avatar
    Join Date
    Feb 2008
    Location
    Kentucky
    Posts
    4,071
    If you want to install both OS's fresh... easy to do! Re-install XP first. Then, when you install Fedora, just tell it to install GRUB in the MBR. I wouldn't actually tell you that part... but you asked about over-writing MBR anyway. Linux will take care of the dual-boot feature of it. Let us know in the Fedora or Installation sub-sections of the Forums if you have any other questions.

    *EDIT*

    Don't forget to back up important data first!
    Jay

    New users, read this first.
    New Member FAQ
    Registered Linux User #463940
    I do not respond to Private Messages asking for Linux help. Please, keep it on the public boards.

  6. #6
    oz
    oz is online now
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,095
    Quote Originally Posted by cupid4u View Post
    Actually i want to install a fresh cpy of both d operating system....
    The easiest way to install a fresh copy of both operating systems is to install Windows, then install Linux. You can use the same partitions they already reside on if you wish. The Linux bootloader will overwrite the Windows bootloader when it's installed.

    You might not need to worry about removing the current MBR at all because it will be overwritten by each OS. If you should decide that you do need it removed, you can follow the instructions already posted above.

    Also, please stop posting duplicate threads as it's against the forum rules to do so.

    Best of luck with your new installations.
    oz

    new members/users: read this first | new member faq
    no private messages requesting computer support - post them on the forums!
    please use the "report post" button to alert our forum admins to problematic posts rather than responding to them yourself.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...