On Sun, Nov 11, 2001 at 07:45:06AM -0800, Patrick R wrote:
>
> I recently installed linux which worked fine i fooled
> around with Partition magic to allocate some extra
> space now when i boot into linux i get the following
> error:
>
> Kernel panic: No init found. Try passing init= option
> to kernel
>
Please reconfirm, if you "added" some space to an exis-
ting partition, or you added a spare partition in bet-
ween. If the latter is the case, the problem is simple.
This "No init found" error usually comes in case of a
misplaced "/" partition. What was say /dev/hda5, is now
/dev/hda6.
Your kernel should be pointed to the / dir of your in-
stallation.
o Boot through your rescue disk (not boot disk).
o do fdisk -l and check your partitions and identify
where your / partition lies.
o mount that partition
#mount -t ext2 /dev/hdaN /mnt
o Then do the amendments necessary:
#cd /mnt/boot
#rdev vmlinuz-2.x.x (your kernel itself. You will get
an output like /dev/hdaX )
o If this does NOT point to the "/" partition then this
needs to be changed:
#rdev vmlinuz-2.x.x /dev/hdaN (where N is your "/" )
o Check your /etc/lilo.conf. See that all bootable par-
titions are correct.
o Reboot ... Should work. Do a lilo -v, and rewrite the
info on the MBR (to be sure).
> What is the reason for this and how can this be
> solved.
>
If you have nothing to lose, you may consider re-install
if above fails.
Bish.
--
:
####[ Linux One Stanza Tip (LOST) ]###########################
Sub : Ctrl+Alt+Del key bindings (#2) LOST #042
To change the bindings of ctrl+alt+del so that it does sweet
nothing (i.e. disabled) on a 'three finger salute':-
As root, edit /etc/inittab. Comment (#) the following line:
#ca:12345:ctrlaltdel:/sbin/shutdown -t1 -a -r now
####<[EMAIL PROTECTED]>####################################
:
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help