Bug 385801

Summary: initrd created by mayflower does not allow pxe boot with nfsroot
Product: [Fedora] Fedora Reporter: Carlo de Wolf <cdewolf>
Component: livecd-toolsAssignee: Jeremy Katz <katzj>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 8CC: davidz, katzj
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-11-15 22:24:46 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Preliminary patch, needs cleanup
none
Creates a config directory for VMware (/ pcnet32) none

Description Carlo de Wolf 2007-11-15 22:08:52 UTC
Description of problem:

The current livecd can not be used over NFS booting with PXE.

Version-Release number of selected component (if applicable):

013-1.fc8

How reproducible:

every time

Steps to Reproduce:

Setup a boot server (tftp, dhcp etc) with the following pxelinux.cfg/default:

LABEL test
        kernel test/vmlinuz-2.6.23.1-42.fc8
        append initrd=test/initrd.img root=192.168.1.12:/nfsroot/fedora-8
rootfstype=nfs rootflags=ro,nolock quiet liveimg rhgb --

Where /nfsroot/fedora-8 is an export of a mounted livecd.

Actual results:

Boot and observe mayhem. :-)

Expected results:

LiveCD desktop.

Additional info:

Comment 1 Carlo de Wolf 2007-11-15 22:13:52 UTC
Created attachment 260491 [details]
Preliminary patch, needs cleanup

Adds the following functions to mayflower:
- allow the usage of a config directory (with existing etc/fstab
etc/modprobe.conf etc) so it's usable outside livecd-creator
- improved module dependency finding by using --ignore-install
- allows for rootfstype nfs (does dhcp and nfs mount)

Comment 2 Carlo de Wolf 2007-11-15 22:15:04 UTC
ToDo:
- properly configure network driver
- properly hand over the network configuration to NetworkManager

Comment 3 Carlo de Wolf 2007-11-15 22:19:35 UTC
Created attachment 260511 [details]
Creates a config directory for VMware (/ pcnet32)

An example config directory.

Comment 4 Jeremy Katz 2007-11-15 22:24:46 UTC
This isn't going to be added to mayflower.  The right answer here is getting the
live image on the same initrd infrastructure as the rest of the distro and then
doing things there.  Especially as mkinitrd already has all of the nfsroot,
iscsi, etc bits (and is growing nbd as well)