Bug 385801 - initrd created by mayflower does not allow pxe boot with nfsroot
Summary: initrd created by mayflower does not allow pxe boot with nfsroot
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: livecd-tools
Version: 8
Hardware: i386
OS: Linux
low
medium
Target Milestone: ---
Assignee: Jeremy Katz
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-11-15 22:08 UTC by Carlo de Wolf
Modified: 2007-11-30 22:12 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2007-11-15 22:24:46 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Preliminary patch, needs cleanup (4.05 KB, patch)
2007-11-15 22:13 UTC, Carlo de Wolf
no flags Details | Diff
Creates a config directory for VMware (/ pcnet32) (9.61 KB, patch)
2007-11-15 22:19 UTC, Carlo de Wolf
no flags Details | Diff

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)


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