Juan,

Sorry, it seems that it was my fault.
I retested the whole thing, and it seems I was creating the initrd wrong. /dev/null works with the initrd from the downloadable zip.

Apparently extracting the initrd, changing files and repacking it with
"find . | cpio -o -H newc > /unattended/linuxboot/tftpboot/initrd" does not work completely. I used the "five steps" instructions from the
wiki here: http://sourceforge.net/apps/trac/unattended/wiki/ModifyingTheBootDisk

Unfortunately the drivers are not copied with the stock initrd from the zip file, I will investigate further.

I am sorry to have bothered you.

I would like to make good for this by submitting installer scripts. :-)
What is the usual procedure for this?

Sincerely,
        Johannes


Juan Jose Pablos schrieb:
Steven Blackery escribió:
Inside devices.txt is:

dev/null c 1 3

which, if you are using mknod-cpio.pl with devices.txt as the input to append 
the devices to your initrd, should work...


Steven,
that is exactly how is done it when building the iso image (I did not know):


## devices
devices.cpio: misc/devices.txt
         tools/mknod-cpio.pl < $< >| $...@.tmp
         mv $...@.tmp $@

....

initrd: devices.cpio .stamp-stage2
         (cd stage2 && find . | cpio -H newc -o) >| $...@.tmp
         cat devices.cpio >> $...@.tmp
         mv $...@.tmp $@

now,
I have try both the iso image and the network image, and both have

ls -l /dev/null

crw------- 1 root 0 1,   3 Jan 18 17:19 /dev/null

Johannes,
are you building up the images from source?


------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
unattended-devel mailing list
unattended-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/unattended-devel

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
unattended-devel mailing list
unattended-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/unattended-devel

Reply via email to