LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 05-25-2005, 10:21 AM   #1
Cr7pt0r
LQ Newbie
 
Registered: May 2005
Posts: 3

Rep: Reputation: 0
Bootloader (MBR) erased by XP (different ISSUE)


My issue is diferent from all others issues about this topic. I've lost my linux instalation CDS (Fedora) with my images too, so I cant recover the "mess" with that. Recently I reinstaled WinXP but I forgot that my linux bootloader was instaled at my MBR. So guess what... yes XP erased my linux bootloader and now I've an inacessible partition (where FEDORA is instaled). There's any chance that I can boot my Linux again ? I've tried tons of bootloaders out there but none helped cus none can find the bootsector of my linux (that's make sense). So I was searching for a boot diskette (not for installation) or something but didnt find. So resuming... there's any chance at all that I can access my Linux again without formating ? Thank you for your time/attention.

Last edited by Cr7pt0r; 05-25-2005 at 10:24 AM.
 
Old 05-25-2005, 10:41 AM   #2
rose_bud4201
Member
 
Registered: Aug 2002
Location: St Louis, MO
Distribution: Xubuntu, RHEL, Solaris 10
Posts: 927

Rep: Reputation: 30
You shouldn't need to have your installation disks - there's ways to fix this without having them (and naturally without reinstalling). Try reading through this thread, it explains pretty well what I'd just be typing again here. I believe that Fedora uses Grub by default, so anything that says lilo will be grub instead.

I'm not too familiar with the grub file syntax, but there should be tons of sample dual-boot config files out there (and on this site). Try searching around here for more instructions on how to actually get grub setup correctly.

Last edited by rose_bud4201; 05-25-2005 at 10:45 AM.
 
Old 05-25-2005, 11:03 AM   #3
Cr7pt0r
LQ Newbie
 
Registered: May 2005
Posts: 3

Original Poster
Rep: Reputation: 0
Thank you I'll read that carefully.
 
Old 05-25-2005, 08:48 PM   #4
Cr7pt0r
LQ Newbie
 
Registered: May 2005
Posts: 3

Original Poster
Rep: Reputation: 0
Well firstly everything looked good.

I booted with tom's boot disk and did this:

mkdir floopy
mount /dev/fd0 /floopy -> to copy boot.b that are located in the diskette (didnt have it at /boot in Fedora)
mount /dev/hda3 /mnt -> mounted my fedora partition
cp /floopy/boot.b /mnt/boot
vi /mnt/etc/lilo.conf -> I tried some new confs cus I used grub instead of lilo (anyway I tried lilo)
lilo -r /mnt

I tried this too:

chroot /mnt /sbin/grub-install

but somehow there's a issue about my libs and I cant fix it. Cant execute cus of some lib dependencys.

About lilo I was unlucky cus lilo dont support cylinder bigger than 1024 (I know some issues to resolve this but I cant cus I want my partition intact) so after tons of hours, tons of trys, tons of possible things imaginable. I give up. I'll get the cds again and I'll try to repair. Friends of mine said that didnt solve their problems even with the cd repair... anyway I'll try it. If that dont fix the bootloader, well hell to this and I'll format and reinstall all over again. I'm around this for about 2 days and I really tryed almost everything. Anyway thank you for your support.
 
  


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
Newbie erased his MBR... michelbehr Linux - Newbie 9 01-09-2006 03:42 AM
Slackware MBR erased by Windows Dankles Slackware 4 10-17-2005 08:02 PM
Change bootloader - not in MBR Andy@DP Red Hat 2 04-09-2004 04:10 AM
SuSE 9.0 Pro: Reinstalling the bootloader on MBR ihsus Linux - Newbie 10 03-25-2004 09:50 AM
Bootloader/MBR-problem Creep *BSD 10 04-09-2003 11:19 AM


All times are GMT -5. The time now is 11:51 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration