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

Bug#576677: Kernel Panic - no init found



On Wed, Apr 07, 2010 at 01:31:29PM +0800, jidanni@jidanni.org wrote:
> I found out where all the missing files went by adding --verbose here:
> 
> # diff -C 1 /usr/sbin/mkinitramfs /tmp
> *** /usr/sbin/mkinitramfs       2010-04-05 13:10:29.000000000 +0800
> --- /tmp/mkinitramfs    2010-04-07 13:26:12.237673402 +0800
> ***************
> *** 288,290 ****
>   find "${DESTDIR}" -type l -printf '%p %Y\n' | sed -n 's/ [LN]$//p' \
> !       | xargs -rL1 rm -f
>   
> --- 288,290 ----
>   find "${DESTDIR}" -type l -printf '%p %Y\n' | sed -n 's/ [LN]$//p' \
> !       | xargs --verbose -rL1 rm -f
>   
> # /tmp/mkinitramfs -o /dev/null 2>&1|nl|tail -n 3
>    481  rm -f /tmp/mkinitramfs_7pCOO2/bin/cpio 
>    482  rm -f /tmp/mkinitramfs_7pCOO2/bin/chroot 
>    483  rm -f /tmp/mkinitramfs_7pCOO2/bin/cat 
> 
> So you have overly rabid link checking....

cool, added that output to verbose run of mkinitrmafs,
now why are those links broken or circular, can you of a kept
/tmp/mkinitramfs_* run abvoes find and sed

please post also, just to make sure /tmp has no funky options
cat /proc/mounts
and see that place is not missing
df -h




Reply to: