Linux Debian support - make-kpkg, initrd and kernel source questions

This is Interesting: Free IT Magazines  
Home > Archive > Linux Debian support > August 2005 > make-kpkg, initrd and kernel source questions





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author make-kpkg, initrd and kernel source questions
Madhusudan Singh

2005-08-02, 2:51 am

Have a few questions about make-kpkg (just compiled my first kernel with
make-kpkg, its neater in a way than the usual source compile) :

1. I had some problems with booting (VFS panic with a failed SCSI hard disk
kmod modprobe block-major-8) until I realized that the
updated /boot/grub/menu.lst did not contain an initrd line. Is it possible
to force make-kpkg to issue a mkinitrd and add that line in the update-grub
stage ?

2. Is it possible / advisable to use kernel sources downloaded from
www.kernel.org (as against kernel-source packages) with make-kpkg ?

Thanks.
Andreas Janssen

2005-08-02, 7:47 am

Hello

Madhusudan Singh (<spammers-go-here@spam.invalid> ) wrote:

> Have a few questions about make-kpkg (just compiled my first kernel
> with make-kpkg, its neater in a way than the usual source compile) :
>
> 1. I had some problems with booting (VFS panic with a failed SCSI hard
> disk kmod modprobe block-major-8) until I realized that the
> updated /boot/grub/menu.lst did not contain an initrd line. Is it
> possible to force make-kpkg to issue a mkinitrd and add that line in
> the update-grub stage ?


apt-get install initrd-tools
make-kpkg --initrd kernel_image

should do the trick. If the initrd is in the kernel-image.deb, it will
be copied to the right place, and update-grub will find it
automatically.

> 2. Is it possible / advisable to use kernel sources downloaded from
> www.kernel.org (as against kernel-source packages) with make-kpkg ?


Possible, no problems so far for me.

best regards
Andreas Janssen

--
Andreas Janssen <andreas.janssen@bigfoot.com>
PGP-Key-ID: 0xDC801674 ICQ #17079270
Registered Linux User #267976
http://www.andreas-janssen.de/debian-tipps-sarge.html
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com