Re: livecd-creator unmounting temp image, running daemons.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Jul 26, 2008 at 6:21 PM, Martin Langhoff
<martin.langhoff@xxxxxxxxx> wrote:
> Any hints as to what to try next, doco or source to read?

After a bit more investigation. the livecd-tools package in F9
(017.1-1.fc9) can only build F9 correctly, and the problem boils down
to incorrect placement of the .ko files in the initrd. Here is how to
repro with F9 vs F7. In my testing, F8 shows the same problems.

1 - Take the fedora-minimal.ks file and replace "rawhide" with
'fedora-9', 'fedora-7' - as follows:

--8<----8<----8<--
lang en_US.UTF-8
keyboard us
timezone US/Eastern
auth --useshadow --enablemd5
selinux --disabled
firewall --disabled
part / --size 1024

repo --name=released
--mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-9&arch=$basearch

%packages
@core
bash
kernel
passwd
policycoreutils
chkconfig
authconfig
rootfiles

%end
--8<----8<----8<--

2 - Build one minimal Liveimage for each. The image should boot to a
login prompt - though it will not allow logins as no root pw has been
set.

3 - Boot the images with qemu -m 512 --cdrom <path-to-iso> -- the F7
iso will panic

4 - mount -o loop both ISOs, in my case in /tmp/f7 /tmp/f9 and extract
the initrd in each

5 - find initrd-7 initrd-9 -type f -name '*.ko'
initrd-7/lib/mbcache.ko
initrd-7/lib/sr_mod.ko
initrd-7/lib/msdos.ko
initrd-7/lib/ext3.ko
initrd-7/lib/ehci-hcd.ko
initrd-7/lib/uhci-hcd.ko
initrd-7/lib/pata_pcmcia.ko
initrd-7/lib/mmc_block.ko
initrd-7/lib/jbd.ko
(...snipped...)
initrd-9/lib/modules/2.6.25-14.fc9.i686/pata_jmicron.ko
initrd-9/lib/modules/2.6.25-14.fc9.i686/ata_generic.ko
initrd-9/lib/modules/2.6.25-14.fc9.i686/pata_qdi.ko
initrd-9/lib/modules/2.6.25-14.fc9.i686/sata_vsc.ko
initrd-9/lib/modules/2.6.25-14.fc9.i686/sata_sil24.ko
initrd-9/lib/modules/2.6.25-14.fc9.i686/pata_hpt366.ko

Additionally, I have a F7 liveCD built elsewhere (with an earlier,
patched version of livecd-tools) that boots successfully - the initrd
of that liveCD looks like
find initrd-7-good -type f -name '*.ko' | head
initrd-7-good/lib/modules/2.6.23.1-21.fc7/pata_jmicron.ko
initrd-7-good/lib/modules/2.6.23.1-21.fc7/ata_generic.ko
initrd-7-good/lib/modules/2.6.23.1-21.fc7/pata_qdi.ko
initrd-7-good/lib/modules/2.6.23.1-21.fc7/sata_vsc.ko
initrd-7-good/lib/modules/2.6.23.1-21.fc7/sata_sil24.ko
initrd-7-good/lib/modules/2.6.23.1-21.fc7/pata_hpt366.ko
initrd-7-good/lib/modules/2.6.23.1-21.fc7/mbcache.ko
initrd-7-good/lib/modules/2.6.23.1-21.fc7/sata_sx4.ko
initrd-7-good/lib/modules/2.6.23.1-21.fc7/pata_serverworks.ko
initrd-7-good/lib/modules/2.6.23.1-21.fc7/sr_mod.ko

I am not sure why this is happening, but I keep working on this.

regards,



martin
-- 
 martin.langhoff@xxxxxxxxx
 martin@xxxxxxxxxx -- School Server Architect
 - ask interesting questions
 - don't get distracted with shiny stuff - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux