PDA

View Full Version : how remove ubuntu Bootloader ?



kuwaiti
6th January, 2013, 01:25 AM
hi
i instaled Ubuntu in same HHD as windows 7

and uninstal it from add/remove program but each time i boot my pc i get screen to chose win 8 or ubuntu (ubuntu already deleted

help .

Mihairece
6th January, 2013, 01:30 AM
Set your BIOS to boot from CD or DVD drive
-Put your Windows installation disc into your CD or
DVD drive
-Boot up your computer and start from CD
-Select a language, a time, a currency, a keyboard or an input method, and then click Next.
-Click Repair your computer.
-Click the operating system that you want to repair, and then click Next.
-In the System Recovery Options dialog box, click Command Prompt.
-Type Bootrec.exe /FixMbr, and then press ENTER.
Reboot your computer

kuwaiti
6th January, 2013, 01:55 AM
Set your BIOS to boot from CD or DVD drive
-Put your Windows installation disc into your CD or
DVD drive
-Boot up your computer and start from CD
-Select a language, a time, a currency, a keyboard or an input method, and then click Next.
-Click Repair your computer.
-Click the operating system that you want to repair, and then click Next.
-In the System Recovery Options dialog box, click Command Prompt.
-Type Bootrec.exe /FixMbr, and then press ENTER.
Reboot your computer

did not work

but just solve it a minute ago


- Click start
- Type: cmd
- Right-click cmd when it appears under Programs
- Click Run As Administrator

Once the prompt is up type bcdedit.exe
this will list all of the OS that start up in Windows Boot Manager

Once you have this list you use the command bcdedit.exe/delete file name
example: bcdedit.exe/delete {802d5e32-0784-11da-bd33-000476eba25f}

but thanks

kellemes
7th February, 2013, 10:15 AM
Glad you fixed it..

But for those who want to fix there MBR without Windows disc.. you can also use Rescatux (SuperGrubDisk)

VegaWorks
26th July, 2015, 02:56 AM
Edit the boot.ini file, you'll get something like this:


[boot loader]
timeout=3
default=multi(0)disk(0)rdisk(0)partition(1)\debian
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="debian" /noexecute=optin /fastdetect
c:\debian.mbr="Ubuntu"

Delete (after a backup):


c:\debian.mbr="Ubuntu"

Otherwise, with a live CD as Ubuntu:

"sudo ms-sys --mbr /dev/sda"

If you prefer you can try also using freedos with a "fixmbr"!

MichaelThugs
23rd June, 2018, 09:45 PM
thanks to you both. but im still working on it. im not sure what happenedcan you please tell me how to change from ubuntu 8.04 to 8.10.

tomvleeuwen
26th June, 2018, 10:19 PM
We're in 2018 and you are still using Ubuntu 8.04 from 2008? I guess your quite out of luck if you want to "upgrade" to 8.10.
First number in Ubuntu release is year, second number is month so 8.04 is April 2008...

Lolo4321
2nd September, 2019, 05:55 PM
Download the tool and run it.
sudo apt-add-repository ppa:yannubuntu/boot-repair

sudo apt-get update

sudo apt-get install -y boot-repair

boot-repair

toyota123
16th June, 2021, 04:25 PM
try with live usb .... and repair.... easy solution with blackarch