public inbox for gentoo-catalyst@lists.gentoo.org
 help / color / mirror / Atom feed
From: Kevin Zhao <kevin.zhaoshuai@gmail.com>
To: Mike Frysinger <vapier@gentoo.org>,
	gentoo-catalyst@lists.gentoo.org,
	 gentoo-releng@lists.gentoo.org
Subject: [gentoo-catalyst] Re: Seek for your advices : Make Gentoo LiveCD for ppc64le
Date: Mon, 7 Dec 2015 16:39:32 +0800	[thread overview]
Message-ID: <CAKe2hGAe1-Q+UiqnajJfLL-FUS_bue=N08NKtvvF7k6mnuYf4g@mail.gmail.com> (raw)
In-Reply-To: <CAKe2hGBm0jC3daYr0Gk8GV6AF3zbG51m9AVLS5A_aWWAUA5ofQ@mail.gmail.com>


[-- 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 --]

      parent reply	other threads:[~2015-12-07  8:39 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 ` Kevin Zhao [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAKe2hGAe1-Q+UiqnajJfLL-FUS_bue=N08NKtvvF7k6mnuYf4g@mail.gmail.com' \
    --to=kevin.zhaoshuai@gmail.com \
    --cc=gentoo-catalyst@lists.gentoo.org \
    --cc=gentoo-releng@lists.gentoo.org \
    --cc=vapier@gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox