making boot images

"tovis" <[email protected]>
Newsgroups gmane.comp.windows.unattended.devel
Message-ID <ad8f1dbd8e3297c0a56ab23bd9b345b8.squirrel@boci>
Hi!

I'm a newbee at development list.
I need to correct "master" script in initrd especially for tftpboot.
First case:
I was try to extract/modify/pack the initrd
  /wrk$ mkdir img
  /wrk$ cd img
  /wrk/img$ cpio -id < ../initrd.000
I was modify the "etc/master" script at line 230 as it recommend
  229: z_opts=$(get_cmdline_param z_opts)
  230: [ -n "$z_opts" ] \  instead  [ -n "$z_opts" ] && z_opts=${z_opts#*=} \
  231:     && mount_opts="$mount_opts,$z_opts"
Pack a new initrd
  wrk/img$ cpio -H newc -o > ../initrd.001

Boot was OK (I can append option ip=xxx.xxx.xxx.xxx) but when everything
was copied and starts the windows installer, it said that wrong *.INF file
setup will be aborted. :( I was compare two initrd and there have
different size (the new is shorten about 3 KB). (I was restore the
"master" script the result is same)

OK Lest get other way - make whole thing. I'm using Debain Lenny (as I
have seen I'm not alone :) "make download" goes well. But (after download
several additional packages - I have use near minimalistic console
installation) always stuck on building glibc-2.11.1:

mawk: scripts/gen-sorted.awk: line 19: syntax error at or near ]
mawk: script/gen-sorted.awk: line 19: runaway regular expression /,
"",subd...

(mawk is an awk alternate in Debian Lenny - may be is it the problem)
After make complain about "abi-versions.h", what of course does not
generated.

Some could point me what could be wrong, I do not thing that the script
really has a bug or broken.

Sincerely

  tovis





------------------------------------------------------------------------------
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.