Installation Debian / powerMac G4 2x1Ghz,1Go Leopard

j’ai essayer en enlevant l’option host-name et en rajoutant l’interface eth0 dans /etc/default/isc-dhcp-server mais j’ai toujours:

[quote]Jan 31 14:28:50 gilles-PC dhcpd: DHCPDISCOVER from 00:03:93:bb:9a:68 via eth0
Jan 31 14:28:50 gilles-PC dhcpd: DHCPOFFER on 192.168.1.17 to 00:03:93:bb:9a:68 via eth0
Jan 31 14:28:50 gilles-PC dhcpd: Dynamic and static leases present for 192.168.1.17.
Jan 31 14:28:50 gilles-PC dhcpd: Remove host declaration MacOSX.home or remove 192.168.1.17
Jan 31 14:28:50 gilles-PC dhcpd: from the dynamic address pool for 192.168.1.0/24
Jan 31 14:28:50 gilles-PC dhcpd: DHCPREQUEST for 192.168.1.17 (192.168.1.12) from 00:03:93:bb:9a:68 via eth0
Jan 31 14:28:50 gilles-PC dhcpd: DHCPACK on 192.168.1.17 to 00:03:93:bb:9a:68 via eth0
[/quote]

je ne comprend pas trop.

Alors voilà ce qui s’affiche sur le mac :

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

le seul site qui y fait mention est ici : forums.gentoo.org/viewtopic-t-50 … rt-25.html
et il n’y a pas de réponse …

pour le DHCP il te dit de choisir une IP fixe qui n’est pas incluse dans ton range.

après pour le PXE, se rapporter à la doc officielle comme d’hab

debian.org/releases/stable/p … 05.html.fr

les fichiers de boot sont là

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

(dans mon tuto je n’ai pas utilisé une Debian comme serveur dhcp/tftp)

Donc le serveur me dit de choisir une ip fixe qui ne soit pas dans le range … à quoi ca sert d’avoir un range alors !!? la, le serveur est en 192.168.1.12 et le client en 17. le range commence à 17.

Mon serveur est en Ubuntu.
J’ai suivi ton tutoriel !!

je comprend pas une ip fixe pour qui ? le serveur ok il est en ip fixe en dehors du range … le client ? désolé mais je ne sais pas mettre une ip fixe sur un mac via l’openfirmware

ce n’est pas bloquant comme erreur puisque le boot PXE fonctionne (jusqu’à l’erreur suivante)

Tu as bien pris les bons fichiers de boot?

oui j’ai fais exactement comme dans ton tutoriel sauf que moi mes fichiers sont dans /var/lib/tftpboot/

J’ai relu mon tuto :

donc en gros j’avais dû avoir la même erreur que toi, c’est pour ça que je m’étais rabattu sur une Ubuntu :033

ceci étant tu devrais essayer avec les fichiers de boot de Wheezy, ça devrait fonctionner puisque j’ai installé une Mint PPC (basée sur Wheezy) avec cette méthode.

wheezy !? c’est la 7 beta 4 ca ? si c’est bien cas, bein c’est déjà les fichiers de wheezy … je vais tenter avec les fichiers de la 6.0.6 en attendant ta réponse.

petite précision :
La, dans ton tutu, tu fais mettre yaboot.conf a la racine de tftpboot, mais quand le mac boot il va chercher ce fichier .conf pour démarrer l’install ou il va dans le répertoire install ?
parce que moi la première fois j’avais mis boot enet:0 et il ne ce passais rien jusqu’au moment ou j’avais le message d’erreur BOOTP/BSDP … par contre, après j’ai changé et j’ai mis boot enet:0,yaboot et la j’ai eu :
CLIENT "@MAC "@IP"
SERVER “@MAC” “@IP

donc il faut peut être déjà spécifier un fichier pour qu"il boot dessus. mais moi j’ai juste mis “yaboot” c’est peut être pour ca qu’il a foiré. si il va chercher à la racine de tftpboot il faut peut être mettre boot enet:0,yaboot.conf ?.. bien que ca me semble étrange qu’il exécute un fichier de conf …

