Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 08-02-2006, 02:25 PM   #1
LQ Newbie
Registered: Jan 2005
Distribution: Suse 9.1
Posts: 17

Rep: Reputation: 0
How to format MBR from linux?

Here's my situation, I'm setting a friends computer back to Windows (I know...) but they're not computer savvy, and it's just easier for them. The problem is that GRUB won't allow the computer to boot from CD. I have the windows disk in, but GRUB always boots Ubuntu instead. I've changed the settings in bios, and it tries to boot from the cd, but just doesn't. I don't have a floppy boot disk handy, so this is what I need.

1. A way to remove GRUB and/or format the MBR from ubuntu


2. A way to make a DOS boot floppy disk from linux (most of the boot disks come in .exe self extracting format that don't work in ubuntu of course).

Please help,


- Matt
Old 08-02-2006, 02:30 PM   #2
LQ Veteran
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,808

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
First, GRUB will not stop the computer from booting from CD. That is a BIOS function. If it won't boot from CD, fix that before doing anything else. Have you tried several different bootable CDs? (The windows install disk could be the problem.

To install a **Windows** mbr from Linux, you would need an image file of the actual Windows code.
Old 08-02-2006, 02:34 PM   #3
LQ Newbie
Registered: Jan 2005
Distribution: Suse 9.1
Posts: 17

Original Poster
Rep: Reputation: 0
Yeah I've tried 3 bootable cds, two different windows cds, and ubuntu live... none of them will boot. It appears to be able to boot from the floppy drive, but I don't have a bootable floppy disk.

I know the drive works, it reads all the cds I put in it when ubuntu is booted, plays audio/video and such.
Old 08-02-2006, 03:05 PM   #4
Registered: Oct 2003
Location: Greece
Distribution: Debian sid
Posts: 248

Rep: Reputation: 30
I guess the bios is too old and doesn't allow booting from cd. That's no problem. Get smart boot manager, put it on a floppy and boot the windows cdrom from the floppy. I've read in linux format that smart boot manager can do that. I've never tried it, though.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Restoring MBR :partitions are detected only after the reboot after MBR restoration? sharathksin Linux - Newbie 2 04-14-2006 07:48 AM
MBR zeroed. Can I verify backup MBR? TomF Linux - General 7 06-20-2005 05:28 PM
use vi to convert linux format to windows format intolinux Linux - Software 2 12-10-2003 10:20 PM
Is the MBR in NTSF format? pete_bogg Red Hat 2 10-27-2003 09:44 PM
About amiga format to linux format? 45pferde Linux - General 0 08-12-2001 07:06 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:32 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration