Re: livecd-creator is not able to find Kickstart which actually exists
On Tue, Dec 22, 2020 at 5:02 AM stan via users wrote: > > On Tue, 22 Dec 2020 02:08:30 +0530 > Sreyan Chakravarty wrote: > > > livecd-creator --verbose --config=/home/sreyan/kde-flattened.ks > > --fslabel=Fedora Custom --cache=/home/sreyan/cache/live/ > > > It errors out with : > > Kickstart file must be provided > > [snip] > > > Am I doing anything wrong ? > > I don't use kickstarts, but usually phrases with spaces in them have to > be escaped or enclosed in quotes. I see the phrase "Fedora Custom" in > your command, but it doesn't appear to have that protection. The error > might be misleading, but a response to that. Thanks, it worked. -- Regards, Sreyan Chakravarty ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Re: livecd-creator is not able to find Kickstart which actually exists
On Tue, Dec 22, 2020 at 6:33 AM Ben Cotton wrote: > > On Mon, Dec 21, 2020 at 6:33 PM stan via users > wrote: > > > > I don't use kickstarts, but usually phrases with spaces in them have to > > be escaped or enclosed in quotes. I see the phrase "Fedora Custom" in > > your command, but it doesn't appear to have that protection. The error > > might be misleading, but a response to that. > > That looks like the issue. For compatibility, a single argument is > treated as the kickstart file: > https://github.com/livecd-tools/livecd-tools/blob/master/tools/livecd-creator#L124 > > Since Fedora Custom isn't quoted, livecd-creator is looking for a > kickstart file named 'Custom', which doesn't exist. I opened a pull > request that makes the error messages more clear: > https://github.com/livecd-tools/livecd-tools/pull/175 > > Also, I don't think quoting the label will work in this case. You'll > need to remove the space or replace it with a hyphen or underscore. > Otherwise, you'll hit the "CD labels cannot contain spaces." error > message: > https://github.com/livecd-tools/livecd-tools/blob/master/tools/livecd-creator#L137 > > -- > Ben Cotton > He / Him / His > Senior Program Manager, Fedora & CentOS Stream > Red Hat > TZ=America/Indiana/Indianapolis Thank you. Removing the spaces worked. Let's hope your PR is accepted. -- Regards, Sreyan Chakravarty ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Re: livecd-creator is not able to find Kickstart which actually exists
On Mon, Dec 21, 2020 at 6:33 PM stan via users wrote: > > I don't use kickstarts, but usually phrases with spaces in them have to > be escaped or enclosed in quotes. I see the phrase "Fedora Custom" in > your command, but it doesn't appear to have that protection. The error > might be misleading, but a response to that. That looks like the issue. For compatibility, a single argument is treated as the kickstart file: https://github.com/livecd-tools/livecd-tools/blob/master/tools/livecd-creator#L124 Since Fedora Custom isn't quoted, livecd-creator is looking for a kickstart file named 'Custom', which doesn't exist. I opened a pull request that makes the error messages more clear: https://github.com/livecd-tools/livecd-tools/pull/175 Also, I don't think quoting the label will work in this case. You'll need to remove the space or replace it with a hyphen or underscore. Otherwise, you'll hit the "CD labels cannot contain spaces." error message: https://github.com/livecd-tools/livecd-tools/blob/master/tools/livecd-creator#L137 -- Ben Cotton He / Him / His Senior Program Manager, Fedora & CentOS Stream Red Hat TZ=America/Indiana/Indianapolis ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Re: livecd-creator is not able to find Kickstart which actually exists
On Tue, 22 Dec 2020 02:08:30 +0530 Sreyan Chakravarty wrote: > livecd-creator --verbose --config=/home/sreyan/kde-flattened.ks > --fslabel=Fedora Custom --cache=/home/sreyan/cache/live/ > It errors out with : > Kickstart file must be provided [snip] > Am I doing anything wrong ? I don't use kickstarts, but usually phrases with spaces in them have to be escaped or enclosed in quotes. I see the phrase "Fedora Custom" in your command, but it doesn't appear to have that protection. The error might be misleading, but a response to that. ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
livecd-creator is not able to find Kickstart which actually exists
Hi, I am playing around with creating my own live image, and I have come across a rather annoying problem in the livecd-creator script. When I do: livecd-creator --verbose --config=/home/sreyan/kde-flattened.ks --fslabel=Fedora Custom --cache=/home/sreyan/cache/live/ It errors out with : Kickstart file must be provided This makes no sense, since the Kickstart file is where is it is supposed to be: [root@localhost sreyan]# ll total 56 -rw-rw-r--. 1 sreyan sreyan 12303 Dec 22 01:49 kde-flattened.ks -rw-rw-r--. 1 sreyan sreyan 1382 Dec 22 01:49 fedora-kde-common.ks -rw-rw-r--. 1 sreyan sreyan82 Dec 22 01:42 fedora-kde-minimization.ks -rw-rw-r--. 1 sreyan sreyan 10118 Dec 22 01:47 fedora-live-base.ks -rw-rw-r--. 1 sreyan sreyan 2375 Dec 22 01:40 fedora-live-kde-base.ks -rw-rw-r--. 1 sreyan sreyan 425 Dec 22 01:39 fedora-live-kde.ks -rw-rw-r--. 1 sreyan sreyan 235 Dec 22 01:41 fedora-live-minimization.ks -rw-rw-r--. 1 sreyan sreyan 291 Dec 22 01:48 fedora-repo.ks -rw-rw-r--. 1 sreyan sreyan 196 Dec 22 01:48 fedora-repo-rawhide.ks Running as root makes no difference, also I have SELinux disabled for the time being so I am sure it's not a security issue. Am I doing anything wrong ? I cannot make sense of what's happening. -- Regards, Sreyan Chakravarty ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Re: livecd-creator -
On 02/22/18 16:33, Ahmad Samir wrote: On 22 February 2018 at 23:13, Bob Goodwin wrote: On 02/22/18 15:25, Ahmad Samir wrote: I suggest you have a look at the manual for that MOBO[1]; it looks like it supports booting from usb (from reading the "Boot Screen" section of the manual PDF. [1]http://www.asrock.com/mb/AMD/QC5000-ITXWiFi/#Manual -- Ahmad Samir . I have the [pdf] manual, I just can't get the cmos menu to do anything. It produces a pretty ASRock logo in the center of the screen and shows several items in a list below it, Setup F2, and Boot F11, but it responds to none of them? I'm beginning to think that shutting it down and bringing it up again has resulted in it's failure. It's been running 24 hours a day forseveral years. I just don't remember when I got it but it's in an enclosure about three inches high and at the bottom of a stack, heat may have taken its' toll ... That might be "Fast Boot", which is a feature that's supposed to make booting faster but also means you can't access the firmware settings at early boot; the manual says that you can't boot from usb if Fast Boot is enabled. From the manual: Fast Boot Fast Boot minimizes your computer's boot time. In fast mode you may not boot from an USB storage device. Ultra Fast mode is only supported by Windows 8 and the VBIOS must support UEFI GOP if you are using an external graphics card. Please notice that Ultra Fast mode will boot so fast that the only way to enter this UEFI Setup Utility is to Clear CMOS or run the Restart to UEFI utility in Windows. . Yes it boots fast and it's hard to getto the cmos screen before it goes to the system disk, takes some fast finger work and even then I can't catch it consistently ... That may be an indication of my problem then. I considered clearing the cmos, but if after that I still can't bring up the setup and boot menus I may have useless mess. As it is I put it back to how it was and it is working. I just didn't get to install the new drives I bought for it. As long as it works I can wait for a new board. I rely on it for my NFS data. Even if I found the disk with their utilities I don't have a Windows system to work wit. -- Bob Goodwin - Zuni, Virginia, USA http://www.qrz.com/db/W2BOD box10 FEDORA-27/64bit LINUX XFCE Fastmail POP3 ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org
Re: livecd-creator -
On 22 February 2018 at 23:13, Bob Goodwin wrote: > On 02/22/18 15:25, Ahmad Samir wrote: >> >> I suggest you have a look at the manual for that MOBO[1]; it looks >> like it supports booting from usb (from reading the "Boot Screen" >> section of the manual PDF. >> >> [1]http://www.asrock.com/mb/AMD/QC5000-ITXWiFi/#Manual >> -- Ahmad Samir > > > . > > I have the [pdf] manual, I just can't get the cmos menu to do anything. It > produces a pretty ASRock logo in the center of the screen and shows several > items in a list below it, Setup F2, and Boot F11, but it responds to none of > them? I'm beginning to think that shutting it down and bringing it up again > has resulted in it's failure. It's been running 24 hours a day forseveral > years. I just don't remember when I got it but it's in an enclosure about > three inches high and at the bottom of a stack, heat may have taken its' > toll ... > That might be "Fast Boot", which is a feature that's supposed to make booting faster but also means you can't access the firmware settings at early boot; the manual says that you can't boot from usb if Fast Boot is enabled. From the manual: Fast Boot Fast Boot minimizes your computer's boot time. In fast mode you may not boot from an USB storage device. Ultra Fast mode is only supported by Windows 8 and the VBIOS must support UEFI GOP if you are using an external graphics card. Please notice that Ultra Fast mode will boot so fast that the only way to enter this UEFI Setup Utility is to Clear CMOS or run the Restart to UEFI utility in Windows. -- Ahmad Samir ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org
Re: livecd-creator -
On 02/22/18 15:25, Ahmad Samir wrote: I suggest you have a look at the manual for that MOBO[1]; it looks like it supports booting from usb (from reading the "Boot Screen" section of the manual PDF. [1]http://www.asrock.com/mb/AMD/QC5000-ITXWiFi/#Manual -- Ahmad Samir . I have the [pdf] manual, I just can't get the cmos menu to do anything. It produces a pretty ASRock logo in the center of the screen and shows several items in a list below it, Setup F2, and Boot F11, but it responds to none of them? I'm beginning to think that shutting it down and bringing it up again has resulted in it's failure. It's been running 24 hours a day forseveral years. I just don't remember when I got it but it's in an enclosure about three inches high and at the bottom of a stack, heat may have taken its' toll ... -- Bob Goodwin - Zuni, Virginia, USA http://www.qrz.com/db/W2BOD box10 FEDORA-27/64bit LINUX XFCE Fastmail POP3 ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org
Re: livecd-creator -
On 22 February 2018 at 20:48, Bob Goodwin wrote: > On 02/22/18 01:14, Samuel Sieb wrote: >> >> I like to use livecd-iso-to-disk from the livecd-tools package. It >> unpacks the iso onto a USB drive with lots of useful options. > > . > > I had installed livecd-tools before posting my query here but could not get > it to work? > > Media-writer appears to be the new name of the livecd-creator application. I > installed and used that to create a Fedora27-live on the external usb hard > drive. It was no better than the thumb drive, it seems this ASRock > QC5000-itx-wifi board wont boot from a usb port and I have not been able to > start it with the cmos-boot menu. I suspect it needs to be reset for > usbboot? > > I don't think I ever tried this with this board before, I believe it was a > replacement I used for a failed motherboard and it just worked with the > existing hard drives and Fedora21. Now I have a problem. I guess the > solution will be another board, not the same brand! > > Thanks to all responding, > > Bob > I suggest you have a look at the manual for that MOBO[1]; it looks like it supports booting from usb (from reading the "Boot Screen" section of the manual PDF. [1] http://www.asrock.com/mb/AMD/QC5000-ITXWiFi/#Manual -- Ahmad Samir ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org
Re: livecd-creator -
On 02/22/18 01:14, Samuel Sieb wrote: I like to use livecd-iso-to-disk from the livecd-tools package. It unpacks the iso onto a USB drive with lots of useful options. . I had installed livecd-tools before posting my query here but could not get it to work? Media-writer appears to be the new name of the livecd-creator application. I installed and used that to create a Fedora27-live on the external usb hard drive. It was no better than the thumb drive, it seems this ASRock QC5000-itx-wifi board wont boot from a usb port and I have not been able to start it with the cmos-boot menu. I suspect it needs to be reset for usbboot? I don't think I ever tried this with this board before, I believe it was a replacement I used for a failed motherboard and it just worked with the existing hard drives and Fedora21. Now I have a problem. I guess the solution will be another board, not the same brand! Thanks to all responding, Bob -- Bob Goodwin - Zuni, Virginia, USA http://www.qrz.com/db/W2BOD box10 FEDORA-27/64bit LINUX XFCE Fastmail POP3 ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org
Re: livecd-creator -
On Thu, 22 Feb 2018 01:09:55 +0100, Bob Goodwin wrote: On 02/21/18 18:56, Matthew Miller wrote: Do you literally want a CD, or do you want USB media? I have a computer that does not want to run from a fedora-27 thumb drive that I used to install fedora on this the computer I am typing this on. I would like to "create" with an external usb drive which has worked for me in the past. I downloaded another copy of the workstation iso thinking I would do the job with livecd-creator as usual but that seems to have been dropped? I'm still not 100% sure what you want to do but if your plan is to put a live Fedora image on your flash drive, you can use Fedora Media Writer (package mediawriter, it replaced liveusb-creator). It can do everything for you, including downloading the ISO. ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org
Re: livecd-creator -
On 02/21/2018 09:28 PM, Philip Rhoades wrote: If you have the Fedora ISO file on disk, you can "dd" it to the USB drive eg: dd if=./filename.iso of=/dev/sdc Assuming, of course, that /dev/sdc points to the correct USB drive. ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org
Re: livecd-creator -
On 02/21/2018 04:09 PM, Bob Goodwin wrote: I have a computer that does not want to run from a fedora-27 thumb drive that I used to install fedora on this the computer I am typing this on. I would like to "create" with an external usb drive which has worked for me in the past. I downloaded another copy of the workstation iso thinking I would do the job with livecd-creator as usual but that seems to have been dropped? I like to use livecd-iso-to-disk from the livecd-tools package. It unpacks the iso onto a USB drive with lots of useful options. ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org
Re: livecd-creator -
Bob, On 2018-02-22 13:14, Ed Greshko wrote: On 02/22/18 08:09, Bob Goodwin wrote: On 02/21/18 18:56, Matthew Miller wrote: Do you literally want a CD, or do you want USB media? I have a computer that does not want to run from a fedora-27 thumb drive that I used to install fedora on this the computer I am typing this on. I would like to "create" with an external usb drive which has worked for me in the past. I downloaded another copy of the workstation iso thinking I would do the job with livecd-creator as usual but that seems to have been dropped? If you have the Fedora ISO file on disk, you can "dd" it to the USB drive eg: dd if=./filename.iso of=/dev/sdc P. -- Philip Rhoades PO Box 896 Cowra NSW 2794 Australia E-mail: p...@pricom.com.au ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org
Re: livecd-creator -
On 02/22/18 08:09, Bob Goodwin wrote: > On 02/21/18 18:56, Matthew Miller wrote: >> Do you literally want a CD, or do you want USB media? > > I have a computer that does not want to run from a fedora-27 thumb drive that > I > used to install fedora on this the computer I am typing this on. I would like > to > "create" with an external usb drive which has worked for me in the past. I > downloaded another copy of the workstation iso thinking I would do the job > with > livecd-creator as usual but that seems to have been dropped? > A possibility may be unetbootin? -- A motto of mine is: When in doubt, try it out signature.asc Description: OpenPGP digital signature ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org
Re: livecd-creator -
On 02/21/18 18:56, Matthew Miller wrote: Do you literally want a CD, or do you want USB media? I have a computer that does not want to run from a fedora-27 thumb drive that I used to install fedora on this the computer I am typing this on. I would like to "create" with an external usb drive which has worked for me in the past. I downloaded another copy of the workstation iso thinking I would do the job with livecd-creator as usual but that seems to have been dropped? -- Bob Goodwin - Zuni, Virginia, USA http://www.qrz.com/db/W2BOD box10 FEDORA-27/64bit LINUX XFCE Fastmail POP3 ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org
Re: livecd-creator -
On Wed, Feb 21, 2018 at 06:51:10PM -0500, Bob Goodwin wrote: > How do I make a "livecd" from a fedora 27 iso? It used to be done > with an application listed in the menu. Do you literally want a CD, or do you want USB media? -- Matthew Miller Fedora Project Leader ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org
Re: livecd-creator -
On 02/21/2018 03:51 PM, Bob Goodwin wrote: How do I make a "livecd" from a fedora 27 iso? It used to be done with an application listed in the menu. It's not clear to me what you're trying to do. Are you wanting to write it to a physical CD or write it to a USB drive or make your own version of a live CD? ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org
livecd-creator -
How do I make a "livecd" from a fedora 27 iso? It used to be done with an application listed in the menu. Bob -- Bob Goodwin - Zuni, Virginia, USA http://www.qrz.com/db/W2BOD box10 FEDORA-27/64bit LINUX XFCE Fastmail POP3 ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org
Re: fedora create livecd creator fails with LXDE ks, and with package conflicts
On Tue, 29 Nov 2016 14:55:46 -0600 Ranjan Maitra wrote: > Hello, > > I am aware that a more appropriate place to post would have been the > livecd list which is archived at > > https://lists.fedoraproject.org/archives/list/liv...@lists.fedoraproject.org/ > > but since the archives seem to be pure spam for the past two months, > I am not sure if anyone reads it any more. > > So, I thought that I would try my luck here. > > I have been trying to build the LXDE spin iso using the default > Fedora 25 kickstarts > available /usr/share/spin-kickstarts/fedora-live-lxde.ks and the > dependent kickstart files. So, I try the following and get: > > $sudo setenforce 0 > $ sudo livecd-creator --config=fedora-live-lxde.ks --tmpdir=tmp > --fslabel=Fedora-LXDE-25_x86_64 /usr/lib64/python2.7/optparse.py:1013: > PendingDeprecationWarning: The KSOption class is deprecated and will > be removed in pykickstart-3. Use the argparse module instead. option > = self.option_class(*args, **kwargs) ['/sbin/mkfs.ext4', '-F', '-L', > '_Fedora-LXDE-25_x86_64', '-m', '1', '-b', '4096', > '/dev/loop0'] /usr/lib/python2.7/site-packages/yum/config.py:1093: > PendingDeprecationWarning: use len(mi) instead > startupconf.distroverpkg) > /usr/lib/python2.7/site-packages/imgcreate/yuminst.py:161: > PendingDeprecationWarning: use len(mi) instead option = > option.replace("$releasever", yum.config._getsysver("/", > ("system-release(release)", "redhat-release"))) No such package > system-config-network to remove Error creating Live CD : Failed to > build transaction : libcrypt conflicts with > libcrypt-nss-2.24-3.fc25.x86_64 libcrypt-nss conflicts with > libcrypt-2.24-3.fc25.x86_64 > > > As we can see, the conflict does not allow for the creation of the > LiveCD to proceed. But this is the vanilla kickstart file for > Fedora's LXDE so I was wondering what was going wrong here? Fedora has switched to livemedia-creator in f24. This issue is likely that livecd-creator doesn't understand rpm weak deps (which is how dnf chooses which of those libraries to install). I'd suggest going to livemedia-creator, or if you cannot do that there is a fork of livecd-tools out there thats been ported to python3 and dnf, and it may handle this case. kevin pgpYp1vUJiVZP.pgp Description: OpenPGP digital signature ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org
fedora create livecd creator fails with LXDE ks, and with package conflicts
Hello, I am aware that a more appropriate place to post would have been the livecd list which is archived at https://lists.fedoraproject.org/archives/list/liv...@lists.fedoraproject.org/ but since the archives seem to be pure spam for the past two months, I am not sure if anyone reads it any more. So, I thought that I would try my luck here. I have been trying to build the LXDE spin iso using the default Fedora 25 kickstarts available /usr/share/spin-kickstarts/fedora-live-lxde.ks and the dependent kickstart files. So, I try the following and get: $sudo setenforce 0 $ sudo livecd-creator --config=fedora-live-lxde.ks --tmpdir=tmp --fslabel=Fedora-LXDE-25_x86_64 /usr/lib64/python2.7/optparse.py:1013: PendingDeprecationWarning: The KSOption class is deprecated and will be removed in pykickstart-3. Use the argparse module instead. option = self.option_class(*args, **kwargs) ['/sbin/mkfs.ext4', '-F', '-L', '_Fedora-LXDE-25_x86_64', '-m', '1', '-b', '4096', '/dev/loop0'] /usr/lib/python2.7/site-packages/yum/config.py:1093: PendingDeprecationWarning: use len(mi) instead startupconf.distroverpkg) /usr/lib/python2.7/site-packages/imgcreate/yuminst.py:161: PendingDeprecationWarning: use len(mi) instead option = option.replace("$releasever", yum.config._getsysver("/", ("system-release(release)", "redhat-release"))) No such package system-config-network to remove Error creating Live CD : Failed to build transaction : libcrypt conflicts with libcrypt-nss-2.24-3.fc25.x86_64 libcrypt-nss conflicts with libcrypt-2.24-3.fc25.x86_64 As we can see, the conflict does not allow for the creation of the LiveCD to proceed. But this is the vanilla kickstart file for Fedora's LXDE so I was wondering what was going wrong here? Thanks very much in anticipation! Best wishes, Ranjan -- Important Notice: This mailbox is ignored: e-mails are set to be deleted on receipt. Please respond to the mailing list if appropriate. For those needing to send personal or professional e-mail, please use appropriate addresses. ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org
Re: livecd-creator does not create EFI-enabled iso?
On 06/12/2012 05:33 AM, Phil Meyer wrote: > On 06/09/2012 07:02 AM, Steven Shiau wrote: >> I'd like to use livecd-creator to create an EFI-enabled iso on my Fedora >> 17 x86-64 machine. >> I used this command to create the live iso file: >> livecd-creator -v --config=./livecd.ks --cache=/var/cache/live >> > > Looking at: /usr/share/spin-kickstarts/fedora-live-base.ks > > I notice this in the %packages section: > > # grub-efi and grub2 and efibootmgr so anaconda can use the right one on > install. > > grub-efi > grub2 > efibootmgr > > Good Luck! Thanks! That did solve my problem. BTW, do you know is that possible to use grub2-efi instead of grub-efi? If I replaced grub-efi with grub2-efi, livecd-creator just exited with weird messages saying that: warning: filesystem-3-2.fc17.x86_64: Header V3 RSA/SHA256 Signature, key ID 1aca3465: NOKEY Transaction couldn't start: installing package anaconda-17.29-1.fc17.x86_64 needs 6MB on the / filesystem Error creating Live CD : Unable to install: Could not run transaction. Thanks in advance. Steven. -- Steven Shiau National Center for High-performance Computing, Taiwan. http://www.nchc.org.tw Public Key Server PGP Key ID: 1024D/9762755A Fingerprint: A2A1 08B7 C22C 3D06 34DB F4BC 08B3 E3D7 9762 755A -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: livecd-creator does not create EFI-enabled iso?
On 06/09/2012 07:02 AM, Steven Shiau wrote: I'd like to use livecd-creator to create an EFI-enabled iso on my Fedora 17 x86-64 machine. I used this command to create the live iso file: livecd-creator -v --config=./livecd.ks --cache=/var/cache/live Looking at: /usr/share/spin-kickstarts/fedora-live-base.ks I notice this in the %packages section: # grub-efi and grub2 and efibootmgr so anaconda can use the right one on install. grub-efi grub2 efibootmgr Good Luck! -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
livecd-creator does not create EFI-enabled iso?
I'd like to use livecd-creator to create an EFI-enabled iso on my Fedora 17 x86-64 machine. I used this command to create the live iso file: livecd-creator -v --config=./livecd.ks --cache=/var/cache/live The content of livdcd.ks is: = lang en_US.UTF-8 keyboard us timezone US/Eastern auth --useshadow --enablemd5 selinux --enforcing firewall --disabled part / --size 1024 repo --name=releases --baseurl=http://free.nchc.org.tw/fedora/linux/releases/17/Everything/x86_64/os/ repo --name=updates --baseurl=http://free.nchc.org.tw/fedora/linux/updates/17/x86_64/ %packages @core anaconda-runtime bash kernel passwd policycoreutils chkconfig authconfig rootfiles %end = It successfully created the iso, but the generated iso does not contain any EFI booting mechanism: $ dumpet -i livecd-livecd-201206091639.iso Validation Entry: Header Indicator: 0x01 (Validation Entry) PlatformId: 0x00 (80x86) ID: "" Checksum: 0x55aa Key bytes: 0x55aa Boot Catalog Default Entry: Entry is bootable Boot Media emulation type: no emulation Media load segment: 0x0 (:7c00) System type: 0 (0x00) Load Sectors: 4 (0x0004) Load LBA: 37 (0x0025) So my question is, how can I make an EFI bootable iso file? Just like what Fedora 17 live CD Fedora-17-x86_64-Live-Desktop.iso has. Thanks in advance. Steven. -- Steven Shiau National Center for High-performance Computing, Taiwan. http://www.nchc.org.tw Public Key Server PGP Key ID: 1024D/9762755A Fingerprint: A2A1 08B7 C22C 3D06 34DB F4BC 08B3 E3D7 9762 755A -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: livecd-creator failing on F11
On Saturday 06 February 2010 04:51 PM, Suvayu Ali wrote: > On Saturday 06 February 2010 04:34 PM, Bruno Wolff III wrote: >> On Sat, Feb 06, 2010 at 16:07:59 -0800, >> Suvayu Ali wrote: >>> >>> Yes I'm doing this on F11. >> >> In general building images for a different version of Fedora isn't >> going to >> work unless you use mock. I haven't done that yet and am not able to give >> you exact instructions, but that's probably where you need to go if you >> want to do cross version builds of live images. > > I will try to find more about how to use mock here. Thanks for all the > help so far. :) I couldn't figure out how to use mock to build the Live image. All the documentation I could find seemed related to building srpms. I had a minimal F12 VM lying around, increased the partition size on that and built the live image without problems. Time to test the radeon drivers on my RV770 tomorrow. ;) -- Suvayu Open source is the future. It sets us free. -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: livecd-creator failing on F11
On Saturday 06 February 2010 04:34 PM, Bruno Wolff III wrote: > On Sat, Feb 06, 2010 at 16:07:59 -0800, >Suvayu Ali wrote: >> >> Yes I'm doing this on F11. > > In general building images for a different version of Fedora isn't going to > work unless you use mock. I haven't done that yet and am not able to give > you exact instructions, but that's probably where you need to go if you > want to do cross version builds of live images. I will try to find more about how to use mock here. Thanks for all the help so far. :) -- Suvayu Open source is the future. It sets us free. -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: livecd-creator failing on F11
On Sat, Feb 06, 2010 at 16:07:59 -0800, Suvayu Ali wrote: > > Yes I'm doing this on F11. In general building images for a different version of Fedora isn't going to work unless you use mock. I haven't done that yet and am not able to give you exact instructions, but that's probably where you need to go if you want to do cross version builds of live images. -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: livecd-creator failing on F11
On Saturday 06 February 2010 03:47 PM, Bruno Wolff III wrote: > On Sat, Feb 06, 2010 at 14:04:55 -0800, >Suvayu Ali wrote: >> >> IOError: [Errno 2] No such file or directory: >> '/var/tmp/imgcreate-DBVzFU/install_root/boot/initrd-2.6.31.12-174.2.3.fc12.x86_64.img' >> >> I suspect my increased size in the part command wasn't enough. I think >> I'll give up on the idea of having OOo on the live image, and try again. >> with a smaller set of packages. I 'll post back if I run into problems. > > That may be related to the switch from mkinitrd to dracut. I have been > able to build live images on f12, but haven't for a few weeks. (I mostly > do this in rawhide now.) So that may not be the answer, but you might want > to check. Are you doing the image build on f11 and not f12? Yes I'm doing this on F11. I also found something which could be an alternate explanation. When I look in /var/tmp/, I see the folder mentioned above doesn't exist. Instead there is another folder of a similar name, /var/tmp/imgcreate-yvpmqw. I have a hunch this could be a leftover from the first time the build failed. On doing `mount -l' I see that the install_root under that is still mounted. Trying to umount complains the device is busy. I could try to reboot and build again ... :-\ I will post back whether I succeed after a reboot. -- Suvayu Open source is the future. It sets us free. -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: livecd-creator failing on F11
On Sat, Feb 06, 2010 at 14:04:55 -0800, Suvayu Ali wrote: > > IOError: [Errno 2] No such file or directory: > '/var/tmp/imgcreate-DBVzFU/install_root/boot/initrd-2.6.31.12-174.2.3.fc12.x86_64.img' > > I suspect my increased size in the part command wasn't enough. I think > I'll give up on the idea of having OOo on the live image, and try again. > with a smaller set of packages. I 'll post back if I run into problems. That may be related to the switch from mkinitrd to dracut. I have been able to build live images on f12, but haven't for a few weeks. (I mostly do this in rawhide now.) So that may not be the answer, but you might want to check. Are you doing the image build on f11 and not f12? -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: livecd-creator failing on F11
On Saturday 06 February 2010 01:47 PM, Bruno Wolff III wrote: > On Sat, Feb 06, 2010 at 13:40:50 -0800, >Suvayu Ali wrote: >> >> Could I still be having disk space problems given the above information? >> I am running the livecd-creator in my home, does that make any >> difference? Although that shouldn't pose a problem as you can see above, >> I have over hundred gigs of free space in my /home. > > As I suggested in the private reply, the disk space in the file systems > looks good, but you might be running out of space on the image. You may > need to include a part command in the kickstart that reserves a larger size. Thank you Bruno, my email client seems to be acting a bit weird. Hence all the confusion. I have received your private reply, and have edited the kickstart file to reserve 3.5 gigs. It starts building but fails during the post installation scripts with this error, IOError: [Errno 2] No such file or directory: '/var/tmp/imgcreate-DBVzFU/install_root/boot/initrd-2.6.31.12-174.2.3.fc12.x86_64.img' I suspect my increased size in the part command wasn't enough. I think I'll give up on the idea of having OOo on the live image, and try again. with a smaller set of packages. I 'll post back if I run into problems. -- Suvayu Open source is the future. It sets us free. -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: livecd-creator failing on F11
On Sat, Feb 06, 2010 at 13:40:50 -0800, Suvayu Ali wrote: > > Could I still be having disk space problems given the above information? > I am running the livecd-creator in my home, does that make any > difference? Although that shouldn't pose a problem as you can see above, > I have over hundred gigs of free space in my /home. As I suggested in the private reply, the disk space in the file systems looks good, but you might be running out of space on the image. You may need to include a part command in the kickstart that reserves a larger size. -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: livecd-creator failing on F11
Apologies, my earlier reply didn't go to the list. :( On Saturday 06 February 2010 11:28 AM, Bruno Wolff III wrote: > On Sat, Feb 06, 2010 at 11:29:20 -0800, >Suvayu Ali wrote: >> >> This list goes on quite a bit. My disk has plenty of space (50 gigs) >> so that's not the problem. Any ideas what this could be? > > Are you sure that space is available on the file system with the /var > directory? I am almost 100% sure about that, $ df -h FilesystemSize Used Avail Use% Mounted on /dev/mapper/vg_bhishma-lv_root 99G 48G 50G 50% / /dev/sda2 194M 58M 127M 32% /boot /dev/mapper/vg_bhishma-LogVol02 715G 515G 164G 76% /home tmpfs 2.0G 8.7M 2.0G 1% /dev/shm $ sudo lvdisplay --- Logical volume --- LV Name/dev/vg_bhishma/lv_root VG Namevg_bhishma LV UUIDzlpJgt-B81e-YRZh-tS5o-lT9r-xmco-fO3cnX LV Write Accessread/write LV Status available # open 1 LV Size100.00 GB Current LE 25600 Segments 1 Allocation inherit Read ahead sectors auto - currently set to 256 Block device 253:0 . --- Logical volume --- LV Name/dev/vg_bhishma/LogVol02 VG Namevg_bhishma LV UUIDgJsZZZ-H8LE-oR5V-iWSA-Pkw8-x4rD-dKKAv9 LV Write Accessread/write LV Status available # open 1 LV Size725.52 GB Current LE 185733 Segments 1 Allocation inherit Read ahead sectors auto - currently set to 256 Block device 253:2 Could I still be having disk space problems given the above information? I am running the livecd-creator in my home, does that make any difference? Although that shouldn't pose a problem as you can see above, I have over hundred gigs of free space in my /home. -- Suvayu Open source is the future. It sets us free. -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: livecd-creator failing on F11
On Sat, Feb 06, 2010 at 11:29:20 -0800, Suvayu Ali wrote: > > This list goes on quite a bit. My disk has plenty of space (50 gigs) > so that's not the problem. Any ideas what this could be? Are you sure that space is available on the file system with the /var directory? -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
livecd-creator failing on F11
Hi Fedorans, I was trying to build my own 64 bit F12 XFCE LiveCD on my 64 bit F11 machine. I used the kickstarts from spin-kickstarts as my starting point. All I did was remove some packages and add some of my own. When I try building it like this is, > $ setenforce 0 > $ sudo livecd-creator -c fedora-livecd-xfce.ks -f Fedora-12-Live-XFCE > --cache=/var/cache/live 2> err.log > > Filesystem label=Fedora-12-Live-X > OS type: Linux > Block size=4096 (log=2) > Fragment size=4096 (log=2) > 196608 inodes, 786432 blocks > 7864 blocks (1.00%) reserved for the super user > First data block=0 > Maximum filesystem blocks=805306368 > 24 block groups > 32768 blocks per group, 32768 fragments per group > 8192 inodes per group > Superblock backups stored on blocks: > 32768, 98304, 163840, 229376, 294912 > > Writing inode tables: done > Creating journal (16384 blocks): done > Writing superblocks and filesystem accounting information: done > > This filesystem will be automatically checked every 34 mounts or > 180 days, whichever comes first. Use tune2fs -c or -i to override. > tune2fs 1.41.4 (27-Jan-2009) > Setting maximal mount count to -1 > Setting interval between checks to 0 seconds > filespec_eval: hash table stats: 12 elements, 12/65536 buckets used, longest > chain length 1 > Retrieving > http://fedora.mirror.iweb.ca/releases/12/Everything/x86_64/os/repodata/repomd.xml > ...OK > Retrieving http://fedora.mirror.iweb.ca/updates/12/x86_64/repodata/repomd.xml > ...OK The error says this, > mke2fs 1.41.4 (27-Jan-2009) > /usr/lib/python2.6/site-packages/imgcreate/errors.py:45: > DeprecationWarning: BaseException.message has been deprecated as of > Python 2.6 > return unicode(self.message) > Error creating Live CD : Unable to install: [('installing package > ibus-pinyin-1.2.0.20090915-1.fc12.noarch needs 25MB on the > /var/tmp/imgcreate-NHMZgo/install_root filesystem', (9, > '/var/tmp/imgcreate-NHMZgo/install_root', 25546752L)), (...), ...] This list goes on quite a bit. My disk has plenty of space (50 gigs) so that's not the problem. Any ideas what this could be? TIA -- Suvayu Open source is the future. It sets us free. -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines