Bug 1333066 - boot of the installation media from USB doesn't work
Summary: boot of the installation media from USB doesn't work
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-node
Classification: oVirt
Component: Installation & Update
Version: master
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: ovirt-4.0.0-beta
: 4.0
Assignee: Douglas Schilling Landgraf
QA Contact: Wei Wang
URL:
Whiteboard:
Depends On:
Blocks: ovirt-node-ng
TreeView+ depends on / blocked
 
Reported: 2016-05-04 15:07 UTC by Sandro Bonazzola
Modified: 2016-07-05 07:40 UTC (History)
3 users (show)

Fixed In Version: ovirt-node-ng-installer-master-2016050900.iso
Clone Of:
Environment:
Last Closed: 2016-07-05 07:40:34 UTC
oVirt Team: Node
Embargoed:
rule-engine: ovirt-4.0.0+
ycui: testing_plan_complete?
rule-engine: planning_ack+
rule-engine: devel_ack+
ycui: testing_ack+


Attachments (Terms of Use)
screenshot (50.80 KB, image/jpeg)
2016-05-04 15:07 UTC, Sandro Bonazzola
no flags Details


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 57126 0 master MERGED scripts: Use disk label, instedd of cdrom 2016-05-06 13:53:12 UTC

Description Sandro Bonazzola 2016-05-04 15:07:14 UTC
Created attachment 1153906 [details]
screenshot

- wget http://jenkins.ovirt.org/job/ovirt-node-ng_master_build-artifacts-fc22-x86_64/lastSuccessfulBuild/artifact/exported-artifacts/ovirt-node-ng-installer-master-2016050400.iso

- dd if=ovirt-node-ng-installer-master-2016050400.iso of=/dev/sdb

- boot from the usb disk

- boot get stuck

Comment 1 Fabian Deutsch 2016-05-04 15:12:22 UTC
Hm, according to bug 1322727 this was fixed.

Wei, can you take a look if you can reproduce?

Comment 2 Wei Wang 2016-05-05 12:01:28 UTC
Test steps:
1. #wget -c http://jenkins.ovirt.org/job/ovirt-node-ng_master_build-artifacts-fc22-x86_64/lastSuccessfulBuild/artifact/exported-artifacts/ovirt-node-ng-installer-master-2016050400.iso
2. #dd if=ovirt-node-ng-installer-master-2016050400.iso of=/dev/sdb
3. Boot from USB device
4. Press Tab to move or reset inst.ks path after selecting the first boot menu entry "Install CentOS 7"
5. Press "Enter"
     
Test result:
Installation is successful
     
     
Here in step 4, the original init.ks=cdrom:/liveimg.ks, we considered that was a minor issue(Should not set the init.ks=cdrom:/liveimg.ks as default in iso) needed to report new bug before.

Comment 3 Fabian Deutsch 2016-05-06 08:38:24 UTC
Wei, but if you remove inst.ks= then the installation will not work, right?

Comment 4 Fabian Deutsch 2016-05-06 08:51:07 UTC
So, there was actually a bug - Thanks Sandro - previously we used a hard coded install file location cdrom:…, btu this does not work with usb media.
Now the instalelr uses the label to identify the filesystem which contains the instalation file, this works on both, cd and usb media.

Steps to verify:


1. Download iso
2. Put iso onto cdrom and boot, and complete installation
3. put iso onto usb media and boot, and complete installation

After step 2 and step 3:
Installation should complete without modifications of the kernel command line arguments or any other file.

Comment 5 Wei Wang 2016-05-06 10:59:34 UTC
Fabian,
The installation still works, but it will entry manual mode after removing inst.ks=

Comment 6 Fabian Deutsch 2016-05-06 12:04:55 UTC
Wei, are you sure the liveimg will be installed?

Comment 7 Sandro Bonazzola 2016-05-10 09:32:13 UTC
(In reply to weiwang from comment #5)
> Fabian,
> The installation still works, but it will entry manual mode after removing
> inst.ks=

I tried it and for me it fails setting the installation source repo.

Comment 8 Fabian Deutsch 2016-05-10 10:31:34 UTC
I just retried and it works for me with the latest jenkins build.

Note: It was fixed a few days ago, so you need a recetn iso build

Comment 9 Wei Wang 2016-05-31 10:49:13 UTC
Retest with ovirt-node-ng-installer-master-2016053004.iso, the bug cannot be reproduced

Version:
ovirt-node-ng-installer-master-2016053004.iso
imgbased-0.6.0.201605260814git95d31d4.el7.noarch

Steps:
1. Download ovirt-node-ng-installer-master-2016053004.iso to local
2. #dd if=ovirt-node-ng-installer-master-2016053004.iso of=/dev/sdb
3. Boot from USB device
4. Select the first boot menu entry "Install CentOS 7"
5. Press "Enter"

Result:
Boot successfully, entry anaconda welcome screen

So the bug is verified, I will change the status to "VERIFIED"

Comment 10 Sandro Bonazzola 2016-07-05 07:40:34 UTC
oVirt 4.0.0 has been released, closing current release.


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