Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[baselayout] /etc/issue (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
amaury.dg
n00b
n00b


Joined: 05 Feb 2006
Posts: 38
Location: Montigny-Le-Tileul / Belgique

PostPosted: Fri Apr 13, 2007 6:39 pm    Post subject: [baselayout] /etc/issue (résolu) Reply with quote

Salut (oui c'est encore moi ;-) )

Voilà je viens de "copier" les donnée de mon ancien hdd vers un nouveau, tout marche très bien sauf un petit truc qui m'nrv ;-)

Dans mon /etc/issue , il me dit que j'ai des devices non présente dans /dev et que je dois "cp -a...bla bla".

J'ai donc suivit les instructions: ça ne marche tj pas (j'ai bien remplacé /etc/issue par /etc/issue.devfix cad celui sans le msg d'erreur).
J'ai aussi: désarchiver un stage3 et copié le /dev
J'ai aussi: rsync -av /stage3/dev /dev

Et ça me met tj le même message.....Pourtant le pc tourne bien depuis hier et je ne remarque aucuns problèmes particuliers mais...ça me chiffone quand même....

Si vous avez une idées ça serait bien sympas.

EDIT:
Code:

-----------------------------------------------------
Your system seems to be missing critical device files
in /dev !  Although you may be running udev or devfs,
the root partition is missing these required files !

To rectify this situation, please do the following:
mkdir /mnt/fixit
mount --bind / /mnt/fixit
cp -a /dev/* /mnt/fixit/dev/
umount /mnt/fixit
rmdir /mnt/fixit

You may refer to these instructions at /etc/issue.
If you previously had an issue file, it has been
backed up at /etc/issue.devfix.  Once you've fixed
your system, you will have to restore your old issue
file in order to get rid of this warning.

Thanks for using Gentoo ! :)
http://bugs.gentoo.org/show_bug.cgi?id=40987
-----------------------------------------------------



Merci

Amaury


Last edited by amaury.dg on Sat Apr 14, 2007 7:49 pm; edited 1 time in total
Back to top
View user's profile Send private message
JBen
Tux's lil' helper
Tux's lil' helper


Joined: 29 Apr 2006
Posts: 103
Location: Poitiers, France

PostPosted: Fri Apr 13, 2007 7:49 pm    Post subject: Reply with quote

Ceci est une idée, a verifier :

Code:
cd /dev
makedev generic

_________________
JBen, a French who don't speake a good English...
Back to top
View user's profile Send private message
amaury.dg
n00b
n00b


Joined: 05 Feb 2006
Posts: 38
Location: Montigny-Le-Tileul / Belgique

PostPosted: Fri Apr 13, 2007 8:04 pm    Post subject: Reply with quote

Humm apparemment non car le paquet makedev est masked sous amd64 et sur une autre install gentoo je n'ai pas de /dev/generic
Back to top
View user's profile Send private message
SanKuKai
Apprentice
Apprentice


Joined: 17 Feb 2006
Posts: 228
Location: Toulouse, France

PostPosted: Fri Apr 13, 2007 8:30 pm    Post subject: Reply with quote

Salut.

As-tu bien pensé à la dernière étape du processus de restauration ?
Quote:

Once you've fixed
your system, you will have to restore your old issue
file in order to get rid of this warning.


Si ce n'est pas le cas un petit coup de :
Code:

mv -f /etc/issue.devfix /etc/issue


ne devrait pas faire de mal. :wink:
Back to top
View user's profile Send private message
widan
Veteran
Veteran


Joined: 07 Jun 2005
Posts: 1512
Location: Paris, France

PostPosted: Fri Apr 13, 2007 10:16 pm    Post subject: Re: [baselayout] /etc/issue Reply with quote

amaury.dg wrote:
J'ai aussi: désarchiver un stage3 et copié le /dev
J'ai aussi: rsync -av /stage3/dev /dev

Essaye de faire ces commandes:
Code:
# mkdir /tmp/scratch
# mount --bind / /tmp/scratch
# ls -l /tmp/scratch/dev/{null,console}

Normalement tu devrais obtenir quelque chose comme ça (les deux devices en question sont ceux qui déclenchent le message):
Code:
crw------- 1 root tty  5, 1 Feb  9  2006 /tmp/scratch/dev/console
crwxrwxrwx 1 root root 1, 3 Feb  9  2006 /tmp/scratch/dev/null

Si il manque le device "null" ou que sa ligne ne commence pas par 'c', tu peut le recréer avec ces commandes:
Code:
# rm -f /tmp/scratch/dev/null
# mknod -m 777 /tmp/scratch/dev/null c 1 3

Si il manque le device "console" ou que sa ligne ne commence pas par 'c', même chose mais avec ces commandes:
Code:
# rm -f /tmp/scratch/dev/console
# mknod -m 600 /tmp/scratch/dev/console c 5 1
# chown root:tty /tmp/scratch/dev/console

Relance le "ls" du premier bloc de commandes pour vérifier que tout est ok, puis:
Code:
# umount /tmp/scratch
# rmdir /tmp/scratch

Puis remet le /etc/issue normal et rebootes. Normalement ça devrait marcher.
Back to top
View user's profile Send private message
amaury.dg
n00b
n00b


Joined: 05 Feb 2006
Posts: 38
Location: Montigny-Le-Tileul / Belgique

PostPosted: Sat Apr 14, 2007 7:49 pm    Post subject: Reply with quote

Merci ça marche nickel !

Je pense que les droits sur /dev/null étaient pas tout à fait les même d'où le "problème".

Mais un très grand merci !
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