How do I remove Ubuntu from a dual boot without a Windows or Ubuntu CD?

I am running a Dell E6400 laptop computer, with limited hard drive space and need to recover the hard drive space used by Ubuntu.

At a later date I wish to install Ubuntu to an external hard drive so that I may continue to utilize the versatility of Ubuntu.

How do I remove Ubuntu and recover its partition space?

2

2 Answers

Warning: This may not work with UEFI / EFI / Windows 8 or Wubi setups.

  1. Run these command in a terminal:

    sudo apt-get install lilo
    sudo lilo -M /dev/DEVICE

    (Replace /dev/DEVICE with the path to your disk with Ubuntu, without a number, e.g.: /dev/sda)

  2. Reboot. At this point, it should boot straight into Windows.

  3. From Window's Disk Management program, delete the Ubuntu partitions. (they should be shown as partitioned "Free Space".)

3

If you dont have your windows boot disk or pendrive you can download the exact same version of windows (for eg. If you are using win8.1 there are different version like single language and win8.1core etc. ) select it and download that (preferably from microsoft’s own website”It’s free”) and take any pendrive and make it bootable using the downloaded iso file image.Then use it as installation disk!!Worked for me!! (I didnt have my windows installation disk!!) Hope it helps!!

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like