l i n u x - u s e r s - g r o u p - o f - d a v i s
Next Meeting:
July 7: Social gathering
Next Installfest:
Latest News:
Jun. 14: June LUGOD meeting cancelled
Page last updated:
2004 May 05 08:37

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)
Re: [vox-tech] Compile 2.6.5 kernel Debian-style, get unbootable system
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

Part of the problem now seems to be resolved.  I used GRUB this time,
which made the boot loading part much easier.  All the needed info was
in /usr/share/doc/grub/README.Debian.

On Wed, May 05, 2004 at 12:55:44AM -0700, Issac Trotts wrote:
> 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

First, I reinstalled Debian since my floppy drive is hosed (so I can't
use a rescue floppy) and I couldn't figure out how to use the install
CD as a rescue disk.

Then I compiled kernel version 2.4.25 using /boot/config-2.4.22-1-386.
For all questions involving LILO, I told it to do nothing.  Once the
questioning stopped, I ran update-grub to automatically update the boot

I was then able to boot the recompiled 2.4.25, but the networking was
intolerably slow.  Running /sbin/ifconfig showed me that there were
lots of network errors, but I couldn't tell how to track them down.

I haven't yet found a way to get a recompiled 2.6.5 kernel to run.
Its latest complaint is 

    VFS: Cannot open root device "hda1" or unknown-block(0,0)
    Please append a correct "root=" boot option 
    Kernel panic: Unable to mount root fs on unknown-block(0,0)

which also comes up when I choose 2.6.5 in "recovery mode" in GRUB.

Issac Trotts
(w) 530-757-8789

vox-tech mailing list

LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
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:
EDGE Tech Corp.
For donating some give-aways for our meetings.