Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Installation] Erreur au démarrage (résolu)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
Neuromancien
l33t
l33t


Joined: 03 Dec 2003
Posts: 867

PostPosted: Sun May 23, 2004 6:38 pm    Post subject: [Installation] Erreur au démarrage (résolu) Reply with quote

Bonsoir

J'ai terminé l'installation de Gentoo comme indiqué dans la doc. Au démarrage, j'ai l'erreur suivante :
Code:
attempt to access beyond end of device
01:00: rw=0, want=4174, limit=4096

/bin/sh: can't access tty; job control turned off


Last edited by Neuromancien on Mon Sep 20, 2004 9:13 am; edited 1 time in total
Back to top
View user's profile Send private message
Diagorn
Apprentice
Apprentice


Joined: 03 May 2004
Posts: 157
Location: Agen

PostPosted: Sun May 23, 2004 6:58 pm    Post subject: Reply with quote

Tu utilises quoi quoi boot loader ? grub ? lilo ?
Back to top
View user's profile Send private message
Neuromancien
l33t
l33t


Joined: 03 Dec 2003
Posts: 867

PostPosted: Sun May 23, 2004 8:47 pm    Post subject: Reply with quote

Diagorn wrote:
Tu utilises quoi quoi boot loader ? grub ? lilo ?

lilo, celui d'une autre distribution Linux déjà installée.

Code:
boot=/dev/hda


root=/dev/hda6

install=/boot/boot-menu.b

map=/boot/map

delay=200

prompt
timeout=150

vga=normal

append="hdc=ide-scsi hdd=ide-scsi"

default=Linux

image=/vmlinuz
   label=Linux
   read-only
#   restricted
#   alias=1

image=/mnt/hdb3/vmlinuz.old
   label="Old_Linux(hdb3)"
   read-only
   root=/dev/hdb3

image=/mnt/hdb3/vmlinuz
   label="Linux(hdb3)"
   read-only
   root=/dev/hdb3
   initrd=/mnt/hdb3/initrd.img

image=/vmlinuz.old
   label=LinuxOLD
   read-only
   optional
#   restricted
#   alias=2

image=/mnt/gentoo/boot/kernel-2.4.25-gentoo-r1
   label=Gentoo
   read-only
   root=/dev/ram0
   append="init=/linuxrc real_root=/dev/hda9"
   initrd=/mnt/gentoo/boot/initrd-2.4.25-gentoo-r1

other=/dev/hdb1
   label="Windows(hdb1)"
   map-drive=0x80
   to=0x81
   map-drive=0x81
   to=0x80

other=/dev/hdb2
   label="FreeBSD(hdb2)"
Back to top
View user's profile Send private message
ghoti
Advocate
Advocate


Joined: 30 Dec 2002
Posts: 3634
Location: Belgium

PostPosted: Sun May 23, 2004 8:56 pm    Post subject: Reply with quote

Apparemment, tu utilises le bootsplash ?
Je dis ça parce que le "limit=4096" de ton message initial me fait penser à la taille par défaut du RAMDISK.
Peut-être que l'image du bootsplash est trop grosse ?
Back to top
View user's profile Send private message
titix
Guru
Guru


Joined: 01 Nov 2003
Posts: 343
Location: Paris, France

PostPosted: Sun May 23, 2004 9:06 pm    Post subject: Reply with quote

Le boot sous windows ne te pose pas de problèmes ?
Le rw=0 me turlupine, essaye de commenter tous les 'read-only' pour voir si celà change quelque chose.
_________________
titix
« La route est longue... mais la voie est libre ! »
Back to top
View user's profile Send private message
Neuromancien
l33t
l33t


Joined: 03 Dec 2003
Posts: 867

PostPosted: Sun May 23, 2004 10:28 pm    Post subject: Reply with quote

Quote:
Apparemment, tu utilises le bootsplash ?
Je dis ça parce que le "limit=4096" de ton message initial me fait penser à la taille par défaut du RAMDISK.
Peut-être que l'image du bootsplash est trop grosse ?

Non, je n'utilise pas de bootsplash.

titix wrote:
Le boot sous windows ne te pose pas de problèmes ?
Le rw=0 me turlupine, essaye de commenter tous les 'read-only' pour voir si celà change quelque chose.

Je n'ai aucun problème pour booter sous Windows.
Back to top
View user's profile Send private message
ghoti
Advocate
Advocate


Joined: 30 Dec 2002
Posts: 3634
Location: Belgium

PostPosted: Sun May 23, 2004 10:40 pm    Post subject: Reply with quote

Neuromancien wrote:
Non, je n'utilise pas de bootsplash.

Oui, j'ai peut-être conclu un peu vite :(
En fait, ma supposition venait de ce que tu utilises une image initrd :
Quote:
initrd=/mnt/gentoo/boot/initrd-2.4.25-gentoo-r1

Cette image est chargée dans le RAMDISK et c'est peut-être sa taille qui pose problème.
J'ignore ce qu'elle contient (c'est généré par genkernel, non ?)
Back to top
View user's profile Send private message
Neuromancien
l33t
l33t


Joined: 03 Dec 2003
Posts: 867

PostPosted: Mon May 24, 2004 9:03 pm    Post subject: Reply with quote

ghoti wrote:
Neuromancien wrote:
Non, je n'utilise pas de bootsplash.

Oui, j'ai peut-être conclu un peu vite :(
En fait, ma supposition venait de ce que tu utilises une image initrd :
Quote:
initrd=/mnt/gentoo/boot/initrd-2.4.25-gentoo-r1

Cette image est chargée dans le RAMDISK et c'est peut-être sa taille qui pose problème.
J'ignore ce qu'elle contient (c'est généré par genkernel, non ?)

Oui j'ai utilisé genkernel. Pour lilo, j'ai repris ce qui est indiqué dans la doc :
http://www.gentoo.org/doc/fr/handbook/handbook-x86.xml?part=1&chap=9
Back to top
View user's profile Send private message
ghoti
Advocate
Advocate


Joined: 30 Dec 2002
Posts: 3634
Location: Belgium

PostPosted: Mon May 24, 2004 10:05 pm    Post subject: Reply with quote

Neuromancien wrote:
Pour lilo, j'ai repris ce qui est indiqué dans la doc :
http://www.gentoo.org/doc/fr/handbook/handbook-x86.xml?part=1&chap=9
A mon avis, le problème, ce n'est pas le chargeur.
Ma théorie c'est que le fichier initrd est trop gros !

Pour tenir dans le RAMDISK défini par défaut dans le noyau, l'initrd, une fois décompressé, ne peut pas faire plus de 4 Mo ...
(voir /usr/src/linux/Documentation/initrd.txt)
Tu peux aussi vérifier la taille prévue pour le RAMDISK en faisant :
grep BLK_DEV_RAM /usr/src/linux/.config

Si le fichier /mnt/gentoo/boot/initrd-2.4.25-gentoo-r1 fait plus que la taille prévue ci-dessus, pas chercher plus loin : c'est trop gros ...
Sinon, il est peut-être compressé (désolé, sais pas comment fait genkernel ...).
Pour vérifier sa taille, tu devrais pouvoir le décompresser avec gunzip (faire une copie avant !) ou l'examiner avec un truc comme ark ou karchiver.

Ce n'est qu'une théorie purement personnelle, donc pas taper ... ;)
Back to top
View user's profile Send private message
Neuromancien
l33t
l33t


Joined: 03 Dec 2003
Posts: 867

PostPosted: Tue May 25, 2004 3:04 am    Post subject: Reply with quote

J'ai résolu le problème en ajoutant append="ramdisk_size=8192. Il me reste encore quelques détails à régler, comme la configuration de X qui ne me donne pas satisfaction.
Back to top
View user's profile Send private message
ghoti
Advocate
Advocate


Joined: 30 Dec 2002
Posts: 3634
Location: Belgium

PostPosted: Tue May 25, 2004 10:38 am    Post subject: Reply with quote

Neuromancien wrote:
J'ai résolu le problème en ajoutant append="ramdisk_size=8192

En effet, j'avais oublié cette possibilité !
Mais ma théorie était donc la bonne ! (parfois, je me surprend ... :lol: )
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index French All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum