Creating squeeze nfsroot, no initrd found

Michael Prokop mika at grml.org
Fri Jul 9 00:41:17 CEST 2010


* Ralph Majer <majer at vitracom.de> [Thu Jul 08, 2010 at 06:24:31PM +0200]:

>> mount --bind /proc /srv/fai/nfsroot/live/filesystem.dir/proc
>> chroot /srv/fai/nfsroot/live/filesystem.dir
>> update-initramfs -c -k all

> I tried this but nothing happened, still no initrd and no error messages  
> occured.
> The initramfs-tools and linux-image-686 is also marked as installed.

>> I wonder what this is trying to do:
>> > df: Warning: cannot read table of mounted file systems: No such file or
>> > directory
>> it would be helpful if you could isolate this df call and run strace on 
>> it to see which file it is trying to access.

This message comes from mkinitramfs of initramfs-tools, where the fs
is identified using df(1) - to check whether the underlying
partition is mounted with noexec option.

> Next thing I tried was to build a new debootstrap and installed the  
> linux-image-686 manually.
> There are the same errors from "df ..." but the initrd was installed.

Please notice that the output of df(1) is just a warning and not an
error. (Though I'll think about what we could do about that - hiding
this message or checking for empty /etc/mtab or...).

> Then I just copied this initrd into the fai generated nfsroot and called  
> update-initramfs -u -t and then everything worked.

> But running fai-setup -U -v is still not possible. If somebody can give  
> me some advice where to start with tracing this error would be very kind  
> or is it possibly an debian internal problem?

What's the output of:

  dpkg --list initramfs-tools linux-image-686
  mount
  update-initramfs -c -k all
  update-initramfs -u -k all

executed inside the chroot fai-setup generated for you?

regards,
-mika-
-- 
http://michael-prokop.at/  || http://adminzen.org/
http://grml-solutions.com/ || http://grml.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.uni-koeln.de/pipermail/linux-fai/attachments/20100709/914d8fbd/attachment.bin 


More information about the linux-fai mailing list