* #yocto - meta-anaconda installer gives "An unknown error has occurred"
@ 2020-06-18 15:28 srijan.nandi
2020-06-18 16:12 ` [yocto] " Yocto
0 siblings, 1 reply; 6+ messages in thread
From: srijan.nandi @ 2020-06-18 15:28 UTC (permalink / raw)
To: yocto
[-- Attachment #1: Type: text/plain, Size: 2510 bytes --]
Hello all,
I created a core-image-full-cmdline for genericx86-64 machine. I am trying to configure meta-anaconda with it. I have used the following bblayers.conf file and added the requirements in the local.conf file.
1. Target Build:
bblayers.conf:
BBLAYERS ?= " \
/opt/graylog-poky/meta \
/opt/graylog-poky/meta-poky \
/opt/graylog-poky/meta-yocto-bsp \
/opt/graylog-poky/meta-graylog \
/opt/graylog-poky/meta-openembedded/meta-oe \
/opt/graylog-poky/meta-openembedded/meta-python \
/opt/graylog-poky/meta-openembedded/meta-networking \
/opt/graylog-poky/meta-openembedded/meta-gnome \
/opt/graylog-poky/meta-openembedded/meta-filesystems \
/opt/graylog-poky/meta-openembedded/meta-initramfs \
/opt/graylog-poky/meta-anaconda \
"
local.conf file:
PACKAGE_CLASSES ?= "package_deb package_rpm"
DISTRO_FEATURES_append = " systemd keyboard ldconfig pam"
EXTRA_IMAGE_FEATURES_append = " package-management ssh-server-openssh"
CORE_IMAGE_EXTRA_INSTALL_append = " kernel-modules iptables bash vim parted tcpdump dhcp-server dhcp-client"
VIRTUAL-RUNTIME_init_manager = "systemd"
DISTRO_FEATURES_BACKFILL_CONSIDERED = "sysvinit"
VIRTUAL-RUNTIME_initscripts = ""
IMAGE_FSTYPES = "ext4 iso wic wic.vmdk"
The target directory is /opt/graylog-poky/build.
Then I created the install build with the following bblayers.conf and local.conf with the following customizations
bblayers.conf:
BBLAYERS ?= " \
/opt/graylog-poky/meta \
/opt/graylog-poky/meta-poky \
/opt/graylog-poky/meta-yocto-bsp \
/opt/graylog-poky/meta-graylog \
/opt/graylog-poky/meta-openembedded/meta-oe \
/opt/graylog-poky/meta-openembedded/meta-python \
/opt/graylog-poky/meta-openembedded/meta-networking \
/opt/graylog-poky/meta-openembedded/meta-gnome \
/opt/graylog-poky/meta-openembedded/meta-filesystems \
/opt/graylog-poky/meta-openembedded/meta-initramfs \
/opt/graylog-poky/meta-anaconda \
"
local.conf:
MACHINE ??= "qemux86-64"
PACKAGE_CLASSES ?= "package_ipk"
PACKAGE_CLASSES = "package_rpm"
DISTRO = "anaconda"
INSTALLER_TARGET_IMAGE = "core-image-full-cmdline"
INSTALLER_TARGET_BUILD = "/opt/graylog-poky/build"
It gave me an iso, when I try to boot in a vmware or on a virtualbox with the iso, it boots up and then after opening up the anaconda installer it comes up with the error message "An unknown error has occurred" and it hangs on the screen.
Any help will be highly appreciated.
Also would like to know if it is possible to boot an x86-64 using the above method.
[-- Attachment #2: Type: text/html, Size: 3220 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [yocto] #yocto - meta-anaconda installer gives "An unknown error has occurred"
2020-06-18 15:28 #yocto - meta-anaconda installer gives "An unknown error has occurred" srijan.nandi
@ 2020-06-18 16:12 ` Yocto
2020-06-19 4:24 ` srijan.nandi
0 siblings, 1 reply; 6+ messages in thread
From: Yocto @ 2020-06-18 16:12 UTC (permalink / raw)
To: yocto
On 2020-06-18 22:28, srijan.nandi@gmail.com wrote:
> Hello all,
>
> I created a core-image-full-cmdline for genericx86-64 machine. I am
> trying to configure meta-anaconda with it. I have used the following
> bblayers.conf file and added the requirements in the local.conf file.
>
I was recently able to build and boot an x86_64 image and install it via
anaconda from dunfell layer on real hardware and in XenServer
i did notice depending on the vm template used some would error,
centos/ununtu templates appeared ok, though not sure if you have
templates for os installs in vmware, never used it.
> 1. Target Build:
> bblayers.conf:
> BBLAYERS ?= " \
> /opt/graylog-poky/meta \
> /opt/graylog-poky/meta-poky \
> /opt/graylog-poky/meta-yocto-bsp \
> /opt/graylog-poky/meta-graylog \
> /opt/graylog-poky/meta-openembedded/meta-oe \
> /opt/graylog-poky/meta-openembedded/meta-python \
> /opt/graylog-poky/meta-openembedded/meta-networking \
> /opt/graylog-poky/meta-openembedded/meta-gnome \
> /opt/graylog-poky/meta-openembedded/meta-filesystems \
> /opt/graylog-poky/meta-openembedded/meta-initramfs \
> /opt/graylog-poky/meta-anaconda \
> "
> local.conf file:
> PACKAGE_CLASSES ?= "package_deb package_rpm"
> DISTRO_FEATURES_append = " systemd keyboard ldconfig pam"
> EXTRA_IMAGE_FEATURES_append = " package-management ssh-server-openssh"
>
> CORE_IMAGE_EXTRA_INSTALL_append = " kernel-modules iptables bash vim
> parted tcpdump dhcp-server dhcp-client"
> VIRTUAL-RUNTIME_init_manager = "systemd"
> DISTRO_FEATURES_BACKFILL_CONSIDERED = "sysvinit"
> VIRTUAL-RUNTIME_initscripts = ""
> IMAGE_FSTYPES = "ext4 iso wic wic.vmdk"
>
> The target directory is /opt/graylog-poky/build.
>
> Then I created the install build with the following bblayers.conf and
> local.conf with the following customizations
>
> bblayers.conf:
> BBLAYERS ?= " \
> /opt/graylog-poky/meta \
> /opt/graylog-poky/meta-poky \
> /opt/graylog-poky/meta-yocto-bsp \
> /opt/graylog-poky/meta-graylog \
> /opt/graylog-poky/meta-openembedded/meta-oe \
> /opt/graylog-poky/meta-openembedded/meta-python \
> /opt/graylog-poky/meta-openembedded/meta-networking \
> /opt/graylog-poky/meta-openembedded/meta-gnome \
> /opt/graylog-poky/meta-openembedded/meta-filesystems \
> /opt/graylog-poky/meta-openembedded/meta-initramfs \
> /opt/graylog-poky/meta-anaconda \
> "
> local.conf:
> MACHINE ??= "qemux86-64"
> PACKAGE_CLASSES ?= "package_ipk"
> PACKAGE_CLASSES = "package_rpm"
> DISTRO = "anaconda"
> INSTALLER_TARGET_IMAGE = "core-image-full-cmdline"
> INSTALLER_TARGET_BUILD = "/opt/graylog-poky/build"
>
> It gave me an iso, when I try to boot in a vmware or on a virtualbox
> with the iso, it boots up and then after opening up the anaconda
> installer it comes up with the error message "An unknown error has
> occurred" and it hangs on the screen.
>
> Any help will be highly appreciated.
>
> Also would like to know if it is possible to boot an x86-64 using the
> above method.
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: #yocto - meta-anaconda installer gives "An unknown error has occurred"
2020-06-18 16:12 ` [yocto] " Yocto
@ 2020-06-19 4:24 ` srijan.nandi
2020-06-19 10:10 ` srijan.nandi
0 siblings, 1 reply; 6+ messages in thread
From: srijan.nandi @ 2020-06-19 4:24 UTC (permalink / raw)
To: yocto
[-- Attachment #1: Type: text/plain, Size: 205 bytes --]
I am using zeus as the yocto version.
I tried both the boot modes Legacy as well as UEFI. But failed. I thing it is a python issue but as the screen is stuck I cannot see the error nor click on debug.
[-- Attachment #2: Type: text/html, Size: 213 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: #yocto - meta-anaconda installer gives "An unknown error has occurred"
2020-06-19 4:24 ` srijan.nandi
@ 2020-06-19 10:10 ` srijan.nandi
2020-06-19 11:10 ` srijan.nandi
2020-06-19 12:53 ` srijan.nandi
0 siblings, 2 replies; 6+ messages in thread
From: srijan.nandi @ 2020-06-19 10:10 UTC (permalink / raw)
To: yocto
[-- Attachment #1: Type: text/plain, Size: 219 bytes --]
Hello All,
I was finally able to view the error message. It says configparser.NoSectionError: No section: 'Rootfs'. This comes as soon as the anaconda installer starts and then it hangs on this screen.
-=Srijan
[-- Attachment #2: Type: text/html, Size: 239 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: #yocto - meta-anaconda installer gives "An unknown error has occurred"
2020-06-19 10:10 ` srijan.nandi
@ 2020-06-19 11:10 ` srijan.nandi
2020-06-19 12:53 ` srijan.nandi
1 sibling, 0 replies; 6+ messages in thread
From: srijan.nandi @ 2020-06-19 11:10 UTC (permalink / raw)
To: yocto
[-- Attachment #1: Type: text/plain, Size: 369 bytes --]
Every time i reboot it, it hangs. But i get to see a piece of error message that I write down. This time before the configparser.NoSectionError: No section: 'Rootfs' error message,
it showed the following lines:
File '/usr/lib/python3.7/site-packages/pyanaconda/threading.py'
Before the final error comes up:
configparser.NoSectionError: No section: 'Rootfs'
[-- Attachment #2: Type: text/html, Size: 424 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: #yocto - meta-anaconda installer gives "An unknown error has occurred"
2020-06-19 10:10 ` srijan.nandi
2020-06-19 11:10 ` srijan.nandi
@ 2020-06-19 12:53 ` srijan.nandi
1 sibling, 0 replies; 6+ messages in thread
From: srijan.nandi @ 2020-06-19 12:53 UTC (permalink / raw)
To: yocto
[-- Attachment #1: Type: text/plain, Size: 151 bytes --]
I get this message before I get configparser.NoSectionError: No section: 'Rootfs'
File '/usr/lib/python3.7/site-packages/pyanaconda/threading.py"
[-- Attachment #2: Type: text/html, Size: 163 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2020-06-19 12:53 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-06-18 15:28 #yocto - meta-anaconda installer gives "An unknown error has occurred" srijan.nandi
2020-06-18 16:12 ` [yocto] " Yocto
2020-06-19 4:24 ` srijan.nandi
2020-06-19 10:10 ` srijan.nandi
2020-06-19 11:10 ` srijan.nandi
2020-06-19 12:53 ` srijan.nandi
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.