Bug 204877 - diskless clients can't boot with initrd supplied by server
Summary: diskless clients can't boot with initrd supplied by server
Alias: None
Product: Fedora
Classification: Fedora
Component: system-config-netboot (Show other bugs)
(Show other bugs)
Version: rawhide
Hardware: All Linux
Target Milestone: ---
Assignee: Fabio Olive Leite
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 2006-09-01 00:28 UTC by Bernie Innocenti
Modified: 2007-11-30 22:11 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-10-17 10:12:29 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
switch to initramfs (11.07 KB, patch)
2007-01-28 14:51 UTC, Bernie Innocenti
no flags Details | Diff

Description Bernie Innocenti 2006-09-01 00:28:54 UTC
I'm not sure if this is a bug in the kernel, pxeboot, tftp or

The symptom is that diskless clients panic during boot
with this error message:

 RAMDISK: Compressed image found at block 0
 EXT2-fs: blocksize too small for device.

The initrd image on the server looks good: it's a valid gzip file containing a
valid ext2 image that mounts with loopback.  The ramdisk_size kernel parameter
matches the uncompressed image size.

The client kernel is 2.6.17-1.2600.fc6 (x86_64)

The pxeboot command line is:

label 2
    kernel fedora-x86_64/vmlinuz
    append  initrd=fedora-x86_64/initrd.img root=/dev/ram0 init=disklessrc
NFSROOT= ramdisk_size=28086 ETHERNET=eth0

Comment 1 ulrich 2007-01-12 11:12:55 UTC
append ramdisk_blocksize=1024 in your pxe cfg

see also 


Comment 2 Bernie Innocenti 2007-01-12 19:12:27 UTC
I've updated the system-config-netboot scripts to use initramfs and cpio.

Anyone wants the patches?

Comment 3 Bernie Innocenti 2007-01-28 14:51:34 UTC
Created attachment 146763 [details]
switch to initramfs

This patch changes updateDiskless to build a
new style cpio archive for initramfs instead
of the old initrd filesystem image.

Lots of changes (actually simplifications) are needed in
the init script to use switch_root instead of pivot_root.

Comment 4 Radek Brich 2007-10-17 10:12:29 UTC
Thanks for patch, it's was applied in version 0.1.42.

Note You need to log in before you can comment on or make changes to this bug.