Sezione dedicata all' installazione e all' utilizzo di Linux su PS3
Avatar utente
User

/_SiCn@rF_?/

Livello

Newbie

Messaggi

17

Iscritto il

23 mar 2007, 17:24

Località

ROMA

GUIDA ALL'INSTALLAZIONE DI GENTOO LINUX SU SISTEMA PS3

da /_SiCn@rF_?/ » 25 giu 2007, 18:03

(RICORDO CHE QUESTA GUIDA E ANCORA IN FASE DI TEST DI CONSEGUENZA SE NON SIETE PRATICI DI LINUX SCONSIGLIO VIVAMENTE L'INSTALLAZIONE)


Allora, premetto che questa è la mia prima guida, spero che voi capiate. ALcune frasi e alcune parole non le ho tradotte all'italiano perchè non ho avuto tempo.
Ci tengo anche a precisare che NON HO ANCORA INSTALLATO GENTOO, perchè ho avuto dei problemi con il Masterizzatore e di conseguenza non ho potuto masterizzare l'immagine di Gentoo.


Allora, Gentoo Linux è una distro derivata da Debian ( come Ubuntu) e utilizza sia Gnome che KDE, è MOLTO utilizzata al momento nei sistemi PS3 perchè non ha ( come Fedora e Yellow Dog) problemi con il lettore Multimediale, inoltre si autoconfigura etc, etc...

Immagine
Shot
                                               
                                                                      INSTALLARE GENTOO LINUX SU PS3


    Materiale necessario: Mouse e tastiera USB, una memoria rimovibile con filesystem FAT32(MS, USB, Memory Card, SD…), il file immagine di Gentoo, il Sony PS3 Other OS installer e l’otheros.

 

      DOWNLOAD: GENTOO MINIMAL INSTALL CDhttp://gentoo.osuosl.org/experimental/ppc64/livecd/installcd-ps3-minimal-beta3.iso
                        Gentoo Stage 4 tarball  http://gentoo.osuosl.org/experimental/p ... ul.tar.bz2
                        otheros.bld per Gentoo http://dl.qj.net/otheros.bld-for-Gentoo ... /catid/514 ( link alla pagina) 
                        Sony PS3 Installer http://dl.qj.net/PLAYSTATION-3-OtherOS- ... /catid/514 ( link alla pagina )

Prepariamo la PS3 all’installazione di un altro sistema operativo

1) Innanzitutto prepariamo la memoria rimovibile ( io userò una penna USB), che ricordo deve essere formattata in FAT32. Nella root creiamo una cartella chiamata ‘PS3’ e all’interno di questa ne creiamo un’altra chiamata ‘otheros’.
      Qui copiamo i file  otheros.bld  e otheros.self.

2)  Accendiamo la PS3 e formattiamo l’Hard Disk. Fatto ciò andiamo su Allot 10 GB lasciamo                                                                             
        spazio al sistema Operativo ( 10 GB vanno bene), altrimenti andiamo su Personalizza e                               
        scegliamo quanto spazio dedicare a Gentoo.

3)    Ora colleghiamo la memoria rimovibile alla PS3 e andiamo  su Impostazioni di Sistema,                                                                                                         
      clicchiamo  su ‘Installa altro Sistema Operativo’. Scegliamo il nostro Gentoo e ci apparirà una           
      finestra di avvertenza, accettiamo e comparirà una schermata nera per alcuni istanti ( è                     
      assolutamente normale ).

4) Ora dovremmo essere tornati alla Dash, andiamo su Impostazioni di Sistema> OS default, clicchiamo su Altro Sistema Operativo. Riavviamo la PS3 e dovrebbe apparire il prompt di kboot.

Ora inizia la vera installazione del sistema operativo


Ok, ora che abbiamo la PS3, accendiamola con il disco di Installazione Gentoo inserito, premiamo Invio per avviare il Kernel Gentoo ( dovrebbe configurare tutto quanto da solo ).
Ora arriva la parte difficile ( che poi non lo è molto, basta impegnarsi).
Da ora in poi le scritte le lettere o i commandi che dovrete digitare sono quelli dopo le scritte command o dopo una scelta. Quindi quando vedrete scritto tipo :



Command (m for help): n
Command action
  e  extended
  p  primary partition (1-4)
p


Dovrete digitare n dopo la scritta command, e p quando vi dice di scegliere tra 'e' e 'p',OK????


Allora riporto il prompt:
livecd / # fdisk /dev/sda

The number of cylinders for this disk is set to 10239.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
  (e.g., DOS FDISK, OS/2 FDISK)

Command (m for help): n
Command action
  e  extended
  p  primary partition (1-4)
p
Partition number (1-4): 1
First cylinder (1-10239, default 1): Press Enter
Using default value 1
Last cylinder or +size or +sizeM or +sizeK (1-10239, default 10239): +10000M

Command (m for help): n
Command action
  e  extended
  p  primary partition (1-4)
p
Partition number (1-4): 2
First cylinder (8585-10239, default 8585): Premete Invio
Using default value 8585
Last cylinder or +size or +sizeM or +sizeK (8585-10239, default 10239): Premete Invio
Using default value 10239

Command (m for help): t
Partition number (1-4): 2
Hex code (type L to list codes): 82
Changed system type of partition 2 to 82 (Linux swap / Solaris)

Command (m for help): p

Disk /dev/sda: 10.7 GB, 10737414144 bytes
64 heads, 32 sectors/track, 10239 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes

  Device Boot      Start        End      Blocks  Id  System
/dev/sda1              1        8584    8790000  83  Linux
/dev/sda2            8585      10239    1694720  82  Linux swap / Solaris

Command (m for help): w
The partition table has been altered!

Calling ioctl() to re-read partition table.
Syncing disks.
livecd / # /sbin/reboot

Questo riavvierà la console, continuiamo dunque dalla prossima fase.



FORMATTAZIONE DEL FILESYSTEM+ MONTAGGIO DELLE PARTIZIONI DI SWAP E ROOT

livecd / # mkfs.ext3 -j /dev/sda1
mke2fs 1.3x (29-May-2006)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
1098880 inodes, 2197500 blocks
109875 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=2252341248
68 block groups
32768 blocks per group, 32768 fragments per group
16160 inodes per group
Superblock backups stored on blocks:
        32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632

Writing inode tables: done                           
Creating journal (32768 blocks): done
Writing superblocks and filesystem accounting information: done

This filesystem will be automatically checked every 25 mounts or
180 days, whichever comes first.  Use tune2fs -c or -i to override.
livecd ~ # mkswap /dev/sda2
Setting up swapspace version 1, size = 1735389 kB
no label, UUID=56270620-3485-4396-b65b-269517a5451c
livecd / # swapon /dev/sda2
livecd / # mount /dev/sda1 /mnt/gentoo/

INSTALLAZIONE DEL SISTEMA BASE, MONTAGGIO DI PROCFS E /DEV

livecd / # cd /mnt/gentoo
livecd gentoo / # wget http://gentoo.osuosl.org/experimental/p ... ul.tar.bz2 (If already downloaded in advance, copy the file to /mnt/gentoo now)
livecd gentoo / # tar -xjpf stage4-970-ps3_32ul.tar.bz2
livecd gentoo / # mount -t proc none /mnt/gentoo/proc
livecd gentoo / # mount -o bind /dev /mnt/gentoo/dev
livecd gentoo / # cp /etc/resolv.conf /mnt/gentoo/etc

CHROOT

livecd gentoo / # chroot /mnt/gentoo/ /bin/bash
livecd / # export PS1="(chroot) $PS1"
(chroot) livecd / # env-update && source /etc/profile
--- 'profiles/arch.list' is empty or not available. Empty portage tree?
>>> Regenerating /etc/ld.so.cache...
(chroot) livecd / # emerge --sync (Skip this step if your PS3 is not connected to the internet.)
  This will take some time. Go and make yourself a cup of coffee :)
livecd / # export PS1="(chroot) $PS1"






ULTIME, MA NON MENO IMPORTANTI CONFIGURAZIONI



Impostiamo l’ora

(chroot) livecd / ls /usr/share/zoneinfo
(Suppose you want to use GMT)
(chroot) livecd / cp /usr/share/zoneinfo/GMT /etc/localtime

CONFIGURIAMO KBOOT

(chroot) livecd / # e2label /dev/sda1 /
(chroot) livecd / # cd /etc
(chroot) livecd etc / # cp kboot.conf.example kboot.conf
(chroot) livecd etc / # nano -w kboot.conf


IL KBOOT.CONF

#  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. Uncomment the following line and set a default kernel label.
default=Gentoo

#  timeout: number of seconds to wait for user input before the default
#  kernel label is booted. Uncomment the following line and set timeout.
timeout=10

#  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: initrd=device: 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.  Uncomment and edit as needed.
Gentoo='sda1:/boot/kernel-genkernel-ppc-2.6.16-ps3 initrd=sda1:/boot/initramfs-genkernel-ppc-2.6.16-ps3 root=/dev/ram0 real_root=/dev/sda1 init=/linuxrc video=ps3fb:mode:8 rhgb' (replace video=ps3fb:mode:

Ora premiamo CTRL+ X e Y per salvare e uscire dall’editor.


PER I POSSESSORI DELLA PS3 DA 60 GB, CREIAMO I PUNTI DI MONTAGGIO
PER LE MEMORIE RIMOVIBILI

(chroot) livecd etc / # cd ~
(chroot) livecd / # mkdir /mnt/memstick
(chroot) livecd / # mkdir /mnt/sd


/etc/fstab

(chroot) / # nano -w /etc/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.
#

#                                          

# 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  (60GB version only!)
/dev/sdd1 /mnt/sd auto noauto 0 0  (60GB version only!)
#/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

Ripremiamo CTRL+X e Y per salvare e uscire

PER CONFIGURARE LA PASSWORD DI ROOT:
(chroot) livecd / # passwd


/etc/rc.conf
(chroot) livecd / # nano -w /etc/rc.conf
# /etc/rc.conf: Global startup script configuration settings
# .....
# XSESSION is a new variable to control what window manager to start
# default with X if run with xdm, startx or xinit.  The default behavior
# is to look in /etc/X11/Sessions/ and run the script in matching the
# value that XSESSION is set to.  The support scripts are smart enough to
# look in all bin directories if it cant find a match in /etc/X11/Sessions/,
# so setting it to "enlightenment" can also work.  This is basically used
# as a way for the system admin to configure a default system wide WM,
# allthough it will work if the user export XSESSION in his .bash_profile, etc.
#
# NOTE:  1) this behaviour is overridden when a ~/.xinitrc exists, and startx
#          is called.
#        2) even if ~/.xsession exists, if XSESSION can be resolved, it will
#          be executed rather than ~/.xsession, else KDM breaks ...
#
# Defaults depending on what you install currently include:
#
# Gnome - will start gnome-session
# kde- - will start startkde (look in /etc/X11/Sessions/)
# Xsession - will start a terminal and a few other nice apps

XSESSION="fluxbox"


AGGIUNGERE XDM A DEFAULT

(chroot) livecd / # rc-update add xdm default

FINIAMO E RIAVVIAMO LA PS3

(chroot) livecd / # exit
livecd / # cd /mnt
livecd mnt / # umount gentoo/proc/ gentoo/dev/ gentoo/
livecd mnt / # umount /mnt/usb/ (optional)
livecd mnt / # reboot

Leviamo il CD  mentre si riavvia. Dal boot successivo dovrebbe avviarsi automaticamente in Gentoo.

PROSSIMAMENTE FARO' UNA GUIDA PER FAR GIRARE AL MEGLIO GENTOO




P.S.: Prometto che cambierò la guida e l'aggiornerò!! Per favore non chiedetemi perchè fa così schifo!
P.P.S.: No, non è una traduzione Google

Immagine
Shot

Immagine





Autore: qj.net
Traduzione: Sicnarf
Ultima modifica di /_SiCn@rF_?/ il 13 lug 2007, 11:53, modificato 1 volta in totale.
Say no to Proprietary Software. Always use Open Source Software.
no avatar
User

ciccio_morto

Livello

Banned

Messaggi

652

Iscritto il

17 feb 2007, 10:14

Re: GUIDA ALL'INSTALLAZIONE DI GENTOO LINUX SU SISTEMA PS3

da ciccio_morto » 25 giu 2007, 19:49

1)ottimo l'impegno però non si posta mai una guida o qualcosaltro se non la  provi al 100%

2)ci sono errori nei passaggi

3)gentoo apparte il fatto che come distro su ps3 gira male a anche problemi di aggiornamento, non si sa ancora il motivo ma da ps3 non riconosce i ripositori

4) cerca di renderla ancora piu carina se vuoi usa una delle mie guide come spunto


grazie mille sicn ottimo limpegno e la dedizione continua cosi  un + per te  :figo:

p.s ti da fastidio se ti modifico qualcosa nella guida
Ultima modifica di Anonymous il 25 giu 2007, 19:51, modificato 1 volta in totale.
Avatar utente
User

/_SiCn@rF_?/

Livello

Newbie

Messaggi

17

Iscritto il

23 mar 2007, 17:24

Località

ROMA

Re: GUIDA ALL'INSTALLAZIONE DI GENTOO LINUX SU SISTEMA PS3

da /_SiCn@rF_?/ » 25 giu 2007, 20:04

ok grazie ciccio, cmq fai se ti va, a me nn cambia niente ma cambia mooooolto a color che devono leggere la guida :good:
Say no to Proprietary Software. Always use Open Source Software.
no avatar
User

ciccio_morto

Livello

Banned

Messaggi

652

Iscritto il

17 feb 2007, 10:14

Re: GUIDA ALL'INSTALLAZIONE DI GENTOO LINUX SU SISTEMA PS3

da ciccio_morto » 25 giu 2007, 20:06

/_SiCn@rF_?/ ha scritto:ok grazie ciccio, cmq fai se ti va, a me nn cambia niente ma cambia mooooolto a color che devono leggere la guida :good:


cmq la devi rendere piu completa tu dai impegnati un altro po
Avatar utente
User

/_SiCn@rF_?/

Livello

Newbie

Messaggi

17

Iscritto il

23 mar 2007, 17:24

Località

ROMA

Re: GUIDA ALL'INSTALLAZIONE DI GENTOO LINUX SU SISTEMA PS3

da /_SiCn@rF_?/ » 25 giu 2007, 20:57

ciccio30 ha scritto:cmq la devi rendere piu completa tu dai impegnati un altro po


sisi  :good: solo ke dovrò smettere x un po' a scrivere l'altra guida
Sto guardando anke le tue guide x prenderne spunto
Say no to Proprietary Software. Always use Open Source Software.
Avatar utente
User

Jalek

Livello

Fondatore PS3ita

Messaggi

1281

Iscritto il

18 dic 2006, 15:28

Località

Nel server di questo sito (in letargo)

FW

0.00

Re: GUIDA ALL'INSTALLAZIONE DI GENTOO LINUX SU SISTEMA PS3

da Jalek » 25 giu 2007, 22:45

Questa guida è tutta farina del tuo sacco /_SiCn@rF_?/  ?

p.s. Aggiungo il disclaimer di Ps3ita
Immagine
Immagine
no avatar
User

ciccio_morto

Livello

Banned

Messaggi

652

Iscritto il

17 feb 2007, 10:14

Re: GUIDA ALL'INSTALLAZIONE DI GENTOO LINUX SU SISTEMA PS3

da ciccio_morto » 26 giu 2007, 10:59

:good:
Avatar utente
User

Rancid(o)

Livello

Ps3ita Team

Messaggi

4204

Iscritto il

19 dic 2006, 15:22

Località

nell' anno 1977

PSN ID

Rancid0x0

FW

4.05

Re: GUIDA ALL'INSTALLAZIONE DI GENTOO LINUX SU SISTEMA PS3

da Rancid(o) » 26 giu 2007, 15:35

Bravo... ehm.. com' è che si pronuncia?...  ah..  ecco......  /_SiCn@rF_?/  ?    :434:
Ogni aiuto è sempre ben accetto (anche se sbagli qualcosina  :pardon:).. apprezziamo sempre chi s' impegna..
Ultima modifica di Anonymous il 26 giu 2007, 15:37, modificato 1 volta in totale.
Avatar utente
User

/_SiCn@rF_?/

Livello

Newbie

Messaggi

17

Iscritto il

23 mar 2007, 17:24

Località

ROMA

Re: GUIDA ALL'INSTALLAZIONE DI GENTOO LINUX SU SISTEMA PS3

da /_SiCn@rF_?/ » 26 giu 2007, 16:14

Jalek ha scritto:Questa guida è tutta farina del tuo sacco /_SiCn@rF_?/  ?

p.s. Aggiungo il disclaimer di Ps3ita


qualche dubbio? in effetti è una traduzione da una guida
Say no to Proprietary Software. Always use Open Source Software.
Avatar utente
User

Jalek

Livello

Fondatore PS3ita

Messaggi

1281

Iscritto il

18 dic 2006, 15:28

Località

Nel server di questo sito (in letargo)

FW

0.00

Re: GUIDA ALL'INSTALLAZIONE DI GENTOO LINUX SU SISTEMA PS3

da Jalek » 29 giu 2007, 9:28

/_SiCn@rF_?/ ha scritto:qualche dubbio? in effetti è una traduzione da una guida


Se non è una tua guida bisogna mettere chi l' ha scritta originariamente  :frusta:

Edita il post iniziale aggiungendo l' autore  :cheers2:
Immagine
Immagine

Chi c’è in linea

Visitano il forum: Nessuno e 1 ospite

Powered by phpBB ® | phpBB3 Style by KomiDesign