Kent Baxley wrote:

> 
> For their purposes, they need to  dynamically determine the root device
> at boot  time. This would be passed using the DHCP "option root-path"
> directive. The --rootdev, --rootopts, and --rootfs are not documented
> in the man  page for mkinitrd. Is there any way do what they need to
> do? If so, how? Or (better yet) what other information from the lab
> would help?
> 

All you need to do is to upgrade your mkinitrd / nash version to the latest 
development version. 
Mkinitrd has the support for determining the dhcp root-path option since 
6.0.10-1. 

1. Install latest mkinitrd / nash >= 6.0.10-1
2. Make sure your root-filesystem entry in "/etc/fstab" includes the 
mount-option "dhcp"
3. Install a kernel rpm. This will give you a nfs root enabled initrd. 

example /etc/fstab entry: 
10.10.10.10:/nfsexportdir/10.20.20.20   /       nfs     rw,dhcp 1 1

If your build system is different from your live system you'll have to run 
mkinird separately. You also have to specify the location of your "desired" 
fstab by using the option --fstab=<fstab>


https://bugzilla.redhat.com/show_bug.cgi?id=248575

Jochen

_______________________________________________
Stateless-list mailing list
[email protected]
http://www.redhat.com/mailman/listinfo/stateless-list

Reply via email to