LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 10-16-2003, 12:57 PM   #1
jpianoman
LQ Newbie
 
Registered: Oct 2003
Posts: 3

Rep: Reputation: 0
Unhappy HELP! Installed boot record over partition


I recently installed Mandrake Linux V 9.1 on my Dell Laptop. I was running Win2K, simply added Linux to the mix, using Lilo to select the OS to boot up with.

The system originally defaulted to Linux, I wanted to default to windows, so I tried changing the boot options. I think I accidentally installed grub bootloader to my win2k partition. Now, when I choose Windows from Lilo, it goes into the grub screen. I again select windows, and it keeps going back to the grub screen, after stage 2 chainloader.

When I try to mount the win2k partition in Linux, I get the "unrecognized file system, too many mounts, or bad superblock" message.

I would really like to get my win2k partition back. Any ideas?

Thanks
 
Old 10-16-2003, 04:16 PM   #2
ronix
LQ Newbie
 
Registered: Oct 2003
Location: Miami, FL
Posts: 4

Rep: Reputation: 0
similar thing happened to me a while back but with lilo. I have no real experience with grub. here's what i did

fdisk /mbr

 
Old 10-16-2003, 06:03 PM   #3
jpianoman
LQ Newbie
 
Registered: Oct 2003
Posts: 3

Original Poster
Rep: Reputation: 0
Unfortunately, I don't think that would fix the issue. I think I mistakenly added grub to the windows partition, so it goes into a "loop" when LILO boots the windows partition.

What I think i need to do is restore the ability to boot on the windows partition after selecting windows from LILO.

Ugh!
 
Old 10-16-2003, 06:40 PM   #4
quatsch
LQ Addict
 
Registered: Aug 2003
Location: New York, NY
Distribution: gentoo, gentooPPC
Posts: 1,661

Rep: Reputation: 48
you probably deleted the windows bootloader that was sitting there. You should look in windows related forum and MS's sites to see if there's a way to get it back.
 
Old 10-16-2003, 08:53 PM   #5
teval
Member
 
Registered: Jul 2003
Location: Toronto, Canada
Distribution: Gentoo
Posts: 720

Rep: Reputation: 30
fdisk /mbr is the correct thing to do.
It clears out the master boot record and puts a windows version of it up there.
It will put a windows bootloader in.
LILO + Grub will both be cleared out, and you'll need to go into one of their setups and put that one back in.
 
Old 10-16-2003, 09:01 PM   #6
quatsch
LQ Addict
 
Registered: Aug 2003
Location: New York, NY
Distribution: gentoo, gentooPPC
Posts: 1,661

Rep: Reputation: 48
but the problem is not the mbr. win2k and up installs a generic bootloader in the MBR which then goes to the first bootable poartition (i.e. the win partition) whose first sector has its own bootlader (ntloader or something like that) which then actually loads win2k. It looks like jpianoman deleted that so fixing mbr won't do it.
 
Old 10-17-2003, 07:37 AM   #7
teval
Member
 
Registered: Jul 2003
Location: Toronto, Canada
Distribution: Gentoo
Posts: 720

Rep: Reputation: 30
Ohh.. sorry about that Haven't used to w2k in ages.. Yeah I remember that now. I had a similar problem with installing it once.
There is a fix on the MS website for that, I'll see if I can find it later. Thanks for the correction though
 
Old 10-17-2003, 07:41 AM   #8
aaa
LQ Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 46
Not sure if 2k has it, but in XP you can fix this from the Recovery Console using the 'fixboot' command. It's probably the same if not very similar in 2k.
 
Old 10-17-2003, 07:41 AM   #9
aaa
LQ Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 46
Also make sure you have the provisions for restoring the Linux bootloader, in case it's erased.
 
Old 10-18-2003, 11:34 AM   #10
aus9
LQ Addict
 
Registered: Oct 2003
Location: Australia
Distribution: KDE Neon (Wayland)
Posts: 5,212

Rep: Reputation: Disabled
have you tried putting your mdk cd1 back and booting to it? and first lilo screen hit the F1 key and type rescue, after a while you will get an option to re-install your windows boot loader. Sorry no nuthin about win 2K.
then reboot with cd, if win loads now re-do mkd cd1 and this time try this

http://www.mandrakeusers.org/viewtopic.php?t=8629

choose lilo as you are newish
 
Old 10-19-2003, 03:48 AM   #11
jpianoman
LQ Newbie
 
Registered: Oct 2003
Posts: 3

Original Poster
Rep: Reputation: 0
Good News! I was able to use the Win2K CD, startup in recovery mode, and use the fixboot command. It found the correct partition and corrected the boot record. I have a system back. Whew!

Thank You all for your help, I'll be using this forum often!
 
  


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
remove GRUB from windows partition boot record Krun Linux - Newbie 3 09-13-2007 04:51 PM
Dual boot Linspire & Win XP - new master boot record? jimbo5454 Linux - Newbie 5 07-23-2006 12:06 AM
partition boot record problem cs-cam Linux - General 3 12-13-2004 11:34 AM
Installed lba-linux on a partition on my second hd but it will not boot neogen Linux - Newbie 1 05-22-2004 12:39 AM
How to add a boot record which used to startup windows under my Grub boot loader? yunxiang Linux - Newbie 6 02-01-2003 02:22 AM


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