From Fedora Project Wiki

(question on how to boot F10)
Line 64: Line 64:


I did the installs and behavior changed, but I still get errors. I'm now trying to more fully understand the installation script to figure out where the issue is. However, I'm trying another tack - with its own issues. See my other section 'Am I missing something?' [[User:Rmyers7|Rmyers7]]
I did the installs and behavior changed, but I still get errors. I'm now trying to more fully understand the installation script to figure out where the issue is. However, I'm trying another tack - with its own issues. See my other section 'Am I missing something?' [[User:Rmyers7|Rmyers7]]
== Am I missing something? ==
I'm trying to get this going. My current tack is not quite following the script, so I don't know if that is the issue. However, I get to a point where there seems to be some information missing here.
===What I did/where I'm at===
I don't have a SDHC reader, and haven't run out to get one yet.  I'm trying to do the install on a 2Gb slow SD card, just as a proof of concept. The card is formatted ext2, and has about 200Mb on it that I chose not to scrag - as the info here implies that the card need not be dedicated.
I ran the livecd script and the final results were a filled SD card with a 1.7G image at /LiveOS/ext3fs.img. Is this correct - does the image fill all available space, or did I run out on a 2G card?
The XO has a developer key and security is disabled.
===Something missing===
So now I have a card with an image (good???). If I insert it and on powering up, the XO simply powers up normally. If I interrupt the boot, there doesn't seem to be anything to point to for an alternate boot. 'boot sd:\LiveOS\ext3fs.img' doesn't work. There are no instructions here as to how to actually start the F10 image. How does one get into it? [[User:Rmyers7|Rmyers7]] 00:14, 6 November 2008 (UTC)

Revision as of 00:14, 6 November 2008

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)?


Thanks for the response. I'll try that. I saw the isomd5sum error, but as it seemed to me just to be just a warning for the checksum, I ignored it. I'm trying this on an XO with build 767, which is Fedora 9. My other linux box is Fedora 8. I'm going to try to do the installation on a 2Gb SD card on the Fedora 8 box. If that succeeds at least I'll know what success looks like. I didn't try this before as the 2Gb card I have handy is formatted ext2. But I looked at the script and see that it works with ext[23] as well as fat. Rmyers7

I did the installs and behavior changed, but I still get errors. I'm now trying to more fully understand the installation script to figure out where the issue is. However, I'm trying another tack - with its own issues. See my other section 'Am I missing something?' Rmyers7

Am I missing something?

I'm trying to get this going. My current tack is not quite following the script, so I don't know if that is the issue. However, I get to a point where there seems to be some information missing here.

What I did/where I'm at

I don't have a SDHC reader, and haven't run out to get one yet. I'm trying to do the install on a 2Gb slow SD card, just as a proof of concept. The card is formatted ext2, and has about 200Mb on it that I chose not to scrag - as the info here implies that the card need not be dedicated.

I ran the livecd script and the final results were a filled SD card with a 1.7G image at /LiveOS/ext3fs.img. Is this correct - does the image fill all available space, or did I run out on a 2G card?

The XO has a developer key and security is disabled.

Something missing

So now I have a card with an image (good???). If I insert it and on powering up, the XO simply powers up normally. If I interrupt the boot, there doesn't seem to be anything to point to for an alternate boot. 'boot sd:\LiveOS\ext3fs.img' doesn't work. There are no instructions here as to how to actually start the F10 image. How does one get into it? Rmyers7 00:14, 6 November 2008 (UTC)