LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 02-01-2005, 08:31 PM   #1
squeakypants
LQ Newbie
 
Registered: Jan 2005
Posts: 27

Rep: Reputation: 15
HELP! MBR Destoyed, Can't Boot!


I have ubuntu on my second hard drive and I wanted to replace it with gentoo, who's ISO I have on my windows hard drive. I cleared the mbr through linux (oregonstate. edu/~creliar/sysadmin/fixmbr.html) which was supposed to be just like fdisk /mbr, which worked fine before, but instead now I can't get into ubuntu OR windows! All I can get into is PHLAK (live cd linux) and UBCD (ultimate boot cd). HELP!!!!!!
 
Old 02-01-2005, 08:52 PM   #2
linuxLuser
Member
 
Registered: Jan 2005
Distribution: Gentoo
Posts: 111

Rep: Reputation: 16
I would normally suggest booting a Linux CD and reinstalling grub as a bootload via the "grub-install /dev/hda" command. But I'm new to this sort of thing and it's not a permanent solution, as it will give you a basic grub console to work with (you want a menu). So, here's a page that takes it from there:
Oh crap, I just typed 'grub-install /dev/hda1'!

Hopefully someone else can give you better advice, though.

-- the dudeman

....maybe I shouldn't answer questions to which I don't have the answer....always learning....
 
Old 02-01-2005, 08:57 PM   #3
squeakypants
LQ Newbie
 
Registered: Jan 2005
Posts: 27

Original Poster
Rep: Reputation: 15
I was thinking maybe to do that, but I couldn't add XP to it anyway. Plus, PHLAK is horrible (learned that the hard way).
 
Old 02-01-2005, 09:16 PM   #4
linuxLuser
Member
 
Registered: Jan 2005
Distribution: Gentoo
Posts: 111

Rep: Reputation: 16
adding XP is a piece of pie...plus three lines of code...

Code:
rootnoverify (hd0,0)
makeactive
chainloader +1
The "makeactive" might no be required.

-- the dudeman
 
Old 02-01-2005, 09:20 PM   #5
ehawk
Senior Member
 
Registered: Jul 2003
Posts: 1,257

Rep: Reputation: 48
can't use installation CD for ubuntu?

You can't use the CD you used to install ubuntu, in some recovery mode?


I haven't used this stuff, and I don't know if it's free, but it claims to work with ext2fs also

http://www.bykeyword.com/downloads/s...load-6938.html

Last edited by ehawk; 02-01-2005 at 09:21 PM.
 
Old 02-02-2005, 02:14 PM   #6
squeakypants
LQ Newbie
 
Registered: Jan 2005
Posts: 27

Original Poster
Rep: Reputation: 15
You see, the problem is I'm trying to get into WINDOWS. And I have tried rootnoverify, it didn't work :-( It reports an error. I'm gonna look for my windows disc. The reason I'm trying to get into windows is that I already have downloaded the gentoo ISO in windows, but I was told to try ubuntu because it was simpler, but ubuntu wasn't much better than PHLAK (You can't get into root, NOTHING is gui, and EVERYTHING has to be sudoed, and not much is included). Any idea of what to do if I can't find my old windows xp rescue disc? Anything I can do with UBCD?
 
Old 02-02-2005, 02:21 PM   #7
ehawk
Senior Member
 
Registered: Jul 2003
Posts: 1,257

Rep: Reputation: 48
can see, move files from windows to linux via linux

You should be able to boot any live evaluation CD and have access to the windows files, even if they are in a partition separate from linux. I know that on knoppix, you could see all the partitions, then just either right of left mouse click the partition you want to make readable and check a box to make it so. I assume that means you can also move such files wherever you'd like.
 
Old 02-02-2005, 02:25 PM   #8
squeakypants
LQ Newbie
 
Registered: Jan 2005
Posts: 27

Original Poster
Rep: Reputation: 15
as i said:
ubuntu = BAD
 
Old 02-02-2005, 02:26 PM   #9
ehawk
Senior Member
 
Registered: Jul 2003
Posts: 1,257

Rep: Reputation: 48
Quote:
Originally posted by squeakypants
as i said:
ubuntu = BAD
I guess I really don't understand.....if you want the gentoo iso burned from your Windows partition, use a live-evaluation CD to turn burn the iso directly onto a CD (I know this would probably require a second CD drive).

Last edited by ehawk; 02-02-2005 at 02:28 PM.
 
Old 02-02-2005, 02:28 PM   #10
squeakypants
LQ Newbie
 
Registered: Jan 2005
Posts: 27

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by ehawk
I guess I really don't understand.....if you want the gentoo iso burned from your Windows partition, use a live-evaluation CD to turn burn the iso directly onto a CD
All I can access is PHLAK and UBCD, and neither have the necessary tools.
 
Old 02-02-2005, 02:33 PM   #11
ehawk
Senior Member
 
Registered: Jul 2003
Posts: 1,257

Rep: Reputation: 48
Quote:
Originally posted by squeakypants
All I can access is PHLAK and UBCD, and neither have the necessary tools.
okay, if you had a second CD-R drive, boot with PHLAK, download knoppix to either your broken ubuntu or Windows partitions, then burn the knoppix iso to CD, then boot from knoppix to burn your gentoo CD. If you had a second computer, perhaps you could also exchange files this way.
 
Old 02-02-2005, 02:35 PM   #12
squeakypants
LQ Newbie
 
Registered: Jan 2005
Posts: 27

Original Poster
Rep: Reputation: 15
might be simpler to find the windows cd :-/ thanks anyway. isn't knoppix an distro anyway?
 
Old 02-02-2005, 02:36 PM   #13
ehawk
Senior Member
 
Registered: Jul 2003
Posts: 1,257

Rep: Reputation: 48
Quote:
Originally posted by squeakypants
might be simpler to find the windows cd :-/ thanks anyway. isn't knoppix an distro anyway?
It's a live evaluation CD which does have the tools to access windows partitions and burn to CD
 
Old 02-02-2005, 03:00 PM   #14
squeakypants
LQ Newbie
 
Registered: Jan 2005
Posts: 27

Original Poster
Rep: Reputation: 15
is there any way to just restore the windows mbr?
 
Old 02-02-2005, 03:06 PM   #15
tormented_one
Member
 
Registered: Oct 2004
Location: Small Town USA
Distribution: slamd64 2.6.12 Slackware 2.4.32 Windows XP x64 pro
Posts: 383

Rep: Reputation: 30
you need a 98 boot floppy. Then boot with cd-support. when up and going type, fdisk/mbr. That should fix windows. Using fdisc /mbr from linux sometimes messes things up. Also try it with no space, fdisk/mbr.
 
  


Reply



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
Is the /boot folder the MBR? onmountain Linux - Newbie 7 10-29-2005 01:41 PM
Reading MBR instead of /boot Rojong Linux - Newbie 13 01-03-2005 02:02 PM
Boot problems (MBR) french_frogger Linux - General 6 12-20-2004 01:13 PM
/boot as opposed to MBR babyphil Linux - General 5 08-21-2004 11:13 PM
"LI" from boot floppy? Can't load XP or Linux. Damaged MBR or boot sector or ...? SparceMatrix Linux - General 10 09-27-2002 01:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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