Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
LiveCD Remaster -- live.gcloop problems
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
tmr777
Tux's lil' helper
Tux's lil' helper


Joined: 16 Jan 2003
Posts: 101
Location: Chicago, IL

PostPosted: Thu Jan 15, 2004 12:32 am    Post subject: LiveCD Remaster -- live.gcloop problems Reply with quote

Gentlepersons,

Anyone out there know the syntax for creating this for PPC. We are using cloop-0.68-5 (the live.gcloop on cd claims 0.68 when mounted) with the following syntax:

To make live.gcloop (all three iterations produce bad live.gcloop):

mkisofs -R -U -V "TMR" -hide-rr-moved -cache-inodes -no-bak -pad ext2_mount | ./create_compressed_fs - 65536 > live.gcloop
NOPE!
mkisofs -R -l -V "TMR" -hide-rr-moved -hfs -v ext2_mount/ | ./create_compressed_fs - 65536 > live.gcloop
NOPE!
mkisofs -R -l -V "TMR" -hide-rr-moved -v ext2_mount/ | ./create_compressed_fs - 65536 > live.gcloop
NOPE!!

To make ISO:
mkisofs -r -T --netatalk -hfs -probe -map /mnt/livecd/remaster/boot/map.hfs -part -no-desktop -hfs-bless /mnt/livecd/remaster/boot -hfs-volid Gentoo-Installer/PPC -o /
mnt/livecd/iso/livecd-ppc-tmr.iso /mnt/livecd/remaster/

When you boot the cd, the initrd and vmlinuz load fine but it fails mounting the clooped device with invalid argument.

Can the fine gentleman who put this togther please enlighten me as to the syntax used to create live.gcloop?

The only vague reference I find to this is in Japanese:
http://www.gentoo.gr.jp/ml/users/msg00959.html
...seems to be trying something else here though...

Any help appreciated.

Regards,

_Terry
Back to top
View user's profile Send private message
pvdabeel
Retired Dev
Retired Dev


Joined: 25 Mar 2003
Posts: 188
Location: Belgium

PostPosted: Thu Jan 15, 2004 9:36 am    Post subject: Reply with quote

Hey,

There are two different possibilities.

- live environment is ext2 compressed with gcloop
or
- live environment is a non-compressed iso

but not both at the same time :-)

Here's how things work in both cases:

- kernel boots and mounts initrd
- /linuxrc on the initrd gets started with pid 1 (disable automatic initrd support in the kernel because that screws with the pid number)
- linuxrc either:
* loop mounts the iso and symlinks/copies stuff from it to a ramdisk
* modprobes gcloop and mounts the loop.gcloop using losetup etc.

Make sure to use the right gcloop (different one needed for 2.6) and initrd with correct linuxrc.

My scripts can be found in cvs cvs://gentoo-src/pvdabeel/ and on http://www.metadistribution.org/gentoo/

Pieter
Back to top
View user's profile Send private message
tmr777
Tux's lil' helper
Tux's lil' helper


Joined: 16 Jan 2003
Posts: 101
Location: Chicago, IL

PostPosted: Thu Jan 15, 2004 6:34 pm    Post subject: Reply with quote

Thanks very much Pieter - your build scripts are of excellent quality and nicely laid out.

Are there plans to merge this with catalyst to produce livecd's for all arch's?

Thanks again.

_Terry
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum