[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: KERNEL PANIC !



[Adding list back to CC]
On Sat, Jun 20, 2009 at 10:28:48PM +0530, Lenny M wrote:
> Thanks for you reply.
> I do it like this =>
> 
> #!/bin/sh
> echo " **** Please wait , Installing the GNU/Linux System. ****"
> echo "mkinitrd -o /boot/initrd.img-2.6.24-custom /lib/modules/2.6.24/"
> *mkinitrd -o /boot/initrd.img-2.6.24-custom /lib/modules/2.6.24/*
> echo "cp linux-2.6.24/arch/x86_64/boot/bzImage /boot/vmlinuz-2.6.24-custom"
> *cp linux-2.6.24/arch/x86_64/boot/bzImage /boot/vmlinuz-2.6.24-custom*
> echo "cp linux-2.6.24/System.map /boot/System.map-2.6.24-custom"
> *cp linux-2.6.24/System.map /boot/System.map-2.6.24-custom*
> echo "cp linux-2.6.24/.config /boot/config-2.6.24-custom"
> *cp linux-2.6.24/.config /boot/config-2.6.24-custom*
> echo " **** Installation Complete ****"
> 
> can you guide me as to where I am going wrong ?

Use mkinitramfs instead of mkinitrd

> Regards,
> Leena M.
> 
> 
> On Sat, Jun 20, 2009 at 10:23 PM, dann frazier <dannf@dannf.org> wrote:
> 
> > On Sat, Jun 20, 2009 at 10:11:59PM +0530, Lenny M wrote:
> > > Hi All ,
> > >
> > > I am updating the kernel of my debian 'etch'  GNU/Linux system.
> > > I am getting a kernel Panic:
> > >
> > > umount:devfs: not mounted
> > > mount : unknown filesystem type 'devfs'
> > > umount: devfs: not mounted
> > > pivot_root : No such file or directory
> > > /sbin/init: 432: cannot open dev/console : No such file
> > > Kernel Panic - not syncing : Attempted to kill init !
> > >
> > > Please help me with this.
> >
> > This looks like you are using an initrd? With modern Debian kernels
> > you need an initramfs. See the mkinitramfs command in the
> > initramfs-tools package.
> >
> > Did you manually make an initrd? I'd be surprised to find that current
> > Debian kernels would attempt that on their own.
> >
> >
> >

-- 
dann frazier


Reply to: