LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 06-24-2005, 06:55 AM   #1
Dr Croubie
LQ Newbie
 
Registered: Mar 2005
Location: c-/ Unibar, Adelaide University, South Australia
Distribution: SuSE 9.1
Posts: 10

Rep: Reputation: 0
lilo / initrd stuff


ok, firstly, i've got 2 4gb scsi drives.
sda1 has / and about 500mb swap
sdb1 has /home.
(hda1 is my win98, if it's ever plugged in)

everything works fine, except when i go to compile a new kernel. even using the one that came with my distro (suse 9.1, k2.6.4) and running a 'make oldconfig' using /boot/config-2.6.4 (theoretically giving me the same kernel as my current one), it still won't boot.

so after doing:
make
make modules_install
cp arch/i386/boot/bzImage /boot/
cp System.map /boot/
depmod -a
(is all this right, btw?)

i get to:
edit lilo.conf

here's the vital bits of my lilo.conf (that came with the distro):
default = Linux
timeout = 80
lba32
change-rules
reset
read-only
prompt
boot = /dev/sda

image = /boot/vmlinuz (the old one, that works)
label = Linux
initrd = /boot/initrd
root = /dev/sda1
append = "resume=/dev/sdb2"


and the bit i edited in:

image = /boot/bzImage
label = Linuxnew
root = /dev/sda1

then i run lilo, and i get a:
Warning: /dev/sda is not on the first disk

and if i change the line to:
boot = /dev/sda1
i get the same warning.



so:
do i need to copy any extra lines to my lilo.conf (like the initrd=x line)?
how do i make an initrd to go with my new kernel?
wtf does that Warning mean, and how can i get rid of it?

cheers
 
Old 06-25-2005, 03:37 AM   #2
elsheikhmh
Member
 
Registered: Aug 2004
Location: Cairo, Egypt
Distribution: Slackware
Posts: 101

Rep: Reputation: 15
well, i think you missed something in kernel compilation

check http://www.phx2600.com/Articles_Projects/24_compile.htm

mustafa
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
what is initrd? PinRojas Linux - Newbie 2 06-16-2005 11:18 AM
Do I even need an initrd? chadman Linux - General 3 02-20-2005 09:53 PM
When installing new stuff in suse 9.1, do you uninstall old stuff first? randon SUSE / openSUSE 1 12-25-2004 04:37 PM
Initrd????? rm6990 Linux - Software 5 10-15-2004 03:32 AM
initrd tekbuz Debian 2 08-04-2004 12:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:42 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration