From dafydd at dafydd.com Sat Mar 27 21:17:17 2021 From: dafydd at dafydd.com (David Barr) Date: Sat, 27 Mar 2021 14:17:17 -0700 Subject: `inst.ks` hides installation source on an ISO? Message-ID: <1b4dea70-601d-1720-509e-5ffea0d39279@dafydd.com> Good Morning! Duck Duck Go searches haven't helped me, and this problem feels like it has an obvious answer if I put the question in front of the right person. I'm adding a kickstart reference to an ISO. When I do, Anaconda (I think) can't find the Installation Source. If I drop the "inst.ks" the Installation Source is autodetected. So, an unmodified entry in isolinux/isolinux.cfg looks like this: ``` label linux ? menu label ^Install CentOS Linux 8 ? kernel vmlinuz ? append initrd=initrd.img inst.stage2=hd:LABEL=CentOS-8-3-2011-x86_64-dvd quiet ``` This will autodetect the Installation Source. If I add a kickstart reference: ``` label linux ? menu label ^Install CentOS Linux 8 ? kernel vmlinuz ? append initrd=initrd.img? inst.stag2=hd:LABEL=CentOS-8-3-2011-x86_64-dvd quiet inst.ks=hd:LABEL=CentOS-8-3-2011-x86_64-dvd ``` No Installation Source is found, but any `repo` entries in the kickstart file will be listed as "Additional Repositories." This is true for any variety of inst.ks reference. ("inst.ks=hd:/dev/sdb", "inst.ks=hd:/dev/sdb:/ks.cfg", etc.) Am I not seeing a kickstart entry that specifies the Installation Source? Do I have to add another `append` argument that specifies the Installation Source? What am I missing? Thanks! David Previous problems and solutions: - https://unix.stackexchange.com/questions/640232/verified-good-mkisofs-for-centos-8/640786 - https://unix.stackexchange.com/questions/641277/centos-8-custom-iso-adding-ks-cdrom-ks-cfg-hangs-the-installer/641278 -- David/dafydd PGP Public Key ?The hardest thing in the world is to change the minds of people who keep saying, ?But we?ve always done it this way.? These are days of fast changes and if we don?t change with them, we can get hurt or lost.? -- Admiral Grace Hopper -------------- next part -------------- An HTML attachment was scrubbed... URL: From joern.rink at googlemail.com Sun Mar 28 10:42:27 2021 From: joern.rink at googlemail.com (Niene Rink) Date: Sun, 28 Mar 2021 12:42:27 +0200 Subject: cannot set keyboard to german Message-ID: <20210328124227.17f75fdf27be2ab6e0c92619@gmail.com> Hello guys, i try to customize a fedora-live-mate-compiz live os for me. I do it with livemediacreator as described on the web page from media creator. My first problem is solved (swap with zram), i switch from rawhide to fedora-33. What i cannto solve is my problem switching the keyboard in the desktop to german. The console has a german keyboard, a x terminal in gnome not. My settings in the .ks file are as follows: keyboard --vckeymap=de --xlayouts='de' lang de_DE.UTF-8 The desktop is in german, but not the keyboard. I build the livos in a mock environment. Any ideas? Any hints what my error is From bcl at redhat.com Mon Mar 29 18:47:43 2021 From: bcl at redhat.com (Brian C. Lane) Date: Mon, 29 Mar 2021 11:47:43 -0700 Subject: `inst.ks` hides installation source on an ISO? In-Reply-To: <1b4dea70-601d-1720-509e-5ffea0d39279@dafydd.com> References: <1b4dea70-601d-1720-509e-5ffea0d39279@dafydd.com> Message-ID: On Sat, Mar 27, 2021 at 02:17:17PM -0700, David Barr wrote: > Good Morning! > > Duck Duck Go searches haven't helped me, and this problem feels like it > has an obvious answer if I put the question in front of the right person. > > I'm adding a kickstart reference to an ISO. When I do, Anaconda (I > think) can't find the Installation Source. If I drop the "inst.ks" the > Installation Source is autodetected. So, an unmodified entry in > isolinux/isolinux.cfg looks like this: Assuming you are trying to install from the DVD via kickstart, does the kickstart have 'cdrom' in it instead of 'url'? https://pykickstart.readthedocs.io/en/latest/kickstart-docs.html#cdrom Brian -- Brian C. Lane (PST8PDT) - weldr.io - lorax - parted - pykickstart From bcl at redhat.com Mon Mar 29 18:50:54 2021 From: bcl at redhat.com (Brian C. Lane) Date: Mon, 29 Mar 2021 11:50:54 -0700 Subject: cannot set keyboard to german In-Reply-To: <20210328124227.17f75fdf27be2ab6e0c92619@gmail.com> References: <20210328124227.17f75fdf27be2ab6e0c92619@gmail.com> Message-ID: On Sun, Mar 28, 2021 at 12:42:27PM +0200, Niene Rink wrote: > Hello guys, > i try to customize a fedora-live-mate-compiz live os for me. > > I do it with livemediacreator as described on the web page from media > creator. > > My first problem is solved (swap with zram), i switch from rawhide to > fedora-33. > > What i cannto solve is my problem switching the keyboard in the desktop > to german. The console has a german keyboard, a x terminal in gnome not. > > My settings in the .ks file are as follows: > > keyboard --vckeymap=de --xlayouts='de' > lang de_DE.UTF-8 > > The desktop is in german, but not the keyboard. > > I build the livos in a mock environment. > > Any ideas? Any hints what my error is It's possible this is a bug in livemedia-creator, or anaconda, or the mock environment ;) Could you file a bug at https://bugzilla.redhat.com against lorax and attach the logs from livemedia-creator as individual text/plain attachments? I'll take a look at them and see if I can reproduce it here. Brian -- Brian C. Lane (PST8PDT) - weldr.io - lorax - parted - pykickstart