LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Cent OS install on an Optiplex 320... installed lilo... need help with lilo.conf (http://www.linuxquestions.org/questions/linux-newbie-8/cent-os-install-on-an-optiplex-320-installed-lilo-need-help-with-lilo-conf-614053/)

hcervan 01-16-2008 01:49 PM

Cent OS install on an Optiplex 320... installed lilo... need help with lilo.conf
 
found that Grub does not like the "stupid" dell Optiplex 320. Installed CentOS but does not boot from hard disk. It will only boot from cd/dvd. I installed the lilo boot loader and created the lilo.conf file but when i ran the lilo command I get 2 warnings. cannot find /dev or /proc

PLEASE HELP ME!!!!!

Lenard 01-17-2008 06:53 AM

What version of CentOS??? 3/4/5??? 32 or 64-bit???? Which version of lilo, where did you get it, how did you install it??

doublejoon 01-17-2008 07:15 AM

I was able to get Optiplex 320 to boot without using a fedora boot cd. (The Fedora Boot CD will let me choose "boot to local disk" and it boots)Without the CD No such luck

I even tried Grub2 (1.95)
LILO came through for me!!
I got this one from DAG (lilo-22.8-1.el5.test.i386.rpm)
lilo did not like LVM (/proc /dev /sys errors)


Here is my lilo.conf file for CentOS 5.1 ( Should work for the Fedoras too)

Code:

# This is the Fix for Grub not booting the Dell Optiplex 320

boot=/dev/hda
disk=/dev/hda
bios=0x80
map=/boot/System.map-2.6.18-53.el5
lba32
install=/boot/boot.b
compact
prompt
timeout=100
menu-title="Diskless PXE Boot Server"

image=/boot/vmlinuz-2.6.18-53.el5
        label=CentOS
        append="rhgb quiet pci=nomsi root=LABEL=/"
        read-only
        initrd=/boot/initrd-2.6.18-53.el5.img
        vga=normal

Give that a try

Lenard 01-17-2008 07:57 AM

Well, I'm glad you got lilo working and CentOS5 installed. You should update the system as your next step as a number of updates(including the kernel) are available;

yum check-update
yum update

hcervan 01-17-2008 09:45 AM

Problem Solved
 
Thanks DoubleJoon... You've been a big help....

No more problems!!!!

farslayer 01-17-2008 10:06 AM

I had the same problem with Debian on the Optiplex 320, Grub just does not work on this hardware.

The key in lilo seems to be the option pci=nomsi which if I recall had to be used at the boot: prompt to get the Debian installer to run on this machine.

This is the lilo.conf from from my Debian Etch box on an Optiplex 320

Code:


boot=/dev/sda
root=/dev/sda1
map=/boot/map
delay=20

default=Linux

image=/vmlinuz
        label=Linux
        read-only
#      restricted
#      alias=1
    append="pci=nomsi"
        initrd=/initrd.img

image=/vmlinuz.old
        label=LinuxOLD
        read-only
        optional
#      restricted
#      alias=2
    append="pci=nomsi"
        initrd=/initrd.img.old


I know your issue is already solved, but I figured I'd put this here as an additional reference for future searches.

doublejoon 01-18-2008 05:57 AM

Quote:

Originally Posted by Lenard (Post 3025787)
Well, I'm glad you got lilo working and CentOS5 installed. You should update the system as your next step as a number of updates(including the kernel) are available;

yum check-update
yum update

I wish I could just do that. Unfortunately I work in an environment that is "disconnected" from civilization. I'm working on convincing management to at least get RHEL/Satellite or at least a local Yum server up and running. It's tough

Lenard 01-18-2008 08:07 AM

One can always download the CentOS updates ( http://mirror.chpc.utah.edu/pub/centos/5/updates/ ) and use createrepo ( http://dag.wieers.com/rpm/packages/createrepo/ ) to create a local mirror.

createrepo /path-to_the_updates

Sample locale media file;

[media-c5]
name=CentOS-$releasever - Media

# if on local hard drive remove the comment below
# baseurl=file:///RHEL5

# if on removeable CD/DVD media remove the comments below
# baseurl=file:///media/CentOS/
# file:///media/cdrom/
# file:///media/cdrecorder/
gpgcheck=1
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-beta

Yes one can create the local repo directory then burn to media to save space.


All times are GMT -5. The time now is 05:13 PM.