atchoum Posted January 29, 2009 Report Share Posted January 29, 2009 Hi I have the "Kernel panic : no init found - Try passing init option to kernel" error message at every boot. I don't understand what is this error and how I can resolve it. Someone can help me, plz ? Thanks Quote Link to comment Share on other sites More sharing options...
scarecrow Posted January 29, 2009 Report Share Posted January 29, 2009 Either your kernel image is not properly built, or somehow you have made changes to your partition table AFTER installing Linux. Can you post your /boot/grub/menu.lst configuration file? Quote Link to comment Share on other sites More sharing options...
scoonma Posted January 29, 2009 Report Share Posted January 29, 2009 Hi atchoum, welcome to Mandrivausers! Can you boot a standard kernel in failsafe mode? Quote Link to comment Share on other sites More sharing options...
atchoum Posted January 30, 2009 Author Report Share Posted January 30, 2009 Hi scarecrow The problem appeared after the replacement of my hard drive by a new (same capacity and identical partitioning) and a Acronis image-disk restoration. Quote Link to comment Share on other sites More sharing options...
atchoum Posted January 30, 2009 Author Report Share Posted January 30, 2009 Hi scoonma My problem appear with standard boot mode and failsafe boot mode. Quote Link to comment Share on other sites More sharing options...
scarecrow Posted January 30, 2009 Report Share Posted January 30, 2009 (edited) It seems that either the partitioning scheme is not identical, or you were using UUID's at your fstab. Anyway, this issue should be easily curable. You can edit /etc/fstab externally (e.g. using a bootCD or pendrive) and replace the UUID entries with device nodes ( /dev/sdx ), and then chroot to the installed system and run "grub-install /dev/sda". Factly, you may need nothing more than the installation medium you used for installing Linux. Edited January 30, 2009 by scarecrow Quote Link to comment Share on other sites More sharing options...
Greg2 Posted January 30, 2009 Report Share Posted January 30, 2009 Acronis image-disk restoration. This could be your problem. The current e2fsprogs included in Mandriva (and most other distros now), mke2fs will now create new filesystems with 256 byte inodes. I believe that your Acronis will only handle filesystems with 128 byte inodes. Please see: e2fsprogs-release-1.40.5 Quote Link to comment Share on other sites More sharing options...
atchoum Posted January 30, 2009 Author Report Share Posted January 30, 2009 scarecrow, I thank you very much for your help. I'm a Linux newbie. Can you explain me in details the FSTAB modifications plz, because I don't understand your UUID entries. Excuse me for my ignorance. Quote Link to comment Share on other sites More sharing options...
scarecrow Posted January 30, 2009 Report Share Posted January 30, 2009 Do you have a Linux LiveCD, or a pendrive Linux distro (say Puppy Linux) handy? Can you boot, either from the CD, or from the USB drive? Quote Link to comment Share on other sites More sharing options...
atchoum Posted January 31, 2009 Author Report Share Posted January 31, 2009 (edited) I have a Knoppix live CD and it is bootable. What I do now ? Edited January 31, 2009 by atchoum Quote Link to comment Share on other sites More sharing options...
scarecrow Posted January 31, 2009 Report Share Posted January 31, 2009 I have a Knoppix live CD and it is bootable.What I do now ? Boot your system with it, and now find your root ( / ) partition in your hardddisk, and mount it. Can you see that /etc directory and in it that "fstab" configuration file? Quote Link to comment Share on other sites More sharing options...
atchoum Posted February 5, 2009 Author Report Share Posted February 5, 2009 Hi Scarecrow, Sorry for my answer delay, I was patient. This is my fstab file : /dev/sda1 / ext3 defaults 1 1 none /dev/pts devpts mode=0620 0 0 /dev/sda6 /home ext3 defaults 1 2 none /mnt/cdrom supermount dev=/dev/hda,fs=udf:iso9660,ro,--,iocharset=iso8859-15 0 0 none /mnt/floppy supermount dev=/dev/fd0,fs=ext2:vfat,--,umask=0,iocharset=iso8859-15,sync,codepage=850 0 0 none /proc proc defaults 0 0 /dev/sdb5 /tmp ext3 defaults 1 2 /dev/sdb1 /usr ext3 defaults 1 2 /dev/sdb6 /var ext3 defaults 1 2 /dev/sda5 swap swap defaults 0 0 I'm waiting your instructions. Quote Link to comment Share on other sites More sharing options...
scarecrow Posted February 5, 2009 Report Share Posted February 5, 2009 I see that my guess was not terribly good, as your fstab is using traditional node entries, and not UUID's. So, it seems that some changes have been made after you swapped HD. Can you boot from a liveCD, or pendrive distro, and give the exact pic of your harddidks these distros can see? Simply boot from such a disk, and run fdisk -l Pass the outcome here, please. Quote Link to comment Share on other sites More sharing options...
atchoum Posted February 6, 2009 Author Report Share Posted February 6, 2009 This is the screen copy of your ask mandrake.bmp Quote Link to comment Share on other sites More sharing options...
scoonma Posted February 8, 2009 Report Share Posted February 8, 2009 Hi atchoum, to me the problem has come from your system restauration. I've never worked with Acronis, but it's presumably much simpler to reinstall than get the old image working on your new drive. You did well assigning /home to a seperate partition. This is where all your user data resides. When reinstalling, I'd do partitioning manually and mount /home right at the process. Other than that you could try to boot an install CD/DVD into rescue mode and try to boot from harddisk from there, then re-install boot loader - this may be possible directly from rescue mode, too. If that fails, reinstalling well maybe isn't smart, but fast and reliable. HTH, scoonma Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.