Not to be fixed
Created: Mar 5, 2013
Updated: Apr 28, 2018
Resolved Date: Apr 17, 2018
Previous ID: LIN5-4427
Found In Version: 6.0
Severity: Standard
Applicable for: Wind River Linux 6
Component/s: Build & Config
Problem Description
======================
Try to boot intel-xeon-core+cgl+glibc-cgl from the ISO image which is built with target installer feature.
The 1st problem:
Got some errors when booting from iso image. Most of the errors were caused by "Read-only file system".
See attached screenshots: xeon-installer-iso-boot-log1.png xeon-installer-iso-boot-log2.png
The 2nd problem:
Failed to install RPMs to target disk.
It reported do_rootfs failed.
See attached screenshot: xeon-iso-install-rpm.JPG
Expected Behavior
======================
Passed to boot from iso and install wrlinux to target disk.
Observed Behavior
======================
1, some errors when booting iso
2, failed to install RPM to target disk
Logs
======================
Attached.
Misc Info
======================
N/A
Use glibc-small wr-installer image which points to previously built CGL image. This is documented in the README for the wr-installer layer
step 1; configure the project
/wrlinux-5/wrlinux/configure --enable-board=intel-xeon-core --enable-kernel=cgl --enable-rootfs=glibc-cgl --enable-parallel-pkgbuilds=15 --enable-jobs=15 --with-sstate-dir=/buildarea/build/lx32-prjs/intel-xeon-core/bitbake_build/sstate-cache --enable-target-installer=yes --with-rcpl-version=auto
step 2; make fs
Get ISO image:
$ ls export/*.iso
export/intel-xeon-core-glibc-cgl-cgl-dist.iso
step 3; boot with kvm
sudo kvm -cdrom /path/to/intel-xeon-core-glibc-cgl-cgl-dist.iso -hda hd0.vdisk -m 512
OR boot from real target:
step 4; burn the iso to DVD or USB disk.
Assume USB disk is /dev/sdc:
dd if=/path/to/intel-xeon-core-glibc-cgl-cgl-dist.iso of=/dev/sdc bs=1M
step 5; boot from USB device
Edit boot argument in GRUB, append "selinux=0 enforcing=0" for kernel cmdline.
There are some errors caused by "Read-only file system" when booting from ISO.
step 6; choose a lock disk to install wrlinux
For example: /dev/sdb
And there is critical error when installing RPMs to target disk.