Ask Your Question
2

What command-line syntax creates live USB media from a Fedora 19 PPC image?

asked 2013-09-17 02:44:05 -0600

hawkfeather gravatar image

updated 2014-09-28 15:30:23 -0600

mether gravatar image

I'm trying to create a live Fedora 19 USB drive for use on PPC architecture. The liveusb-creator app fails to do it, and gives the error messages below. If I'm not mistaken, live USB media as well as live disks can be created using the command-line, but I don't know the syntax.


Here is the content of the file /tmp/liveusb-creator.log:

/sbin/dosfslabel /dev/sdb1 LIVE0x41: Dirty bit is set. Fs was not properly unmounted and some data may be corrupt. Automatically removing dirty bit. checkisomd5 "/run/media/twofeathers/EHD/Fedora-19-ppc64-DVD.iso"

/sbin/e2label /dev/sdb1 LIVE

checkisomd5 "/run/media/twofeathers/EHD/Fedora-19-ppc64-DVD.iso"

/sbin/e2label /dev/sdb1 LIVE

checkisomd5 "/run/media/twofeathers/EHD/Fedora-19-ppc64-DVD.iso"

checkisomd5 "/home/twofeathers/Fedora-19-ppc64-DVD.iso"Press [Esc] to abort check.

The media check is complete, the result is: PASS.

It is OK to use this media.

mount -o loop,ro "/home/twofeathers/Fedora-19-ppc64-DVD.iso" /tmp/tmpwA4IOM

cp /tmp/tmpwA4IOM/LiveOS/squashfs.img '/media/e6052291-9682-42ad-93dc-4a596d151468/LiveOS/squashfs.img'

cp /tmp/tmpwA4IOM/isolinux/* '/media/e6052291-9682-42ad-93dc-4a596d151468/isolinux' cp: cannot stat ‘/tmp/tmpwA4IOM/isolinux/*’: No such file or directory

/sbin/e2label /dev/sdb1 LIVE

checkisomd5 "/home/twofeathers/Fedora-19-ppc64-DVD.iso"

checkisomd5 "/home/twofeathers/Fedora-19-ppc64-DVD.iso"Press [Esc] to abort check.

The media check is complete, the result is: PASS.

It is OK to use this media.

mount -o loop,ro "/home/twofeathers/Fedora-19-ppc64-DVD.iso" /tmp/tmpcfdRpB

cp /tmp/tmpcfdRpB/LiveOS/squashfs.img '/run/media/twofeathers/7b3651a1-23e8-4867-a7c1-043b2846a998/LiveOS/squashfs.img'

cp /tmp/tmpcfdRpB/isolinux/* '/run/media/twofeathers/7b3651a1-23e8-4867-a7c1-043b2846a998/isolinux' cp: cannot stat ‘/tmp/tmpcfdRpB/isolinux/*’: No such file or directory

edit retag flag offensive close merge delete

Comments

The above output show that the liveusb-creator software expects to find a directory named isolinux inside the /tmp/ directory. After extracting the Fedora-19-ppc64-DVD.iso image onto a disk, I saw that no directory named isolinux existed. Apparently that's why the liveusb-creator app exited w\ a failure message.

hawkfeather gravatar imagehawkfeather ( 2013-09-17 21:09:43 -0600 )edit

PPC is a different hardware architecture from x86. It has a different boot mechanism, and requires its own boot-loader. Isolinux is used in the x86 media. I’m afraid I don’t know enough about PPC to help, but despite the current answers, don’t expect the popular documented methods to work unless they explicitly mention PPC.

Gareth Jones gravatar imageGareth Jones ( 2013-09-18 08:54:59 -0600 )edit

2 Answers

Sort by » oldest newest most voted
2

answered 2013-09-18 08:24:34 -0600

sea gravatar image

You're trying to copy from local directory to the mounted DvD. Obviously it fails, as "cp" wont do writings.

Instead, try as root:

dd bs=4M if=/home/twofeathers/Fedora-19-ppc64-DVD.iso of=/dev/sdX

where sdX refers to your usbstick.

hth

edit flag offensive delete link more

Comments

Just for clarification, the above output containing the information from the cp command was from the liveusb-creator app. I did not try to use the cp command manually and there was no DVD disk mounted. The liveusb-creator app mounts the ISO image in the /tmp/ directory, then looks therein for a directory named isolinux to copy to the USB stick, but that directory doesn't exist. But I'll try your suggested syntax for the dd command and see what happens.

hawkfeather gravatar imagehawkfeather ( 2013-09-18 12:02:34 -0600 )edit

Any luck yet? :)

sea gravatar imagesea ( 2013-09-18 13:04:51 -0600 )edit

Yes, the syntax you suggested using the dd command successfully created USB installation media from the above-mentioned Fedora PPC image. Thanx much:]

hawkfeather gravatar imagehawkfeather ( 2013-09-20 12:32:19 -0600 )edit

You're welcome :)

sea gravatar imagesea ( 2013-09-24 16:39:32 -0600 )edit
0

answered 2013-09-17 22:58:51 -0600

gaurav9 gravatar image

you can refer centos wiki http://wiki.centos.org/HowTos/InstallFromUSBkey which will be same for fedora

edit flag offensive delete link more

Question Tools

Stats

Asked: 2013-09-17 02:44:05 -0600

Seen: 1,029 times

Last updated: Sep 18 '13