LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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 04-02-2009, 03:32 PM   #1
anotherpenguin
Member
 
Registered: Nov 2008
Posts: 44

Rep: Reputation: 15
lilo conf for fedora and slackware


My slackware is on hda and I have added fedora as hdb(slave).
How do I modify my 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
# VESA framebuffer console @ 1024x768x256
vga = 773
# Normal VGA console
# vga = normal
# VESA framebuffer console @ 1024x768x64k
# vga=791
# VESA framebuffer console @ 1024x768x32k
# vga=790
# VESA framebuffer console @ 1024x768x256
# vga=773
# VESA framebuffer console @ 800x600x64k
# vga=788
# VESA framebuffer console @ 800x600x32k
# vga=787
# VESA framebuffer console @ 800x600x256
# vga=771
# VESA framebuffer console @ 640x480x64k
# vga=785
# VESA framebuffer console @ 640x480x32k
# vga=784
# VESA framebuffer console @ 640x480x256
# vga=769
# ramdisk = 0 # paranoia setting
# End LILO global section
# Linux bootable partition config begins
image = /boot/vmlinuz
root = /dev/hda1
label = Linux
read-only # Partitions should be mounted read-only for checking
# Linux bootable partition config ends
# Windows bootable partition config begins
other = /dev/sda1
label = Windows
boot-as = 0x80
# map-drive = 0x80
# to = 0x81
# map-drive = 0x81
# to = 0x80
table = /dev/sda
# Windows bootable partition config ends

Last edited by anotherpenguin; 04-02-2009 at 05:01 PM.
 
Old 04-02-2009, 03:37 PM   #2
anotherpenguin
Member
 
Registered: Nov 2008
Posts: 44

Original Poster
Rep: Reputation: 15
One more thing can I access fedora files from slackware like I view windows, by modifying /etc/fstab?
cause I tried and all it showed was boot directory and lost+found.
If there is a way, please let me know.
Just curious.

Last edited by anotherpenguin; 04-02-2009 at 05:02 PM.
 
Old 04-02-2009, 05:01 PM   #3
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 11,193
Blog Entries: 3

Rep: Reputation: 1425Reputation: 1425Reputation: 1425Reputation: 1425Reputation: 1425Reputation: 1425Reputation: 1425Reputation: 1425Reputation: 1425Reputation: 1425
Hi,

You can modify your '/etc/lilo.conf' with any text editor. I use 'vi'. After editing be sure to run the 'lilo' command as root to update the bootloader.

You can run 'netconfig' as root from the 'cli' as root for Slackware.
A lot of what you have asked could be searched here on LQ as this has been covered loads of times.
 
Old 04-02-2009, 06:07 PM   #4
anotherpenguin
Member
 
Registered: Nov 2008
Posts: 44

Original Poster
Rep: Reputation: 15
ok I searched the threads but couldn't find for fedora in lilo.conf,
found a similar one for debian
so I tried this


# 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
# VESA framebuffer console @ 1024x768x256
vga = 773
# Normal VGA console
# vga = normal
# VESA framebuffer console @ 1024x768x64k
# vga=791
# VESA framebuffer console @ 1024x768x32k
# vga=790
# VESA framebuffer console @ 1024x768x256
# vga=773
# VESA framebuffer console @ 800x600x64k
# vga=788
# VESA framebuffer console @ 800x600x32k
# vga=787
# VESA framebuffer console @ 800x600x256
# vga=771
# VESA framebuffer console @ 640x480x64k
# vga=785
# VESA framebuffer console @ 640x480x32k
# vga=784
# VESA framebuffer console @ 640x480x256
# vga=769
# ramdisk = 0 # paranoia setting
# End LILO global section
# bootable partion config begins
image = /mnt/Fedora/boot/vmlinuz-2.6.21.-1.3194.fc7
root = /dev/hdb1
label = Fedora
initrd = "/mnt/Fedora/boot/initrd-2.6.21-1.3194.fc7.img"
append = "splash=silent"
vga = 787
# bootable partition config ends
# Linux bootable partition config begins
image = /boot/vmlinuz
root = /dev/hda1
label = Linux
read-only # Partitions should be mounted read-only for checking
# Linux bootable partition config ends
# Windows bootable partition config begins
other = /dev/sda1
label = Windows
boot-as = 0x80
# map-drive = 0x80
# to = 0x81
# map-drive = 0x81
# to = 0x80
table = /dev/sda
# Windows bootable partition config ends


It didn't work , I'm not sure what to do, any ideas?

Last edited by anotherpenguin; 04-02-2009 at 06:13 PM.
 
Old 04-02-2009, 07:15 PM   #5
anotherpenguin
Member
 
Registered: Nov 2008
Posts: 44

Original Poster
Rep: Reputation: 15
I tried by copying
vmlinuz-2.6.21-1.3194.fc7
initrd-2.6.21-1.3194.fc7.img
(read it in another thread)
to /boot
now if I try to boot fedora I get kernel panic.

this is my lilo file

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
# VESA framebuffer console @ 1024x768x256
vga = 773
# Normal VGA console
# vga = normal
# VESA framebuffer console @ 1024x768x64k
# vga=791
# VESA framebuffer console @ 1024x768x32k
# vga=790
# VESA framebuffer console @ 1024x768x256
# vga=773
# VESA framebuffer console @ 800x600x64k
# vga=788
# VESA framebuffer console @ 800x600x32k
# vga=787
# VESA framebuffer console @ 800x600x256
# vga=771
# VESA framebuffer console @ 640x480x64k
# vga=785
# VESA framebuffer console @ 640x480x32k
# vga=784
# VESA framebuffer console @ 640x480x256
# vga=769
# ramdisk = 0 # paranoia setting
# End LILO global section
# bootable partition config begins
image = /boot/vmlinuz-2.6.21-1.3194.fc7
root = /dev/hdb1
label = Fedora
initrd = /boot/initrd-2.6.21-1.3194.fc7.img
# bootable partition config ends
# Linux bootable partition config begins
image = /boot/vmlinuz
root = /dev/hda1
label = Linux
read-only # Partitions should be mounted read-only for checking
# Linux bootable partition config ends
# Windows bootable partition config begins
other = /dev/sda1
label = Windows
boot-as = 0x80
# map-drive = 0x80
# to = 0x81
# map-drive = 0x81
# to = 0x80
table = /dev/sda
# Windows bootable partition config ends

Please guys, I need some help!
 
Old 04-03-2009, 01:10 AM   #6
anotherpenguin
Member
 
Registered: Nov 2008
Posts: 44

Original Poster
Rep: Reputation: 15
I know this has been already covered in forums before but all the methods used before have not worked for me.
I permanently mounted / of fedora on /windows/Drive5
by modifying fstab

and my current lilo.conf is this



# 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
# VESA framebuffer console @ 1024x768x256
vga = 773
# Normal VGA console
# vga = normal
# VESA framebuffer console @ 1024x768x64k
# vga=791
# VESA framebuffer console @ 1024x768x32k
# vga=790
# VESA framebuffer console @ 1024x768x256
# vga=773
# VESA framebuffer console @ 800x600x64k
# vga=788
# VESA framebuffer console @ 800x600x32k
# vga=787
# VESA framebuffer console @ 800x600x256
# vga=771
# VESA framebuffer console @ 640x480x64k
# vga=785
# VESA framebuffer console @ 640x480x32k
# vga=784
# VESA framebuffer console @ 640x480x256
# vga=769
# ramdisk = 0 # paranoia setting
# End LILO global section
# Unix partion config begins
image = /windows/Drive5/vmlinuz-2.6.21-1.3194.fc7
root = /dev/hdb1
label = Fedora_7
initrd = /windows/Drive5/initrd-2.6.21-1.3194.fc7.img
# append = "rhgb quiet"
read-only
# bootable partition config ends
# Linux bootable partition config begins
image = /boot/vmlinuz
root = /dev/hda1
label = Slackware_12.0
read-only # Partitions should be mounted read-only for checking
# Linux bootable partition config ends
# Windows bootable partition config begins
other = /dev/sda1
label = Windows_XP
boot-as = 0x80
# map-drive = 0x80
# to = 0x81
# map-drive = 0x81
# to = 0x80
table = /dev/sda
# Windows bootable partition config ends

Please help, this worked for most people but all I get is kernel panic.
 
  


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
Lilo.conf when using Slackware and Debian Menestrel Linux - General 5 06-14-2005 04:53 PM
need help with lilo conf, want to boot to Fedora rswitzer Red Hat 2 09-16-2004 06:56 AM
lilo.conf and lilo.conf.anaconda difference blackzone Linux - General 1 07-06-2004 03:15 AM
lilo.conf help needed on Slackware 9/PII 350. Sulli Linux - Software 4 08-14-2003 09:34 AM
lilo.conf setup in slackware? BmxFace Slackware 6 07-05-2003 12:46 AM


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