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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
01-15-2005, 10:09 AM
|
#1
|
LQ Newbie
Registered: Jan 2005
Location: Greece
Distribution: Fedora Core 3
Posts: 4
Rep:
|
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.
|
|
|
01-15-2005, 10:22 AM
|
#2
|
Member
Registered: Jan 2005
Location: Finland
Distribution: Ubuntu, Debian, Gentoo, Slackware
Posts: 827
Rep:
|
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
|
|
|
01-15-2005, 10:46 AM
|
#3
|
LQ Newbie
Registered: Jan 2005
Location: Greece
Distribution: Fedora Core 3
Posts: 4
Original Poster
Rep:
|
where can i find such a diskete? Can you give me a link or something plz?
|
|
|
01-15-2005, 10:56 AM
|
#4
|
Member
Registered: Jan 2005
Location: Finland
Distribution: Ubuntu, Debian, Gentoo, Slackware
Posts: 827
Rep:
|
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
|
|
|
01-15-2005, 11:48 AM
|
#5
|
LQ Guru
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298
Rep:
|
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.
|
|
|
01-15-2005, 12:01 PM
|
#6
|
Member
Registered: Jul 2004
Location: Des Moines
Distribution: Gentoo
Posts: 111
Rep:
|
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.
|
|
|
01-15-2005, 03:32 PM
|
#7
|
LQ Newbie
Registered: Jan 2005
Location: Greece
Distribution: Fedora Core 3
Posts: 4
Original Poster
Rep:
|
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.
|
|
|
01-15-2005, 03:53 PM
|
#8
|
LQ Guru
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298
Rep:
|
Oh, yeah, sorry Fedora uses grub, so you need to do
linux-rescue
chroot /mnt/sysimage
grub-install /dev/hda
|
|
|
01-16-2005, 04:33 AM
|
#9
|
LQ Newbie
Registered: Jan 2005
Location: Greece
Distribution: Fedora Core 3
Posts: 4
Original Poster
Rep:
|
Ok man thx a lot ! I've got my fedora back 
|
|
|
All times are GMT -5. The time now is 11:31 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|