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 <[email protected]>:

> 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 ~   :-)
>

Reply via email to