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

Re: Bug#537152: update-initramfs fails to create initrd image



On Friday 17 July 2009, maximilian attems wrote:
> On Fri, 17 Jul 2009, Michalis Georgiou wrote:
> > i did what i describe above. i chose targeted, installation failed
> > and at that time i opened a console and gave :
> >
> > sh -x mkinitramfs -o /tmp/bla
> >
> > the output is :
> > sh: can't open mkinitramfs.
> >
> > it seems that mkinitramfs does not exist in the system.
>
> sure it does exist, it is inside the installer chroot.

Looks like you need to 'chroot /target' before executing the debug 
command.

Before that you may also need to mount various file systems inside the 
chroot, such as sysfs, proc and devpts:
  mount -t proc none /target/proc
  mount -t sysfs none /target/sys
  mount -t devpts none /target/dev/pts


Reply to: