Bug 798660 - How to PXE install RHEL7?
Summary: How to PXE install RHEL7?
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: anaconda
Version: 7.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: rc
: ---
Assignee: Anaconda Maintenance Team
QA Contact: Release Test Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-02-29 14:23 UTC by Qixiang Wan
Modified: 2014-05-28 19:24 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-02-29 15:42:25 UTC
Target Upstream Version:


Attachments (Terms of Use)
Boot from PXE without "root=" specified (42.40 KB, text/plain)
2012-02-29 14:25 UTC, Qixiang Wan
no flags Details
Boot from PXE with "root=/" specified (45.82 KB, text/plain)
2012-02-29 14:26 UTC, Qixiang Wan
no flags Details

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. ***


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