[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Installation de Debian



Je n'ai jamais fais ce genre de manip.
Ne devrais-tu pas mapper le /boot aussi ?

Arnaud FELTZ a écrit :
> Y a vraiment personne qui peut me dire si j'ai fais une erreur quelques
> part
> ou les manipulations que je devrais faire pour faire tourner Debian?
> Knoppix
> est "bien" mais de là à l'utiliser quotidiennement, surtout pas... Et
> Windows n'est pas une solution envisageable...
>
> Merci
>
> Le 03/12/07, Arnaud FELTZ <linux.debutant@gmail.com> a écrit :
>>
>> Bonjour tout le monde, j'ai, en mon sens, beaucoup progressé, l'erreur
>> dûe
>> à fdisk -l était normale (concernant la table de partition non valide)
>> vu
>> que cette dernière n'est pas installée sur une partition (hda1) mais un
>> disque (hda).
>>
>> Donc voilà où en est mon système :
>>
>> |---
>> # fdisk -l /dev/hda
>>
>> Disque /dev/hda: 80.0 Go, 80026361856 octets
>> 255 têtes, 63 secteurs/piste, 9729 cylindres
>> Unités = cylindres de 16065 * 512 = 8225280 octets
>>
>> Périphérique Amorce    Début         Fin      Blocs    Id  Système
>> /dev/hda1   *           1        9729    78148161   83  Linux
>> |---
>>
>> Je dispose donc d'une partition bootable.
>> Je monte ensuite ma partition hda1:
>>
>> |---
>> mount /dev/hda1 /media/hda1
>> |---
>>
>> Puis (toujours sous Knoppix), je rattache le /dev de KNOPPIX à celui de
>> hda1 :
>> |---
>> mount -o bind /dev /media/hda1/dev
>> |---
>>
>> Ensuite, je me "connecte" sur ma distribution :
>> |---
>> chroot /media/hda1 /bin/bash
>> |---
>>
>> Je suis donc maintenant sous ma Debian, j'installe GRUB :
>> |---
>> # /usr/sbin/grub-install /dev/hda
>> Searching for GRUB installation directory ... found: /boot/grub
>> Installation finished. No error reported.
>> This is the contents of the device map /boot/grub/device.map.
>> Check if this is correct or not. If any of the lines is incorrect,
>> fix it and re-run the script `grub-install'.
>>
>> (fd0)   /dev/fd0
>> (hd0)   /dev/hda
>> (hd1)   /dev/hdc
>> |---
>>
>> J'update grub pour qu'il intègre mon noyau dans le fichier menu.lst :
>> |---
>> # update-grub
>> Searching for GRUB installation directory ... found: /boot/grub
>> Searching for default file ... found: /boot/grub/default
>> Testing for an existing GRUB menu.lst file ... found:
>> /boot/grub/menu.lst
>> Searching for splash image ... none found, skipping ...
>> Found kernel: /boot/vmlinuz
>> Found kernel: /boot/vmlinuz-2.6.22-3-686
>> Updating /boot/grub/menu.lst ... done
>> |---
>>
>> Je m'assures que tout est ok ensuite :
>> |---
>> # ls -l /boot/grub/
>> total 184
>> -rw-r--r-- 1 root root    197 Dec  4 17:16 default
>> -rw-r--r-- 1 root root     45 Dec  4 17:01 device.map
>> -rw-r--r-- 1 root root   7552 Dec  4 17:16 e2fs_stage1_5
>> -rw-r--r-- 1 root root   7456 Dec  4 17:16 fat_stage1_5
>> -rw-r--r-- 1 root root   8160 Dec  4 17:16 jfs_stage1_5
>> -rw-r--r-- 1 root root   4143 Dec  4 17:17 menu.lst
>> -rw-r--r-- 1 root root   6880 Dec  4 17:16 minix_stage1_5
>> -rw-r--r-- 1 root root   9248 Dec  4 17:16 reiserfs_stage1_5
>> -rw-r--r-- 1 root root    512 Dec  4 17:16 stage1
>> -rw-r--r-- 1 root root 108296 Dec  4 17:16 stage2
>> -rw-r--r-- 1 root root   8872 Dec  4 17:16 xfs_stage1_5
>> |---
>>
>> Et :
>> |---
>> # grub
>> grub> root (hd0,0)
>>  Filesystem type is reiserfs, partition type 0x83
>>
>> grub> setup (hd0, 0)
>>  Checking if "/boot/grub/stage1" exists... yes
>>  Checking if "/boot/grub/stage2" exists... yes
>>  Checking if "/boot/grub/reiserfs_stage1_5" exists... yes
>>  Running "embed /boot/grub/reiserfs_stage1_5 (hd0)"...  19 sectors are
>> embedded
>> .
>> succeeded
>>  Running "install /boot/grub/stage1 (hd0) (hd0)1+19 p
>> (hd0,0)/boot/grub/stage2
>> /boot/grub/menu.lst"... succeeded
>> Done.
>> |---
>>
>> Donc pour moi, tout me paraît OK, et pourtant, lors du reboot, j'ai
>> l'erreur 17...
>>
>


-- 
Thierry Leurent

E-mail : thierry.leurent@asgardian.be
Website (en developpement) : http://www.asgardian.be



Reply to: