* [gentoo-catalyst] Seek for your advices : Make Gentoo LiveCD for ppc64le @ 2015-10-28 5:26 Kevin Zhao 2015-10-28 12:05 ` [gentoo-catalyst] Re: [gentoo-releng] " Jorge Manuel B. S. Vicetto 2015-12-07 8:39 ` [gentoo-catalyst] " Kevin Zhao 0 siblings, 2 replies; 8+ messages in thread From: Kevin Zhao @ 2015-10-28 5:26 UTC (permalink / raw To: Mike Frysinger, gentoo-catalyst, gentoo-releng [-- Attachment #1: Type: text/plain, Size: 484 bytes --] Hi Mike && Hi Folks, First I want to thanks for your help and advices , we have finish make gentoo stage3 and it will be tests by our community. Now I am working for gentoo LiveCD using stage3 . After searching gentoo website, I can not find a very clearly method to make gentoo LiveCD . So ,if conveniently , could you give me some advices or some websites which cover the methods to LiveCD of other arch(e.g : x86 ,amd64 etc..) Thanks very much ~ :-) [-- Attachment #2: Type: text/html, Size: 578 bytes --] ^ permalink raw reply [flat|nested] 8+ messages in thread
* [gentoo-catalyst] Re: [gentoo-releng] Seek for your advices : Make Gentoo LiveCD for ppc64le 2015-10-28 5:26 [gentoo-catalyst] Seek for your advices : Make Gentoo LiveCD for ppc64le Kevin Zhao @ 2015-10-28 12:05 ` Jorge Manuel B. S. Vicetto 2015-10-30 15:02 ` Kevin Zhao 2015-12-07 8:39 ` [gentoo-catalyst] " Kevin Zhao 1 sibling, 1 reply; 8+ messages in thread From: Jorge Manuel B. S. Vicetto @ 2015-10-28 12:05 UTC (permalink / raw To: gentoo-releng; +Cc: Mike Frysinger, gentoo-catalyst On Wed, Oct 28, 2015 at 5:26 AM, Kevin Zhao <kevin.zhaoshuai@gmail.com> wrote: > Hi Mike && Hi Folks, Hi Kevin. > First I want to thanks for your help and advices , we have finish make > gentoo stage3 and it will be tests by our community. > Now I am working for gentoo LiveCD using stage3 . After searching > gentoo website, I can not find a very clearly method to make gentoo LiveCD . > So ,if conveniently , could you give me some advices or some websites > which cover the methods to LiveCD of other arch(e.g : x86 ,amd64 etc..) > Thanks very much ~ :-) You can find in the releng repo the specs we use to build all the stages and CDs for all the arches[1]. In particular you might want to use something like the install-cd specs for amd64[2][3] as examples. We also have some scripts in the repo we use for the automated builds in some arches[4]. Feel free to poke us through e-mail or pop into #gentoo-releng in the freenode network. [1] - https://gitweb.gentoo.org/proj/releng.git/ [2] - https://gitweb.gentoo.org/proj/releng.git/tree/releases/weekly/specs/amd64/installcd-stage1.spec [3] - https://gitweb.gentoo.org/proj/releng.git/tree/releases/weekly/specs/amd64/installcd-stage2-minimal.spec [4] - https://gitweb.gentoo.org/proj/releng.git/tree/tools Best regards, Jorge Manuel B. S. Vicetto Gentoo developer RelEng Lead ^ permalink raw reply [flat|nested] 8+ messages in thread
* [gentoo-catalyst] Re: [gentoo-releng] Seek for your advices : Make Gentoo LiveCD for ppc64le 2015-10-28 12:05 ` [gentoo-catalyst] Re: [gentoo-releng] " Jorge Manuel B. S. Vicetto @ 2015-10-30 15:02 ` Kevin Zhao 2015-10-31 19:55 ` Brian Dolbec 0 siblings, 1 reply; 8+ messages in thread From: Kevin Zhao @ 2015-10-30 15:02 UTC (permalink / raw To: gentoo-releng; +Cc: Mike Frysinger, gentoo-catalyst [-- Attachment #1: Type: text/plain, Size: 1862 bytes --] Hi Jorge, Really thanks for your suggestion😁 I see in the spec that the filesystem type is squashFS. And I want to compress the Gentoo stage3 of ppc64le to the squashfs filesystem ,so that I can control the image size. Do you have any tips for me ? Thanks very much! 2015-10-28 20:05 GMT+08:00 Jorge Manuel B. S. Vicetto < jmbsvicetto@gentoo.org>: > On Wed, Oct 28, 2015 at 5:26 AM, Kevin Zhao <kevin.zhaoshuai@gmail.com> > wrote: > > Hi Mike && Hi Folks, > > Hi Kevin. > > > First I want to thanks for your help and advices , we have finish > make > > gentoo stage3 and it will be tests by our community. > > Now I am working for gentoo LiveCD using stage3 . After > searching > > gentoo website, I can not find a very clearly method to make gentoo > LiveCD . > > So ,if conveniently , could you give me some advices or some > websites > > which cover the methods to LiveCD of other arch(e.g : x86 ,amd64 etc..) > > Thanks very much ~ :-) > > You can find in the releng repo the specs we use to build all the > stages and CDs for all the arches[1]. In particular you might want to > use something like the install-cd specs for amd64[2][3] as examples. > We also have some scripts in the repo we use for the automated builds > in some arches[4]. > Feel free to poke us through e-mail or pop into #gentoo-releng in the > freenode network. > > [1] - https://gitweb.gentoo.org/proj/releng.git/ > [2] - > https://gitweb.gentoo.org/proj/releng.git/tree/releases/weekly/specs/amd64/installcd-stage1.spec > [3] - > https://gitweb.gentoo.org/proj/releng.git/tree/releases/weekly/specs/amd64/installcd-stage2-minimal.spec > [4] - https://gitweb.gentoo.org/proj/releng.git/tree/tools > > Best regards, > > Jorge Manuel B. S. Vicetto > Gentoo developer > RelEng Lead > > [-- Attachment #2: Type: text/html, Size: 2867 bytes --] ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-catalyst] Re: [gentoo-releng] Seek for your advices : Make Gentoo LiveCD for ppc64le 2015-10-30 15:02 ` Kevin Zhao @ 2015-10-31 19:55 ` Brian Dolbec 2015-11-01 7:41 ` Kevin Zhao 0 siblings, 1 reply; 8+ messages in thread From: Brian Dolbec @ 2015-10-31 19:55 UTC (permalink / raw To: gentoo-catalyst On Fri, 30 Oct 2015 23:02:57 +0800 Kevin Zhao <kevin.zhaoshuai@gmail.com> wrote: > Hi Jorge, > Really thanks for your suggestion😁 > I see in the spec that the filesystem type is squashFS. And I > want to compress the Gentoo stage3 of ppc64le to the squashfs > filesystem ,so that I can control the image size. Do you have any > tips for me ? Thanks very much! > > 2015-10-28 20:05 GMT+08:00 Jorge Manuel B. S. Vicetto < > jmbsvicetto@gentoo.org>: > > > On Wed, Oct 28, 2015 at 5:26 AM, Kevin Zhao > > <kevin.zhaoshuai@gmail.com> wrote: > > > Hi Mike && Hi Folks, > > > > Hi Kevin. > > > > > First I want to thanks for your help and advices , we have > > > finish > > make > > > gentoo stage3 and it will be tests by our community. > > > Now I am working for gentoo LiveCD using stage3 . After > > searching > > > gentoo website, I can not find a very clearly method to make > > > gentoo > > LiveCD . > > > So ,if conveniently , could you give me some advices or some > > websites > > > which cover the methods to LiveCD of other arch(e.g : x86 ,amd64 > > > etc..) Thanks very much ~ :-) > > > > You can find in the releng repo the specs we use to build all the > > stages and CDs for all the arches[1]. In particular you might want > > to use something like the install-cd specs for amd64[2][3] as > > examples. We also have some scripts in the repo we use for the > > automated builds in some arches[4]. > > Feel free to poke us through e-mail or pop into #gentoo-releng in > > the freenode network. > > > > [1] - https://gitweb.gentoo.org/proj/releng.git/ > > [2] - > > https://gitweb.gentoo.org/proj/releng.git/tree/releases/weekly/specs/amd64/installcd-stage1.spec > > [3] - > > https://gitweb.gentoo.org/proj/releng.git/tree/releases/weekly/specs/amd64/installcd-stage2-minimal.spec > > [4] - https://gitweb.gentoo.org/proj/releng.git/tree/tools > > > > Best regards, > > > > Jorge Manuel B. S. Vicetto > > Gentoo developer > > RelEng Lead > > > > Use catalyst-9999 which has the new compress/decompress handling code. then in your spec file: compress_mode = squashfs That's it -- Brian Dolbec <dolsen> ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-catalyst] Re: [gentoo-releng] Seek for your advices : Make Gentoo LiveCD for ppc64le 2015-10-31 19:55 ` Brian Dolbec @ 2015-11-01 7:41 ` Kevin Zhao 2015-11-03 10:11 ` Kevin Zhao 0 siblings, 1 reply; 8+ messages in thread From: Kevin Zhao @ 2015-11-01 7:41 UTC (permalink / raw To: gentoo-catalyst, dolsen [-- Attachment #1: Type: text/plain, Size: 2778 bytes --] Hi Brian, Big Thanks~ I see the releng direcctory, find th at the spec of ppc64 just support BE ,and the bootloader is yaboot. So I will use a new spec reference to the ppc64 BE spec, modify the bootloader as grub ,arch type and use the stage3 I have just compilied to build livecd. If I have more progress I will put here .Thanks ~ 2015-11-01 3:55 GMT+08:00 Brian Dolbec <dolsen@gentoo.org>: > On Fri, 30 Oct 2015 23:02:57 +0800 > Kevin Zhao <kevin.zhaoshuai@gmail.com> wrote: > > > Hi Jorge, > > Really thanks for your suggestion😁 > > I see in the spec that the filesystem type is squashFS. And I > > want to compress the Gentoo stage3 of ppc64le to the squashfs > > filesystem ,so that I can control the image size. Do you have any > > tips for me ? Thanks very much! > > > > 2015-10-28 20:05 GMT+08:00 Jorge Manuel B. S. Vicetto < > > jmbsvicetto@gentoo.org>: > > > > > On Wed, Oct 28, 2015 at 5:26 AM, Kevin Zhao > > > <kevin.zhaoshuai@gmail.com> wrote: > > > > Hi Mike && Hi Folks, > > > > > > Hi Kevin. > > > > > > > First I want to thanks for your help and advices , we have > > > > finish > > > make > > > > gentoo stage3 and it will be tests by our community. > > > > Now I am working for gentoo LiveCD using stage3 . After > > > searching > > > > gentoo website, I can not find a very clearly method to make > > > > gentoo > > > LiveCD . > > > > So ,if conveniently , could you give me some advices or some > > > websites > > > > which cover the methods to LiveCD of other arch(e.g : x86 ,amd64 > > > > etc..) Thanks very much ~ :-) > > > > > > You can find in the releng repo the specs we use to build all the > > > stages and CDs for all the arches[1]. In particular you might want > > > to use something like the install-cd specs for amd64[2][3] as > > > examples. We also have some scripts in the repo we use for the > > > automated builds in some arches[4]. > > > Feel free to poke us through e-mail or pop into #gentoo-releng in > > > the freenode network. > > > > > > [1] - https://gitweb.gentoo.org/proj/releng.git/ > > > [2] - > > > > https://gitweb.gentoo.org/proj/releng.git/tree/releases/weekly/specs/amd64/installcd-stage1.spec > > > [3] - > > > > https://gitweb.gentoo.org/proj/releng.git/tree/releases/weekly/specs/amd64/installcd-stage2-minimal.spec > > > [4] - https://gitweb.gentoo.org/proj/releng.git/tree/tools > > > > > > Best regards, > > > > > > Jorge Manuel B. S. Vicetto > > > Gentoo developer > > > RelEng Lead > > > > > > > > Use catalyst-9999 which has the new compress/decompress handling code. > then in your spec file: > > compress_mode = squashfs > > That's it > > -- > Brian Dolbec <dolsen> > > > [-- Attachment #2: Type: text/html, Size: 4334 bytes --] ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-catalyst] Re: [gentoo-releng] Seek for your advices : Make Gentoo LiveCD for ppc64le 2015-11-01 7:41 ` Kevin Zhao @ 2015-11-03 10:11 ` Kevin Zhao 2015-11-04 0:57 ` Jorge Manuel B. S. Vicetto 0 siblings, 1 reply; 8+ messages in thread From: Kevin Zhao @ 2015-11-03 10:11 UTC (permalink / raw To: dolsen, gentoo-catalyst, gentoo-releng [-- Attachment #1: Type: text/plain, Size: 4098 bytes --] Hi Brian & all, Now I have successfully made livecd-stage1, compiled some packages such as app-misc/livecd-tools. After that , I'm working on building gentoo livecd-stage2 for ppc64le. Now I have a problem and needs your help :-) In the file: catalyst/examples/livecd-stage2_template.spec , I see "The cdtar is essentially the bootloader for the CD. It also holds the main configuration for the bootloader". Also I see in the releng/ releases/weekly/specs/ppc/ppc64/installcd-stage2-minimal.spec , in the the livecd/cdtar is yaboot,but yaboot has not been used in ppc64le . *Now the bootloader of ppc64le iso is almost Grub*. I have a problem: When I decompressed the catalyst/livecd/cdtar/grub-memtest86+-cdtar.tar.bz2 , get the consequence: boot/ boot/grub/ boot/grub/stage2_eltorito boot/memtest86 The grub is the binary . So If I want to use the grub , how could I build from the grub source files and replace the grub here? What are the essential files of grub used here? Really Appreciate for your help ~ Big Big Big thanks ~ Best Regards , Kevin 2015-11-01 15:41 GMT+08:00 Kevin Zhao <kevin.zhaoshuai@gmail.com>: > Hi Brian, > Big Thanks~ > I see the releng direcctory, find th at the spec of ppc64 just > support BE ,and the bootloader is yaboot. So I will use a new spec > reference to the ppc64 BE spec, modify the bootloader as grub ,arch type > and use the stage3 I have just compilied to build livecd. If I have more > progress I will put here .Thanks ~ > > 2015-11-01 3:55 GMT+08:00 Brian Dolbec <dolsen@gentoo.org>: > >> On Fri, 30 Oct 2015 23:02:57 +0800 >> Kevin Zhao <kevin.zhaoshuai@gmail.com> wrote: >> >> > Hi Jorge, >> > Really thanks for your suggestion😁 >> > I see in the spec that the filesystem type is squashFS. And I >> > want to compress the Gentoo stage3 of ppc64le to the squashfs >> > filesystem ,so that I can control the image size. Do you have any >> > tips for me ? Thanks very much! >> > >> > 2015-10-28 20:05 GMT+08:00 Jorge Manuel B. S. Vicetto < >> > jmbsvicetto@gentoo.org>: >> > >> > > On Wed, Oct 28, 2015 at 5:26 AM, Kevin Zhao >> > > <kevin.zhaoshuai@gmail.com> wrote: >> > > > Hi Mike && Hi Folks, >> > > >> > > Hi Kevin. >> > > >> > > > First I want to thanks for your help and advices , we have >> > > > finish >> > > make >> > > > gentoo stage3 and it will be tests by our community. >> > > > Now I am working for gentoo LiveCD using stage3 . After >> > > searching >> > > > gentoo website, I can not find a very clearly method to make >> > > > gentoo >> > > LiveCD . >> > > > So ,if conveniently , could you give me some advices or some >> > > websites >> > > > which cover the methods to LiveCD of other arch(e.g : x86 ,amd64 >> > > > etc..) Thanks very much ~ :-) >> > > >> > > You can find in the releng repo the specs we use to build all the >> > > stages and CDs for all the arches[1]. In particular you might want >> > > to use something like the install-cd specs for amd64[2][3] as >> > > examples. We also have some scripts in the repo we use for the >> > > automated builds in some arches[4]. >> > > Feel free to poke us through e-mail or pop into #gentoo-releng in >> > > the freenode network. >> > > >> > > [1] - https://gitweb.gentoo.org/proj/releng.git/ >> > > [2] - >> > > >> https://gitweb.gentoo.org/proj/releng.git/tree/releases/weekly/specs/amd64/installcd-stage1.spec >> > > [3] - >> > > >> https://gitweb.gentoo.org/proj/releng.git/tree/releases/weekly/specs/amd64/installcd-stage2-minimal.spec >> > > [4] - https://gitweb.gentoo.org/proj/releng.git/tree/tools >> > > >> > > Best regards, >> > > >> > > Jorge Manuel B. S. Vicetto >> > > Gentoo developer >> > > RelEng Lead >> > > >> > > >> >> Use catalyst-9999 which has the new compress/decompress handling code. >> then in your spec file: >> >> compress_mode = squashfs >> >> That's it >> >> -- >> Brian Dolbec <dolsen> >> >> >> > [-- Attachment #2: Type: text/html, Size: 7051 bytes --] ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-catalyst] Re: [gentoo-releng] Seek for your advices : Make Gentoo LiveCD for ppc64le 2015-11-03 10:11 ` Kevin Zhao @ 2015-11-04 0:57 ` Jorge Manuel B. S. Vicetto 0 siblings, 0 replies; 8+ messages in thread From: Jorge Manuel B. S. Vicetto @ 2015-11-04 0:57 UTC (permalink / raw To: gentoo-catalyst; +Cc: gentoo-releng On Tue, 3 Nov 2015, Kevin Zhao wrote: > Hi Brian & all, > Now I have successfully made livecd-stage1, compiled some packages > such as app-misc/livecd-tools. After that , I'm working on building gentoo > livecd-stage2 for ppc64le. Now I have a problem and needs your help :-) > > In the file: catalyst/examples/livecd-stage2_template.spec , I see "The > cdtar is essentially the bootloader for the CD. It also holds the > main configuration > for the bootloader". We've been talking about how to improve this as we're basically using a binary in the catalyst package to build the CD instead of building it from source. > Also I see in the releng/ > releases/weekly/specs/ppc/ppc64/installcd-stage2-minimal.spec , in the the > livecd/cdtar is yaboot,but yaboot has not been used in ppc64le . *Now the > bootloader of ppc64le iso is almost Grub*. I have a problem: > When I decompressed > the catalyst/livecd/cdtar/grub-memtest86+-cdtar.tar.bz2 , get the > consequence: > boot/ > boot/grub/ > boot/grub/stage2_eltorito > boot/memtest86 > The grub is the binary . So If I want to use the grub , how could I build > from the grub source files and replace the grub here? What are the > essential files of grub used here? > Really Appreciate for your help ~ Big Big Big thanks ~ I can share with you some scripts I've used to build the cdtar for myself[1]. IIRC, I've used it to update the cdtar in catalyst sometime ago. These have quite a few hardcoded paths, make a few assumptions and are meant for building the cdtar for x86 / amd64, but they might be able to give you some ideas. [1] - http://www.jmbsvicetto.name/build-cdtar.tar.xz > Best Regards , > Kevin Regards, Jorge ^ permalink raw reply [flat|nested] 8+ messages in thread
* [gentoo-catalyst] Re: Seek for your advices : Make Gentoo LiveCD for ppc64le 2015-10-28 5:26 [gentoo-catalyst] Seek for your advices : Make Gentoo LiveCD for ppc64le Kevin Zhao 2015-10-28 12:05 ` [gentoo-catalyst] Re: [gentoo-releng] " Jorge Manuel B. S. Vicetto @ 2015-12-07 8:39 ` Kevin Zhao 1 sibling, 0 replies; 8+ messages in thread From: Kevin Zhao @ 2015-12-07 8:39 UTC (permalink / raw To: Mike Frysinger, gentoo-catalyst, gentoo-releng [-- Attachment #1.1: Type: text/plain, Size: 3109 bytes --] Hi All : Long Time No See~Hope everything goes well:-) Recently I am working on making ppc64le Gentoo Livecd. Now the newest status is as below: 1 .I have followed catalyst , build--> livecd-stage1 and livecd-stage2. 2. Replace the bootloader from yaboot to grub. 3. The grub binaries I have copyed from Rhel7.1-ppc64le 4. Change the boot_info.txt to a new one from Rhel7.1-ppc64le 5. Build a squashfs images. 6. Build a kernel and initramfs (I have check that the kernel is good when using it replace a ubuntu-ppc64le kernel .) 7. use command "mkisofs -v -r -T -U -l -cache-inodes -chrp-boot -V { clst_iso_volume_id} -o gentoolive.iso /path/" to generate a Livecd. Now when loading iso to a guests, I can enter into grub, but have meet problem when initramfs runs:* Couldn't mount /dev/sr0* The *grub.cfg* file is as below: ============================================================================================================= set default=0 set timeout=10 echo -e "\nWelcome to the Gentoo PPC64LE!\n\n" menuentry "Gentoo PPC64LE" { * linux /boot/vmlinux-4.2.1-aufs root=/dev/ram0 init=/linuxrc looptype=squashfs loop=/image.squashfs cdroot ro * * echo 'Loading initial ramdisk ..............'* * initrd /boot/initramfs-genkernel-ppc64le-4.2.1-aufs* } menuentry 'Reboot' { reboot } menuentry 'Exit to Open Firmware' { exit } ============================================================================================================== I have loaded it with a guest,guest xml file is here(add two iso just for compared,one is Gentoo and one is ubuntu ) : https://bpaste.net/show/271874e8ca8b But the initramfs will bolcked when mount cdrom device. The error log Link is: https://bpaste.net/show/f029aff8e633 You can see that , mount -t auto /dev/sr0 /mnt/cdrom failed. *Also, I enter into busybox, manally use command "mount -t iso9660 /dev/sr0 /mnt/cdrom", it shows "No such device"* [image: 内嵌图片 1] * ls -l /dev/ :* * Find that there are : "/dev/sr0 /dev/sr1",but there is no "/dev/cdrom"* * But I 'm sure that kernel has the module "sr_mod" and "cdrom". Because we have used this kernel and stage3 to make a workable gentoo image(running in KVM).* *So, *now I am thinking of asking you for some advice.I've blocked here for about 2 weeks .Any advice will be really appreciated. Loooooooking forwards to your reponse :-) 2015-10-28 13:26 GMT+08:00 Kevin Zhao <kevin.zhaoshuai@gmail.com>: > Hi Mike && Hi Folks, > First I want to thanks for your help and advices , we have finish > make gentoo stage3 and it will be tests by our community. > Now I am working for gentoo LiveCD using stage3 . After > searching gentoo website, I can not find a very clearly method to make > gentoo LiveCD . > So ,if conveniently , could you give me some advices or some > websites which cover the methods to LiveCD of other arch(e.g : x86 ,amd64 > etc..) > Thanks very much ~ :-) > [-- Attachment #1.2: Type: text/html, Size: 5257 bytes --] [-- Attachment #2: image.png --] [-- Type: image/png, Size: 79291 bytes --] ^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2015-12-07 8:39 UTC | newest] Thread overview: 8+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2015-10-28 5:26 [gentoo-catalyst] Seek for your advices : Make Gentoo LiveCD for ppc64le Kevin Zhao 2015-10-28 12:05 ` [gentoo-catalyst] Re: [gentoo-releng] " Jorge Manuel B. S. Vicetto 2015-10-30 15:02 ` Kevin Zhao 2015-10-31 19:55 ` Brian Dolbec 2015-11-01 7:41 ` Kevin Zhao 2015-11-03 10:11 ` Kevin Zhao 2015-11-04 0:57 ` Jorge Manuel B. S. Vicetto 2015-12-07 8:39 ` [gentoo-catalyst] " Kevin Zhao
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox