![]() |
| Forums | Gaming News | Videos | Downloads | Today's Posts | Mark Forums Read | Chat | FAQ | Members List | Contact |
| ||||||
This is a discussion on gentoo help within the PS3 Linux forums, part of the PS3 Main category; i had installed gentoo on my ps3 about s yesr ago, and ended up taking it off for anouther distro. ...
![]() |
|
|
LinkBack | Thread Tools |
|
|
#1 |
|
i had installed gentoo on my ps3 about s yesr ago, and ended up taking it off for anouther distro. recently i have been trying to reinstall gentoo, with no luck. i followed this guide http://ps3wiki.qj.net/index.php/Gentoo_Howto it has updated from what i can remember. i have not got it to reboot once. when it boots up it says cannot find sda1:/boot/kernel-genkernel-ppc64-2.6.16-ps3 so im stuck on thaat im sure its my kboot.conf or my fstab or both.
There is an important note on the guide that reads Important Note When installing the latest versions of the Kernels, such as 2.6.23, the drive is no longer sda like "sda1" or "sda2" You will need to rename these to ps3da and use "ps3da1" "ps3da2" when this tutorial says "sda" ------------------------------------------------------- i have followed the guide word for word about 8 times now and quite frankly this guide sucks. it says use ps3da instead of sda, but when i tried doing so on first command it says that it cannot find it. so i disregard it untill i edit the fstab file so that it looks exactly like the one on the guide except for that it says ps3da1, ps3da2 etc... instead of sda1. im also confused on the kboot.conf file because the ****ing kernel label is all wrong and on the tutorial it says edit as needed. i edited it from what i could remember. my kboot and fstab as follows kboot Gentoo='sda1:/boot/kernel-genkernel-ppc64-2.6.16-ps3 initrd=sda1:/boot/initramfs-genkernel-ppc64-2.6.16-ps3 root=/dev/ram0 real_root=/dev/sda1 init=/linuxrc video=ps3fb:mode:3 rhgb' fstab # The root filesystem should have a pass number of either 0 or 1. # All other filesystems should have a pass number of 0 or greater than 1. # # See the manpage fstab(5) for more information. # # <fs> <mountpoint> <type> <opts> <dump/pass> # NOTE: If your BOOT partition is ReiserFS, add the notail option to opts. /dev/sda1 / ext3 noatime 0 1 /dev/sda2 none swap sw 0 0 /dev/sr0 /mnt/cdrom iso9660 noauto,ro 0 0 /dev/sdc1 /mnt/memstick auto noauto 0 0 /dev/sdd1 /mnt/sd auto noauto 0 0 #/dev/fd0 /mnt/floppy auto noauto 0 0 # NOTE: The next line is critical for boot! proc /proc proc defaults 0 0 # glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for # POSIX shared memory (shm_open, shm_unlink). # (tmpfs is a dynamically expandable/shrinkable ramdisk, and will # use almost no memory if not populated with files) shm /dev/shm tmpfs nodev,nosuid,noexec 0 0 none /spu spufs default 0 0 i have also tried booting up with my kboot and fstab as follows kboot Gentoo='ps3da1:/boot/kernel-genkernel-ppc64-2.6.23-ps3 initrd=psd3a1:/boot/initramfs-genkernel-ppc64-2.6.23-ps3 root=/dev/ram0 real_root=/dev/ps3da1 init=/linuxrc video=ps3fb:mode:3 rhgb' fstab # The root filesystem should have a pass number of either 0 or 1. # All other filesystems should have a pass number of 0 or greater than 1. # # See the manpage fstab(5) for more information. # # <fs> <mountpoint> <type> <opts> <dump/pass> # NOTE: If your BOOT partition is ReiserFS, add the notail option to opts. /dev/ps3da1 / ext3 noatime 0 1 /dev/ps3da2 none swap sw 0 0 /dev/sr0 /mnt/cdrom iso9660 noauto,ro 0 0 /dev/sdc1 /mnt/memstick auto noauto 0 0 /dev/sdd1 /mnt/sd auto noauto 0 0 #/dev/fd0 /mnt/floppy auto noauto 0 0 # NOTE: The next line is critical for boot! proc /proc proc defaults 0 0 # glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for # POSIX shared memory (shm_open, shm_unlink). # (tmpfs is a dynamically expandable/shrinkable ramdisk, and will # use almost no memory if not populated with files) shm /dev/shm tmpfs nodev,nosuid,noexec 0 0 none /spu spufs default 0 0 No matter which way i have the two files it will not boot up. it just gets stuck up and cannot find kernel. can somebody help me. does the kernel 2.6.23 install autamatically or are they talking about when you upgrade it. also if there is a command to see what and where the kernel is located that would help too. Please leave examples of your kboot.conf and fstab also if anyone has installed it with the ps3da1 updates and kernel 2.6.23 when do you start using ps3da1 on the guide. |
|
|
|
|
|
|
#2 |
|
kboot
# The following is an example kboot configuration file. Edit it # to suit your needs before attempting to reboot your system or # you may be unable to boot the new install. # default: the default kernel label to boot should the user not make # a selection. default=gentoo # timeout: number of seconds to wait for user input before the default # kernel label is booted. timeout=20 # The format from this point on is within a kernel label. At a minimum, # you must pass the kernel and root device. The syntax is as follows: # # label='device:<path_to_ke rnel> initrd=device:<path_to_in itrd> kernel_options' # # You should also pass the video options as well. An example of video # options are as follows: # # 480i = ps3fb:mode:1 # 576i = ps3fb:mode:6 # 720p = ps3fb:mode:3 # 1080i = ps3fb:mode:4 # 1080p = ps3fb:mode:5 # # You can review all possible video modes using the ps3videomode application # provided by the ps3pfutils package. i.e. ps3videomode -v will display # possibilities. # The following is an example kernel label. Edit as needed. gentoo='ps3da1:/boot/kernel-genkernel-ppc-2.6.24-ps3 initrd=ps3da1:/boot/initramfs-genkernel-ppc-2.6.24-ps3 root=/dev/ram0 real_root=/dev/ps3da1 init=/linuxrc video=ps3fb:mode:133' fstab # /etc/fstab: static file system information. # # noatime turns off atimes for increased performance (atimes normally aren't # needed; notail increases performance of ReiserFS (at the expense of storage # efficiency). It's safe to drop the noatime options if you want and to # switch between notail / tail freely. # # The root filesystem should have a pass number of either 0 or 1. # All other filesystems should have a pass number of 0 or greater than 1. # # See the manpage fstab(5) for more information. # # <fs> <mountpoint> <type> <opts> <dump/pass> # NOTE: If your BOOT partition is ReiserFS, add the notail option to opts. /dev/ps3da1 / ext3 noatime 0 1 /dev/ps3da2 none swap sw 0 0 /dev/sr0 /mnt/cdrom iso9660 noauto,ro 0 0 /dev/sdc1 /mnt/memstick auto noauto 0 0 /dev/sdd1 /mnt/sd auto noauto 0 0 //eva/media /mnt/media smbfs username=marcel,password= welkom,uid=1000,umask=000 0 0 #/dev/fd0 /mnt/floppy auto noauto 0 0 # NOTE: The next line is critical for boot! proc /proc proc defaults 0 0 # glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for # POSIX shared memory (shm_open, shm_unlink). # (tmpfs is a dynamically expandable/shrinkable ramdisk, and will # use almost no memory if not populated with files) shm /dev/shm tmpfs nodev,nosuid,noexec 0 0 none /spu spufs defaults 0 0 |
|
|
|
|
|
|
#3 |
![]() |
Just use the official guide
http://overlays.gentoo.org/proj/cell...allGentooOnPS3 |
|
|
|
|
|
#4 |
|
I needed to re-install my gentoo on PS3.
I used the same "livecd" as before, but a new "stage4" (My CDRW drive is no longer available ... and I can't make a new "livecd") So after several attempts, I noticed that (1) "/dev/sda2" was OK to boot initial loader on "otheros" loader (2) "/dev/ps3da2" was OK to mount after the new kernel was loaded from the inital boot loader. I did not update the "otheros" data in the PS3 ... I think that may have been part of the problem ... but it seems hard to find ... anyway ... Here is what worked ... proabably still need some tweaks for the new kernel though ... In /etc/fstab I need to have the "ps3da" devices ... "sda1" changed to "ps3da1" (swap) "sda2" changed to "ps3da2" (root) and then the kboot file needed to have BOTH identifiers (first for the old kernel in the PS3 loader and second for the new kernel after the bootloader) so it looks like gentoo='sda2:/boot/kernel initrd=sda2:/boot/initrd root=/dev/ram0 real_root=/dev/ps3da2 init=linuxrc video=ps3fb:mode8 rhgb' And then it booted ... (check the "mode" for the correct resolution!) Hope this helps someone! |
|
|
|
|
![]() |
| Tags |
| gentoo |
| Thread Tools | |
|
|