hello,

voila, j'ai 2 petites questions que je n'ai pas reussi a resoudre.

- la premiere concerne la commande dpkg de debian:

lorsque je fais un
        # dpkg -l 'kernel-image-2.*'
j'obtiens comme resultat la liste suivante:
----------------------------------------------------------------------
||/ Name           Version        Description
+++-==============-==============-============================================
un  kernel-image-2 <none>         (no description available)
[...]
un  kernel-image-2 <none>         (no description available)
ii  kernel-image-2 2.4.6-1        Linux kernel image for version 2.4.6 on PPro
ii  kernel-image-2 2.4.9-1        Linux kernel image for version 2.4.9 on PPro
----------------------------------------------------------------------
est-il possible d'obtenir le nom complet des packages non installes?
ou est-ce qu'il y a une autre methode pour cela?
je sais que je peux faire une recherche sur
http://packages.debian.org/, mais c'est autrement moins elegant et rapide.


- la deuxieme question concerne grub:

sur le pc de travail (windows 2000) j'ai installe linux
egalement. actuellement je boot linux avec une disquette contenant
lilo ainsi que le kernel 2.2.18 quelque chose.

comme je l'ai compris, grub (installer sur une disquette) permet de
booter un kernel qui se trouve sur le disque dur.

je boot grub (de la disquette) qui m'affiche le menu suivant:
----------------------------------------------------------------------
Windows 2000
Linux
LinuxOLD
Linux-2.2.18pre21
Linux-2.2.18pre21-ipsec
Linux-2.2.17
----------------------------------------------------------------------

lorsque je choisi "Linux", j'ai le message suivant:
----------------------------------------------------------------------
  Booting 'Linux'
root (hd0,6)
 Filesystem type is ext2fs, partition type 0x83
kernel /vmlinuz root=/dev/hda6

Error 15: File not found

Press any key to continue...
----------------------------------------------------------------------
lorsque je "press any key", je reviens au menu precedent.

si je choisi une autre entree, le resultat est le meme:
----------------------------------------------------------------------
  Booting 'Linux-2.2.18pre21'
root (hd0,6)
 Filesystem type is ext2fs, partition type 0x83
kernel /boot/vmlinuz-2.2.18pre21 root=/dev/hda6

Error 15: File not found

Press any key to continue...
----------------------------------------------------------------------

booter windows 2000 fonctionne.

sur la disquette j'ai:
----------------------------------------------------------------------
/floppy/
/floppy/lost+found
/floppy/boot
/floppy/boot/grub
/floppy/boot/grub/stage1
/floppy/boot/grub/stage2
/floppy/boot/grub/menu.lst
/floppy/install-command
----------------------------------------------------------------------

mon menu.lst est le suivant:
----------------------------------------------------------------------
helium:~# cat /floppy/boot/grub/menu.lst 
#
# Sample boot menu configuration file
#

# Boot automatically after a minute.
timeout 60

# By default, boot the second entry.
default 1

# Fallback to the first entry.
fallback 0

title Windows 2000
rootnoverify (hd0,0)
chainloader +1

# For booting Linux
title Linux
root (hd0,6)
kernel /vmlinuz root=/dev/hda6

# For booting LinuxOLD
title LinuxOLD
root (hd0,6)
kernel /vmlinuz.old root=/dev/hda6

# For booting Linux
title Linux-2.2.18pre21
root (hd0,6)
kernel /boot/vmlinuz-2.2.18pre21 root=/dev/hda6

# For booting Linux
title Linux-2.2.18pre21-ipsec
root (hd0,6)
kernel /boot/vmlinuz-2.2.18pre21-ipsec root=/dev/hda6

# For booting Linux
title Linux-2.2.17
root (hd0,6)
kernel /boot/vmlinuz-2.2.17 root=/dev/hda6
helium:~# 
----------------------------------------------------------------------

je fais l'installation de grub comme ca:
----------------------------------------------------------------------
helium:~# cat /floppy/install-command 
/sbin/grub --batch <<EOF
root (fd0)
setup (fd0)
quit
EOF
helium:~# 
----------------------------------------------------------------------

et mes partitions:
----------------------------------------------------------------------
helium:~# fdisk -l /dev/hda

Disk /dev/hda: 255 heads, 63 sectors, 3648 cylinders
Units = cylinders of 16065 * 512 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/hda1   *         1       893   7172991    b  Win95 FAT32
/dev/hda2           894      2551  13317885    c  Win95 FAT32 (LBA)
/dev/hda4          2552      3648   8811652+   5  Extended
/dev/hda5          2552      2617    530113+  82  Linux swap
/dev/hda6          2618      2872   2048256   83  Linux
/dev/hda7          2873      3648   6233188+  83  Linux
helium:~# df -k
Filesystem           1k-blocks      Used Available Use% Mounted on
/dev/hda6              2016016   1850736     62868  97% /
/dev/hda7              6135204   5483612    339936  95% /home
/dev/fd0                  1412       113      1227   9% /floppy
helium:~# 
----------------------------------------------------------------------

les fichiers:
----------------------------------------------------------------------
helium:~# ls -l /vmlinuz /vmlinuz.old /boot/vmlinuz-2.2.18pre21 
/boot/vmlinuz-2.2.18pre21-ipsec /boot/vmlinuz-2.2.17 /boot/vmlinuz-2.4.9-686 
-rwxr-xr-x    1 root     root      1042807 May 24 11:56 /boot/vmlinuz-2.2.17
-rw-r--r--    1 root     root       523862 May 24 22:43 /boot/vmlinuz-2.2.18pre21
-rw-r--r--    1 root     root       541837 Jul 10 15:58 /boot/vmlinuz-2.2.18pre21-ipsec
-rw-r--r--    1 root     root       596753 Aug 19 07:06 /boot/vmlinuz-2.4.9-686
lrwxrwxrwx    1 root     root           22 Sep 23 13:30 /vmlinuz -> 
boot/vmlinuz-2.4.9-686
lrwxrwxrwx    1 root     root           25 May 24 20:08 /vmlinuz.old -> 
/boot/vmlinuz-2.2.18pre21
helium:~# 
----------------------------------------------------------------------

je ne sais pas si j'ai mal compris quelque chose ou si j'ai simplement
fait une autre erreur, mais toute aide est la bienvenue.

merci et bon w-e,


        tom

-- 
as seen in a signature:
       "In an open world without walls and fences,
        who needs Gates and windows?"
--
http://www-internal.alphanet.ch/linux-leman/ avant de poser
une question. Ouais, pour se d�sabonner aussi.

Répondre à