LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 07-03-2009, 11:37 AM   #1
erklaerbaer
Member
 
Registered: Mar 2006
Posts: 381

Rep: Reputation: 30
problems with mbr / booting


i wanted to install the vista sp2 and thought i had to restore the original mbr(needed for sp1)

so i booted into ubuntu, made a quick search and ran "install-mbr /dev/sda" ( comes from debian )

problems began: vista won't boot anymore ( winload.exe corrupt 0xc000000e )
vista dvd hangs at loading disk.sys ( so does the winxp cd)
a (two year old) lilo fails( trying to map... 0x000e)

however: when booting into a live linux system (partedmagic) i can see and mount all partitions

things i have tried so far:
from win98se cd: fdisk /mbr
testdisk from partedmagic; rewriting the bpartition table and ( i think ) the bootsector?

any suggestions apart from backup and reinstall ?
 
Old 07-03-2009, 12:29 PM   #2
sparc86
Member
 
Registered: Jul 2006
Location: Joinville, Brazil
Distribution: Debian, CentOS
Posts: 301

Rep: Reputation: 31
Maybe you could try installing Linux in another partition and then install grub and finally add some lines to boot your Windows.

If the problem is the MBR, it should definitely solve it.


These are the lines I have in my menu.lst (grub config file) from my dual-boot eeepc:

Quote:
default 0
timeout 30

title WINDOWSXP
rootnoverify (hd0,0)
makeactive
chainloader +1

Maybe you would have to change it, but it usually works for most cases.

Hope it works for you.

Last edited by sparc86; 07-03-2009 at 12:40 PM.
 
Old 07-03-2009, 12:44 PM   #3
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
If he can boot into Ubuntu, why would he need to install Linux in a separate partition?

erk*;
Assuming you can still boot into Ubuntu, you can simply re-install GRUB from there. Please post your complete partition setup and confirm what is installed on each.
 
Old 07-03-2009, 01:35 PM   #4
erklaerbaer
Member
 
Registered: Mar 2006
Posts: 381

Original Poster
Rep: Reputation: 30
nah, tried that as well. there was a similar error, then i tried lilo ( i installed a minimal slackware 12.0 into a ramdisk)

i actually spent most of today on this problem.
further notes:
cfdisk complained about a partition behind the drive.
the second primary partition, fat32 had only garbage file names.
so i deleted all but the first primary ntfs partition, but still no luck!

but never mind; i gave up and am reinstalling right now.
 
Old 07-03-2009, 04:14 PM   #5
erklaerbaer
Member
 
Registered: Mar 2006
Posts: 381

Original Poster
Rep: Reputation: 30
[delete]

Last edited by erklaerbaer; 07-03-2009 at 04:16 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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Damaged MBR, booting with Grub ? anthei Linux - General 4 03-16-2009 04:55 AM
Booting without bootloader in MBR cyberoidx Linux - General 3 01-20-2006 10:10 PM
Trouble booting anything, need help with MBR spartn119 Linux - Newbie 2 01-31-2005 11:48 PM
Dual Booting and MBR? pablowablo Linux - Newbie 8 08-29-2004 12:18 AM
MBR problem?.. (XP CD not even booting) Kelvie Linux - Newbie 10 05-26-2004 04:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:19 PM.

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
Open Source Consulting | Domain Registration