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

Re: Error



On Thu, Apr 01, 2010 at 11:18:07AM +1000, ???? ????????? wrote:
> Hello!
> Thinks for quick answer.
> #sh -x mkinitramfs -o /tmp/foo
> sh: Can't open mkinitramfs

what?
please check that your box has initramfs-tools installed
and that mkinitramfs is around.
dpkg -L initramfs-tools

if your shell has strange settings use path to mkinitramfs:

sh -x /usr/sbin/mkinitramfs -o /tmp/foo
 
> # ls /sys/block
> loop0  loop1  loop2  loop3  loop4  loop5  loop6  loop7  sda  sr0
> 
> # cat /etc/fstab
> # /etc/fstab: static file system information.
> #
> # Use 'vol_id --uuid' to print the universally unique identifier for a
> # device; this may be used with UUID= as a more robust way to name devices
> # that works even if disks are added and removed. See fstab(5).
> #
> # <file system> <mount point>   <type>  <options>       <dump>  <pass>
> proc            /proc           proc    defaults        0       0
> # / was on /dev/sda5 during installation
> UUID=b1eb1696-8f0b-4ebf-94e9-70fa9fb5b82a /               ext3
>  errors=remount-ro 0       1
> # swap was on /dev/sda6 during installation
> 
> UUID=fdb90e6d-9779-435a-bccf-2ae6da73cab1 none            swap    sw
>      0       0
> /dev/scd0       /media/cdrom0   udf,iso9660 user,noauto     0       0
> 
> 
> /dev/sda7                       /mnt/winD               ntfs-3g
> rw,uid=aleshkovich,gid=aleshkovich,locale=ru_RU.utf8 0 0
> 
> //192.168.1.8/1cbase            /mnt/winS8              cifs
>  credentials=/etc/adm,rw,iocharset=utf8,noperm,forcemand,direct,nounix 0 0
> //192.168.1.3/1CBASE            /mnt/winS3              cifs
>  credentials=/etc/ale,rw,iocharset=utf8,noperm,forcemand,direct,nounix 0 0
> //192.168.7.5/ZK                /mnt/winST              cifs
>  credentials=/etc/adm,rw,iocharset=utf8,noperm,forcemand,direct,nounix 0 0
> //192.168.1.13/Y$               /mnt/win13              cifs
>  credentials=/etc/adm,rw,iocharset=utf8,noperm,forcemand,direct,nounix 0 0
> //192.168.0.1/1cBase            /mnt/winSE              cifs
>  credentials=/etc/ale,rw,iocharset=utf8,noperm,forcemand,direct,nounix 0 0
> 
> I am use etercifs (haven't problem with it).
> 
> 2010/4/1 maximilian attems <max@stro.at>
> 
> > hello,
> >
> > please provide more information
> >
> > On Thu, 01 Apr 2010, ???? ????????? wrote:
> >
> > >
> > > E: Work dpkg interrupted, you must manually execute the 'dpkg -
> > configure-a'
> > > to correct the problem.
> > > # Dpkg - configure-a
> > > Processing triggers for menu ...
> > > Setting up initramfs-tools (0.93.4) ...
> > > update-initramfs: deferring update (trigger activated)
> > > Processing triggers for initramfs-tools ...
> > > update-initramfs: Generating / boot/initrd.img-2.6.32-3-686
> > > readlink: missing operand
> > > Try `readlink - help 'for more detailed description.
> > > mkinitramfs: for root missing / sys / block / entry
> > > mkinitramfs: workaround is MODULES = most
> > > mkinitramfs: Error please report the bug
> > > update-initramfs: failed for / boot/initrd.img-2.6.32-3-686
> > > dpkg: subprocess installed post-installation script returned error exit
> > > status 1
> > >
> > > What should I do to fix this problem?
> >
> > need to know what it is trying to do:
> > sh -x mkinitramfs -o /tmp/foo
> >
> > ls /sys/block
> >
> > /etc/fstab
> >
> > --
> > maks
> >


Reply to: