LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   lilo conf for fedora and slackware (https://www.linuxquestions.org/questions/linux-newbie-8/lilo-conf-for-fedora-and-slackware-716424/)

anotherpenguin 04-02-2009 03:32 PM

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

anotherpenguin 04-02-2009 03:37 PM

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.

onebuck 04-02-2009 05:01 PM

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.

anotherpenguin 04-02-2009 06:07 PM

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?

anotherpenguin 04-02-2009 07:15 PM

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!

anotherpenguin 04-03-2009 01:10 AM

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.


All times are GMT -5. The time now is 09:19 AM.