Probléme avec grub lors d'une double instal.. - Page 2

Résolu
Précédent
  • 1
  • 2
  1. zorglue
     
    sans erreur :
    [bibi@localhost ~]$ su
    Mot de passe : 
    [root@localhost bibi]# grep -E '^(#|$)' /mnt/ubuntu/boot/grub/menu.lst
    # menu.lst - See: grub(8), info grub, update-grub(8)
    #            grub-install(8), grub-floppy(8),
    #            grub-md5-crypt, /usr/share/doc/grub
    #            and /usr/share/doc/grub-doc/.
    ## default num
    # Set the default entry to the entry number NUM. Numbering starts from 0, and
    # the entry number 0 is the default if the command is not used.
    #
    # You can specify 'saved' instead of a number. In this case, the default entry
    # is the entry saved with the command 'savedefault'.
    # WARNING: If you are using dmraid do not change this entry to 'saved' or your
    # array will desync and will not let you boot your system.
    
    ## timeout sec
    # Set a timeout, in SEC seconds, before automatically booting the default entry
    # (normally the first entry defined).
    
    ## hiddenmenu
    # Hides the menu by default (press ESC to see the menu)
    #hiddenmenu
    
    # Pretty colours
    #color cyan/blue white/blue
    
    ## password ['--md5'] passwd
    # If used in the first section of a menu file, disable all interactive editing
    # control (menu entry editor and command-line)  and entries protected by the
    # command 'lock'
    # e.g. password topsecret
    #      password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
    # password topsecret
    
    #
    # examples
    #
    # title         Windows 95/98/NT/2000
    # root          (hd0,0)
    # makeactive
    # chainloader   +1
    #
    # title         Linux
    # root          (hd0,1)
    # kernel        /vmlinuz root=/dev/hda2 ro
    #
    
    #
    # Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST
    
    ### BEGIN AUTOMAGIC KERNELS LIST
    ## lines between the AUTOMAGIC KERNELS LIST markers will be modified
    ## by the debian update-grub script except for the default options below
    
    ## DO NOT UNCOMMENT THEM, Just edit them to your needs
    
    ## ## Start Default Options ##
    ## default kernel options
    ## default kernel options for automagic boot options
    ## If you want special options for specific kernels use kopt_x_y_z
    ## where x.y.z is kernel version. Minor versions can be omitted.
    ## e.g. kopt=root=/dev/hda1 ro
    ##      kopt_2_6_8=root=/dev/hdc1 ro
    ##      kopt_2_6_8_2_686=root=/dev/hdc2 ro
    # kopt=root=UUID=da846547-e531-45d0-93ee-4a7de80d44a9 ro
    
    ## Setup crashdump menu entries
    ## e.g. crashdump=1
    # crashdump=0
    
    ## default grub root device
    ## e.g. groot=(hd0,0)
    # groot=(hd0,2)
    
    ## should update-grub create alternative automagic boot options
    ## e.g. alternative=true
    ##      alternative=false
    # alternative=true
    
    ## should update-grub lock alternative automagic boot options
    ## e.g. lockalternative=true
    ##      lockalternative=false
    # lockalternative=false
    
    ## additional options to use with the default boot option, but not with the
    ## alternatives
    ## e.g. defoptions=vga=791 resume=/dev/hda5
    # defoptions=quiet splash
    
    ## should update-grub lock old automagic boot options
    ## e.g. lockold=false
    ##      lockold=true
    # lockold=false
    
    ## Xen hypervisor options to use with the default Xen boot option
    # xenhopt=
    
    ## Xen Linux kernel options to use with the default Xen boot option
    # xenkopt=console=tty0
    
    ## altoption boot targets option
    ## multiple altoptions lines are allowed
    ## e.g. altoptions=(extra menu suffix) extra boot options
    ##      altoptions=(recovery) single
    # altoptions=(recovery mode) single
    
    ## controls how many kernels should be put into the menu.lst
    ## only counts the first occurence of a kernel, not the
    ## alternative kernel options
    ## e.g. howmany=all
    ##      howmany=7
    # howmany=all
    
    ## should update-grub create memtest86 boot option
    ## e.g. memtest86=true
    ##      memtest86=false
    # memtest86=true
    
    ## should update-grub adjust the value of the default booted system
    ## can be true or false
    # updatedefaultentry=false
    
    ## ## End Default Options ##
    
    
    
    
    ### END DEBIAN AUTOMAGIC KERNELS LIST
    
    # This is a divider, added to separate the menu items below from the Debian
    # ones.
    
    
    # This entry automatically added by the Debian installer for an existing
    # linux installation on /dev/hda2.
    #title          Debian GNU/Linux, kernel 2.6.17 Default (on /dev/hda2)
    
    
    # This entry automatically added by the Debian installer for an existing
    # linux installation on /dev/hda2.
    
    [root@localhost bibi]# 
    
    0
  2. zorglue
     
    que dois-je faire maintenant dois-je rebooter???
    0
  3. lami20j Messages postés 21506 Date d'inscription   Statut Modérateur, Contributeur sécurité Dernière intervention   3 571
     
    Bon, je me suis gouré ;-)

    affiche ça
    grep -vE '^(#|$)' /mnt/ubuntu/boot/grub/menu.lst
    0
  4. zorglue
     
    su [bibi@localhost ~]$ su
    Mot de passe :
    [root@localhost bibi]# grep -vE '^(#|$)' /mnt/ubuntu/boot/grub/menu.lst
    splashimage=(hd0,2)/home/bibi/dunes.xpm.gz
    default 0
    timeout 30
    title ubuntu feisty fawn
    root (hd0,2)
    kernel /boot/vmlinuz-2.6.20-15-generic root=UUID=da846547-e531-45d0-93ee-4a7de80d44a9 ro quiet splash
    initrd /boot/initrd.img-2.6.20-15-generic
    quiet
    savedefault
    title ubuntu session de secour
    root (hd0,2)
    kernel /boot/vmlinuz-2.6.20-15-generic root=UUID=da846547-e531-45d0-93ee-4a7de80d44a9 ro single
    initrd /boot/initrd.img-2.6.20-15-generic
    title Ubuntu memtest86+
    root (hd0,2)
    kernel /boot/memtest86+.bin
    quiet
    title Other operating systems:
    root
    root (hd0,1)
    kernel /boot/vmlinuz root=/dev/hda2 ro ramdisk_size=100000 lang=fr apm=power-off nomce vga=791
    initrd /boot/initrd.img
    savedefault
    boot
    title kaella-knoppix
    root (hd0,1)
    kernel /boot/vmlinuz-2.6.17 root=/dev/hda2 ro ramdisk_size=100000 lang=fr apm=power-off nomce vga=791
    initrd /boot/initrd.img-2.6.17
    savedefault
    boot
    [root@localhost bibi]#

    ( c'est byzzare ceci était le menu du grub que j'avais personnelement créer)

    important : j'ai remplacé kaella-knoppix p
    0
  5. Vous n’avez pas trouvé la réponse que vous recherchez ?

    Posez votre question
  6. zorglue
     
    su [bibi@localhost ~]$ su 
    Mot de passe : 
    [root@localhost bibi]# grep -vE '^(#|$)' /mnt/ubuntu/boot/grub/menu.lst
    splashimage=(hd0,2)/home/bibi/dunes.xpm.gz
    default         0
    timeout         30
    title           ubuntu feisty fawn
    root            (hd0,2)
    kernel          /boot/vmlinuz-2.6.20-15-generic root=UUID=da846547-e531-45d0-93ee-4a7de80d44a9 ro quiet splash
    initrd          /boot/initrd.img-2.6.20-15-generic
    quiet
    savedefault
    title           ubuntu session de secour
    root            (hd0,2)
    kernel          /boot/vmlinuz-2.6.20-15-generic root=UUID=da846547-e531-45d0-93ee-4a7de80d44a9 ro single
    initrd          /boot/initrd.img-2.6.20-15-generic
    title           Ubuntu memtest86+
    root            (hd0,2)
    kernel          /boot/memtest86+.bin
    quiet
    title           Other operating systems:
    root
    root            (hd0,1)
    kernel          /boot/vmlinuz root=/dev/hda2 ro ramdisk_size=100000 lang=fr apm=power-off nomce vga=791 
    initrd          /boot/initrd.img
    savedefault
    boot
    title           kaella-knoppix
    root            (hd0,1)
    kernel          /boot/vmlinuz-2.6.17 root=/dev/hda2 ro ramdisk_size=100000 lang=fr apm=power-off nomce vga=791 
    initrd          /boot/initrd.img-2.6.17
    savedefault
    boot
    [root@localhost bibi]# 

    ( c'est mon ancien menu grub )
    IMPORATNT j'ai remplacé kaella-knoppix par fedora
    0
  7. lami20j Messages postés 21506 Date d'inscription   Statut Modérateur, Contributeur sécurité Dernière intervention   3 571
     
    Ce n'est pas bizarre, c'est toute à fait normal bizarrement :-))
    affiche
    ls -l /dev/disk/by-uuid/
    0
  8. zorglue
     
    [root@localhost bibi]# ls -l /dev/disk/by-uuid/
    total 0
    lrwxrwxrwx 1 root root 10 aoû 17 12:42 25f87c9d-5ae8-4a5d-b5ac-214eff9cdce2 -> ../../sda2
    lrwxrwxrwx 1 root root 10 aoû 17 12:42 93c2d7ca-8052-4f38-af20-d83a2b3dcdfe -> ../../sda1
    lrwxrwxrwx 1 root root 10 aoû 17 12:42 da846547-e531-45d0-93ee-4a7de80d44a9 -> ../../sda3
    [root@localhost bibi]# 
    
    0
  9. aruju Messages postés 2219 Date d'inscription   Statut Contributeur Dernière intervention   403
     
    bon je crois que je vais laisser la main à lami20j

    ;-)
    0
  10. lami20j Messages postés 21506 Date d'inscription   Statut Modérateur, Contributeur sécurité Dernière intervention   3 571
     
    Salut,

    bon je crois que je vais laisser la main à lami20j
    Mais, non, lance toi :-)
    Je suis au boulot et je n'ai pas trop de temps

    Voilà à quoi je pense.
    Avec le CD d'Ubuntu on peut restaurer le grub, comme ça Ubuntu va fonctionner ainsi que Fedora.
    0
  11. zorglue
     
    bonjour , voice mon rapport

    aprés avoir taper une commande qui me donnait ceci

    u [bibi@localhost ~]$ su 
    Mot de passe : 
    [root@localhost bibi]# grep -vE '^(#|$)' /mnt/ubuntu/boot/grub/menu.lst
    splashimage=(hd0,2)/home/bibi/dunes.xpm.gz
    default         0
    timeout         30
    title           ubuntu feisty fawn
    root            (hd0,2)
    kernel          /boot/vmlinuz-2.6.20-15-generic root=UUID=da846547-e531-45d0-93ee-4a7de80d44a9 ro quiet splash
    initrd          /boot/initrd.img-2.6.20-15-generic
    quiet
    savedefault
    title           ubuntu session de secour
    root            (hd0,2)
    kernel          /boot/vmlinuz-2.6.20-15-generic root=UUID=da846547-e531-45d0-93ee-4a7de80d44a9 ro single
    initrd          /boot/initrd.img-2.6.20-15-generic
    title           Ubuntu memtest86+
    root            (hd0,2)
    kernel          /boot/memtest86+.bin
    quiet
    title           Other operating systems:
    root
    root            (hd0,1)
    kernel          /boot/vmlinuz root=/dev/hda2 ro ramdisk_size=100000 lang=fr apm=power-off nomce vga=791 
    initrd          /boot/initrd.img
    savedefault
    boot
    title           kaella-knoppix
    root            (hd0,1)
    kernel          /boot/vmlinuz-2.6.17 root=/dev/hda2 ro ramdisk_size=100000 lang=fr apm=power-off nomce vga=791 
    initrd          /boot/initrd.img-2.6.17
    savedefault
    boot
    [root@localhost bibi]# 


    j'ai vite compris que cela était mon ancien menu.lst

    j'ai simplement du le remplacer par le nouveau menu.lst
    et remplacer aussi kaella-knoppix par fedora 7

    j'ai donc eu accés a fedora et ubuntu grace au grub ( tout les deux en mode graphique)

    super non ???

    seule probléme : lors du bootage en mode graphique sur ubuntu

    un message d'erreur est apparu

    FILE SYSTEM IS NOT CLEAN .... blablabla

    embetant

    j'ai du coup taper :
     reboot


    il s'est lancer avec 2 ou 3 problémes rien de grave

    j'ai pu donc avoir accés a mes fichiers et les copiers sur un disc amovible

    ( je n'ai pas eu d'autre chois aprés que de reformater ubuntu ( pas grave j'ai récuper mes fichiers important)

    lors de la réinstallation d'ubuntu le grub s'est reconfigurer

    dés lors je peux booter a l'infini sur fedora et ubuntu

    merci pour votre aide ... a bientot peut-etre
    0
Précédent
  • 1
  • 2