LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 07-07-2005, 09:22 PM   #1
randau
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.

HELP!
 
Old 07-07-2005, 09:31 PM   #2
JimBass
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.

Peace,
JimBass
 
Old 07-07-2005, 09:36 PM   #3
randau
LQ Newbie
 
Registered: Jul 2005
Posts: 5

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

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


Cheers,
Tink
 
Old 07-07-2005, 11:11 PM   #5
v00d00101
Member
 
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:

http://www.linuxquestions.org/questi...45#post1733645

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


Reply


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


All times are GMT -5. The time now is 08:29 AM.

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