Pages : 1
#1 Le 09/11/2009, à 21:04
- MrGeeK
GRUB a changé de place... DAMN! [RESOLU]
Bonjour, aujourd'hui une fois de plus j'ai du faire de la M*R*E...
J'ai Ubuntu 9.10 installé sur mon pc de bureau bien proprement sur le disque dur interne tout ce qu'il y a de plus basique. J'ai aujourd'hui installé la 9.04 sur une clé usb, cela en bootant sur un cd d'install et en sélectionnant comme cible d'installation ma clé.
Tout s'est bien déroulé, seulement voila, quand je démarre mon PC grub se lance, et me donne le choix entre le 9.04 sur ma clé ou le 9.10 sur mon disque interne.
The problem is : La config de grub (dont l'important menu.lst) se situe bêtement sur ma clé usb!! HA-HA !
Quand j'enlève ma clé j'ai donc une belle erreur 21 de mon copain GRUB, ce qui m'ennuie profondément.
Il n'y a plus de menu.lst dans boot/grub de mon disque interne, et il y a des fichiers audio et autres, je ne sais pas trop a quoi ils servent.
Enfin bon, comment puis-je remettre GRUB en état sur mon HD de bureau, et limite enlever les infos de la clé qui est de toute mnière trop lente, tropvielle, trop moche, trop tout ce que vous voulez et que je vais jeter.
Pétage-de-cablement, MrGeeK
Dernière modification par MrGeeK (Le 11/11/2009, à 17:18)
Asus A7N8X2.0 / Athlon XP 1800+ / RAM 768 Mo / Geforce 2 MX 400 AGP / Ubuntu 9.10 !!
Hors ligne
#2 Le 09/11/2009, à 23:36
- fabux
Re : GRUB a changé de place... DAMN! [RESOLU]
Salut,
tu peux essayer depuis un live Karmic de restaurer grub-pc.
Sinon depuis ton live jaunty tu doit avoir grub-legacy mais tu peux y installer grub2. De là tu devrais pouvoir faire la restauration (il est même possible que depuis ta jaunty sudo upgrade-from-grub-legacy suffise).
Au pire, tu peux installer grub en suivant cette doc mais tu auras grub-legacy au lieu de grub-pc.
Dans l'idéal choppe un live karmic et de là tu suis le 1er lien que je mets: tu te retrouveras avec ta config d'avant sans trop de complication.
Pour ta clef, la jettes pas: ça sert toujours ces machin là
ps: pour tes fichiers audio et autres je n'en sais rien, il n'y a que toi qui devrait le savoir. ils sont dans quels dossiers? comment s'appellent-ils?
May linux be with you
Comment poster un message.
Je me présente dans la doc
Hors ligne
#3 Le 10/11/2009, à 16:15
- MrGeeK
Re : GRUB a changé de place... DAMN! [RESOLU]
Bin ces fichiers audio ils sont dans /boot/grub de mon système de fichiers de mon disque interne de base ou j'ai karmic d'installé. Jme dmande bien en quoi ça sert à grub
Asus A7N8X2.0 / Athlon XP 1800+ / RAM 768 Mo / Geforce 2 MX 400 AGP / Ubuntu 9.10 !!
Hors ligne
#4 Le 10/11/2009, à 18:46
- fabux
Re : GRUB a changé de place... DAMN! [RESOLU]
Tu peux donner le retour de
ls -al /boot/grub
de ta partition Karmic
Dernière modification par fabux (Le 10/11/2009, à 18:46)
May linux be with you
Comment poster un message.
Je me présente dans la doc
Hors ligne
#5 Le 10/11/2009, à 19:53
- MrGeeK
Re : GRUB a changé de place... DAMN! [RESOLU]
Voila ce que ça me donne :
jojo@jojo-karmic:~$ ls -al /boot/grub
total 1036
drwxr-xr-x 2 root root 4096 2009-11-01 23:54 .
drwxr-xr-x 3 root root 4096 2009-11-09 19:38 ..
-rw-r--r-- 1 root root 8320 2009-11-01 23:53 915resolution.mod
-rw-r--r-- 1 root root 10632 2009-11-01 23:53 acpi.mod
-rw-r--r-- 1 root root 4684 2009-11-01 23:53 affs.mod
-rw-r--r-- 1 root root 5144 2009-11-01 23:53 afs_be.mod
-rw-r--r-- 1 root root 4916 2009-11-01 23:53 afs.mod
-rw-r--r-- 1 root root 1136 2009-11-01 23:53 aout.mod
-rw-r--r-- 1 root root 7952 2009-11-01 23:53 ata.mod
-rw-r--r-- 1 root root 2352 2009-11-01 23:53 ata_pthru.mod
-rw-r--r-- 1 root root 2324 2009-11-01 23:53 at_keyboard.mod
-rw-r--r-- 1 root root 5036 2009-11-01 23:53 befs_be.mod
-rw-r--r-- 1 root root 4808 2009-11-01 23:53 befs.mod
-rw-r--r-- 1 root root 4264 2009-11-01 23:53 biosdisk.mod
-rw-r--r-- 1 root root 2528 2009-11-01 23:53 bitmap.mod
-rw-r--r-- 1 root root 2116 2009-11-01 23:53 blocklist.mod
-rw-r--r-- 1 root root 512 2009-11-01 23:53 boot.img
-rw-r--r-- 1 root root 2652 2009-11-01 23:53 boot.mod
-rw-r--r-- 1 root root 19384 2009-11-01 23:53 bsd.mod
-rw-r--r-- 1 root root 2048 2009-11-01 23:53 bufio.mod
-rw-r--r-- 1 root root 2036 2009-11-01 23:53 cat.mod
-rw-r--r-- 1 root root 512 2009-11-01 23:53 cdboot.img
-rw-r--r-- 1 root root 2420 2009-11-01 23:53 chain.mod
-rw-r--r-- 1 root root 2212 2009-11-01 23:53 cmp.mod
-rw-r--r-- 1 root root 1558 2009-11-01 23:53 command.lst
-rw-r--r-- 1 root root 1904 2009-11-01 23:53 configfile.mod
-rw-r--r-- 1 root root 25105 2009-11-01 23:53 core.img
-rw-r--r-- 1 root root 2872 2009-11-01 23:53 cpio.mod
-rw-r--r-- 1 root root 1660 2009-11-01 23:53 cpuid.mod
-rw-r--r-- 1 root root 1824 2009-11-01 23:53 crc.mod
-rw-r--r-- 1 root root 1912 2009-11-01 23:53 datehook.mod
-rw-r--r-- 1 root root 2360 2009-11-01 23:53 date.mod
-rw-r--r-- 1 root root 1333 2009-11-01 23:53 datetime.mod
-rw-r--r-- 1 root root 30 2009-11-01 23:53 device.map
-rw-r--r-- 1 root root 512 2009-11-01 23:53 diskboot.img
-rw-r--r-- 1 root root 1932 2009-11-01 23:53 dm_nv.mod
-rw-r--r-- 1 root root 5620 2009-11-01 23:53 drivemap.mod
-rw-r--r-- 1 root root 2008 2009-11-01 23:53 echo.mod
-rw-r--r-- 1 root root 6436 2009-11-01 23:53 efiemu32.o
-rw-r--r-- 1 root root 11003 2009-11-01 23:53 efiemu64.o
-rw-r--r-- 1 root root 25024 2009-11-01 23:53 efiemu.mod
-rw-r--r-- 1 root root 4476 2009-11-01 23:53 elf.mod
-rw-r--r-- 1 root root 5544 2009-11-01 23:53 ext2.mod
-rw-r--r-- 1 root root 3916 2009-11-01 23:53 extcmd.mod
-rw-r--r-- 1 root root 5812 2009-11-01 23:53 fat.mod
-rw-r--r-- 1 root root 7296 2009-11-01 23:53 font.mod
-rw-r--r-- 1 root root 2284 2009-11-01 23:53 fs_file.mod
-rw-r--r-- 1 root root 2852 2009-11-01 23:53 fshelp.mod
-rw-r--r-- 1 root root 121 2009-11-01 23:53 fs.lst
-rw-r--r-- 1 root root 2220 2009-11-01 23:53 fs_uuid.mod
-rw-r--r-- 1 root root 8624 2009-11-01 23:53 gfxterm.mod
-rw-r--r-- 1 root root 3816 2009-11-01 23:53 gptsync.mod
-r--r--r-- 1 root root 2746 2009-11-01 23:54 grub.cfg
-rw-r--r-- 1 root root 1024 2009-11-10 18:50 grubenv
-rw-r--r-- 1 root root 7816 2009-11-01 23:53 gzio.mod
-rw-r--r-- 1 root root 1552 2009-11-01 23:53 halt.mod
-rw-r--r-- 1 root root 272 2009-11-01 23:53 handler.lst
-rw-r--r-- 1 root root 2144 2009-11-01 23:53 handler.mod
-rw-r--r-- 1 root root 7400 2009-11-01 23:53 hdparm.mod
-rw-r--r-- 1 root root 1308 2009-11-01 23:53 hello.mod
-rw-r--r-- 1 root root 2200 2009-11-01 23:53 help.mod
-rw-r--r-- 1 root root 3196 2009-11-01 23:53 hexdump.mod
-rw-r--r-- 1 root root 5996 2009-11-01 23:53 hfs.mod
-rw-r--r-- 1 root root 5876 2009-11-01 23:53 hfsplus.mod
-rw-r--r-- 1 root root 6080 2009-11-01 23:53 iso9660.mod
-rw-r--r-- 1 root root 5676 2009-11-01 23:53 jfs.mod
-rw-r--r-- 1 root root 5988 2009-11-01 23:53 jpeg.mod
-rw-r--r-- 1 root root 31004 2009-11-01 23:53 kernel.img
-rw-r--r-- 1 root root 2092 2009-11-01 23:53 keystatus.mod
-rw-r--r-- 1 root root 4952 2009-11-01 23:53 linux16.mod
-rw-r--r-- 1 root root 8716 2009-11-01 23:53 linux.mod
-rw-r--r-- 1 root root 1024 2009-11-01 23:53 lnxboot.img
-rw-r--r-- 1 root root 5664 2009-11-01 23:53 loadenv.mod
-rw-r--r-- 1 root root 3172 2009-11-01 23:53 loopback.mod
-rw-r--r-- 1 root root 1388 2009-11-01 23:53 lsmmap.mod
-rw-r--r-- 1 root root 4196 2009-11-01 23:53 ls.mod
-rw-r--r-- 1 root root 4272 2009-11-01 23:53 lspci.mod
-rw-r--r-- 1 root root 5580 2009-11-01 23:53 lvm.mod
-rw-r--r-- 1 root root 1856 2009-11-01 23:53 mdraid.mod
-rw-r--r-- 1 root root 2176 2009-11-01 23:53 memdisk.mod
-rw-r--r-- 1 root root 2272 2009-11-01 23:53 memrw.mod
-rw-r--r-- 1 root root 4116 2009-11-01 23:53 minicmd.mod
-rw-r--r-- 1 root root 4456 2009-11-01 23:53 minix.mod
-rw-r--r-- 1 root root 8656 2009-11-01 23:53 mmap.mod
-rw-r--r-- 1 root root 1657 2009-11-01 23:53 moddep.lst
-rw-r--r-- 1 root root 2468 2009-11-01 23:53 msdospart.mod
-rw-r--r-- 1 root root 15112 2009-11-01 23:53 multiboot.mod
-rw-r--r-- 1 root root 34656 2009-11-01 23:53 normal.mod
-rw-r--r-- 1 root root 3352 2009-11-01 23:53 ntfscomp.mod
-rw-r--r-- 1 root root 8584 2009-11-01 23:53 ntfs.mod
-rw-r--r-- 1 root root 4576 2009-11-01 23:53 ohci.mod
-rw-r--r-- 1 root root 2196 2009-11-01 23:53 part_acorn.mod
-rw-r--r-- 1 root root 2400 2009-11-01 23:53 part_amiga.mod
-rw-r--r-- 1 root root 2776 2009-11-01 23:53 part_apple.mod
-rw-r--r-- 1 root root 2840 2009-11-01 23:53 part_gpt.mod
-rw-r--r-- 1 root root 62 2009-11-01 23:53 partmap.lst
-rw-r--r-- 1 root root 3552 2009-11-01 23:53 part_msdos.mod
-rw-r--r-- 1 root root 2376 2009-11-01 23:53 part_sun.mod
-rw-r--r-- 1 root root 22 2009-11-01 23:53 parttool.lst
-rw-r--r-- 1 root root 4608 2009-11-01 23:53 parttool.mod
-rw-r--r-- 1 root root 2052 2009-11-01 23:53 password.mod
-rw-r--r-- 1 root root 928 2009-11-01 23:53 pci.mod
-rw-r--r-- 1 root root 2144 2009-11-01 23:53 play.mod
-rw-r--r-- 1 root root 6580 2009-11-01 23:53 png.mod
-rw-r--r-- 1 root root 2752 2009-11-01 23:53 probe.mod
-rw-r--r-- 1 root root 1024 2009-11-01 23:53 pxeboot.img
-rw-r--r-- 1 root root 2512 2009-11-01 23:53 pxecmd.mod
-rw-r--r-- 1 root root 3620 2009-11-01 23:53 pxe.mod
-rw-r--r-- 1 root root 1472 2009-11-01 23:53 raid5rec.mod
-rw-r--r-- 1 root root 2920 2009-11-01 23:53 raid6rec.mod
-rw-r--r-- 1 root root 5960 2009-11-01 23:53 raid.mod
-rw-r--r-- 1 root root 1632 2009-11-01 23:53 read.mod
-rw-r--r-- 1 root root 1212 2009-11-01 23:53 reboot.mod
-rw-r--r-- 1 root root 9948 2009-11-01 23:53 reiserfs.mod
-rw-r--r-- 1 root root 3340 2009-11-01 23:53 scsi.mod
-rw-r--r-- 1 root root 3604 2009-11-01 23:53 search.mod
-rw-r--r-- 1 root root 5692 2009-11-01 23:53 serial.mod
-rw-r--r-- 1 root root 778 2009-11-01 23:53 setjmp.mod
-rw-r--r-- 1 root root 4228 2009-11-01 23:53 sfs.mod
-rw-r--r-- 1 root root 12132 2009-11-01 23:53 sh.mod
-rw-r--r-- 1 root root 2296 2009-11-01 23:53 sleep.mod
-rw-r--r-- 1 root root 2904 2009-11-01 23:53 tar.mod
-rw-r--r-- 1 root root 9624 2009-11-01 23:53 terminfo.mod
-rw-r--r-- 1 root root 5248 2009-11-01 23:53 test.mod
-rw-r--r-- 1 root root 2976 2009-11-01 23:53 tga.mod
-rw-r--r-- 1 root root 1356 2009-11-01 23:53 true.mod
-rw-r--r-- 1 root root 5156 2009-11-01 23:53 udf.mod
-rw-r--r-- 1 root root 4796 2009-11-01 23:53 ufs1.mod
-rw-r--r-- 1 root root 5116 2009-11-01 23:53 ufs2.mod
-rw-r--r-- 1 root root 4972 2009-11-01 23:53 uhci.mod
-rw-r--r-- 1 root root 3356 2009-11-01 23:53 usb_keyboard.mod
-rw-r--r-- 1 root root 4268 2009-11-01 23:53 usb.mod
-rw-r--r-- 1 root root 3876 2009-11-01 23:53 usbms.mod
-rw-r--r-- 1 root root 3052 2009-11-01 23:53 usbtest.mod
-rw-r--r-- 1 root root 2824 2009-11-01 23:53 vbeinfo.mod
-rw-r--r-- 1 root root 6236 2009-11-01 23:53 vbe.mod
-rw-r--r-- 1 root root 3136 2009-11-01 23:53 vbetest.mod
-rw-r--r-- 1 root root 3756 2009-11-01 23:53 vga.mod
-rw-r--r-- 1 root root 2780 2009-11-01 23:53 vga_text.mod
-rw-r--r-- 1 root root 16316 2009-11-01 23:53 video_fb.mod
-rw-r--r-- 1 root root 5352 2009-11-01 23:53 video.mod
-rw-r--r-- 1 root root 3912 2009-11-01 23:53 videotest.mod
-rw-r--r-- 1 root root 6168 2009-11-01 23:53 xfs.mod
-rw-r--r-- 1 root root 24792 2009-11-01 23:53 xnu.mod
-rw-r--r-- 1 root root 4312 2009-11-01 23:53 xnu_uuid.mod
-rw-r--r-- 1 root root 6416 2009-11-01 23:53 zfsinfo.mod
-rw-r--r-- 1 root root 24360 2009-11-01 23:53 zfs.mod
Comment je suis sur que c'est les infis de ma partition karmic? (je l'ai fait en étant sous karmic c'est peut etre automatique?)
MrGeeK
Asus A7N8X2.0 / Athlon XP 1800+ / RAM 768 Mo / Geforce 2 MX 400 AGP / Ubuntu 9.10 !!
Hors ligne
#6 Le 10/11/2009, à 20:14
- MrGeeK
Re : GRUB a changé de place... DAMN! [RESOLU]
Donc en démarrant sous mon karmic j'ai fait "sudo upgrade-from-grub-legacy" (toujours avec la clé usb branchée) et il me lance l'installation de grub-pc, je choisis mon karmic pour l'install tout se fait bien.
Mon ordi se rallume sans la clé branchée, c'est top, mais seulement il m'affiche la liste contenant aussi la clé usb. Je voudrais changer la liste, je l'ai déja fait mais voila il n'y a pas de fichier "menu.lst" dans /boot/grub !!!
Je ne le trouve nulle part sur mon disque...
Quelque chose a-t-il changé depuis karmic?
Merci pour ton aide jusqu'ici!
MrGeeK
Asus A7N8X2.0 / Athlon XP 1800+ / RAM 768 Mo / Geforce 2 MX 400 AGP / Ubuntu 9.10 !!
Hors ligne
#7 Le 10/11/2009, à 22:02
- fabux
Re : GRUB a changé de place... DAMN! [RESOLU]
Débranche ta clé et essai
sudo grub-mkdevicemap
sudo update-grub
.
May linux be with you
Comment poster un message.
Je me présente dans la doc
Hors ligne
#8 Le 11/11/2009, à 17:18
- MrGeeK
Re : GRUB a changé de place... DAMN! [RESOLU]
Ok tout est redevenu normal! Thanks Mr Fabux!
Asus A7N8X2.0 / Athlon XP 1800+ / RAM 768 Mo / Geforce 2 MX 400 AGP / Ubuntu 9.10 !!
Hors ligne
Pages : 1