Desinstallation ubuntu

ludo -  
jeanbi Messages postés 15399 Date d'inscription   Statut Contributeur Dernière intervention   -
Bonjour, j'avais installé la version 8.04 d'ubuntu il y a quelques jours. Mais comme la connection internet ne fonctionnait pas, je me suis procuré une version plus récente, la 10.04 et là tout fonctionne. J'aimerai désinstaller la version 8.04 est bien sur conserver la version 10.04. Quelle est la meilleure méthode pour effectuer cette opération ?
Merci à tous ceux qui voudront bien m'aider.

10 réponses

  1. bob031 Messages postés 8228 Statut Membre 473
     
    Bonjour,

    Tu as 2 versions Ubuntu installées sur ta machine en dual-boot ?
    0
  2. ludo
     
    Oui c'est bien ça. J'ai même pour etre précis ces deux versions de ubuntu et un windows seven.
    0
  3. bob031 Messages postés 8228 Statut Membre 473
     
    s'agit-il de supprimer la partition ou est installée la version Ubuntu qui ne te convient pas ?

    0
  4. jeanbi Messages postés 15399 Date d'inscription   Statut Contributeur Dernière intervention   2 383
     
    bonjour ,
    avant de supprimer quoique ce soit donne le resultat des cdes ci dessous
    sudo fdisk -l

    sudo /boot/grub/grub.cfg
    a+
    0
  5. Vous n’avez pas trouvé la réponse que vous recherchez ?

    Posez votre question
  6. ludo
     
    Disque /dev/sda: 320.1 Go, 320072933376 octets
    255 têtes, 63 secteurs/piste, 38913 cylindres
    Unités = cylindres de 16065 * 512 = 8225280 octets
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Identifiant de disque : 0xb9204ede

    Périphérique Amorce Début Fin Blocs Id Système
    /dev/sda1 * 1 13 102400 7 HPFS/NTFS
    La partition 1 ne se termine pas sur une frontière de cylindre.
    /dev/sda2 13 27688 222293596+ 7 HPFS/NTFS
    /dev/sda3 27688 38913 90171233+ 5 Etendue
    /dev/sda5 37469 38846 11068753+ 83 Linux
    /dev/sda6 38847 38913 538146 82 Linux swap / Solaris
    /dev/sda7 27688 37065 75319296 83 Linux
    /dev/sda8 37065 37468 3243008 82 Linux swap / Solaris

    Je veux supprimer la version 8.04 puisque la version 10.04 me convient très bien.
    Je ne vois pas trop l'interet de la conserver.
    0
  7. jeanbi Messages postés 15399 Date d'inscription   Statut Contributeur Dernière intervention   2 383
     
    re,
    et l'autre commande ?
    a+
    0
  8. ludo
     
    POur l'autre, cela me marque "command not found"
    0
  9. jeanbi Messages postés 15399 Date d'inscription   Statut Contributeur Dernière intervention   2 383
     
    re
    desole
    sudo cat /boot/grub/grub.cfg
    a+
    0
  10. ludo
     
    Pas de souci, c'est déjà bien sympa d'essayer de m'aider.
    Voilà le résultat:

    ludorom@ludorom-desktop:~$ sudo cat /boot/grub/grub.cfg
    [sudo] password for ludorom:
    #
    # DO NOT EDIT THIS FILE
    #
    # It is automatically generated by /usr/sbin/grub-mkconfig using templates
    # from /etc/grub.d and settings from /etc/default/grub
    #

    ### BEGIN /etc/grub.d/00_header ###
    if [ -s $prefix/grubenv ]; then
    load_env
    fi
    set default="0"
    if [ ${prev_saved_entry} ]; then
    set saved_entry=${prev_saved_entry}
    save_env saved_entry
    set prev_saved_entry=
    save_env prev_saved_entry
    set boot_once=true
    fi

    function savedefault {
    if [ -z ${boot_once} ]; then
    saved_entry=${chosen}
    save_env saved_entry
    fi
    }

    function recordfail {
    set recordfail=1
    if [ -n ${have_grubenv} ]; then if [ -z ${boot_once} ]; then save_env recordfail; fi; fi
    }
    insmod ext2
    set root='(hd0,7)'
    search --no-floppy --fs-uuid --set f1efd9a7-5709-47cb-bea3-59e98128062c
    if loadfont /usr/share/grub/unicode.pf2 ; then
    set gfxmode=640x480
    insmod gfxterm
    insmod vbe
    if terminal_output gfxterm ; then true ; else
    # For backward compatibility with versions of terminal.mod that don't
    # understand terminal_output
    terminal gfxterm
    fi
    fi
    insmod ext2
    set root='(hd0,7)'
    search --no-floppy --fs-uuid --set f1efd9a7-5709-47cb-bea3-59e98128062c
    set locale_dir=($root)/boot/grub/locale
    set lang=fr
    insmod gettext
    if [ ${recordfail} = 1 ]; then
    set timeout=-1
    else
    set timeout=10
    fi
    ### END /etc/grub.d/00_header ###

    ### BEGIN /etc/grub.d/05_debian_theme ###
    set menu_color_normal=white/black
    set menu_color_highlight=black/light-gray
    ### END /etc/grub.d/05_debian_theme ###

    ### BEGIN /etc/grub.d/10_linux ###
    menuentry 'Ubuntu, avec Linux 2.6.32-27-generic-pae' --class ubuntu --class gnu-linux --class gnu --class os {
    recordfail
    insmod ext2
    set root='(hd0,7)'
    search --no-floppy --fs-uuid --set f1efd9a7-5709-47cb-bea3-59e98128062c
    linux /boot/vmlinuz-2.6.32-27-generic-pae root=UUID=f1efd9a7-5709-47cb-bea3-59e98128062c ro quiet splash
    initrd /boot/initrd.img-2.6.32-27-generic-pae
    }
    menuentry 'Ubuntu, avec Linux 2.6.32-27-generic-pae (mode de récupération)' --class ubuntu --class gnu-linux --class gnu --class os {
    recordfail
    insmod ext2
    set root='(hd0,7)'
    search --no-floppy --fs-uuid --set f1efd9a7-5709-47cb-bea3-59e98128062c
    echo 'Chargement de Linux 2.6.32-27-generic-pae ...'
    linux /boot/vmlinuz-2.6.32-27-generic-pae root=UUID=f1efd9a7-5709-47cb-bea3-59e98128062c ro single
    echo 'Chargement du disque mémoire initial...'
    initrd /boot/initrd.img-2.6.32-27-generic-pae
    }
    ### END /etc/grub.d/10_linux ###

    ### BEGIN /etc/grub.d/20_memtest86+ ###
    menuentry "Memory test (memtest86+)" {
    insmod ext2
    set root='(hd0,7)'
    search --no-floppy --fs-uuid --set f1efd9a7-5709-47cb-bea3-59e98128062c
    linux16 /boot/memtest86+.bin
    }
    menuentry "Memory test (memtest86+, serial console 115200)" {
    insmod ext2
    set root='(hd0,7)'
    search --no-floppy --fs-uuid --set f1efd9a7-5709-47cb-bea3-59e98128062c
    linux16 /boot/memtest86+.bin console=ttyS0,115200n8
    }
    ### END /etc/grub.d/20_memtest86+ ###

    ### BEGIN /etc/grub.d/30_os-prober ###
    menuentry "Windows 7 (loader) (on /dev/sda1)" {
    insmod ntfs
    set root='(hd0,1)'
    search --no-floppy --fs-uuid --set 9c22576722574604
    chainloader +1
    }
    menuentry "Ubuntu 8.04, kernel 2.6.24-16-generic (on /dev/sda5)" {
    insmod ext2
    set root='(hd0,5)'
    search --no-floppy --fs-uuid --set 7e532c2c-f36b-4199-ac18-90c8c2bb832a
    linux /boot/vmlinuz-2.6.24-16-generic root=UUID=7e532c2c-f36b-4199-ac18-90c8c2bb832a ro quiet splash
    initrd /boot/initrd.img-2.6.24-16-generic
    }
    menuentry "Ubuntu 8.04, kernel 2.6.24-16-generic (recovery mode) (on /dev/sda5)" {
    insmod ext2
    set root='(hd0,5)'
    search --no-floppy --fs-uuid --set 7e532c2c-f36b-4199-ac18-90c8c2bb832a
    linux /boot/vmlinuz-2.6.24-16-generic root=UUID=7e532c2c-f36b-4199-ac18-90c8c2bb832a ro single
    initrd /boot/initrd.img-2.6.24-16-generic
    }
    menuentry "Ubuntu 8.04, memtest86+ (on /dev/sda5)" {
    insmod ext2
    set root='(hd0,5)'
    search --no-floppy --fs-uuid --set 7e532c2c-f36b-4199-ac18-90c8c2bb832a
    linux /boot/memtest86+.bin
    }
    ### END /etc/grub.d/30_os-prober ###

    ### BEGIN /etc/grub.d/40_custom ###
    # This file provides an easy way to add custom menu entries. Simply type the
    # menu entries you want to add after this comment. Be careful not to change
    # the 'exec tail' line above.
    ### END /etc/grub.d/40_custom ###
    ludorom@ludorom-desktop:~$
    0
  11. jeanbi Messages postés 15399 Date d'inscription   Statut Contributeur Dernière intervention   2 383
     
    re,
    donc , il te faut recuperer la sd5 et sda6 mais le soucis est que si tu les supprime tu va modifier l'ordre de partitions et tu ne pourra plus demarrer , je te conseillerai donc soit d'utiliser sda5 comme partition /home et garder sda7 comme / et garder les 2 partition swap tel quel .
    http://doc.ubuntu-fr.org/tutoriel/deplacer_home
    ou tu formates juste la partition sda5 mais sans changer l'ordre etabli
    a+

    0