| Fedora This forum is for the discussion of the Fedora Project. |
| 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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
03-28-2005, 03:22 PM
|
#1
|
|
LQ Newbie
Registered: Mar 2005
Location: Florida, USA
Distribution: Slackware 10.1, Fedora C3
Posts: 17
Rep:
|
LILO Boot config to start up Fedora
What is the LILO config that I must paste in order to boot up Fedora Core 3 on /dev/hda2 ?
image = /boot/vmlinuz
root = /dev/hda2
label = Fedora_Core_3
read-only
This one doesnt seem to work, what do I edit?
|
|
|
|
03-28-2005, 10:15 PM
|
#2
|
|
Senior Member
Registered: Dec 2001
Location: New Zealand
Distribution: Debian
Posts: 1,046
Rep:
|
What else do you have on your system (hard drive configuration, OS that contains your /etc/lilo.conf and Lilo binary) ? - Are you setting your boot options up from within Slackware ?
Cheers,
mj
|
|
|
|
03-29-2005, 05:02 PM
|
#3
|
|
LQ Newbie
Registered: Mar 2005
Location: Florida, USA
Distribution: Slackware 10.1, Fedora C3
Posts: 17
Original Poster
Rep:
|
Yes I am doing everything in Slackware since I'm "locked-out" from Fedora. My current HDD Config is:
/dev/hda1 Windows XP Pro
/dev/hda2 Fedora /
/dev/hda3 Fedora /home
/dev/hda4 Extended (rest of HDD, about 88 GB)
/dev/hda5 Fedora /usr
/dev/hda6 Fedora /opt
/dev/hda7 Swap
/dev/hda8 Slackware /
/dev/hda9 Slackware /home
/dev/hda10 Swap (yes I, by mistake, made 2 swaps)
/dev/hda11 Slackware /usr
/dev/hda12 Slackware /opt
I would guess my LILO binary is at the MBR? or wihtin Slackware itself. There is a lot of mistakes with this HDD configuration becasue this is my first Slackware 10.1/Windows XP Pro/Fedora core 3 installation. But my question still remains, what must I edit from the above LILO config to be able to boot up with Fedora Core 3 at /dev/hda2 ?
|
|
|
|
03-29-2005, 11:49 PM
|
#4
|
|
Senior Member
Registered: Dec 2001
Location: New Zealand
Distribution: Debian
Posts: 1,046
Rep:
|
If you're doing this from your Slack installation, then you'll need to use the absolute path to your Fedora kernel:
Code:
image = /mnt/hda2/boot/vmlinuz
root = /dev/hda2
label = Fedora_Core_3
read-only
- Edit the mount point for hda2 as appropriate, and make sure that it's mounted before running lilo again.
Cheers,
mj
|
|
|
|
03-30-2005, 02:31 PM
|
#5
|
|
LQ Newbie
Registered: Mar 2005
Location: Florida, USA
Distribution: Slackware 10.1, Fedora C3
Posts: 17
Original Poster
Rep:
|
Hmm.. I pasted the code in exactly as you posted it, but it still won't load up.
Quote:
"- Edit the mount point for hda2 as appropriate, and make sure that it's mounted before running lilo again"
I don't understand how to mount hda2. I am new to Linux. How do I mount hda2?
|
|
|
|
03-30-2005, 03:25 PM
|
#6
|
|
Senior Member
Registered: Dec 2001
Location: New Zealand
Distribution: Debian
Posts: 1,046
Rep:
|
Check that /dev/hda2 is included in your /etc/fstab file - if not, then add it using the same format, e.g.
Code:
/dev/hda2 /mnt/hda2 auto defaults 0 0
and create the mount point (directory) for it, thus (as root): mkdir /mnt/hda2. Now all you need to do is issue the following
Code:
mount /mnt/hda2
lilo
Mounting a drive makes it available for read and optionally, write access. Thus after running the mount command, you should be able to just browse hda2 as normal, entering it from /mnt/hda2.
Cheers,
mj
|
|
|
|
03-30-2005, 07:30 PM
|
#7
|
|
LQ Newbie
Registered: Mar 2005
Location: Florida, USA
Distribution: Slackware 10.1, Fedora C3
Posts: 17
Original Poster
Rep:
|
Hey thanks, I managed to mount the partition onto the file. LILO in terminal errored-out with FC3, becasue vmlinuz doesn't exist on /mnt/hda2/boot, which is true (after browsing /boot, it isn't there). Unless you know the boot file, I'll have to try all of them. The closest one to vmlinuz is vmlinuz-2.6.9-1.677, but its s SELinux script  It looked quite funny running SELinux scripts during setup up with no kernel loaded. If i get to find out what boot file it is, I will post it up ASAP.
mjrich, I really appriciate all your help. Thank you for helping out a Linux newbie  .
Last edited by besttech01; 03-30-2005 at 07:34 PM.
|
|
|
|
03-30-2005, 08:57 PM
|
#8
|
|
Senior Member
Registered: Dec 2001
Location: New Zealand
Distribution: Debian
Posts: 1,046
Rep:
|
Great to hear you have the FC3 partition mounted
The kernel (boot) image you're looking for, should be in either the FC3 root directory (/mnt/hda2/ if you did mount it as above) or otherwise in /mnt/hda2/boot/. The name should be something along the lines of bzImage* or vmlinuz*, so I'm surprised that it isn't vmlinuz-2.6.9-1.677. vmlinuz (whether at the root or boot directory) is normally just a symbolic link (shortcut) to the real kernel image.
The image itself should be about 800 kb - 1 Mb. You can use ls -lh from within a directory to list the file sizes and whether it's a link to another file.
If you really can't find the kernel image for FC3, then simply browse to the original lilo config file within FC3 (most likely at /mnt/hda2/etc/lilo.conf) and see what's listed there.
Finally, don't forget to run lilo after any changes to the config file...
Cheers,
mj
|
|
|
|
03-30-2005, 11:04 PM
|
#9
|
|
LQ Newbie
Registered: Mar 2005
Location: Florida, USA
Distribution: Slackware 10.1, Fedora C3
Posts: 17
Original Poster
Rep:
|
Now why didnt I think of that...I will leave that to last resort to give myself a challenge  , once again thank you A++ help!
|
|
|
|
03-31-2005, 02:19 PM
|
#10
|
|
LQ Newbie
Registered: Mar 2005
Location: Florida, USA
Distribution: Slackware 10.1, Fedora C3
Posts: 17
Original Poster
Rep:
|
image=/boot/vmlinuz-2.6.9-1.667
label=linux
initrd=/boot/initrd-2.6.9-1.667.img
read-only
append="rhgb quiet root=LABEL=/1"
That is the LILO code I found in the LILO Config of Fedora Core 3! YAY! couldn"t have done it without mjrich.
|
|
|
|
03-31-2005, 02:53 PM
|
#11
|
|
Senior Member
Registered: Dec 2001
Location: New Zealand
Distribution: Debian
Posts: 1,046
Rep:
|
Great !
Let us know how you get on after adding the FC3 kernel data to Slackware's lilo.conf
Cheers,
mj
|
|
|
|
03-31-2005, 04:19 PM
|
#12
|
|
LQ Newbie
Registered: Mar 2005
Location: Florida, USA
Distribution: Slackware 10.1, Fedora C3
Posts: 17
Original Poster
Rep:
|
WOW! It worked. Fedora Core 3 boots up like it was before with no problems what so ever. My config:
Code:
image=/mnt/hda2/boot/vmlinuz-2.6.9-1.667
label=Fedora_Core_3
initrd=/mnt/hda2/boot/initrd-2.6.9-1.667.img
read-only
append="rhgb quiet root=LABEL=/1"
-For people who would want to use this config to boot with
Fedora, remember to edit the directories to where your files are mounted.
|
|
|
|
03-31-2005, 07:08 PM
|
#13
|
|
Senior Member
Registered: Dec 2001
Location: New Zealand
Distribution: Debian
Posts: 1,046
Rep:
|
Excellent news
Take care,
mj
|
|
|
|
03-31-2005, 07:14 PM
|
#14
|
|
LQ Newbie
Registered: Mar 2005
Location: Florida, USA
Distribution: Slackware 10.1, Fedora C3
Posts: 17
Original Poster
Rep:
|
Well, it was done thanks to you.  Greatly appreciated. 2 thumbs up.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 02:42 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
|
|