LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 10-26-2006, 05:36 PM   #1
unq
LQ Newbie
 
Registered: May 2006
Posts: 9

Rep: Reputation: 0
Unhappy slackware 10.2 with fedora core 6 (lilo problems)


till today I had:
slackware 10.2 on hda2 (reiser)
win on hda3

my lilo.con was:
------------------------------------------------------------
# cat /etc/lilo.conf
# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
boot="/dev/hda"
#compact # faster, but won't work on all systems.
prompt
timeout="300"
# Normal VGA console
vga="773"
# Linux bootable partition config begins

image="/boot/vmlinuz"
root="/dev/hda2"
label="Linux_Slackware"
read-only # Non-UMSDOS filesystems should be mounted read-only for checking
# Linux bootable partition config ends
# Windows bootable partition config begins

other = /dev/hda3
label = Window_XP_SP2
table = /dev/hda
# Windows bootable partition config ends
----------------------------------------------------------------

everithing was perfect till I installed today fedora core on my other hard disk [/dev/hdc1](ext3) without bootloader option

Now i don't know how to configure lilo to be able boot fedora too

I've tried:
----
mount /dev/hdc1 /mnt/tmp
ls /mnt/tmp/boot/
grub
System.map-2.6.18-1.2798.fc6xen
symvers-2.6.18-1.2798.fc6xen.gz
xen-syms-2.6.18-1.2798.fc6
config-2.6.18-1.2798.fc6xen
initrd-2.6.18-1.2798.fc6xen.img
vmlinuz-2.6.18-1.2798.fc6xen
xen.gz-2.6.18-1.2798.fc6

added to my lilo.conf ->
-----------------
image=/mnt/tmp/boot/vmlinuz-2.6.18-1.2798.fc6xen
label="FC6"
root=/dev/hdc1
initrd=/mnt/tmp/boot/initrd-2.6.18-1.2798.fc6xen.img
read-only
-----------------

/sbin/lilo

Fatal: Setup length exceeds 31 maximum; kernel setup will overwrite boot loader

with this commented #initrd=/mnt/tmp/boot/initrd-2.6.18-1.2798.fc6xen.img
the same error apears.

PLS SOMEONE HELP!
 
Old 10-26-2006, 05:44 PM   #2
J_K9
Member
 
Registered: Nov 2004
Distribution: Slackware 11, Ubuntu 6.06 LTS
Posts: 700

Rep: Reputation: 30
Try this as your lilo.conf:
Code:
# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
boot="/dev/hda"
#compact # faster, but won't work on all systems.
prompt
timeout="300"
# Normal VGA console
vga="773"
# Linux bootable partition config begins

image="/boot/vmlinuz"
root="/dev/hda2"
label="Slackware Linux"
read-only # Non-UMSDOS filesystems should be mounted read-only for checking
# Linux bootable partition config ends

# Windows bootable partition config begins
other = /dev/hda3
label = "Window XP SP2"
table = /dev/hda
# Windows bootable partition config ends

# Fedora Core 6 bootable partition config begins
other = /dev/hdc1
label = "Fedora Core 6"
table = /dev/hdc
# Fedora Core 6 bootable partition config ends
Once you've saved that, run the following command (still as root):
Code:
# /sbin/lilo
That should do the trick

Last edited by J_K9; 10-26-2006 at 05:46 PM.
 
Old 10-26-2006, 05:50 PM   #3
unq
LQ Newbie
 
Registered: May 2006
Posts: 9

Original Poster
Rep: Reputation: 0
nooo

other = /dev/hdc1
label = "Fedora Core 6"
table = /dev/hdc

Fatal: First sector of /dev/hdc1 doesn't have a valid boot signature
 
Old 10-26-2006, 05:58 PM   #4
J_K9
Member
 
Registered: Nov 2004
Distribution: Slackware 11, Ubuntu 6.06 LTS
Posts: 700

Rep: Reputation: 30
Hmm... Are you sure /dev/hdc1 is the FC6's / partition?

According to your mount command in the first post it is, but for some reason LILO isn't recognising it as such... :/
 
Old 10-26-2006, 06:01 PM   #5
unq
LQ Newbie
 
Registered: May 2006
Posts: 9

Original Poster
Rep: Reputation: 0
100% I instaled on hdc1 .. and like u said I mounted without a problem it. and listed /boot directory with fc6 files.
 
Old 10-27-2006, 12:03 AM   #6
unq
LQ Newbie
 
Registered: May 2006
Posts: 9

Original Poster
Rep: Reputation: 0
so .. no lilo guru here? :P
 
Old 10-27-2006, 12:26 AM   #7
unq
LQ Newbie
 
Registered: May 2006
Posts: 9

Original Poster
Rep: Reputation: 0
-----------
title Fedora Core (2.6.18-1.2784.fc6xen)
root (hd0,0)
kernel /boot/xen.gz-2.6.18-1.2784.fc6
module /boot/vmlinuz-2.6.18-1.2784.fc6xen root=LABEL=/1
module /boot/initrd-2.6.18-1.2784.fc6xen.img
-----------

I found this on fedora wiki but is or grub , some ideeas how it will be for lilo???
 
Old 10-27-2006, 01:50 PM   #8
linuxhippy
Senior Member
 
Registered: Sep 2004
Location: Philadelphia, PA
Distribution: Xubuntu, Mythbuntu, Lubuntu, Picuntu
Posts: 1,189

Rep: Reputation: 47
I have Fedora and Slack dual booting using grub since that is the FC boot loader. Just add Slack's info to grub.conf on the Fedora partition and hash out the hiddenmenu entry (#hiddenmenu).

Your lilo entry for Slack:

image="/boot/vmlinuz"
root="/dev/hda2"
label="Linux_Slackware"
read-only

Changes to this in GRUB:

title Slackware
root (hd0,1)
kernel /boot/vmlinuz ro

I think (I'm not at my Slack box to check). Here's a good post from the Fedora forum:

http://forums.fedoraforum.org/forum/...conf+lilo.conf

Also, setup Fedora to boot using GRUB. You can use the first FC install cd or DVD for this. Let me know if you have problems and I'll send you more info from my Fedora/Slack box.

Last edited by linuxhippy; 10-27-2006 at 02:10 PM.
 
Old 10-29-2006, 02:08 PM   #9
unq
LQ Newbie
 
Registered: May 2006
Posts: 9

Original Poster
Rep: Reputation: 0
thank you ppl for all your feedback ..
I solved the problem, not very beautiful solution but it's work (since fedora is on test on my pc )

The solution I found:
I installed fedora's grub on hard-disk with fedora [not mbr!](/dev/hdc in my case)
Then I added to my lilo.conf:

other = /dev/hdc1
label = "Fedora's GRUB"
table = /dev/hdc

# /sbin/lilo

and it's works perfect (2 bootloaders untill I load fedora, but it's ok for me.)

/#8 linuxhippy Thanx
 
  


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
Quake 3 working on Fedora Core 1, but Problems in Slackware 10.0 koodoo Linux - Games 1 06-02-2005 03:52 PM
LILO Boot Image for Fedora Core 3 besttech01 Fedora 2 03-31-2005 05:21 PM
Need a Fedora Core 3 lilo entry... rrfish72 Linux - General 4 12-10-2004 05:46 PM
Severe problems with Fedora Core 1 and Fedora Core 2 installatiom TheOneKEA Fedora - Installation 2 07-14-2004 03:12 PM
lilo on fedora core 1? zepplin611 Fedora 11 02-11-2004 08:24 PM


All times are GMT -5. The time now is 03:56 PM.

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