[résolu]grub

donc

ls /home/steph/boot/vmlinuz* (pour connaitre le nom du kernel)
ls /home/steph/boot/init* (pour connaitre le nom du initrd)

puis edit
nano /boot/grub/menu.lst

title linux 2
root (hd0,0)
kernel /boot/vmlinuz-(le kernel sda1/linux2) root=/dev/sda1
initrd /boot/initrd.img-(initrd sda1/liux2)

ls /home/steph/boot/vmlinuz

ls: ne peut accéder /home/steph/boot/vmlinuz: Aucun fichier ou dossier de ce type

Je suis quand même pas cinglé !! pourquoi ls ne peut y accéder alors que je l’ai ouvert ce fichier !

[quote=“dupont”]# ls /home/steph/boot/vmlinuz
ls: ne peut accéder /home/steph/boot/vmlinuz: Aucun fichier ou dossier de ce type

Je suis quand même pas cinglé !! pourquoi ls ne peut y accéder alors que je l’ai ouvert ce fichier ![/quote]
Si tu l’as ouvert, dis-nous ce qu’il y a dedans? Sinon le ls fais-le en su. Et fais plutôt: ls /home/steph/boot/

déja vmlinuz* *****
et si tu as ouvert ce fichier tu n’a pas du comprendre grand chose (code …?)

[quote=“Junichirô”][quote=“dupont”]# ls /home/steph/boot/vmlinuz
ls: ne peut accéder /home/steph/boot/vmlinuz: Aucun fichier ou dossier de ce type

Je suis quand même pas cinglé !! pourquoi ls ne peut y accéder alors que je l’ai ouvert ce fichier ![/quote]
Si tu l’as ouvert, dis-nous ce qu’il y a dedans? Sinon le ls fais-le en su. Et fais plutôt: ls /home/steph/boot/[/quote]

Je n’avais pas vu l’*

J’ai démonté et remonté à la racine ; toujours impossible

/home/steph# cd /
root@doudou:/# mkdir /linpus
root@doudou:/# mount /dev/sda1 /root/linpus
mount: mount point /root/linpus does not exist
root@doudou:/# mount /dev/sda1 /linpus
root@doudou:/# ls /linpus/boot/vmlinuz*
ls: ne peut accéder /linpus/boot/vmlinuz*: Aucun fichier ou dossier de ce type

?

ls /linpus/boot/init*

/linpus/boot/initrd-splash.img

j’en déduis donc qu’il n’y a pas de fichier vmlinuz !?

ls /linpus/boot

ls /linpus/boot

bzImage config080621v1.v1.0.1 grub
config_080621v1.v1.0.1 d2d.t.gz initrd-splash.img

ton kernel c’est bzImage

ls /linpus/boot/grub/
Et donne le fichier grub.conf

title linux 2
root (hd0,0)
kernel /boot/bzImage root=/dev/sda1
initrd /boot/initrd-splash.img

/# ls /linpus/boot/grub
device.map grub.conf reiserfs_stage1_5 ufs2_stage1_5
e2fs_stage1_5 iso9660_stage1_5 splash.xpm.gz vstafs_stage1_5
fat_stage1_5 jfs_stage1_5 stage1 xfs_stage1_5
ffs_stage1_5 minix_stage1_5 stage2

Donne le contenu de grub.conf. cela devrait ressembler à ce qu’a donné dchost99. Si oui, c’est la solution.

ls /linpus/boot/grub/grub.conf
/linpus/boot/grub/grub.conf

J’ai rien : fichier protégé ?!

[quote=“dupont”]ls /linpus/boot/grub/grub.conf
/linpus/boot/grub/grub.conf

J’ai rien : fichier protégé ?![/quote]
su nano /linpus/boot/grub/grub.conf
ou n’importe quel éditeur de texte à la place de nano.

default=0
timeout=0
splashimage=(hd0,0)/boot/grub/splash.xpm.gz
hiddenmenu

title Linpus Linux RCD
rootnoverify (hd0,0)
kernel /boot/bzImage ro root=LABEL=linpus vga=0x311 splash=silent logle$
initrd /boot/initrd-splash.img

Est-ce que je dois faire un copier-coller de la syntaxe initiale de grub dans sda1 et la coller dans le grub de ma antix en sda3 ?

Mets cela:

title Linpus Linux RCD rootnoverify (hd0,0) kernel /boot/bzImage ro root=LABEL=linpus vga=0x311 splash=silent logle$ initrd /boot/initrd-splash.img

dans ce que dchost99 a donné.

ok, je redémarre