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
 
LinkBack Search this Thread
Old 01-16-2008, 01:49 PM   #1
hcervan
LQ Newbie
 
Registered: Jan 2008
Posts: 2

Rep: Reputation: 0
Question 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!!!!!
 
Old 01-17-2008, 06:53 AM   #2
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 56
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??
 
Old 01-17-2008, 07:15 AM   #3
doublejoon
Member
 
Registered: Oct 2003
Location: King George, VA
Distribution: RHEL/CentOS/Scientific/Fedora, LinuxMint
Posts: 366

Rep: Reputation: 44
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

Last edited by doublejoon; 01-17-2008 at 07:17 AM.
 
Old 01-17-2008, 07:57 AM   #4
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 56
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
 
Old 01-17-2008, 09:45 AM   #5
hcervan
LQ Newbie
 
Registered: Jan 2008
Posts: 2

Original Poster
Rep: Reputation: 0
Smile Problem Solved

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

No more problems!!!!
 
Old 01-17-2008, 10:06 AM   #6
farslayer
Guru
 
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,231
Blog Entries: 5

Rep: Reputation: 189Reputation: 189
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.

Last edited by farslayer; 01-17-2008 at 10:09 AM.
 
Old 01-18-2008, 05:57 AM   #7
doublejoon
Member
 
Registered: Oct 2003
Location: King George, VA
Distribution: RHEL/CentOS/Scientific/Fedora, LinuxMint
Posts: 366

Rep: Reputation: 44
Quote:
Originally Posted by Lenard View Post
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
 
Old 01-18-2008, 08:07 AM   #8
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 56
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.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Mandrake Official 10.1 could not install on DELL OPTIPLEX 320 PhillipHuang Mandriva 4 04-25-2007 03:33 AM
Problem booting Ubuntu install CD on Dell optiplex 320 Charles Harwell Ubuntu 1 04-03-2007 12:36 PM
Switching from grub to lilo, messed up Lilo.conf, rescuing via Knoppix. SonicGT Debian 2 08-21-2005 01:15 PM
Upgraded kernel, lilo.conf, didn't run /sbin/lilo dtashima Linux - Newbie 4 10-18-2004 11:21 AM
Problem with Lilo not updating (yes I ran lilo after changing the conf) webguy Linux - General 2 06-24-2001 07:12 PM


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