Visit Jeremy's Blog.
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 02-03-2006, 06:15 PM   #1
Senior Member
Registered: Apr 2003
Location: Costa Rica
Distribution: Kubuntu, Debian, Knoppix
Posts: 2,092
Blog Entries: 1

Rep: Reputation: 90
Question ubuntu: windows took over MBR and can't restore grub

I'm trying to restore grub after windows took over the MBR.

I'm using ubuntu-live to try to do it.

I just wait till it's completely up. Then I start a terminal. sudo su. I mount the HD's / on /mnt, then I chroot /mnt

I run grub-install /dev/hda and the output is:
the file /boot/grub/stage1 not read correctly.
What's going on?

PS By the way, before I ran grub-install I modified menu.lst to include a windows item. Could that be the problem?
Old 02-03-2006, 06:28 PM   #2
Senior Member
Registered: Mar 2003
Location: Beautiful BC
Distribution: RedHat & clones, Slackware, SuSE, OpenBSD
Posts: 1,791

Rep: Reputation: 50
Try preparing a grub boot floppy by booting into the LiveCD. Boot into your ubuntu install and then run grub-install.

From the link below, start at "Preparing a GRUB floppy".

Last edited by ppuru; 02-03-2006 at 06:30 PM.
Old 02-03-2006, 07:05 PM   #3
Senior Member
Registered: Apr 2003
Location: Costa Rica
Distribution: Kubuntu, Debian, Knoppix
Posts: 2,092

Original Poster
Blog Entries: 1

Rep: Reputation: 90
A floppy? You gotta be kidding me!!! (no pun intended)

I haven't used a floppy in years (literally) and I don't intend to do it now. The computer doesn't even have a floppy drive. :-)

There's gotta be a way to do it. Be it knoppix, ubuntu (live or install), or assembly (just kidding ;-)).
Old 02-03-2006, 08:29 PM   #4
LQ Veteran
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 740Reputation: 740Reputation: 740Reputation: 740Reputation: 740Reputation: 740Reputation: 740
Conventional wisdom says you install Windows first, but there are ways around it. One is a Boot CD mentioned here often:
I have not tried this, but their description suggests it will solve your issue.
As far as your approach, the only thing that comes to mind is that permissions are not set correctly.


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
grub and lilo on MBR with Windows xp blotch Linux - General 6 11-18-2005 09:57 PM
How do you get back into Ubuntu if you don't put Grub on the MBR? Marrea Ubuntu 7 07-21-2005 06:27 AM
MDK 10.2 GRUB - Windows killed MBR stunter Mandriva 7 03-21-2005 09:07 AM
How to remove Linux and restore Windows on Dual boot using Grub TheBaffledKing Linux - Newbie 13 04-14-2004 05:47 AM
restore mbr (in lilo and grub) abs Slackware 5 02-07-2004 02:39 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:48 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