Bon bein ca fais pareil avec la 6.0.6

Bon je poste mon log de ce matin. j’ai testé differente commande pour lancer l’install :
boot enet:0
boot enet:192.168.1.12
boot enet:0,yaboot
boot enet:0,yaboot.conf

[quote]
Feb 1 08:01:58 gilles-PC dhcpd: All rights reserved.
Feb 1 08:01:58 gilles-PC dhcpd: For info, please visit isc.org/software/dhcp/
Feb 1 08:01:58 gilles-PC dhcpd: Internet Systems Consortium DHCP Server 4.2.4
Feb 1 08:01:58 gilles-PC dhcpd: Copyright 2004-2012 Internet Systems Consortium.
Feb 1 08:01:58 gilles-PC dhcpd: All rights reserved.
Feb 1 08:01:58 gilles-PC dhcpd: For info, please visit isc.org/software/dhcp/
Feb 1 08:01:58 gilles-PC dhcpd: Wrote 0 deleted host decls to leases file.
Feb 1 08:01:58 gilles-PC dhcpd: Wrote 0 new dynamic host decls to leases file.
Feb 1 08:01:58 gilles-PC dhcpd: Wrote 2 leases to leases file.
Feb 1 08:01:58 gilles-PC dhcpd:
Feb 1 08:01:58 gilles-PC dhcpd: No subnet declaration for eth0 (no IPv4 addresses).
Feb 1 08:01:58 gilles-PC dhcpd: ** Ignoring requests on eth0. If this is not what
Feb 1 08:01:58 gilles-PC dhcpd: you want, please write a subnet declaration
Feb 1 08:01:58 gilles-PC dhcpd: in your dhcpd.conf file for the network segment
Feb 1 08:01:58 gilles-PC dhcpd: to which interface eth0 is attached. **
Feb 1 08:01:58 gilles-PC dhcpd:
Feb 1 08:01:58 gilles-PC dhcpd:
Feb 1 08:01:58 gilles-PC dhcpd: Not configured to listen on any interfaces!
Feb 1 08:01:58 gilles-PC dhcpd: Internet Systems Consortium DHCP Server 4.2.4
Feb 1 08:01:58 gilles-PC dhcpd: Copyright 2004-2012 Internet Systems Consortium.
Feb 1 08:01:58 gilles-PC dhcpd: All rights reserved.
Feb 1 08:01:58 gilles-PC dhcpd: For info, please visit isc.org/software/dhcp/
Feb 1 08:01:58 gilles-PC dhcpd: Internet Systems Consortium DHCP Server 4.2.4
Feb 1 08:01:58 gilles-PC dhcpd: Copyright 2004-2012 Internet Systems Consortium.
Feb 1 08:01:58 gilles-PC dhcpd: All rights reserved.
Feb 1 08:01:58 gilles-PC dhcpd: For info, please visit isc.org/software/dhcp/
Feb 1 08:01:58 gilles-PC dhcpd: Wrote 0 deleted host decls to leases file.
Feb 1 08:01:58 gilles-PC dhcpd: Wrote 0 new dynamic host decls to leases file.
Feb 1 08:01:58 gilles-PC dhcpd: Wrote 2 leases to leases file.
Feb 1 09:18:24 gilles-PC dhcpd: DHCPDISCOVER from 00:03:93:bb:9a:68 via eth0
Feb 1 09:18:24 gilles-PC dhcpd: DHCPOFFER on 192.168.1.17 to 00:03:93:bb:9a:68 via eth0
Feb 1 09:18:24 gilles-PC dhcpd: Dynamic and static leases present for 192.168.1.17.
Feb 1 09:18:24 gilles-PC dhcpd: Remove host declaration MacOSX.home or remove 192.168.1.17
Feb 1 09:18:24 gilles-PC dhcpd: from the dynamic address pool for 192.168.1.0/24
Feb 1 09:18:24 gilles-PC dhcpd: DHCPREQUEST for 192.168.1.17 (192.168.1.12) from 00:03:93:bb:9a:68 via eth0
Feb 1 09:18:24 gilles-PC dhcpd: DHCPACK on 192.168.1.17 to 00:03:93:bb:9a:68 via eth0
Feb 1 09:18:29 gilles-PC dhcpd: DHCPINFORM from 192.168.1.17 via eth0
Feb 1 09:18:29 gilles-PC dhcpd: DHCPACK to 192.168.1.17 (00:03:93:bb:9a:68) via eth0
Feb 1 09:18:38 gilles-PC dhcpd: DHCPINFORM from 192.168.1.17 via eth0
Feb 1 09:18:38 gilles-PC dhcpd: DHCPACK to 192.168.1.17 (00:03:93:bb:9a:68) via eth0
Feb 1 09:18:55 gilles-PC dhcpd: DHCPINFORM from 192.168.1.17 via eth0
Feb 1 09:18:55 gilles-PC dhcpd: DHCPACK to 192.168.1.17 (00:03:93:bb:9a:68) via eth0
Feb 1 09:19:27 gilles-PC dhcpd: DHCPINFORM from 192.168.1.17 via eth0
Feb 1 09:19:27 gilles-PC dhcpd: DHCPACK to 192.168.1.17 (00:03:93:bb:9a:68) via eth0
Feb 1 09:20:32 gilles-PC dhcpd: DHCPINFORM from 192.168.1.17 via eth0
Feb 1 09:20:32 gilles-PC dhcpd: DHCPACK to 192.168.1.17 (00:03:93:bb:9a:68) via eth0
Feb 1 09:22:30 gilles-PC dhcpd: DHCPDISCOVER from 00:03:93:bb:9a:68 via eth0
Feb 1 09:22:30 gilles-PC dhcpd: DHCPOFFER on 192.168.1.17 to 00:03:93:bb:9a:68 via eth0
Feb 1 09:22:30 gilles-PC dhcpd: Dynamic and static leases present for 192.168.1.17.
Feb 1 09:22:30 gilles-PC dhcpd: Remove host declaration MacOSX.home or remove 192.168.1.17
Feb 1 09:22:30 gilles-PC dhcpd: from the dynamic address pool for 192.168.1.0/24
Feb 1 09:22:30 gilles-PC dhcpd: DHCPREQUEST for 192.168.1.17 (192.168.1.12) from 00:03:93:bb:9a:68 via eth0
Feb 1 09:22:30 gilles-PC dhcpd: DHCPACK on 192.168.1.17 to 00:03:93:bb:9a:68 via eth0
Feb 1 09:22:35 gilles-PC dhcpd: DHCPINFORM from 192.168.1.17 via eth0
Feb 1 09:22:35 gilles-PC dhcpd: DHCPACK to 192.168.1.17 (00:03:93:bb:9a:68) via eth0
Feb 1 09:22:43 gilles-PC dhcpd: DHCPINFORM from 192.168.1.17 via eth0
Feb 1 09:22:43 gilles-PC dhcpd: DHCPACK to 192.168.1.17 (00:03:93:bb:9a:68) via eth0
Feb 1 09:23:00 gilles-PC dhcpd: DHCPINFORM from 192.168.1.17 via eth0
Feb 1 09:23:00 gilles-PC dhcpd: DHCPACK to 192.168.1.17 (00:03:93:bb:9a:68) via eth0
Feb 1 09:23:32 gilles-PC dhcpd: DHCPINFORM from 192.168.1.17 via eth0
Feb 1 09:23:32 gilles-PC dhcpd: DHCPACK to 192.168.1.17 (00:03:93:bb:9a:68) via eth0
Feb 1 09:23:45 gilles-PC dhcpd: uid lease 192.168.1.17 for client 00:1d:60:92:bb:40 is duplicate on 192.168.1.0/24
Feb 1 09:23:45 gilles-PC dhcpd: DHCPDISCOVER from 00:1d:60:92:bb:40 via eth0
Feb 1 09:23:45 gilles-PC dhcpd: DHCPOFFER on 192.168.1.18 to 00:1d:60:92:bb:40 via eth0
Feb 1 09:23:45 gilles-PC dhcpd: Dynamic and static leases present for 192.168.1.18.
Feb 1 09:23:45 gilles-PC dhcpd: Remove host declaration PC-de-CandyStyl or remove 192.168.1.18
Feb 1 09:23:45 gilles-PC dhcpd: from the dynamic address pool for 192.168.1.0/24
Feb 1 09:23:45 gilles-PC dhcpd: uid lease 192.168.1.17 for client 00:1d:60:92:bb:40 is duplicate on 192.168.1.0/24
Feb 1 09:23:45 gilles-PC dhcpd: DHCPREQUEST for 192.168.1.18 (192.168.1.12) from 00:1d:60:92:bb:40 via eth0
Feb 1 09:23:45 gilles-PC dhcpd: DHCPACK on 192.168.1.18 to 00:1d:60:92:bb:40 via eth0
Feb 1 09:23:50 gilles-PC dhcpd: DHCPINFORM from 192.168.1.18 via eth0
Feb 1 09:23:50 gilles-PC dhcpd: DHCPACK to 192.168.1.18 (00:1d:60:92:bb:40) via eth0
Feb 1 09:24:37 gilles-PC dhcpd: DHCPINFORM from 192.168.1.17 via eth0
Feb 1 09:24:37 gilles-PC dhcpd: DHCPACK to 192.168.1.17 (00:03:93:bb:9a:68) via eth0
Feb 1 09:48:13 gilles-PC dhcpd: DHCPDISCOVER from 00:03:93:bb:9a:68 via eth0
Feb 1 09:48:13 gilles-PC dhcpd: DHCPOFFER on 192.168.1.17 to 00:03:93:bb:9a:68 via eth0
Feb 1 09:48:13 gilles-PC dhcpd: Dynamic and static leases present for 192.168.1.17.
Feb 1 09:48:13 gilles-PC dhcpd: Remove host declaration MacOSX.home or remove 192.168.1.17
Feb 1 09:48:13 gilles-PC dhcpd: from the dynamic address pool for 192.168.1.0/24
Feb 1 09:48:13 gilles-PC dhcpd: DHCPREQUEST for 192.168.1.17 (192.168.1.12) from 00:03:93:bb:9a:68 via eth0
Feb 1 09:48:13 gilles-PC dhcpd: DHCPACK on 192.168.1.17 to 00:03:93:bb:9a:68 via eth0
Feb 1 10:19:17 gilles-PC dhcpd: DHCPDISCOVER from 00:03:93:bb:9a:68 via eth0
Feb 1 10:19:17 gilles-PC dhcpd: DHCPOFFER on 192.168.1.17 to 00:03:93:bb:9a:68 via eth0
Feb 1 10:19:17 gilles-PC dhcpd: Dynamic and static leases present for 192.168.1.17.
Feb 1 10:19:17 gilles-PC dhcpd: Remove host declaration MacOSX.home or remove 192.168.1.17
Feb 1 10:19:17 gilles-PC dhcpd: from the dynamic address pool for 192.168.1.0/24
Feb 1 10:19:17 gilles-PC dhcpd: DHCPREQUEST for 192.168.1.17 (192.168.1.12) from 00:03:93:bb:9a:68 via eth0
Feb 1 10:19:17 gilles-PC dhcpd: DHCPACK on 192.168.1.17 to 00:03:93:bb:9a:68 via eth0[/quote]

vu que j’ai viré le dhcp de la box j’ai mis une déclaration pour le pc de ma femme dans le serveur dhcp.

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)