Dag Nummedal wrote:
Unpack archive in empty dir:

    cpio -i -d -m  -I /tftpboot/pxe/initrd.una

This directory is missing it's dev directory. It turns out that the initrd file isn't a single cpio archive, it's 2 concatenated together. The file misc/devices.txt lists the devices you need. I found that making a single cpio archive with a dev directory worked fine.

mkdir dev
grep ^dev /raid/unattended-4.3/linuxboot/misc/devices.txt | xargs -n 4 mknod



All of the above could be replaced with something like this:

cat /root/initrd.una | (cpio -i -d -m ; cpio -i -d -m)

I wish I'd thought of that two hours ago :-<

--
Dag Nummedal ([EMAIL PROTECTED])


------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ unattended-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/unattended-devel

Reply via email to