Bug 385801 - initrd created by mayflower does not allow pxe boot with nfsroot
initrd created by mayflower does not allow pxe boot with nfsroot
Status: CLOSED WONTFIX
Product: Fedora
Classification: Fedora
Component: livecd-tools (Show other bugs)
8
i386 Linux
low Severity medium
: ---
: ---
Assigned To: Jeremy Katz
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2007-11-15 17:08 EST by Carlo de Wolf
Modified: 2007-11-30 17:12 EST (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2007-11-15 17:24:46 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


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

  None (edit)
Description Carlo de Wolf 2007-11-15 17:08:52 EST
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 17:13:52 EST
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 17:15:04 EST
ToDo:
- properly configure network driver
- properly hand over the network configuration to NetworkManager
Comment 3 Carlo de Wolf 2007-11-15 17:19:35 EST
Created attachment 260511 [details]
Creates a config directory for VMware (/ pcnet32)

An example config directory.
Comment 4 Jeremy Katz 2007-11-15 17:24:46 EST
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.