Find the answer to your Linux question:
Results 1 to 5 of 5
Hi, I have recently installed Ubuntu 11.04 and completely wiped out Windows 7 on my Sony Vaio laptop. Now when I boot the laptop, Ubuntu load up fine. But I ...
  1. #1
    Just Joined!
    Join Date
    Nov 2011
    Posts
    2

    Complete Uninstall of Ubunto 11.04 and Installing Windows 7 from CD

    Hi,
    I have recently installed Ubuntu 11.04 and completely wiped out Windows 7 on my Sony Vaio laptop. Now when I boot the laptop, Ubuntu load up fine. But I want to install windows 7 back to the ssystem. When I insert Windows disc, the laptop do not boot from the Disc. I tried to disabling booting from hard disc and left only option to load from the optical drive, but the system still do not read the disc and gives me error: No OS found.

    I am not sure how I can uninstall Ubuntu completely and install Windows 7 from the Disc. And I do not have a partion on HD from where I can run Windows 7. Linux is using the whole HD. Can someone please help?

  2. #2
    oz
    oz is offline
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,099
    Quote Originally Posted by cheema0003 View Post
    When I insert Windows disc, the laptop do not boot from the Disc. I tried to disabling booting from hard disc and left only option to load from the optical drive, but the system still do not read the disc and gives me error: No OS found.

    I am not sure how I can uninstall Ubuntu completely and install Windows 7 from the Disc.
    Hello and welcome!

    Sometimes, having GRUB on the MBR can cause a Windows installation disk to not be detected properly. Clear your MBR and your Windows installation disk should work properly again if that disk is not corrupted in some way. There is no need to remove Ubuntu, but you can do that too, by simply deleting those partitions.
    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.

  3. #3
    Just Joined!
    Join Date
    Nov 2011
    Posts
    2
    And how can I clear MBR ?
    I am sorry I am very new to these things and probably the reason I messed it up.

  4. #4
    oz
    oz is offline
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,099
    You can do it from a terminal in Ubuntu with the following command:

    Code:
    sudo dd if=/dev/zero of=/dev/sda bs=512 count=1
    That's assuming sda is the device on which you are wanting to clear the MBR.

    Edit: note that the above command will clear the MBR and partition table.
    Last edited by oz; 11-04-2011 at 07:45 PM.
    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.

  5. #5
    Just Joined!
    Join Date
    Oct 2011
    Posts
    22
    You must install windows on first partition then install grub.

Posting Permissions

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