All pastes #201685 Raw Edit

Trucs

public text v1 · immutable
#201685 ·published 2006-10-13 22:55 UTC
rendered paste body
00:33 < kik> ben c'est simple, on trouve ton disque et on fais sudo grub-install ton_disque
00:33 < Papageno3> ben oui
00:34 < Papageno3> donc on disait euh df, non
00:34 < kik> donc, tu fais fdisk -l
00:34 < Papageno3> ah
00:34 < kik> sudo fdisk -l 
00:34 < mezzo> kik: tu voulais te coucher à quelle heure déjà ?
00:34 < kik> :)
00:34 < kik> 60ans, c'est bien pour dormir :)
00:35 < Papageno3> ubuntu@ubuntu:~$ sudo fdisk -l
00:35 < Papageno3> Disque /dev/hda: 30.0 Go, 30005821440 octets
00:35 < Papageno3> 255 têtes, 63 secteurs/piste, 3648 cylindres
00:35 < Papageno3> Unités = cylindres de 16065 * 512 = 8225280 octets
00:35 < Papageno3> Périphérique Amorce    Début         Fin      Blocs    Id  Système
00:35 < Papageno3> /dev/hda1   *           1        1147     9213246    7  HPFS/NTFS
00:35 < Papageno3> /dev/hda2            1148        3648    20089282+   f  W95 Etendu (LBA)
00:35 < Papageno3> /dev/hda5            1148        2039     7164958+   b  W95 FAT32
00:35 < Papageno3> /dev/hda6            2040        2804     6144831   83  Linux
00:35 < Papageno3> /dev/hda7            2805        3059     2048256   82  Linux swap / Solaris
00:35 < Papageno3> /dev/hda8            3060        3648     4731111   83  Linux
00:35 < Papageno3> ubuntu@ubuntu:~$
00:35 < kik> ok, donc c'est hda
00:35 < Papageno3> ubuntu@ubuntu:~$
00:35 < Papageno3> ok
00:35 < kik> sudo grub-install /dev/hda
00:36 < Papageno3> ubuntu@ubuntu:~$ sudo grub-install /dev/hda
00:36 < Papageno3> Probing devices to guess BIOS drives. This may take a long time.
00:36 < Papageno3> Could not find device for /boot: Not found or not a block device.
00:36 < Papageno3> ubuntu@ubuntu:~$
00:36 < kik> hum ok
00:36 < kik> bon
00:36 < kik> ls /boot
00:36 < kik> pour voir si tu as quelque chose
00:36 < Papageno3> avec sudo?
00:36 < kik> non, pas besoin
00:37 < kik> si tu as bien /boot, tu fais ensuite
00:37 < Papageno3> ubuntu@ubuntu:~$ ls /boot
00:37 < Papageno3> abi-2.6.15-23-386     initrd.img-2.6.15-23-386  vmlinuz-2.6.15-23-386
00:37 < Papageno3> config-2.6.15-23-386  memtest86+.bin
00:37 < Papageno3> grub                  System.map-2.6.15-23-386
00:37 < Papageno3> ubuntu@ubuntu:~$
00:37 < kik> sudo mount /dev/hda6 /boot
00:37 < kik> puis tu refais grub-install
00:37 < Papageno3> ok
00:38 < kik> tu avias bfait un backup de /boot/grub tu m'avais dit?
00:38 < Papageno3> ubuntu@ubuntu:~$ sudo grub-install /dev/hda
00:38 < Papageno3> Probing devices to guess BIOS drives. This may take a long time.
00:38 < Papageno3> Due to a bug in xfs_freeze, the following command might produce a segmentation
00:38 < Papageno3> fault when /boot/grub is not in an XFS filesystem. This error is harmless and
00:38 < Papageno3> can be ignored.
00:38 < Papageno3> xfs_freeze: specified file ["/boot/grub"] is not on an XFS filesystem
00:38 < Papageno3> Installation finished. No error reported.
00:38 < Papageno3> This is the contents of the device map /boot/grub/device.map.
00:38 < Papageno3> Check if this is correct or not. If any of the lines is incorrect,
00:38 < Papageno3> fix it and re-run the script `grub-install'.
00:38 < Papageno3> (fd0)   /dev/fd0
00:38 < Papageno3> (hd0)   /dev/hda
00:38 < Papageno3> ubuntu@ubuntu:~$
00:38 < Papageno3> oui
00:39 < kik> bon ca a l'air correct
00:39 < Papageno3> ah
00:39 < kik> vérifie si /boot/grub/menu.lst est bon
00:39 < Papageno3> pourquoi il dit que c'est incorrect alors?
00:39 < mezzo> 2Go de swap ça sera suffisant ?
00:39 < Papageno3> silence ;)
00:40 < kik> non, il dit qu'il y a un bug sans conséquence qui peut etre ignoré
00:40 < Papageno3> ah
00:40 < Papageno3> kik, donc là le grub est réinstallé?
00:40 < kik> vérifie bien ton menu.lst avant de rebooter
00:40 < mezzo> [[lilo roxx]]
00:40 < kik> oui, mais il a p-e écrasé la conf de grub
00:40 < Papageno3> kik, mais je suis sur le livecd, là
00:41 < kik> mais on a monté ta partition /boot :)
00:41 < christophe971> lilo is dead
00:41 < christophe971> you stupid
00:41  * christophe971 => | ×|
00:41 < mezzo> lilo is not dead
00:41 < kik> 00:37 < kik> sudo mount /dev/hda6 /boot
00:41 < mezzo> he lives
00:41 < Papageno3> kik, alors je le trouve où mon fichier grub?
00:41 < mezzo> (in my pc)
00:41 < kik> Papageno3: /boot/grub/menu.lst
00:41 < Papageno3> ok
00:42 < Papageno3> kik, y a pas ce fichier
00:43 < kik> ls /boot/grub
00:43 < Papageno3> ok
00:43 < Papageno3> ubuntu@ubuntu:~$ ls /boot/grub
00:43 < Papageno3> default     e2fs_stage1_5  jfs_stage1_5    reiserfs_stage1_5  stage2
00:43 < Papageno3> device.map  fat_stage1_5   minix_stage1_5  stage1             xfs_stage1_5
00:43 < Papageno3> ubuntu@ubuntu:~$
00:44 < christophe971> !remind
00:44 < mihiro> christophe971: http://www.b-list.org/weblog/2006/06/18/lets-talk-about-python-and-ruby http://svnbook.red-bean.com/nightly/en/svn.basic.vsn-models.html 
                http://www.fckeditor.net/
00:44 < mezzo> christophe971: une ETA ?
00:44 < christophe971> !todo add floptwomax
00:44 < mihiro> christophe971> TODO enregistré.
00:44 < mezzo> d'après toi ?
00:44 < christophe971> eta de ?
00:44 < Papageno3> kik: ?
00:44 < kik> bon, ben il va falloir le remettre alors :)
00:44 < Papageno3> euh
00:44 < kik> tu as sauvegardé où ton grub?
00:45 < Papageno3> sur un disque dur externe
00:45 < Papageno3> kik: y a juste ce fichier à remettre?
00:45 < kik> reprend le fichier grub/menu.lst et remet le dans /boot/grub/
00:45 < kik> oui
00:45 < kik> il a écrasé la config en se réinstallant
00:45 < Papageno3> ok: faut être en root?
00:45 < kik> oui
00:46 < Papageno3> ok
00:48 < Papageno3> ubuntu@ubuntu:~$ ls /boot/grub
00:48 < Papageno3> default        fat_stage1_5  minix_stage1_5     stage2
00:48 < Papageno3> device.map     jfs_stage1_5  reiserfs_stage1_5  xfs_stage1_5
00:48 < Papageno3> e2fs_stage1_5  menu.lst      stage1
00:48 < Papageno3> ubuntu@ubuntu:~$
00:48 < Papageno3> kik: maintenant je reboote?
00:49 < kik> yes
00:49 < Papageno3> ok
00:49 -!- Papageno3 [n=Papageno@lns-bzn-46-82-253-242-55.adsl.proxad.net] has quit ["Ex-Chat"]