[CentOS] PXE-Kernel crashes with "RAMDISK: incomplete write ..." after modifiying initrd.img

Fri Mar 27 15:24:17 UTC 2009
Tru Huynh <tru at centos.org>

On Fri, Mar 27, 2009 at 04:04:40PM +0100, Frank Thommen wrote:
> 
> This give a slightly different error message:
> 
> [...]
> md: Autodetecting RAID arrays.
> md: autorun ...
> md: ... autorun DONE.
> VFS: Cannot open root device "<NULL>" or unknown-block(253,3)
> Please append a correct "root=" boot option
> Kernel panic - not syncing: VFS: Unable to mount root fs on
> unknown-block(253,3)
> 
> 
> The two "RAMDISK" error lines have gone.  I have archived 
> modules/modules.cgz *and* initrd.img with "-H newc".
only the initrd needs "-H newc"

This one works for me
LABEL centos5
 MENU LABEL ^1) centos 5 x86_64 raid1 ks
 KERNEL centos5.x86_64/vmlinuz
APPEND initrd=centos5.x86_64/initrd.img method=http://10.0.0.4/pub/linux/c5/os/x86_64  noipv6 syslog=10.0.0.4 kssendmac ip=dhcp ks=http://10.0.0.4/ks/c5-raid1-64-min.cfg

Tru
-- 
Tru Huynh (mirrors, CentOS-3 i386/x86_64 Package Maintenance)
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xBEFA581B
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.centos.org/pipermail/centos/attachments/20090327/74f795a8/attachment-0005.sig>