Mike Markowski wrote:

>Well, when I do it, I do it right.  Through a bad combination of typos
>and missing an <enter> I deleted everything in /boot.  :-(
>
>This is what I did to (try to) recover:
>
>  # cd /boot
>  # mklost+found
>  # emerge grub
>  [...edited grub.conf...]
>  [...recompiled kernel & modules and installed...]
>
>I *thought* that's all I'd need, but upon boot up:
>
>  Warning:unable to open an initial console
>  Kernel panic- not syncing: no init found. Try passing init= option to kernel
>
>I compiled the kernel myself, not with genkernel.  I'm stumped at the
>moment & would be glad to try any ideas anyone might have.
>
>Many thanks!
>Mike
>  
>


This !may! help:

> [EMAIL PROTECTED] / # ls -al /boot/
> total 4349
> drwxr-xr-x  5 root root     272 Jun 19 20:23 .
> drwxr-xr-x 21 root root     520 Jun 13 00:06 ..
> -rw-r--r--  1 root root       0 Dec  9  2005 .keep
> lrwxrwxrwx  1 root root       1 Dec  8  2005 boot -> .
> -rw-r--r--  1 root root 2225130 Dec 27 04:50 bzImage-gen-2.6.14-5
> -rw-r--r--  1 root root 2177580 May 16 08:08 bzImage-gen-2.6.16-2
> -rw-r--r--  1 root root   37565 May 16 08:13 config-gen-2.6.16-2
> drwxr-xr-x  2 root root     672 May 16 08:12 grub
> [EMAIL PROTECTED] / #



> [EMAIL PROTECTED] / # ls -al /boot/grub/
> total 461
> drwxr-xr-x 2 root root    672 May 16 08:12 .
> drwxr-xr-x 5 root root    272 Jun 19 20:23 ..
> -rw-r--r-- 1 root root     45 Dec 10  2005 device.map
> -rw-r--r-- 1 root root   8052 Jan 18 00:59 e2fs_stage1_5
> -rw-r--r-- 1 root root   7812 Jan 18 00:59 fat_stage1_5
> -rw-r--r-- 1 root root   7060 Jan 18 00:59 ffs_stage1_5
> -rw-r--r-- 1 root root    393 May 16 08:12 grub.conf
> -rw-r--r-- 1 root root   1624 Jan 18 00:59 grub.conf.sample
> -rw-r--r-- 1 root root    393 May 16 07:09 grub.conf~
> -rw-r--r-- 1 root root   7124 Jan 18 00:59 iso9660_stage1_5
> -rw-r--r-- 1 root root   8576 Jan 18 00:59 jfs_stage1_5
> lrwxrwxrwx 1 root root      9 Nov 18  2005 menu.lst -> grub.conf
> -rw-r--r-- 1 root root   7284 Jan 18 00:59 minix_stage1_5
> -rw-r--r-- 1 root root   9556 Jan 18 00:59 reiserfs_stage1_5
> -rw-r--r-- 1 root root  33856 Jan 18 00:59 splash.xpm.gz
> -rw-r--r-- 1 root root    512 Jan 18 00:59 stage1
> -rw-r--r-- 1 root root 105544 Jan 18 00:59 stage2
> -rw-r--r-- 1 root root 105544 Jan 15 10:52 stage2.old
> -rw-r--r-- 1 root root 105544 Jan 18 00:59 stage2_eltorito
> -rw-r--r-- 1 root root   7368 Jan 18 00:59 ufs2_stage1_5
> -rw-r--r-- 1 root root   6708 Jan 18 00:59 vstafs_stage1_5
> -rw-r--r-- 1 root root   9404 Jan 18 00:59 xfs_stage1_5
> [EMAIL PROTECTED] / #      


May want to check and see if something is missing there.  Here is my
grub.conf just in case.  I'm using gentoo-sources-2.6.16-r9.

> timeout 10
>
> default 0
> Splashimage=(hd0,0)/boot/grub/splash.xpm.gz
>
> title Gentoo
> kernel (hd0,0)/bzImage-gen-2.6.16-2 root=/dev/hda6 ide0=ata66
> ide1=ata66 vga=788


See anything out of place or missing?

Hope that helps.

Dale
:-) :-)
-- 
gentoo-user@gentoo.org mailing list

Reply via email to