Installation Debian / powerMac G4 2x1Ghz,1Go Leopard

personne peut m’aider !!? je comprend vraiment pas d’où vient le problème ?

J’ai remis en page mon dhcpd.conf:

[code]ddns-update-style interim;

default-lease-time 600;
max-lease-time 7200;

authoritative;

log-facility local7;

subnet 192.168.1.0 netmask 255.255.255.0 {

    option domain-name              "mydomain.lan";
    option domain-name-servers      192.168.1.1;
    option routers                  192.168.1.1;
            range                           192.168.1.100 192.168.1.200;

    option subnet-mask              255.255.255.0;
    option time-offset              -18000;
    next-server                     192.168.1.12;
    filename                        "install/yaboot";
    allow booting;
    allow bootp;

    host MacOSX.home {
            hardware ethernet       00:03:93:bb:9a:68;
            fixed-address           192.168.1.17;
    }
    host PC-de-CandyStyl {
            hardware ethernet       00:1d:60:92:bb:40;
            fixed-address           192.168.1.18;
    }

}[/code]

c’est bizarre parce que je n’ai plus d’erreur sur le log du serveur mais toujours le même message d’erreur sur le client. aucun changement coté client !

tu as toujours la même erreur au boot PXE sur ton Mac?

fais un “tree” de ton dossier tftpboot aussi pour voir

tree /var/lib/tftpboot

au fait quel est ton serveur tftp? (chez moi c’est tftp-hpa)

Oui j’ai toujours la même erreur sur mon mac

gilles@gilles-PC:~$ tree /var/lib/tftpboot/
/var/lib/tftpboot/
├── install
│ ├── boot.msg
│ ├── ofboot.b
│ ├── pegasos
│ ├── powerpc
│ │ ├── initrd.gz
│ │ ├── vmlinux
│ │ └── vmlinuz-chrp.initrd
│ ├── powerpc64
│ │ ├── initrd.gz
│ │ ├── vmlinux
│ │ └── vmlinuz-chrp.initrd
│ └── yaboot
└── yaboot.conf

3 directories, 11 files

et c’est hpa aussi

je me demander si ca pouvais fonctionner en pxe mais apparemment le pxe n’est pas dispo pour ppc

Bon, j’ai ressorti mon iMac et j’ai le même message d’erreur “LOAD-SIZE is too small” (j’ai utilisé les fichiers de netboot wheezy ftp.nl.debian.org/debian/dists/w … c/netboot/ )

c’est donc un problème de serveur tftp je pense, il doit y avoir une option à régler qque part!

stay tuned, on va y arriver :stuck_out_tongue:

Ca fonctionne pour moi (le problème "LOAD-SIZE too small c’est parce que je n’avais pas renseigné la bonne IP pour l’options “routers” de mon dhcp)

Ensuite j’ai donc mis le yaboot.conf dans ma racine tftpboot, mais j’ai corrigé les chemins d’accès (les fichiers de boot se trouvent dans /var/tftpboot/wheezy-netboot-ppc)

## This yaboot.conf is for netbooting only, do not use as reference.
## Debian GNU/Linux PowerPC

default=install
root=/dev/ram

message=/wheezy-netboot-ppc/boot.msg

image=/wheezy-netboot-ppc/vmlinux
        label=install
        initrd=/wheezy-netboot-ppc/initrd.gz
        initrd-size=20546
        append="--"
        read-only

(je n’ai mis que la première entrée de boot)

moi j’ai ca dans mon yaboot.conf :

[code]## This yaboot.conf is for CD booting only, do not use as reference.

Debian GNU/Linux PowerPC (squeeze)

It is important not to have a comma after cd:

Let’s disable this one for now, as it breaks on IBM 64bit boxes,

Not sure if it is ok on powermacs, but yaboot should be able to

parse that from chosen/bootpath.

device=cd:

default=install

FIXME: will this be the correct path?

message=/install/boot.msg

PowerPC subarch

image=/install/powerpc/vmlinux
label=install
initrd=/install/powerpc/initrd.gz
append="–"
initrd-size=10240
read-only

image=/install/powerpc/vmlinux
label=expert
initrd=/install/powerpc/initrd.gz
append="DEBCONF_PRIORITY=low --"
initrd-size=10240
read-only

image=/install/powerpc/vmlinux
label=rescue
initrd=/install/powerpc/initrd.gz
append="rescue/enable=true --"
initrd-size=10240
read-only

image=/install/powerpc/vmlinux
label=auto
initrd=/install/powerpc/initrd.gz
append="auto=true priority=critical --"
initrd-size=10240
read-only

PowerPC 64bit subarch

image=/install/powerpc64/vmlinux
label=install64
initrd=/install/powerpc64/initrd.gz
append="–"
initrd-size=10240
read-only

image=/install/powerpc64/vmlinux
label=expert64
initrd=/install/powerpc64/initrd.gz
append="DEBCONF_PRIORITY=low --"
initrd-size=10240
read-only

image=/install/powerpc64/vmlinux
label=rescue64
initrd=/install/powerpc64/initrd.gz
append="rescue/enable=true --"
initrd-size=10240
read-only

image=/install/powerpc64/vmlinux
label=auto64
initrd=/install/powerpc64/initrd.gz
append="auto=true priority=critical --"
initrd-size=10240
read-only[/code]

et ca c’est avec celui de wheezy le netinstall :

[code]## This yaboot.conf is for CD booting only, do not use as reference.

Debian GNU/Linux PowerPC (wheezy)

default=install
message=/install/boot.msg

64-bit PowerPC subarch

image=/install/powerpc64/vmlinux
label=install
initrd=/install/powerpc64/initrd.gz
append="–"
initrd-size=10240
read-only

image=/install/powerpc64/vmlinux
label=expert
initrd=/install/powerpc64/initrd.gz
append="priority=low --"
initrd-size=10240
read-only

image=/install/powerpc64/vmlinux
label=rescue
initrd=/install/powerpc64/initrd.gz
append="rescue/enable=true --"
initrd-size=10240
read-only

image=/install/powerpc64/vmlinux
label=auto
initrd=/install/powerpc64/initrd.gz
append="auto=true priority=critical --"
initrd-size=10240
read-only

32-bit PowerPC subarch

image=/install/powerpc/vmlinux
label=install32
initrd=/install/powerpc/initrd.gz
append="–"
initrd-size=10240
read-only

image=/install/powerpc/vmlinux
label=expert32
initrd=/install/powerpc/initrd.gz
append="priority=low --"
initrd-size=10240
read-only

image=/install/powerpc/vmlinux
label=rescue32
initrd=/install/powerpc/initrd.gz
append="rescue/enable=true --"
initrd-size=10240
read-only

image=/install/powerpc/vmlinux
label=auto32
initrd=/install/powerpc/initrd.gz
append="auto=true priority=critical --"
initrd-size=10240
read-only[/code]

et pour le routers il faut peut être mettre l’adresse du server alors ? moi j’ai mis celui de ma box !!

ton fichier yaboot.conf il viens peut être de la :
http.us.debian.org/debian/dists/ … c/netboot/

attend je vais modifier quelque truc …

Normalement c’est l’adresse de ta box (à moins que tu aies une autre passerelle entre ta box et ton PC)

Vérifie que tu n’as pas un firewall activé sur ta machine dhcp.

aec boot ene:0 j’ai rien j’ai une erreur et avec boot enet:192.168.1.12,yabbot j’ai au lieu de me mettre :

boot enet:0,yaboot
CLIENT “@MAC” "@IP"
SERVER “@MAC” "@IP"
Transfer File: yaboot
TFTP RRQ TimeOutload-size=0 adler32=1

LOAD SIZE is too small

il me met :

boot enet:0,yaboot
CLIENT “@MAC” "@IP"
SERVER “@MAC” "@IP"
Transfer File: yaboot
TFTP ERROR response 1 File not foundload-size=0 adler32=1

LOAD SIZE is too small

/var/lib/tftpboot/
├── install
│ ├── boot.msg
│ ├── gtk
│ │ ├── initrd.gz
│ │ ├── mini.iso
│ │ └── vmlinux.asc
│ ├── initrd.gz
│ ├── mini.iso
│ ├── vmlinux.asc
│ ├── vmlinuz-chrp.initrd
│ └── yaboot.asc
└── yaboot.conf

[code]## This yaboot.conf is for netbooting only, do not use as reference.

Debian GNU/Linux PowerPC

default=install
root=/dev/ram

message=/install/boot.msg

image=/install/vmlinux
label=install
initrd=/install/initrd.gz
initrd-size=20546
append="–"
read-only

image=/install/vmlinux
label=expert
initrd=/install/initrd.gz
initrd-size=20546
append="priority=low --"
read-only

image=/install/vmlinux
label=rescue
initrd=/install/initrd.gz
initrd-size=20546
append="rescue/enable=true --"
read-only

image=/install/vmlinux
label=auto
initrd=/install/initrd.gz
initrd-size=20546
append="auto=true priority=critical --"
read-only[/code]

je viens d’essayer de faire un reset-nvram
reset-all mais ca ne change rien

boot enet:0

pas besoin de spécifier “yaboot”

en plus je ne vois pas le fichier binaire yaboot dans ton arborescence! (c’est quoi yaboot.asc ?)

reprenons :

supprime les fichiers dans ton /var/lib/tftpboot/install

télécharge dedans ces fichiers :

ftp.nl.debian.org/debian/dists/w … c/netboot/

il te faut :

boot.msg
yaboot
vmlinux
initrd.gz

et
yaboot.conf
dans /var/lib/tftpboot

(corrige les paths dans yaboot.conf)

je comprend pas trop ce qu’il c’est passé le .asc ca doit être le binaire. je vais les re télécharger …

j’ai téléchargé avec downthemall et il a du le renommer

bon j’ai tous remis et ca me met toujours l’erreur du début quand je met boot enet:0

BOOT/BSDP failed :no FILENAME specified can’t OPEN: enet:0

dans ton dhcpd.conf

mets ton path complet, par exemple :

filename “/var/lib/tftpboot/install/yaboot”;

et redémarre le dhcpd bien sûr

par contre dans mon log j’ai ca
Can’t create new lease file: Permission denied

aucune changement avec boot enet:0

même si je teste avec boot enet:0,yaboot il me met toujours :
boot enet:0,yaboot
CLIENT “@MAC” "@IP"
SERVER “@MAC” "@IP"
Transfer File: yaboot
TFTP ERROR response 1 File not foundload-size=0 adler32=1

LOAD SIZE is too small

je viens de voir ca :

-rw-r----- 1 root root 198596 févr. 2 14:46 yaboot

non ca change rien en 777

[code]# /etc/default/tftpd-hpa

TFTP_USERNAME=“tftp"
TFTP_DIRECTORY=”/var/lib/tftpboot"
TFTP_ADDRESS=“0.0.0.0:69"
TFTP_OPTIONS=”–secure"[/code]

dans les options tftpd, j’ai celles-ci en plus de “–secure” (au cas ou) :

CA FONCTIONNE !!!

finalement j’ai effacé tous les fichiers de tftpboot avec le répertoire install et j’ai mis tous les fichiers à la racine en mettant le droit de lecture pour les autres en plus et l’install à démarrer :smiley:

merci beaucoup pour ton aide en tout cas

Victoire :041

dans le même temsp, je viens juste de terminer l’install de Wheezy sur mon iMac G3 :stuck_out_tongue: