Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Emerge grub] /boot/grub disparait après un reboot. (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
Shadowm@n
n00b
n00b


Joined: 19 Jun 2004
Posts: 3
Location: Belgium

PostPosted: Sun Jun 20, 2004 4:05 pm    Post subject: [Emerge grub] /boot/grub disparait après un reboot. (Résol Reply with quote

Alors, mon problème c'est que après avoir fait un "emerge grub" les fichiers apparaisse correctement à leur place dans /boot/ mais, après avoir rebooté sans problème avec grub je ne vois plus les fichiers.

Et je comprend pas...

Il me manque peut-être une information importantes :)

Donc avant de faire "emerge grub" voici /boot/

Code:

root@ShadowFixe boot # pwd
/boot
root@ShadowFixe boot # ls -al
total 3296
drwxr-xr-x   2 root root    4096 Jun 19 23:34 .
drwxr-xr-x  19 root root    4096 Jun 18 01:30 ..
-rw-r--r--   1 root root  982596 Jun 18 17:31 Systeme.map-2.6.6
-rw-r--r--   1 root root     512 Jun 18 18:21 boot.2100
lrwxrwxrwx   1 root root      13 Jun 18 18:21 bzImage -> dev-src-2.6.6
-rw-r--r--   1 root root   29053 Jun 18 17:31 config-2.6.6
-rw-r--r--   1 root root 2297291 Jun 18 17:30 dev-src-2.6.6
-rw-------   1 root root   39424 Jun 19 23:34 map


Ensuite je fais "emerge grub" et ce qui suit:

Code:

root@ShadowFixe boot # grub

grub> root (hd2,1)
 Filesystem type is ext2fs, partition type 0x83

grub> setup (hd2)
 Checking if "/boot/grub/stage1" exists... yes
 Checking if "/boot/grub/stage2" exists... yes
 Checking if "/boot/grub/e2fs_stage1_5" exists... yes
 Running "embed /boot/grub/e2fs_stage1_5 (hd2)"...  22 sectors are embedded.
succeeded
 Running "install /boot/grub/stage1 (hd2) (hd2)1+22 p (hd2,1)/boot/grub/stage2
/boot/grub/menu.lst"... succeeded
Done.

grub> quit


Jusque là ça pourrait être normal, si mon fichier /boot/grub/grub.conf n'était pas celui que j'avais déja créé bien avant...

En effet, il date de 17h30 et mon emerge de 20 min plus tard.

Je termine donc avec un répertoire /boot tel que:


Code:

root@ShadowFixe boot # pwd
/boot
root@ShadowFixe boot # ls -al
total 3278
drwxr-xr-x   4 root root    1024 Jun 18 18:37 .
drwxr-xr-x  19 root root    4096 Jun 18 01:30 ..
-rw-r--r--   1 root root       0 Jun 18 17:36 .keep
-rw-r--r--   1 root root  982596 Jun 18 17:49 System.map
lrwxrwxrwx   1 root root       1 Jun 17 18:48 boot -> .
-rw-r--r--   1 root root     512 Jun 18 17:50 boot.2100
-rw-r--r--   1 root root 2297291 Jun 18 17:49 bzImage
drwxr-xr-x   2 root root    1024 Jun 20 17:52 grub
drwx------   2 root root   12288 Jun 17 18:35 lost+found
-rw-------   1 root root   39424 Jun 18 18:37 map
root@ShadowFixe boot #


Et l'on voit que la date des fichiers est différentes...

Comprend pas...


Last edited by Shadowm@n on Sun Jun 20, 2004 7:45 pm; edited 1 time in total
Back to top
View user's profile Send private message
equi-NoX
Apprentice
Apprentice


Joined: 17 Feb 2004
Posts: 172
Location: Paris, France

PostPosted: Sun Jun 20, 2004 4:24 pm    Post subject: Reply with quote

t'as essayé en faisant un umount de /boot avant de redémarrer?
Back to top
View user's profile Send private message
Garko
n00b
n00b


Joined: 16 Mar 2003
Posts: 57
Location: Lausanne, Suisse

PostPosted: Sun Jun 20, 2004 5:02 pm    Post subject: Reply with quote

Au démmarage s'est bien Grub qui est utilisé ? enfin je veut dire sa démare ?

Pasque si s'est le cas s'est que tout est bien installé.

Quand on emerge grub, il monte /boot (normal sinon sa ne vas pas le faire). Donc après on voie bien les fichiers, ect...

Quand on redémmare, /boot est démonter (normal) puis n'est pas remonter en général (tout dépend de se qu'il y a dans le /etc/fstab).
_________________
Garko

"Je ne peux plus envoyer d'e-mail, internet est il plein ?"
Back to top
View user's profile Send private message
Shadowm@n
n00b
n00b


Joined: 19 Jun 2004
Posts: 3
Location: Belgium

PostPosted: Sun Jun 20, 2004 7:44 pm    Post subject: Reply with quote

Effectivement, il me manquais une information crucial... le mount de /boot

En fait je n'avais pas pensé à ça, puisque pour moi si j'avais accès a /boot c'est qu'il était monté.

Enfin.

Merci beaucoup pour l'aide.
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