Re: Problems building custom kernel with make-kpkg
Dirk Niemeyer wrote: > > > apt-get install mkinitrd > Sorry. It must read apt-get install initrd-tools Dirk
Re: Problems building custom kernel with make-kpkg
Nick Jennings wrote: > > Hello, > > I am trying to build my customized kernel package integrating the > FreeSwan source. > > Crossing my fingers, I made an entry for my new image in the lilo.conf > (removing the initrd reference) and rebooted, but no luck: heres > the last few lines from my kernel panic: > > > Any help on what I might be doing wrong, My hunch is that it has to do with > no initrd image (since that's what I noticed missing). But I guess it could That should be your problem. The kernel is missing a driver for your filesystem. Do apt-get install mkinitrd It will get you mkcramfs and ash as well IIRC. Then change /etc/mkinitrd/config to list essential modules (like ext2 and perhaps your ethernet driver). Then execute (assuming your kernel is called 2.4.9) mkinitrd /lib/modules/2.4.9 > /boot/initrd-2.4.9 and put the initrd line back into lilo.conf pointing at the new initrd file Rerun lilo and reboot. That should help. Dirk Niemeyer
Re: Problems building custom kernel with make-kpkg
Dirk Niemeyer wrote: > > > apt-get install mkinitrd > Sorry. It must read apt-get install initrd-tools Dirk -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Problems building custom kernel with make-kpkg
Nick Jennings wrote: > > Hello, > > I am trying to build my customized kernel package integrating the > FreeSwan source. > > Crossing my fingers, I made an entry for my new image in the lilo.conf > (removing the initrd reference) and rebooted, but no luck: heres > the last few lines from my kernel panic: > > > Any help on what I might be doing wrong, My hunch is that it has to do with > no initrd image (since that's what I noticed missing). But I guess it could That should be your problem. The kernel is missing a driver for your filesystem. Do apt-get install mkinitrd It will get you mkcramfs and ash as well IIRC. Then change /etc/mkinitrd/config to list essential modules (like ext2 and perhaps your ethernet driver). Then execute (assuming your kernel is called 2.4.9) mkinitrd /lib/modules/2.4.9 > /boot/initrd-2.4.9 and put the initrd line back into lilo.conf pointing at the new initrd file Rerun lilo and reboot. That should help. Dirk Niemeyer -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: bind: changing many serials at once
"Marek L. Kozak" wrote: > > I need to change serials in multiple zone files. All zones will have the > same new serial. > I don't want to do it manualy. Simple sed 's/regexp/new_pattern/g' is > not an option - serials differ. I could write a C program, but I think > there's some other way. If you want to use a tool to generate your zone files, try dnstool. Info is available at http://www.gormand.com.au/tools/dnstool/guide.html It consists of perl scripts working on a directory structure. A central makefile allows you to regenerate zone files and so to change their serial. Then copy just the zonefiles you are interested into your dns area. That's my way to do it. YMMV. I find this tool particularly useful for lots of virtual servers as you can link domain definitions to prototype files saving a lot of typing. Dirk Niemeyer -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]