Bug 702382

Summary: Unable to install from HD, installation source given by device not found
Product: Red Hat Enterprise Linux 6 Reporter: Rui Ferrao <ferrao>
Component: doc-Installation_GuideAssignee: Jack Reed <jreed>
Status: CLOSED CURRENTRELEASE QA Contact: ecs-bugs
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.0CC: brettwaldo, jreed, pbokoc
Target Milestone: rcKeywords: Documentation
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-12-09 01:16:35 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
anaconda log
none
storage log
none
program log none

Description Rui Ferrao 2011-05-05 14:01:45 UTC
Description of problem:

Unable to install RHEL server 6 without a CD/DVD drive.

How reproducible:

Every time.

Steps to Reproduce:
1. Download an ISO image (rhel-server-6.0-x86_64-dvd.iso or rhel-server6.0-x86_64-boot.iso) from the Red Hat web site.
2. Postprocess the ISO image with isohybrid, otherwise does not boot...
3. Burn it to a USB disk with dd as described in the Install Guide 
4. Boot from USB
5. Select install from HD
6. Install fails with error :

Unknown Device : The installation source given by device['/dev/sdb1'] could not be found. Please check your parameters and try again.
  
Actual results:

Installation fails

Expected results:

Be able to Install RHEL 6

Additional info:

Also tried to follow the exact instructions in section 4.2 from the install guide, using one USB with boot.iso to start the installer, and another USB with a single VFAT partition where i have placed RHEL6.iso and /images from the ISO.
The result is the same.

The hardware is an HP DL380G7, fully supported by RHEL6 according to RedHat and HP.

anaconda.log does not show much, not a single ERROR.

Comment 2 Chris Lumens 2011-05-05 18:35:04 UTC
Please attach /tmp/anaconda.log and /tmp/storage.log to this bug report.

Comment 3 Rui Ferrao 2011-05-05 18:56:06 UTC
Created attachment 497192 [details]
anaconda log

Comment 4 Rui Ferrao 2011-05-05 18:56:44 UTC
Created attachment 497193 [details]
storage log

Comment 5 Rui Ferrao 2011-05-05 18:57:07 UTC
Created attachment 497194 [details]
program log

Comment 6 Rui Ferrao 2011-05-05 18:58:26 UTC
I have re-tried the install on another machine (DL165G7) that has a DVD drive.
The image burned to a DVD works just fine on this machine, but the same image burned to a USB stick gives the exact same problem as in the DL380G7.

