Trouble running script
Wed Nov 5 17:29:00 UTC 2008
I recently purchase a Sandisk SD card to try to do the Fedora 10 installation on my XO. I could not follow the installation instructions as I have an older SD card reader that will not recognize the 4Gb SDHC card.
So, I tried to do a self installation procedure on the XO. I copied the F10 live image to a USB stick, and inserted it and the SD card in thee XO. I downloaded the live iso script and attempted to run it. This failed with lots of 'no such file or directory' errors. The 'already set up' error is because this log was a second attempt, so that I could capture the log. Log follows:
bash-3.2# bash livecd-iso-to-disk.sh --xo --overlay-size-mb 320 --swap-size-mb 256 /media/PNY4/Fedora-10-Snap3-i686-Live/F10-Snap3-i686-Live.iso /dev/mmcblk0p1 Verifying image... livecd-iso-to-disk.sh: line 304: checkisomd5: command not found Are you SURE you want to continue? Press Enter to continue or ctrl-c to abort y Already set up as live image. Deleting old OS in fifteen seconds... Copying live image to USB stick mount: unknown filesystem type 'squashfs' cp: cannot stat `/media/cdtmp.1T1vVo/LiveOS/ext3fs.img': No such file or directory Cleaning up to exit... umount: /media/cdtmp.1T1vVo: not mounted umount: /media/cdtmp.1T1vVo: not mounted cp: cannot stat `/media/cdtmp.1T1vVo/isolinux/*': No such file or directory Updating boot config file sed: can't read /media/usbdev.CifSx0/syslinux/isolinux.cfg: No such file or directory Initializing persistent overlay file dd: opening `/media/usbdev.CifSx0/LiveOS/overlay-SAN4fedora-4911-BF89': No such file or directory sed: can't read /media/usbdev.CifSx0/syslinux/isolinux.cfg: No such file or directory sed: can't read /media/usbdev.CifSx0/syslinux/isolinux.cfg: No such file or directory Initializing swap file dd: opening `/media/usbdev.CifSx0/LiveOS/swap.img': No such file or directory /media/usbdev.CifSx0/LiveOS/swap.img: No such file or directory Setting up /boot/olpc.fth file egrep: /media/usbdev.CifSx0/syslinux/isolinux.cfg: No such file or directory Installing boot loader mv: cannot stat `/media/usbdev.CifSx0/syslinux/isolinux.cfg': No such file or directory umount: /media/cdtmp.1T1vVo: not mounted umount: /media/usbdev.CifSx0: not mounted USB stick set up as live image!
Any work arounds, or do I have to go out and get a SDHC reader? Rmyers7 17:29, 5 November 2008 (UTC) rmyers7 at mindspring dot com
a little follow-up
The following is now on the SD card:
- the volume name I set with mkfs.msdos
- /.olpc.store directory and contents (not relevant to this, but shows card is ok)
- empty /LiveOS directory
- /syslinux directory with ldlinux.sys in it
Should the live image simply be copied to /LiveOS? I've never done this before, so I don't know what correct looks like. Rmyers7
Wed Nov 5 18:30:08 UTC 2008
User:jlaska - To address the No such file messages it appears you'll need to install some missing packages. Try:
# yum install isomd5sum squashfs-tools
Also, what type of system are you running the script on (Fedora8, Fedora9, Fedora10)?