l i n u x - u s e r s - g r o u p - o f - d a v i s
L U G O D
 
Next Meeting:
December 2: Social gathering
Next Installfest:
TBD
Latest News:
Nov. 18: Club officer elections
Page last updated:
2004 May 05 11:48

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
[vox-tech] Compile 2.6.5 kernel Debian-style, get unbootable system
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vox-tech] Compile 2.6.5 kernel Debian-style, get unbootable system



Here's what I remember of what happened:

$ apt-get kernel-source-2.6.5
$ tar xjvf /usr/src/kernel-source-2.6.5.tar.bz2
$ cd kernel-source-2.6.5
$ cp /boot/config-2.6.3-1-686 .config  # or something similar
$ make menuconfig
$ MAKEFLAGS='CC=gcc-3.3' fakeroot make-kpkg --append_to_version -686 \
kernel_image modules_image
$ cd ..
$ sudo dpkg -i kernel-image-2.6.5-686_.01_i386.deb
$ sudo vi /etc/lilo.conf  # Fiddle with things
$ sudo lilo

It asked me some questions about where to put LILO that I don't remember
and wasn't sure how to answer.  Something like whether to put it in the
MBR or the root partition...  Anyway, now when I try to boot the system,
there's a list of the various kernels but I can't get any of them to
run.  When I press enter, it just ignores my choice.  If I hold down the
enter key, some of the choices show 'Error 0x40' and others show 
'Unexpected EOF'.  The screen immediately goes back to the way it was,
with a list of kernels to choose from.

Here's my lilo.conf file (I'm pretty sure this is the one I used):

boot=/dev/hda1
root=/dev/hda1
compact
install=/boot/boot.b
map=/boot/map
vga=normal
delay=20
prompt
image=/boot/vmlinuz-2.6.5-686
        label = L2.6.5-686
        read-only
image=/boot/vmlinuz-2.4.18-1-686
        label=L2.4.18-686
        read-only
        initrd=/boot/initrd.img-2.4.18-1-686
image=/boot/vmlinuz-2.4.18-bf2.4
        label=L2.4.18-bf2.4
        read-only
image=/boot/vmlinuz-2.6.3-1-686
        label=L2.6.3-686
        read-only
        initrd=/boot/initrd.img-2.6.3-1-686
#image=/boot/vmlinuz-2.6.5-486
        #label=L2.6.5
        #read-only
        #initrd=/boot/initrd.img-2.6.5-486

My kernel .config file is attached.

-- 
Issac Trotts
http://mallorn.ucdavis.edu/~ijtrotts
(w) 530-757-8789

Attachment: issac.config.gz
Description: Binary data



LinkedIn
LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
facebook
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
Sunset Systems
Who graciously hosts our website & mailing lists!