Comment 7 Brian Lane 2011-05-06 00:03:46 UTC
As an alternative (this isn't officially supported) you can use livecd-iso-to-disk from the master branch of http://git.fedorahosted.org/git/livecd to create a bootable USB from the .iso

Comment 8 Rui Ferrao 2011-05-06 00:15:03 UTC
(In reply to comment #7)
> As an alternative (this isn't officially supported) you can use
> livecd-iso-to-disk from the master branch of
> http://git.fedorahosted.org/git/livecd to create a bootable USB from the .iso

But my problem is not to create a bootable USB from the .iso, i can do that just fine with :

isohybrid rhel-server-6.0-x86_64-dvd.iso 

There is already bug 680573 on this issue and bug 651357, which pointed me to the solution.

My problem is that after booting from the USB (device is /dev/sdb), stage 2 of the install asks me to choose from CD/DVD, NFS, Network or HD.

I select HD, just as the manual says, then /dev/sdb1, corresponding to my USB device and no matter the path i select (i have tried <blank>, /, /images ) anaconda always fails with the message :

Unknown Device : The installation source given by device['/dev/sdb1'] could not
be found. Please check your parameters and try again.

Comment 9 RHEL Program Management 2011-05-06 06:01:19 UTC
Since RHEL 6.1 External Beta has begun, and this bug remains
unresolved, it has been rejected as it is not proposed as
exception or blocker.

Red Hat invites you to ask your support representative to
propose this request, if appropriate and relevant, in the
next release of Red Hat Enterprise Linux.

Comment 10 Rui Ferrao 2011-05-06 07:20:18 UTC
I have changed the version to 6.1 as i have tried 6.1 Beta and the problem remains.

Comment 11 Rui Ferrao 2011-05-09 15:32:25 UTC
(In reply to comment #7)
> As an alternative (this isn't officially supported) you can use
> livecd-iso-to-disk from the master branch of
> http://git.fedorahosted.org/git/livecd to create a bootable USB from the .iso

I also tried this method and can confirm that while i am able to boot from the USB (just like after using isohybrid), the same problem still persists.

It looks really weird to me that nobody has tried to install RHEL6 from USB, so i am guessing that it's probably my own fault somehow.. But the fact is that i have 6 DL380s next to me to install Red Hat and want to be sure that i can do it before going ahead and spending the money on the purchase.

I have tried everything i could think of and i still fail to install RHEL6 from USB while putting Debian in there is a breeze... I can not go with Debian like i normally do, because for this project i will need proper support, but i guess Oracle Linux is a valid alternative, specially considering i am already buying database support from them.

Comment 12 Chris Lumens 2011-05-09 15:38:18 UTC
The problem is that your USB drive has was udev thinks is an iso9660 filesystem on it.  Whatever tool or instructions you are using to set this up is doing it wrong, or udev is incorrect in identifying the filesystem type.

Comment 13 Brian Lane 2011-05-09 17:44:42 UTC
I've seen that happen after using dd to write an .iso to USB. I used dd if=/dev/zero of=/dev/blah bs=1M count=100 to make sure all evidence of it is wiped. You can check what udev thinks is on the device by running 'blkid /dev/blah' as root.

Comment 14 Rui Ferrao 2011-05-09 17:57:09 UTC
(In reply to comment #13)
> I've seen that happen after using dd to write an .iso to USB. I used dd
> if=/dev/zero of=/dev/blah bs=1M count=100 to make sure all evidence of it is
> wiped. You can check what udev thinks is on the device by running 'blkid
> /dev/blah' as root.

blkid /dev/sdb returns :

LABEL="RHEL_6.0 x86_64 boot" TYPE="iso9660"

but blkid /dev/sdb1, which is the path i tell the installer to use reports :

LABEL="LIVE" UUID="6676-27D3" TYPE="vfat"

Comment 15 Rui Ferrao 2011-05-09 18:20:49 UTC
Dear Brian,

Your suggestion to wipe out the USB stick worked like a charm!
The problem is that i used dd with the original 6.0 ISO images that do not boot from USB and from that point onwards, all my USB sticks got "contaminated" with this problem...

I am a happy customer now ;) 

I am changing the status of this case back to 6.0 as those were the images that introduced the problem and changing the status to WORKSFORME, i hope this is appropriate.

Comment 16 Chris Lumens 2011-05-09 18:37:38 UTC
This sounds like some useful information to add to the installation guide.

Comment 17 Jack Reed 2011-08-24 06:39:30 UTC
Thanks, Rui.

An extra step has been added to the procedure (now step 3) in build 1.0-43 of the guide.

Comment 20 brett 2015-04-01 01:01:00 UTC
Hate to post on a really old bug, but I don't know the proper run rules. I can create a new bug if desired. Basically, this is still a problem (at least for me), using RHEL6.4.  It is not an issue on CentOS7.0 (I honestly haven't tested all the variables in between)

How reproducible:

Every time.

Steps to Reproduce:
1. Download an ISO image (rhel-server-6.4-x86_64-dvd.iso) from the Red Hat web site.
2. isohybrid command NOT run, because file booted without it
3. dd if=/dev/zero of=/dev/blah bs=1M count=500 #wipe away drive
4. Burn it to a USB connected disk with dd as described in the Install Guide 
    (dd if=file.iso of=/dev/sdb bs=512k)
5. Boot from USB
6. Select install from HD
7. Install fails with error :

Unknown Device : The installation source given by device['/dev/sdb1'] could not be found. Please check your parameters and try again.
  
Actual results:

Installation fails

Expected results:

Be able to Install RHEL 6

Additional Info:
blkid /dev/sdb*
/dev/sdb: LABEL="RHEL_6.4 x86_64 Disc 1" TYPE="iso9660"
/dev/sdb1: LABEL="RHEL_6.4 x86_64 Disc 1" TYPE="iso9660"

From reading above it seems the iso should not portray itself as iso9660 but it does. It does for CentOS7 as well, but that works.

Comment 21 brett 2015-04-01 17:31:35 UTC
Okay, so I solved my own issue, just posting here for others to hopefully find and save them the 15 hours of troubleshooting. It works in v6.5.

Thanks