Hello list I thought I would give Kadischi a spin on my rawhide box today, using the wiki instuctions to make an FC5 iso from a locally generated repo but didnt succeed. all build requires have been met. I also tried via rawhide mirror which had the same resulting errors shown in the output below, the resulting iso panics on boot
[root@dexterFC5t1 kadischi]# ./autogen.sh Copying file mkinstalldirs Copying file po/Makefile.in.in
Please add the files codeset.m4 gettext.m4 glibc21.m4 iconv.m4 isc-posix.m4 lcmessage.m4 progtest.m4 from the /usr/share/aclocal directory to your autoconf macro directory or directly to your aclocal.m4 file. You will also need config.guess and config.sub, which you can get from ftp://ftp.gnu.org/pub/gnu/config/.
configure.ac: installing `./install-sh'; error while making link: Operation not permitted configure.ac: installing `./missing'; error while making link: Operation not permitted eject_live_cd/Makefile.am: installing `./depcomp'; error while making link: Operation not permitted configure: error: cannot find install-sh or install.sh in . ./.. ./../..
Now type 'make' to compile kadischi. [root@dexterFC5t1 kadischi]# make make: *** No targets specified and no makefile found. Stop. [root@dexterFC5t1 kadischi]#
ok thats a non-starter am I missing something here?, I had more success with the rpm route from the wiki. and now to test ...
[root@dexterFC5t1 calamari]# kadischi /calamari/Fedora/rpms /abyss/fedora-live.iso --kickstart=/media/DEXTER-USB/minimal-livecd-dex.cfg [kadischi]: Checking dependencies for Kadischi [kadischi]: Checking UID for root access [kadischi]: Starting kadischi with root access... [kadischi]: Trying to validate your repository [kadischi]: Repository seems to be OK. [kadischi]: Using buildstamp file /etc/kadischi/buildstamp. [kadischi]: Product path set to Fedora. [kadischi]: Path /tmp/product/.buildstamp already exists, temporarly moving to /tmp/kadischi.xrzr-6/.buildstamp
[kadischi] : running anaconda
Probing for video card: ATI Technologies Inc RV280 [Radeon 9200] Starting graphical installation...
cannot determine current run level setsebool: SELinux is disabled.
[kadischi] : anaconda has finished its job
[kadischi]: running post installation scripts [kadischi]: Prelinking.. cp: cannot stat `/kadischi/scanswap': No such file or directory cp: cannot stat `/kadischi/eject-live-cd': No such file or directory cannot determine current run level setsebool: SELinux is disabled. [kadischi]: Skipping user firewall and services configuration.. [kadischi]: Not going to interactive user accounts configuration.. [kadischi]: estimated /abyss/fedora-live.iso size is between 153146452.308 and 165908656.667 bytes [kadischi]: making initrd image cp: cannot stat `/kadischi/find-live-cd': No such file or directory /usr/bin/find: kernel/drivers/cdrom: No such file or directory /usr/bin/find: kernel/drivers/ide/ide-cd.ko: No such file or directory 20479 blocks [kadischi]: 2.6.15-1.2054_FC5 initrd made successfully! [kadischi]: moving files that should be on tmpfs [kadischi]: compressing the tree (order a pizza 'cause this will take a while) Creating little endian 3.0 filesystem on /tmp/kadischi.xrzr-6/compressed/kadischi.sqsh, block size 65536.
Little endian filesystem, data block size 65536, compressed data, compressed metadata, no fragments Filesystem size 166759.77 Kbytes (162.85 Mbytes) 36.65% of uncompressed filesystem size (455064.05 Kbytes) Inode table size 319980 bytes (312.48 Kbytes) 34.08% of uncompressed inode table size (938926 bytes) Directory table size 252059 bytes (246.15 Kbytes) 49.80% of uncompressed directory table size (506160 bytes) Number of duplicate files found 2461 Number of inodes 25797 Number of files 23013 Number of symbolic links 526 Number of device nodes 0 Number of fifo nodes 0 Number of socket nodes 0 Number of directories 2258 Number of uids 2 root (0) rpm (37) Number of gids 6 mail (12) slocate (21) nobody (99) tty (5) smmsp (51) utmp (22) [kadischi]: installing boot & config files in compressed tree [kadischi]: removing uncompressed tree [kadischi]: creating iso image /abyss/fedora-live.iso [kadischi]: removing builddir. [kadischi]: Finished successfully [root@dexterFC5t1 calamari]#
as stated the iso panics can anyone provide any info on these errors etc. thanks.
dexter wrote:
Hello list I thought I would give Kadischi a spin on my rawhide box today, using the wiki instuctions to make an FC5 iso from a locally generated repo but didnt succeed. all build requires have been met. I also tried via rawhide mirror which had the same resulting errors shown in the output below, the resulting iso panics on boot
[root@dexterFC5t1 kadischi]# ./autogen.sh Copying file mkinstalldirs Copying file po/Makefile.in.in
Please add the files codeset.m4 gettext.m4 glibc21.m4 iconv.m4 isc-posix.m4 lcmessage.m4 progtest.m4 from the /usr/share/aclocal directory to your autoconf macro directory or directly to your aclocal.m4 file. You will also need config.guess and config.sub, which you can get from ftp://ftp.gnu.org/pub/gnu/config/.
configure.ac: installing `./install-sh'; error while making link: Operation not permitted configure.ac: installing `./missing'; error while making link: Operation not permitted eject_live_cd/Makefile.am: installing `./depcomp'; error while making link: Operation not permitted configure: error: cannot find install-sh or install.sh in . ./.. ./../..
Now type 'make' to compile kadischi. [root@dexterFC5t1 kadischi]# make make: *** No targets specified and no makefile found. Stop. [root@dexterFC5t1 kadischi]#
The Operation not permitted messages seem to suggest you are not running with UID 0. You are positive the filesystem is not read-only or some other problem?
The rest of your errors are due to the autogen.sh problems above.
J. Hartline
On Thu September 14 2006 05:54, Jasper O'neal Hartline wrote:
dexter wrote:
Hello list I thought I would give Kadischi a spin on my rawhide box today, using the wiki instuctions to make an FC5 iso from a locally generated repo but didnt succeed. all build requires have been met. I also tried via rawhide mirror which had the same resulting errors shown in the output below, the resulting iso panics on boot
[root@dexterFC5t1 kadischi]# ./autogen.sh Copying file mkinstalldirs Copying file po/Makefile.in.in
Please add the files codeset.m4 gettext.m4 glibc21.m4 iconv.m4 isc-posix.m4 lcmessage.m4 progtest.m4 from the /usr/share/aclocal directory to your autoconf macro directory or directly to your aclocal.m4 file. You will also need config.guess and config.sub, which you can get from ftp://ftp.gnu.org/pub/gnu/config/.
configure.ac: installing `./install-sh'; error while making link: Operation not permitted configure.ac: installing `./missing'; error while making link: Operation not permitted eject_live_cd/Makefile.am: installing `./depcomp'; error while making link: Operation not permitted configure: error: cannot find install-sh or install.sh in . ./.. ./../..
Now type 'make' to compile kadischi. [root@dexterFC5t1 kadischi]# make make: *** No targets specified and no makefile found. Stop. [root@dexterFC5t1 kadischi]#
The Operation not permitted messages seem to suggest you are not running with UID 0. You are positive the filesystem is not read-only or some other problem?
The rest of your errors are due to the autogen.sh problems above.
J. Hartline
well no I'm certainly root here : [root@dexterFC5t1 ~]# id uid=0(root) gid=0(root) groups=0(root),1(bin),2(daemon),3(sys),4(adm),6 (disk),10(wheel) context=user_u:system_r:unconfined_t
the manual build system here is bust for now :-( (till tool chain reinstall) just built the rpm again in the root build tree as opposed to plain user last time with a bit more success this time when generating an iso there are less errors ie only this snip remains : (iso still panics)
[...snip...] [kadischi]: estimated /abyss/fedora-live.iso size is between 153146452.308 and 165908656.667 bytes [kadischi]: making initrd image /usr/bin/find: kernel/drivers/cdrom: No such file or directory /usr/bin/find: kernel/drivers/ide/ide-cd.ko: No such file or directory 20697 blocks [kadischi]: 2.6.15-1.2054_FC5 initrd made successfully! [...snip...]
I shall tinker some more on this stuff :-) thanks for comming ...dex
___________________________________________________________ All new Yahoo! Mail "The new Interface is stunning in its simplicity and ease of use." - PC Magazine http://uk.docs.yahoo.com/nowyoucan.html
On Thu September 14 2006 16:20, dexter wrote:
On Thu September 14 2006 05:54, Jasper O'neal Hartline wrote:
dexter wrote:
Hello list I thought I would give Kadischi a spin on my rawhide box today, using the wiki instuctions to make an FC5 iso from a locally generated repo but didnt succeed. all build requires have been met. I also tried via rawhide mirror which had the same resulting errors shown in the output below, the resulting iso panics on boot
[root@dexterFC5t1 kadischi]# ./autogen.sh Copying file mkinstalldirs Copying file po/Makefile.in.in
Please add the files codeset.m4 gettext.m4 glibc21.m4 iconv.m4 isc-posix.m4 lcmessage.m4 progtest.m4 from the /usr/share/aclocal directory to your autoconf macro directory or directly to your aclocal.m4 file. You will also need config.guess and config.sub, which you can get from ftp://ftp.gnu.org/pub/gnu/config/.
configure.ac: installing `./install-sh'; error while making link: Operation not permitted configure.ac: installing `./missing'; error while making link: Operation not permitted eject_live_cd/Makefile.am: installing `./depcomp'; error while making link: Operation not permitted configure: error: cannot find install-sh or install.sh in . ./.. ./../..
Now type 'make' to compile kadischi. [root@dexterFC5t1 kadischi]# make make: *** No targets specified and no makefile found. Stop. [root@dexterFC5t1 kadischi]#
The Operation not permitted messages seem to suggest you are not running with UID 0. You are positive the filesystem is not read-only or some other problem?
The rest of your errors are due to the autogen.sh problems above.
J. Hartline
well no I'm certainly root here : [root@dexterFC5t1 ~]# id uid=0(root) gid=0(root) groups=0(root),1(bin),2(daemon),3(sys),4(adm),6 (disk),10(wheel) context=user_u:system_r:unconfined_t
the manual build system here is bust for now :-( (till tool chain reinstall) just built the rpm again in the root build tree as opposed to plain user last time with a bit more success this time when generating an iso there are less errors ie only this snip remains : (iso still panics)
[...snip...] [kadischi]: estimated /abyss/fedora-live.iso size is between 153146452.308 and 165908656.667 bytes [kadischi]: making initrd image /usr/bin/find: kernel/drivers/cdrom: No such file or directory /usr/bin/find: kernel/drivers/ide/ide-cd.ko: No such file or directory 20697 blocks [kadischi]: 2.6.15-1.2054_FC5 initrd made successfully! [...snip...]
I shall tinker some more on this stuff :-) thanks for comming ...dex
hello list for the record my problems with kadischi are now sorted, I managed to spin the minimal kickstart config last nite ;-) from a rawhide mirror and it booted up!
I was getting these errors during the initrd build:
/usr/bin/find: kernel/drivers/cdrom: No such file or directory /usr/bin/find: kernel/drivers/ide/ide-cd.ko: No such file or directory
After modifying kadischi.py to leave its workings around, I looked in the offending dir's to find no cdrom.ko or ide-cd.ko (surprised) I dont remember kernel_2054_FC5 having these built-in?? kernel_2129_FC5 is the same on another box I have, no CD modules are in place, so I gave kernel_2647.fc6 rawhide a spin and the modules were found were they should be and hence a successfull build & boot. (whoo hoo)(sorry this a respectable list :-) gonna try some customisations next, its great to finally get a fedora live CD but I want liveusb & a toram option but not being a knowledgeable coder I may have to wait (or learn) did I say a thanks to the Kadischi Contributor's THANKS ...dex
I stand on the shoulders of giants.
___________________________________________________________ All new Yahoo! Mail "The new Interface is stunning in its simplicity and ease of use." - PC Magazine http://uk.docs.yahoo.com/nowyoucan.html
On 9/18/06, dexter ddmbox2000@yahoo.co.uk wrote:
fedora live CD but I want liveusb & a toram option but not being a knowledgeable coder I may have to wait (or learn) did I say a thanks to the Kadischi Contributor's THANKS ...dex
Hello good to hear it was successful. I'm interested int he liveusb as well, i'll do some research on that as well. If you found something interesting on it, do spread it with us :)
Chitlesh.
dexter wrote:
hello list for the record my problems with kadischi are now sorted, I managed to spin the minimal kickstart config last nite ;-) from a rawhide mirror and it booted up!
I was getting these errors during the initrd build:
/usr/bin/find: kernel/drivers/cdrom: No such file or directory /usr/bin/find: kernel/drivers/ide/ide-cd.ko: No such file or directory
After modifying kadischi.py to leave its workings around, I looked in the offending dir's to find no cdrom.ko or ide-cd.ko (surprised) I dont remember kernel_2054_FC5 having these built-in?? kernel_2129_FC5 is the same on another box I have, no CD modules are in place, so I gave kernel_2647.fc6 rawhide a spin and the modules were found were they should be and hence a successfull build & boot.
The Fedora Core 5 kernels had these built in. The Fedora Core RAWHIDE kernels do not. They are modular, hence the messages, however this will not keep the Fedora Core 5 CDs from booting.
(whoo hoo)(sorry this a respectable list :-) gonna try some customisations next, its great to finally get a fedora live CD but I want liveusb & a toram option but not being a knowledgeable coder I may have to wait (or learn)
My website has a working 256MB USB flash image.. it is LiveUSB. You would simply need to mount the Ext2 filesystem at it's offset to view the handmade initrd, and modules that were preloaded, etc. I use Kadischi's same method of bind mounting on tmpfs, etc just tweaked for LiveUSB.
One thing I cannot get done correctly, doing the LiveUSB stuff automatically, by script is grub-installing, or via the Grub shell.. installing the bootloader images correctly.
I _have succeeded_ by using the Grub shell interactively and issuing this: device (hd0) /dev/loop0 root (hd0,0) setup (hd0) quit Does in fact install them correctly. The offset for the LiveUSB image here: http://autopsy.liveprojects.info/LIVE/USB/ is exactly 63 secotrs. This means the mount -o option would be offset=32256 to mount the Ext2 filesystem. Then you can poke around and see how I've done it, with stock Fedora Core packages, unmodified.
J. Hartline
On Mon September 18 2006 22:33, Jasper Hartline wrote:
Does in fact install them correctly. The offset for the LiveUSB image here: http://autopsy.liveprojects.info/LIVE/USB/ is exactly 63 secotrs. This means the mount -o option would be offset=32256 to mount the Ext2 filesystem. Then you can poke around and see how I've done it, with stock Fedora Core packages, unmodified.
J. Hartline
hello jasper
errm I had trouble using your instuctions and mounting the image with [root@dexterFC5t1 ~]# mount -v -t ext2 -o offset=32256 SDA-256MB-FEDORA-CORE-5-BASED-i386-LIVEUSB.IMG tmp gave an error but was mounted with the help of file
[root@dexterFC5t1 ~]# file -s SDA-256MB-FEDORA-CORE-5-BASED-i386-LIVEUSB.IMG SDA-256MB-FEDORA-CORE-5-BASED-i386-LIVEUSB.IMG: x86 boot sector; partition 1: ID=0x83, starthead 1, startsector 61, 493795 sectors, extended partition table (last)\011, code offset 0x48
startsector 61 and 61*512=31232 [root@dexterFC5t1 ~]# mount -v -t ext2 -o offset=31232 SDA-256MB-FEDORA-CORE-5-BASED-i386-LIVEUSB.IMG tmp mount: going to use the loop device /dev/loop0 SDA-256MB-FEDORA-CORE-5-BASED-i386-LIVEUSB.IMG on /root/tmp type ext2 (rw,loop=/dev/loop0,offset=31232)
did it great smashing super :-) ...dex
___________________________________________________________ All new Yahoo! Mail "The new Interface is stunning in its simplicity and ease of use." - PC Magazine http://uk.docs.yahoo.com/nowyoucan.html
dexter wrote:
Does in fact install them correctly. The offset for the LiveUSB image here: http://autopsy.liveprojects.info/LIVE/USB/ is exactly 63 secotrs. This means the mount -o option would be offset=32256 to mount the Ext2 filesystem. Then you can poke around and see how I've done it, with stock Fedora Core packages, unmodified.
J. Hartline
hello jasper
errm I had trouble using your instuctions and mounting the image with [root@dexterFC5t1 ~]# mount -v -t ext2 -o offset=32256 SDA-256MB-FEDORA-CORE-5-BASED-i386-LIVEUSB.IMG tmp gave an error but was mounted with the help of file
[root@dexterFC5t1 ~]# file -s SDA-256MB-FEDORA-CORE-5-BASED-i386-LIVEUSB.IMG SDA-256MB-FEDORA-CORE-5-BASED-i386-LIVEUSB.IMG: x86 boot sector; partition 1: ID=0x83, starthead 1, startsector 61, 493795 sectors, extended partition table (last)\011, code offset 0x48
startsector 61 and 61*512=31232 [root@dexterFC5t1 ~]# mount -v -t ext2 -o offset=31232 SDA-256MB-FEDORA-CORE-5-BASED-i386-LIVEUSB.IMG tmp mount: going to use the loop device /dev/loop0 SDA-256MB-FEDORA-CORE-5-BASED-i386-LIVEUSB.IMG on /root/tmp type ext2 (rw,loop=/dev/loop0,offset=31232)
did it great smashing super :-) ...dex
Doh! Yes, 61 sectors, not 63. ;-)
J. Hartline
livecd@lists.fedoraproject.org