[installation]Archppc install ok, mais ne boot pas(résolu)

Questions et astuces concernant l'installation et la configuration d'archlinux
Avatar de l’utilisateur
101
Chu Ko Nu
Messages : 403
Inscription : dim. 21 janv. 2007, 16:31

[installation]Archppc install ok, mais ne boot pas(résolu)

Message par 101 »

j'ai donc installé, sur un mac ppc,Archlinuxppc avec le dernier cd en date ,Archlinux-ppc-2007.08.2-Don't-Panic.ftp.iso
j'ai choisi le partitionnement automatique du DD, et l'installation c'est passée sans aucun problème, configuration des fichiers, installation du kernel, et de yaboot, mais lors du reboot... rien, a part l'icône avec un "?" signifiant qu'il n'y a pas de système pour booter.
pourtant, j'ai booter avec un live ppc pour voir si les fichiers de conf, le kernel, étaient présents et tout semble ok.
en fait mon problème, est que je ne sais pas d'ou vient le problème... une idée, vous avez ?

je poste mon yaboot.conf, mon fstab, et un ls /boot
+ une image du partitionnement de mon DD.


(bon, je sais, il n'y a pas de forum Archlinuxppc ici)

Code : Tout sélectionner

## Example yaboot.conf for ybin and yaboot >= 0.6
## see man yaboot.conf for more details.

boot=/dev/hda2
## device is the OpenFirmware device path to the disk containing
## kernel images.  if your disk is /dev/hda you can find the
## OpenFirmware path by running the command: ofpath /dev/hda DO NOT
## specify a partition number for this!  On IBM hardware you can
## generally comment this out.

device=/pci@f2000000/pci-bridge@d/mac-io@7/ata-4@1f000/disk@0:

## partition is the partition number where the kernel images are
## located.  The kernel images should be on your root filesystem, so
## this is usually the same partition number as your root filesystem.
## so if root = /dev/hda3 (the 3rd partition) then you should have
## partition=3  This *MUST* be set correct or yaboot won't boot!  This
## option can be either set globally as shown here, or per image in
## the image= sections

#partition=4

## delay is the amount of time in seconds the dual boot menu (if one
## is configured, by the presense of macos, macosx, etc options here)
## will wait before choosing the default OS (GNU/Linux or the value of
## defaultos=).  If you omit this then the value of timeout=
## (converted to seconds) will be used.

delay=10

## timeout is the amount of time in tenths of a second that yaboot
## will wait before booting the default kernel image (the first image=
## section in this config file or the value of default=).  

timeout=40
install=/usr/lib/yaboot/yaboot
magicboot=/usr/lib/yaboot/ofboot

## Change the default colors, fgcolor is the text color, bgcolor is
## the screen background color. (default: fgcolor=white, bgcolor=black)
#fgcolor=black
#bgcolor=green

## Password supplied in plaintext, required for yaboot to boot, unless
## restricted is also present (see below). Be sure to
## chmod 600 /etc/yaboot.conf if you set this!

#password=secret

## Password supplied as an md5 hash, see above

#password=/gcM3oKhNbnzUPgXTD/
## A password is only required to boot an image specified here if
## parameters are specified on the command line or if the user enters
## an image is not specified in the configuration file at all (ie.
## arbitrary file load).  restricted can also be placed in an image
## section in that case any image not including the restricted keyword
## will be fully password protected.

#restricted

## image is the kernel itself, commonly kept in / but also commonly
## found in /boot.  Note that /boot should generally not be its own
## partition on powerpcs, its not necessary and complicates things.
## Make sure /boot is on the partition specified by partition= see
## above.  /boot should never be an HFS filesystem.  You may point
## image= to a symbolic link so long as the symlink does not cross
## partition boundries.
enablecdboot
image=/boot/vmlinux26
		label=Linux
		root=/dev/hda4
		initrd=/boot/kernel26.img
		read-only
		partition=4


image=/boot/vmlinux26
		label=Fallback
		root=/dev/hda4
		initrd=/boot/kernel26-fallback.img
		read-only
		partition=4

Code : Tout sélectionner

# 
# /etc/fstab: static file system information
#
# <file system>        <dir>         <type>    <options>          <dump> <pass>
none                   /dev/pts      devpts    defaults            0      0
none                   /dev/shm      tmpfs     defaults            0      0


/dev/cdrom /mnt/cdrom   iso9660   ro,user,noauto,unhide   0      0
/dev/dvd /mnt/dvd   udf   ro,user,noauto,unhide   0      0
/dev/hda3 swap swap defaults 0 0
/dev/hda4 / ext3 defaults 0 1
/dev/hda5 /home ext3 defaults 0 1

Code : Tout sélectionner

[root@localhost ~]# ls /media/disk-1/boot
first.b                kernel26.img               second        vmlinux26
kconfig26              mkinitcpio-kernel26.conf   second.b
kernel26-fallback.img  mkinitcpio-kernel26.conf~  System.map26
Dernière modification par 101 le jeu. 20 mars 2008, 21:34, modifié 1 fois.
Avatar de l’utilisateur
TuxSpirit
Chu Ko Nu
Messages : 338
Inscription : jeu. 08 nov. 2007, 14:11
Localisation : Suisse/VD

Message par TuxSpirit »

salut,

tu as suivi la procédure d'installation qui est décrite sur le site http://wiki.archlinux.org/index.php/Ins ... _Linux_PPC

notamment la partie sur les partitions :
http://wiki.archlinux.org/index.php/Ins ... #Partition
Amicalement,
TuxSpirit
Avatar de l’utilisateur
101
Chu Ko Nu
Messages : 403
Inscription : dim. 21 janv. 2007, 16:31

Message par 101 »

oui, j'ai essayé aussi cette méthode, mais le partitionneur automatique, maintenant fonctionne bien. en fait j'ai essayé plusieurs fois les 2 méthodes avec 4 cd d'install différents, mais bon, je crois que le partitionnement et l'install c'est ok, et que le problème vient d'un fichier de config, mais le quel ?
Avatar de l’utilisateur
101
Chu Ko Nu
Messages : 403
Inscription : dim. 21 janv. 2007, 16:31

Message par 101 »

ouah, j'ai trouvé, si, si,
alors pour info, le fichier en cause est dans le bootstrap (hd2 boot),
c'est le fichier ofboot.b, j'ai remplacé ultra2:2 par hd:2 dans la ligne =>

Code : Tout sélectionner

: bootyaboot " Loading second stage bootstrap..." .printf 100 ms load-base release-load-area " ultra2:2,\\yaboot" $boot
bon maintenant je continue l'installation classique d'Archlinux, si vous me cherchez, je suis dans le wiki
@+ :bananeyoupi:
Répondre