Remove Linux From Your Pc Safely, ...and restoring your MBR

Discussion in 'GNU/Linux' started by Arnab Kundu, May 23, 2015.

  1. Arnab Kundu

    Arnab Kundu Active Member

    Joined:
    May 1, 2015
    Messages:
    176
    Likes Received:
    35
    Trophy Points:
    28
    Gender:
    Male
    Occupation:
    Software Developer
    Location:
    Calcutta
    First of all you need to know where your Linux OS is installed to. that is what drive it is currently living on. Bear in mind that Linux formats the drive as HFS rather than Fat/Fat32 or NTFS. ( These are the file systems used by various Operating Systems).

    So HFS Partitions are not seen by windows, so its hidden.

    To remove the partitions of Linux in WindowsXP go to your 'Control panel' > Admistrative Tools > Computer Managment

    Open 'Disk Management' and you will see your Linux drives recognised as 'Unknown Partition' plus the status of the drive. Bearing in mind you know what partition and disk you installed to it will be easier to recognise as the drive/partition where you had installed it to.

    Once you have identifed the drives, 'right-Click' on the drive/partiton and select 'Delete Logical Drive'

    Once you have followed this through, you will now have free space.

    This next part is very important. Once you have formatted the drive, re format it as your required file system type. either Fat32 or NTFS. Now the important part is coming up !

    Fixing your Master Boot Record to make Windows Bootable again.

    Have a Windows Boot disk with all the basic DOS Commands loaded on to the disk. A standard Windows 98/Me Boot Disk will work too.

    Type in the DOS command :

    e.g, from your C:\

    fdisk /mbr

    Or use your Windows XP run the recovery console, pick which xp install you would like to boot in to (usually you will pick #1)

    then type: fixmbr. Answer Y to the dialoge.

    Your master boot record will now be restored and Windows XP will be bootable once again. Your System will be restored with your original boot loader that you got with Windows XP.
     
  2. SameEr AhmEd

    SameEr AhmEd Well-Known Member

    Joined:
    May 19, 2015
    Messages:
    208
    Likes Received:
    29
    Trophy Points:
    228
    Gender:
    Male
    Occupation:
    Tech Admin
    Location:
    Lucknow
    Home Page:
    Oh. Good !
     
  3. Jesse Jones

    Jesse Jones Administrator Staff Member

    Joined:
    May 5, 2015
    Messages:
    33
    Likes Received:
    17
    Trophy Points:
    58
    Gender:
    Male
    You seem to have made a few mistakes here. First off, Linux doesn't use HFS. Mac OS X uses the non-POSIX piece of sh*t, not Linux. Modern Linux distributions use the Ext4 file system. Second, the Linux partition might be a primary partition and not a logical. Third, the user might have used multiple partitions, such as separate partitions for /boot, /home, /tmp, and so on. Please learn what you're saying.

    Sincerely, a long-time GNU/Linux user and enthusiast.

    PS: I made a post on the Windows board a while ago that covers this subject properly.
     
  4. lope

    lope Well-Known Member

    Joined:
    Apr 7, 2015
    Messages:
    204
    Likes Received:
    35
    Trophy Points:
    128
    Gender:
    Male
    ok nice share
     
  5. DJwa163

    DJwa163 Active Member

    Joined:
    Jun 23, 2015
    Messages:
    132
    Likes Received:
    1
    Trophy Points:
    16
    rightly said, jones...
     
  6. minigreen

    minigreen Active Member

    Joined:
    Sep 30, 2016
    Messages:
    152
    Likes Received:
    0
    Trophy Points:
    16
    Gender:
    Female
    Fixing your Master Boot Record to make Windows Bootable again.
     

Share This Page