Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 07-07-2005, 08:22 PM   #1
LQ Newbie
Registered: Jul 2005
Posts: 5

Rep: Reputation: 0
unable to open /mbr

I am trying to remove lilo with the command fdisk /mbr but get "unable to open /mbr".

I want to do this so that I can reach my Windows OS (which is not recognized by lilo). I have erased all partitions except the ones containing Windows, after having a failed Gentoo.

Old 07-07-2005, 08:31 PM   #2
Senior Member
Registered: Oct 2003
Location: New York City
Distribution: Debian Sid 2.6.32
Posts: 2,100

Rep: Reputation: 49
You have to let window$ repair the mbr. If you put the M$ XP cd (assuming it is XP, the older versions may support this as well) and boot to a repair prompt, there should be a choice to repair the MBR.

You can check google and microsoft's website, and there will be instructions of how to issue and use the repair feature of the disk.

Old 07-07-2005, 08:36 PM   #3
LQ Newbie
Registered: Jul 2005
Posts: 5

Original Poster
Rep: Reputation: 0
The problem i s that I dont have that cd.
Old 07-07-2005, 08:44 PM   #4
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 911Reputation: 911Reputation: 911Reputation: 911Reputation: 911Reputation: 911Reputation: 911Reputation: 911
If the distro you're using has taken a snap-shot
you could try
lilo -u /dev/hda

Old 07-07-2005, 10:11 PM   #5
Registered: Jun 2003
Location: UK
Distribution: Fedora 8, Centos 5.1
Posts: 480

Rep: Reputation: 30
If not try making a win xp or win 2k bootdisk. You can get the images from here and then use dd to write them to a floppy.

Before you redo the mbr, you may want to save the lilo mbr to a file so you can boot to linux using the nt bootloader. A guide to doing this can be found here:

Last edited by v00d00101; 07-07-2005 at 10:14 PM.


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
unable to open whole sites saurabhparihar Linux - Newbie 1 04-21-2005 02:48 PM
Open bsd messed up my MBR, problem with installing Slackware lilo klemen Slackware 2 04-06-2005 05:37 AM
How I screwed my mbr...FC2 & W2k, windows unable to boot even after reinstallation! shamael Linux - Newbie 3 05-24-2004 10:26 PM
fdisk gives unable to read /dev/hda... mbr is gone... what can it be? slackie1000 Linux - Hardware 5 01-27-2004 04:29 AM
Volume control is unable to run correctly. Unable to open audio device '/dev/mixer'. sevenreams Slackware 1 05-16-2003 07:29 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:06 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration