Re: Re: Kernel Panic

Forums Network Management ZeroShell Installing ZeroShell in Hard Disk Re: Re: Kernel Panic


@Lohuis wrote:

thanks for this way that we can install zeroshell on HDD and change its FS …
i did it step by step , my HDD part was sda3 instead of hda5 , so i modified some things , also regarding the files editing (CAT ..) i used text editor in ubuntu and replaced all the content with the lines you mention ..
then i tried to boot , a Kernel Panic error occurs :

kernel panic - not syncing : VFS : unable to mount root fs on unknown-block (1,2)

i dont know exactly what this error means …
anyhow , is there is another way to make zeroshell FS editable ??? i just want to modify the user interface to add and remove some options …
waiting for the professionals help 😉

If you changed everything to sda3 instead of hda5, I bet you forgot to change the root image in the grub entry, this part:

@fergon wrote:

Now the system is ready, only rest to make it bootable. With grub, append in /boot/grub/menu.lst

title ZeroShell
root (hd0,4)
kernel /isolinux/vmlinuz quiet root=/dev/ram2 ramdisk_size=131072 init=/bin/init
initrd /isolinux/initrd.gz

the ‘root(hd0,4)’ part points do /dev/hda5. If you are using sda3, I believe you would change that to ‘root(hd0,2)’. Otherwise the kernel is looking in the wrong place for the root filesystem and will panic.

root(hd0,4) means ‘look for root on first hard drive ( hd0 ), partition 5 ( since the bios starts counting at 0 instead of 1, the first partition would be 0, the fifth would be 4).

I hope this helps. I will be attempting to do just this on a system tomorrow. Will let you know how it goes.