Bug 798660

Summary: How to PXE install RHEL7?
Product: Red Hat Enterprise Linux 7 Reporter: Qixiang Wan <qwan>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED NOTABUG QA Contact: Release Test Team <release-test-team-automation>
Severity: high Docs Contact:
Priority: high    
Version: 7.0CC: harald, leiwang, mgalgoci
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-02-29 15:42:25 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
Boot from PXE without "root=" specified
none
Boot from PXE with "root=/" specified none

Description Qixiang Wan 2012-02-29 14:23:24 UTC
Description of problem:
When trying to install RHEL7 (20120228.n.0) from pxe, it always asking for "root=" argument, or it will fail with fatal error, then drop to dracut shell.

And tried with "root=/" in the parameters, it will fail with nfs mounting error.

"root=" is not required for Fedora16 and RHEL6. Is this expected in RHEL7? What's the correct 'root=' argument should I provide if it's required?

Version-Release number of selected component (if applicable):
http://download.devel.redhat.com/nightly/RHEL-7.0-20120228.n.0/compose/Server/x86_64/os

How reproducible:
100%

Steps to Reproduce:
1. Boot up a guest or host from PXE.
  
Actual results:
Get a fatal error, and drop to dracut shell.

Expected results:
It should boot up to the menu of installation (select language is the first screen).

Additional info:
log will be attached.

Comment 1 Qixiang Wan 2012-02-29 14:25:42 UTC
Created attachment 566554 [details]
Boot from PXE without "root=" specified

Comment 2 Qixiang Wan 2012-02-29 14:26:21 UTC
Created attachment 566555 [details]
Boot from PXE with "root=/" specified

Comment 3 David Cantrell 2012-02-29 15:42:25 UTC
The root= argument needs to point to the location of the install.img file in the tree.  Looking at the latest nightly tree I see:

http://download.devel.redhat.com/nightly/RHEL-7.0-20120229.n.0/compose/Server/x86_64/os/

The install.img file is in images/install.img, so root= should look like:

root=live:http://download.devel.redhat.com/nightly/RHEL-7.0-20120229.n.0/compose/Server/x86_64/os/images/install.img

NOTE:  This is still alpha-quality software.  Much work is underway in Fedora upstream getting this move to dracut for anaconda's loader working properly.  For now, this is what you need to pass as the root= argument.

Comment 4 Qixiang Wan 2012-03-01 02:58:51 UTC
(In reply to comment #3)
> The root= argument needs to point to the location of the install.img file in
> the tree.  Looking at the latest nightly tree I see:
> 
> http://download.devel.redhat.com/nightly/RHEL-7.0-20120229.n.0/compose/Server/x86_64/os/
> 
> The install.img file is in images/install.img, so root= should look like:
> 
> root=live:http://download.devel.redhat.com/nightly/RHEL-7.0-20120229.n.0/compose/Server/x86_64/os/images/install.img
> 
> NOTE:  This is still alpha-quality software.  Much work is underway in Fedora
> upstream getting this move to dracut for anaconda's loader working properly. 
> For now, this is what you need to pass as the root= argument.

Hi David,

I didn't find the os/install.img in tree, is it missed when building the tree? Could you help to check this?

Comment 5 Qixiang Wan 2012-03-01 03:09:15 UTC
> Hi David,
> 
> I didn't find the os/install.img in tree, is it missed when building the tree?
> Could you help to check this?

typo: should be images/install.img. I can find it in boot.iso, but not available in the tree.

Comment 6 David Cantrell 2012-03-01 13:45:47 UTC
My mistake, the location of the install image file on s390x is os/images/install.img.  On x86_64, the location is os/LiveOS/squashfs.img.  So you want something like this:

root=live:http://download.devel.redhat.com/nightly/RHEL-7.0-20120229.n.0/compose/Server/x86_64/os/LiveOS/squashfs.img

Comment 7 Matthew Galgoci 2014-05-28 19:24:06 UTC
*** Bug 1100464 has been marked as a duplicate of this bug. ***