LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 01-15-2005, 10:09 AM   #1
e-radix
LQ Newbie
 
Registered: Jan 2005
Location: Greece
Distribution: Fedora Core 3
Posts: 4

Rep: Reputation: 0
Angry Getting lilo or any bootloader back


Up until recently I had a 2 partition system with one being fedora core 3 and the other win2000. Foulishly enough though I formated the partition where win2000 was and put winxp so the lilo or bootloader has vanished....... Can you help me find a lilo or bootloader and install it ?
Thx a lot
e-RadiX
I need to get my fedora back!

Last edited by e-radix; 01-15-2005 at 10:11 AM.
 
Old 01-15-2005, 10:22 AM   #2
Artanicus
Member
 
Registered: Jan 2005
Location: Finland
Distribution: Ubuntu, Debian, Gentoo, Slackware
Posts: 827

Rep: Reputation: 31
Your best bet is taking out your boot floppy (you do have one, dont you? (; ) or a livedistro / some other rescue system that you can boot your linux with.. Then just reinstall the bootloader with the command lilo
 
Old 01-15-2005, 10:46 AM   #3
e-radix
LQ Newbie
 
Registered: Jan 2005
Location: Greece
Distribution: Fedora Core 3
Posts: 4

Original Poster
Rep: Reputation: 0
where can i find such a diskete? Can you give me a link or something plz?
 
Old 01-15-2005, 10:56 AM   #4
Artanicus
Member
 
Registered: Jan 2005
Location: Finland
Distribution: Ubuntu, Debian, Gentoo, Slackware
Posts: 827

Rep: Reputation: 31
Knoppix is pretty good as a rescue bootable distro, but a bit large for just that.. Anyways, if you want to try it out, check out http://www.knoppix.org/

I allways thought fedora came with a rescue disk of its own tho, you might want to try booting with the installdisks.. They most likely have an option for system rescue or something similar
 
Old 01-15-2005, 11:48 AM   #5
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
You can rescue your system using the Fedora Installation disk (disk 1). When you get the boot prompt do

linux-rescue
chroot /mnt/sysimage
/sbin/lilo

You maybe asked to enter the path of your root partition after tryping in "linux-rescue", so make sure you know where it is.

Last edited by reddazz; 01-15-2005 at 12:49 PM.
 
Old 01-15-2005, 12:01 PM   #6
Travers
Member
 
Registered: Jul 2004
Location: Des Moines
Distribution: Gentoo
Posts: 111

Rep: Reputation: 15
Yeah, Windows thinks it owns the entire MBR. All you need to do is re-install yor bootloder, with your dual-boot setup. Pop in knoppix and do this:

#mount -w /dev/hda1 /mnt/hda1 #mounts drive read-write, assuming /dev/hda1 is linux partition
#chroot /mnt/hda1 /bin/bash
#env-update
#source /etc/profile #don't know what this stuff does, but it essentially makes commands work like you were running from linux on your hard drive. For instance, /mnt/hda1 is now /.
#lilo

And that's it. LILO will be installed in your MBR.
 
Old 01-15-2005, 03:32 PM   #7
e-radix
LQ Newbie
 
Registered: Jan 2005
Location: Greece
Distribution: Fedora Core 3
Posts: 4

Original Poster
Rep: Reputation: 0
I did what you told me about inserting the first fedora disc. Then I went to the point after chroot /mnt/sysimage but there was no lilo file in the sbin directory.

Last edited by e-radix; 01-15-2005 at 03:46 PM.
 
Old 01-15-2005, 03:53 PM   #8
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
Oh, yeah, sorry Fedora uses grub, so you need to do

linux-rescue
chroot /mnt/sysimage
grub-install /dev/hda
 
Old 01-16-2005, 04:33 AM   #9
e-radix
LQ Newbie
 
Registered: Jan 2005
Location: Greece
Distribution: Fedora Core 3
Posts: 4

Original Poster
Rep: Reputation: 0
Ok man thx a lot ! I've got my fedora back
 
  


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
Windows 2000 Bootloader vs. Mandriva LILO Bootloader Dregnan Mandriva 7 12-03-2007 09:55 PM
How can I disable the grub bootloader and enable the lilo bootloader? abefroman Linux - General 1 08-06-2005 08:53 AM
How Do I Back Up The Bootloader? jlacroix Mandriva 8 09-02-2004 12:32 PM
lilo bootloader. crapper Linux - Newbie 6 07-16-2004 09:33 PM
how do I get slack back in bootloader menu opafire Slackware 6 11-11-2003 09:22 PM

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

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