#1 Le 05/10/2010, à 19:33
- etnikkoenig
[Résolu]Disparition des partitions suite à réinstallation
Bonjour à tous,
Je me retrouve bien embetter avec mon problème parce que je ne parviens pas à le résoudre tout seul, j'aurais donc grand besoin de votre aide.
Jusqu'à maintenant, j'utilisais un multi-boot Ubuntu 10.04 / Windows Xp et tout allait très bien. Mal m'en a pris de vouloir mettre Windows Seven à la place de XP ...
J'ai donc lancé la procédure d'installation de Seven en formatant XP et au moment de redémarrer, j'avais perdu Grub. Je l'ai donc restaurer en suivant ce qui est expliqué dans la documentaion, mais plus rien ne se lance. Lorsque je lance Ubuntu, j'obtiens le message d'erreur suivant :
Le lecteur de disque de /home n'est pas encore prêt ou n'est pas présent
Je peux passer en appuyant sur M et j'obtiens le même message avec mes autres partitions. Ensuite, l'ordinateur reste bloqué.
J'ai alors pris mon CD d'ubuntu pour lancer le livecd et regarder mes partition avec Gparted et je m'apercois que mes partions linux n'ont plus de point de montage. Plus de /, plus de /home et même plus de swap ...
Quelqu'un aurait une solution???
Dernière modification par etnikkoenig (Le 07/10/2010, à 15:13)
La fin des numéros surtaxés : www.detax.fr
Hors ligne
#2 Le 05/10/2010, à 20:35
- malbo
Re : [Résolu]Disparition des partitions suite à réinstallation
Comme tu as installé Win7 à la place de XP, l'identification de cette partition a changé parce qu'elle a été formatée (elle n'a plus le même UUID, son identifiant) et c'est pourquoi ça perturbe Ubuntu à cause des points de montage que tu avais dû créer dans Ubuntu pour accéder à tes partitions NTFS (peut-être avec ntfs-config ou équivalent). Il va falloir faire des modifs dans le fichier fstab (ça va être très facile, pas d'angoisse). Si tu ne sais pas comment faire, réponds à cette demande ( bootinfoscript ) et je te dirai :
http://forum.ubuntu-fr.org/viewtopic.php?pid=3534285
Dernière modification par malbo (Le 23/11/2010, à 08:46)
Hors ligne
#3 Le 05/10/2010, à 20:52
- etnikkoenig
Re : [Résolu]Disparition des partitions suite à réinstallation
Merci pour ta réponse rapide.
Pour être sûr de ne pas faire de bétise, je veux bien un peu d'aide pour la modification du fichier fstab
Voila le résultat du script :
Boot Info Script 0.55 dated February 15th, 2010
============================= Boot Info Summary: ==============================
=> Grub 0.97 is installed in the MBR of /dev/sda and looks on the same drive
in partition #5 for /boot/grub/stage2 and /boot/grub/menu.lst.
=> Windows is installed in the MBR of /dev/sdb
sda1: _________________________________________________________________________
File system: ntfs
Boot sector type: Windows Vista/7
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files/dirs: /bootmgr /Boot/BCD
sda2: _________________________________________________________________________
File system: ntfs
Boot sector type: Windows Vista/7
Boot sector info: No errors found in the Boot Parameter Block.
Operating System: Windows 7
Boot files/dirs: /Windows/System32/winload.exe
sda3: _________________________________________________________________________
File system: Extended Partition
Boot sector type: -
Boot sector info:
sda5: _________________________________________________________________________
File system: ext3
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 10.04.1 LTS
Boot files/dirs: /boot/grub/menu.lst /etc/fstab /boot/grub/core.img
sdb1: _________________________________________________________________________
File system: ext3
Boot sector type: -
Boot sector info:
Operating System:
Boot files/dirs:
=========================== Drive/Partition Info: =============================
Drive: sda ___________________ _____________________________________________________
Disk /dev/sda: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders, total 488397168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
Partition Boot Start End Size Id System
/dev/sda1 * 2,048 206,847 204,800 7 HPFS/NTFS
/dev/sda2 206,848 282,630,143 282,423,296 7 HPFS/NTFS
/dev/sda3 282,631,545 488,392,064 205,760,520 5 Extended
/dev/sda5 468,857,025 488,392,064 19,535,040 83 Linux
Drive: sdb ___________________ _____________________________________________________
Disk /dev/sdb: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders, total 488397168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
Partition Boot Start End Size Id System
/dev/sdb1 63 488,392,064 488,392,002 83 Linux
blkid -c /dev/null: ____________________________________________________________
Device UUID TYPE LABEL
/dev/loop0 squashfs
/dev/sda1 E4C8B605C8B5D5D0 ntfs Réservé au système
/dev/sda2 E426E3DB26E3AD2C ntfs
/dev/sda3: PTTYPE="dos"
/dev/sda5 f3cd47da-7937-4547-85c7-fccac1609681 ext3
/dev/sda: PTTYPE="dos"
/dev/sdb1 1189b480-f2cf-4a39-90fe-91da73bba4ee ext3
/dev/sdb: PTTYPE="dos"
error: /dev/sdc: No medium found
============================ "mount | grep ^/dev output: ===========================
Device Mount_Point Type Options
aufs / aufs (rw)
/dev/sr0 /cdrom iso9660 (ro,noatime)
/dev/loop0 /rofs squashfs (ro,noatime)
/dev/sda2 /media/E426E3DB26E3AD2C fuseblk (rw,nosuid,nodev,allow_other,blksize=4096,default_permissions)
/dev/sdb1 /media/1189b480-f2cf-4a39-90fe-91da73bba4ee ext3 (rw,nosuid,nodev,uhelper=udisks)
/dev/sda5 /media/f3cd47da-7937-4547-85c7-fccac1609681 ext3 (rw,nosuid,nodev,uhelper=udisks)
=========================== sda5/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 use 'savedefault' or your
# array will desync and will not let you boot your system.
default 0
## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout 10
## 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=f3cd47da-7937-4547-85c7-fccac1609681 ro
## default grub root device
## e.g. groot=(hd0,0)
# groot=f3cd47da-7937-4547-85c7-fccac1609681
## 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=3
## specify if running in Xen domU or have grub detect automatically
## update-grub will ignore non-xen kernels when running in domU and vice versa
## e.g. indomU=detect
## indomU=true
## indomU=false
# indomU=detect
## 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
## should update-grub add savedefault to the default options
## can be true or false
# savedefault=false
## ## End Default Options ##
title Ubuntu 10.04.1 LTS, kernel 2.6.32-25-generic
uuid f3cd47da-7937-4547-85c7-fccac1609681
kernel /boot/vmlinuz-2.6.32-25-generic root=UUID=f3cd47da-7937-4547-85c7-fccac1609681 ro quiet splash
initrd /boot/initrd.img-2.6.32-25-generic
quiet
title Ubuntu 10.04.1 LTS, kernel 2.6.32-25-generic (recovery mode)
uuid f3cd47da-7937-4547-85c7-fccac1609681
kernel /boot/vmlinuz-2.6.32-25-generic root=UUID=f3cd47da-7937-4547-85c7-fccac1609681 ro single
initrd /boot/initrd.img-2.6.32-25-generic
title Ubuntu 10.04.1 LTS, kernel 2.6.32-24-generic
uuid f3cd47da-7937-4547-85c7-fccac1609681
kernel /boot/vmlinuz-2.6.32-24-generic root=UUID=f3cd47da-7937-4547-85c7-fccac1609681 ro quiet splash
initrd /boot/initrd.img-2.6.32-24-generic
quiet
title Ubuntu 10.04.1 LTS, kernel 2.6.32-24-generic (recovery mode)
uuid f3cd47da-7937-4547-85c7-fccac1609681
kernel /boot/vmlinuz-2.6.32-24-generic root=UUID=f3cd47da-7937-4547-85c7-fccac1609681 ro single
initrd /boot/initrd.img-2.6.32-24-generic
title Ubuntu 10.04.1 LTS, kernel 2.6.32-23-generic
uuid f3cd47da-7937-4547-85c7-fccac1609681
kernel /boot/vmlinuz-2.6.32-23-generic root=UUID=f3cd47da-7937-4547-85c7-fccac1609681 ro quiet splash
initrd /boot/initrd.img-2.6.32-23-generic
quiet
title Ubuntu 10.04.1 LTS, kernel 2.6.32-23-generic (recovery mode)
uuid f3cd47da-7937-4547-85c7-fccac1609681
kernel /boot/vmlinuz-2.6.32-23-generic root=UUID=f3cd47da-7937-4547-85c7-fccac1609681 ro single
initrd /boot/initrd.img-2.6.32-23-generic
title Chainload into GRUB 2
root f3cd47da-7937-4547-85c7-fccac1609681
kernel /boot/grub/core.img
title Ubuntu 10.04.1 LTS, memtest86+
uuid f3cd47da-7937-4547-85c7-fccac1609681
kernel /boot/memtest86+.bin
quiet
### END DEBIAN AUTOMAGIC KERNELS LIST
# This is a divider, added to separate the menu items below from the Debian
# ones.
title Other operating systems:
root
# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda1
title Microsoft Windows XP Professionnel
root (hd0,0)
savedefault
makeactive
chainloader +1
=============================== sda5/etc/fstab: ===============================
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# /dev/sda5
UUID=f3cd47da-7937-4547-85c7-fccac1609681 / ext3 relatime,errors=remount-ro 0 1
# /dev/sda7
UUID=4f35ffb8-edbf-43f0-af6b-8cef0f551dd0 /home ext3 relatime 0 2
# /dev/sda8
UUID=4641e396-58b6-427c-aac2-8eb1de8cb68f /media/partage ext3 relatime 0 2
# /dev/sdb1
UUID=1189b480-f2cf-4a39-90fe-91da73bba4ee /media/stockage ext3 relatime 0 2
# /dev/sda6
UUID=eab52458-8921-401e-8ce7-24e21983938c none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0
=================== sda5: Location of files loaded by Grub: ===================
240.4GB: boot/grub/core.img
240.4GB: boot/grub/menu.lst
240.4GB: boot/grub/stage2
240.4GB: boot/initrd.img-2.6.32-22-generic
240.3GB: boot/initrd.img-2.6.32-23-generic
240.4GB: boot/initrd.img-2.6.32-24-generic
240.4GB: boot/initrd.img-2.6.32-25-generic
240.3GB: boot/vmlinuz-2.6.32-22-generic
240.3GB: boot/vmlinuz-2.6.32-23-generic
240.3GB: boot/vmlinuz-2.6.32-24-generic
240.3GB: boot/vmlinuz-2.6.32-25-generic
240.4GB: initrd.img
240.4GB: initrd.img.old
240.3GB: vmlinuz
240.3GB: vmlinuz.old
=======Devices which don't seem to have a corresponding hard drive==============
sdc
La fin des numéros surtaxés : www.detax.fr
Hors ligne
#4 Le 06/10/2010, à 06:34
- malbo
Re : [Résolu]Disparition des partitions suite à réinstallation
C'est là le fstab extrait de ton résultat du bootinfoscript :
=============================== sda5/etc/fstab: ===============================
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# /dev/sda5
UUID=f3cd47da-7937-4547-85c7-fccac1609681 / ext3 relatime,errors=remount-ro 0 1
# /dev/sda7
UUID=4f35ffb8-edbf-43f0-af6b-8cef0f551dd0 /home ext3 relatime 0 2
# /dev/sda8
UUID=4641e396-58b6-427c-aac2-8eb1de8cb68f /media/partage ext3 relatime 0 2
# /dev/sdb1
UUID=1189b480-f2cf-4a39-90fe-91da73bba4ee /media/stockage ext3 relatime 0 2
# /dev/sda6
UUID=eab52458-8921-401e-8ce7-24e21983938c none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0
C'est plus grave que je pensais :
- la partition UUID=4f35ffb8-edbf-43f0-af6b-8cef0f551dd0 a disparu (plus de /home). elle était nommée sda7.
- la partition UUID=4641e396-58b6-427c-aac2-8eb1de8cb68f a disparu (elle était nommée sda8)
- la partition UUID=eab52458-8921-401e-8ce7-24e21983938c a disparu également (plus de swap). Elle était nommée sda6.
A partir de maintenant, tant que tu n'as pas récupéré tes données qui sont sur le disque dur dans la partition /home disparue (et peut-être aussi dans ton ex-partition sda8), n'essaie pas de démarrer sur Ubuntu du disque dur, ne démarre que sur un live-CD Ubuntu 10.04 ou une clé live-USB Ubuntu 10.04 pour éviter d'écraser un peu plus tes données précieuses.
Suis ces conseils de rmy qui est un spécialiste de la récupération de données pour éviter de t'enfoncer davantage :
http://forum.ubuntu-fr.org/viewtopic.php?id=92840
Il est possible que tu parviennes à récupérer tes partitions disparues en utilisant testdisk :
http://doc.ubuntu-fr.org/testdisk
Dernière modification par malbo (Le 23/11/2010, à 09:14)
Hors ligne
#5 Le 06/10/2010, à 15:25
- etnikkoenig
Re : [Résolu]Disparition des partitions suite à réinstallation
Merci pour ton aide malbo, j'en ai vraiment besoin ...
Il y quelques petites choses que je ne comprends pas. Avec Gparted, je vois parfaitement les partitions perdues, il manque simplement le point de montage (flag et label, je ne maitrise pas bien ceci). Il y a bien ma partition /home de 10Go avec l'espace occupé :
Je suis en train de me demander si une "simple" restauration de ma table de partition ne suffirait pas? Qu'en dites vous?
La fin des numéros surtaxés : www.detax.fr
Hors ligne
#6 Le 06/10/2010, à 17:43
- etnikkoenig
Re : [Résolu]Disparition des partitions suite à réinstallation
Ben et bien j'ai résolu mon problème presque en totalité ! Je peux de nouveau avoir accès à Ubuntu, mais pas encore à ma partition Windows. Merci malbo de m'avoir envoyé du côté de TestDisk
Voila comment j'ai procédé :
- Boot sur le livecd de Lucid
- Utilisation de testdisk pour restaurer la table des partitions. Il m'a retrouvé mes trois partitions linux manquantes mais pas Windows. Pour cela, j'ai utilisé le wiki de testdisk.
- Ensuite j'ai réinstallé grub. Attention, ce n'est pas parce que vous utilisez Lucid que vous avez forcément Grub2. Si comme moi vous faites des mises à jour depuis pas mal de temps, vous avez conservé Grub Legacy. Voici les liens pour restaurer Grub Legacy et Grub2. Dans mon cas, il a fallu que je également ceci pour reconfigurer Grub à partir du livecd.
- Suite au redémarrage, je me suis retrouvé face au shell de grub où il a fallu que je suive ce qui est dit dans le wiki à ce propos.
- Et l'ordinateur a enfin démarrer correctement !
Maintenant, je dois encore faire reconnaitre la partition Windows puisqu'elle pose problème a Gparted. Voila ce qu'il m'affiche lorsque je fais 'Vérifier' :
GParted 0.5.1
Libparted 2.2
Vérifier et réparer le système de fichiers (ntfs) sur /dev/sda1 00:00:00 ( ERREUR )
calibrer /dev/sda1 00:00:00 ( SUCCÈS )
chemin : /dev/sda1
début : 63
fin : 282631544
taille : 282631482 (134.77 Gio)
vérifier le système de fichiers sur /dev/sda1 et corriger les problèmes (si possible) 00:00:00 ( ERREUR )
ntfsresize -P -i -f -v /dev/sda1
ntfsresize v2.0.0 (libntfs 10:0:0)
$MFT has invalid magic.
ntfs_mft_load(): Failed.
Failed to load $MFT: Erreur d'entrée/sortie.
Failed to startup volume: Erreur d'entrée/sortie.
ERROR(5): Opening '/dev/sda1' as NTFS failed: Erreur d'entrée/sortie
NTFS is inconsistent. Run chkdsk /f on Windows then reboot it TWICE!
The usage of the /f parameter is very IMPORTANT! No modification was
and will be made to NTFS by this software until it gets repaired.
========================================
Si vous avez une idée, n'hésitez pas !
La fin des numéros surtaxés : www.detax.fr
Hors ligne
#7 Le 07/10/2010, à 09:34
- malbo
Re : [Résolu]Disparition des partitions suite à réinstallation
etnikkoenig,
Tu t'es battu comme un lion. Bravo parce que c'était loin d'être gagné. A présent que tu as assaini la situation de Ubuntu et pour voir ce qui bloque encore, peux-tu poster le nouveau résultat du bootinfoscript ?
Sinon, pour réparer Windows, je te conseille d'utiliser des outils Windows :
http://www.vista-xp.fr/forum/topic1474.html
Avec un CD de réparation comme celui proposé dans le lien, tu peux arriver à tellement bien réparer Win7 que le PC finit par ne démarrer que sur Win7, la cerise sur le gâteau de la réparation de Windows consistant à remettre un lanceur Windows dans le MBR du disque dur sur lequel est installé Windows (chez toi, c'est le disque dur sda). Si tu en arrives là, pas de soucis, on saura te guider pour rétablir le dual-boot avec Grub dans le MBR de sda.
Hors ligne
#8 Le 07/10/2010, à 15:12
- etnikkoenig
Re : [Résolu]Disparition des partitions suite à réinstallation
Voila le résultat du script :
Boot Info Script 0.55 dated February 15th, 2010
============================= Boot Info Summary: ==============================
=> Grub 0.97 is installed in the MBR of /dev/sda and looks on the same drive
in partition #3 for /boot/grub/stage2 and /boot/grub/menu.lst.
=> Windows is installed in the MBR of /dev/sdb
=> Windows is installed in the MBR of /dev/sdd
sda1: _________________________________________________________________________
File system:
Boot sector type: Windows XP
Boot sector info:
Mounting failed:
mount: type inconnu de système de fichiers ''
sda2: _________________________________________________________________________
File system: Extended Partition
Boot sector type: -
Boot sector info:
sda5: _________________________________________________________________________
File system: ext3
Boot sector type: -
Boot sector info:
Operating System:
Boot files/dirs:
sda6: _________________________________________________________________________
File system: ext3
Boot sector type: -
Boot sector info:
Operating System:
Boot files/dirs:
sda7: _________________________________________________________________________
File system: swap
Boot sector type: -
Boot sector info:
sda3: _________________________________________________________________________
File system: ext3
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 10.04.1 LTS
Boot files/dirs: /boot/grub/menu.lst /etc/fstab /boot/grub/core.img
sdb1: _________________________________________________________________________
File system: ext3
Boot sector type: -
Boot sector info:
Operating System:
Boot files/dirs:
sdd1: _________________________________________________________________________
File system: ntfs
Boot sector type: Windows XP
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files/dirs:
=========================== Drive/Partition Info: =============================
Drive: sda ___________________ _____________________________________________________
Disque /dev/sda: 250.1 Go, 250059350016 octets
255 têtes, 63 secteurs/piste, 30401 cylindres, total 488397168 secteurs
Unités = secteurs de 1 * 512 = 512 octets
Sector size (logical/physical): 512 bytes / 512 bytes
Partition Boot Start End Size Id System
/dev/sda1 * 63 282,631,544 282,631,482 7 HPFS/NTFS
/dev/sda2 282,631,608 468,840,959 186,209,352 f W95 Ext d (LBA)
/dev/sda5 282,631,671 453,177,584 170,545,914 83 Linux
/dev/sda6 453,193,713 462,961,169 9,767,457 83 Linux
/dev/sda7 462,977,298 468,840,959 5,863,662 82 Linux swap / Solaris
/dev/sda3 468,857,025 488,392,064 19,535,040 83 Linux
Drive: sdb ___________________ _____________________________________________________
Disque /dev/sdb: 250.1 Go, 250059350016 octets
255 têtes, 63 secteurs/piste, 30401 cylindres, total 488397168 secteurs
Unités = secteurs de 1 * 512 = 512 octets
Sector size (logical/physical): 512 bytes / 512 bytes
Partition Boot Start End Size Id System
/dev/sdb1 63 488,392,064 488,392,002 83 Linux
Drive: sdd ___________________ _____________________________________________________
Disque /dev/sdd: 500.1 Go, 500107862016 octets
1 têtes, 63 secteurs/piste, 15504336 cylindres, total 976773168 secteurs
Unités = secteurs de 1 * 512 = 512 octets
Sector size (logical/physical): 512 bytes / 512 bytes
Partition Boot Start End Size Id System
/dev/sdd1 * 63 976,768,127 976,768,065 7 HPFS/NTFS
blkid -c /dev/null: ____________________________________________________________
Device UUID TYPE LABEL
/dev/sda2: PTTYPE="dos"
/dev/sda3 f3cd47da-7937-4547-85c7-fccac1609681 ext3
/dev/sda5 4641e396-58b6-427c-aac2-8eb1de8cb68f ext3
/dev/sda6 4f35ffb8-edbf-43f0-af6b-8cef0f551dd0 ext3
/dev/sda7 eab52458-8921-401e-8ce7-24e21983938c swap
/dev/sda: PTTYPE="dos"
/dev/sdb1 1189b480-f2cf-4a39-90fe-91da73bba4ee ext3
/dev/sdb: PTTYPE="dos"
/dev/sdd1 3A6087C1608781FD ntfs Seagate Martin
/dev/sdd: PTTYPE="dos"
error: /dev/sdc: No medium found
============================ "mount | grep ^/dev output: ===========================
Device Mount_Point Type Options
/dev/sda3 / ext3 (rw,relatime,errors=remount-ro)
/dev/sdb1 /media/stockage ext3 (rw,relatime)
/dev/sda6 /home ext3 (rw,relatime)
/dev/sda5 /media/partage ext3 (rw,relatime)
/dev/sdd1 /media/Seagate Martin fuseblk (rw,nosuid,nodev,allow_other,blksize=4096,default_permissions)
=========================== sda3/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 use 'savedefault' or your
# array will desync and will not let you boot your system.
default 0
## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout 10
## 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=f3cd47da-7937-4547-85c7-fccac1609681 ro
## default grub root device
## e.g. groot=(hd0,0)
# groot=f3cd47da-7937-4547-85c7-fccac1609681
## 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=3
## specify if running in Xen domU or have grub detect automatically
## update-grub will ignore non-xen kernels when running in domU and vice versa
## e.g. indomU=detect
## indomU=true
## indomU=false
# indomU=detect
## 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
## should update-grub add savedefault to the default options
## can be true or false
# savedefault=false
## ## End Default Options ##
title Ubuntu 10.04.1 LTS, kernel 2.6.32-25-generic
uuid f3cd47da-7937-4547-85c7-fccac1609681
kernel /boot/vmlinuz-2.6.32-25-generic root=UUID=f3cd47da-7937-4547-85c7-fccac1609681 ro quiet splash
initrd /boot/initrd.img-2.6.32-25-generic
quiet
title Ubuntu 10.04.1 LTS, kernel 2.6.32-25-generic (recovery mode)
uuid f3cd47da-7937-4547-85c7-fccac1609681
kernel /boot/vmlinuz-2.6.32-25-generic root=UUID=f3cd47da-7937-4547-85c7-fccac1609681 ro single
initrd /boot/initrd.img-2.6.32-25-generic
title Ubuntu 10.04.1 LTS, kernel 2.6.32-24-generic
uuid f3cd47da-7937-4547-85c7-fccac1609681
kernel /boot/vmlinuz-2.6.32-24-generic root=UUID=f3cd47da-7937-4547-85c7-fccac1609681 ro quiet splash
initrd /boot/initrd.img-2.6.32-24-generic
quiet
title Ubuntu 10.04.1 LTS, kernel 2.6.32-24-generic (recovery mode)
uuid f3cd47da-7937-4547-85c7-fccac1609681
kernel /boot/vmlinuz-2.6.32-24-generic root=UUID=f3cd47da-7937-4547-85c7-fccac1609681 ro single
initrd /boot/initrd.img-2.6.32-24-generic
title Ubuntu 10.04.1 LTS, kernel 2.6.32-23-generic
uuid f3cd47da-7937-4547-85c7-fccac1609681
kernel /boot/vmlinuz-2.6.32-23-generic root=UUID=f3cd47da-7937-4547-85c7-fccac1609681 ro quiet splash
initrd /boot/initrd.img-2.6.32-23-generic
quiet
title Ubuntu 10.04.1 LTS, kernel 2.6.32-23-generic (recovery mode)
uuid f3cd47da-7937-4547-85c7-fccac1609681
kernel /boot/vmlinuz-2.6.32-23-generic root=UUID=f3cd47da-7937-4547-85c7-fccac1609681 ro single
initrd /boot/initrd.img-2.6.32-23-generic
title Chainload into GRUB 2
root f3cd47da-7937-4547-85c7-fccac1609681
kernel /boot/grub/core.img
title Ubuntu 10.04.1 LTS, memtest86+
uuid f3cd47da-7937-4547-85c7-fccac1609681
kernel /boot/memtest86+.bin
quiet
### END DEBIAN AUTOMAGIC KERNELS LIST
# This is a divider, added to separate the menu items below from the Debian
# ones.
title Other operating systems:
root
# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda1
title Microsoft Windows XP Professionnel
root (hd0,0)
savedefault
makeactive
chainloader +1
=============================== sda3/etc/fstab: ===============================
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# /dev/sda5
UUID=f3cd47da-7937-4547-85c7-fccac1609681 / ext3 relatime,errors=remount-ro 0 1
# /dev/sda7
UUID=4f35ffb8-edbf-43f0-af6b-8cef0f551dd0 /home ext3 relatime 0 2
# /dev/sda8
UUID=4641e396-58b6-427c-aac2-8eb1de8cb68f /media/partage ext3 relatime 0 2
# /dev/sdb1
UUID=1189b480-f2cf-4a39-90fe-91da73bba4ee /media/stockage ext3 relatime 0 2
# /dev/sda6
UUID=eab52458-8921-401e-8ce7-24e21983938c none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0
=================== sda3: Location of files loaded by Grub: ===================
240.3GB: boot/grub/core.img
240.3GB: boot/grub/menu.lst
240.4GB: boot/grub/stage2
240.4GB: boot/initrd.img-2.6.32-22-generic
240.3GB: boot/initrd.img-2.6.32-23-generic
240.4GB: boot/initrd.img-2.6.32-24-generic
240.4GB: boot/initrd.img-2.6.32-25-generic
240.3GB: boot/vmlinuz-2.6.32-22-generic
240.3GB: boot/vmlinuz-2.6.32-23-generic
240.3GB: boot/vmlinuz-2.6.32-24-generic
240.3GB: boot/vmlinuz-2.6.32-25-generic
240.4GB: initrd.img
240.4GB: initrd.img.old
240.3GB: vmlinuz
240.3GB: vmlinuz.old
=======Devices which don't seem to have a corresponding hard drive==============
sdc
J'ai remarqué que Grub m'affiche encore Windows XP alors que j'ai installé Seven.
Puisque Ubuntu 10.10 sort ce dimanche, je pense que je vais en profiter pour repartir sur une config clean parce que ca fait un moment que j'enchaine les mises à jour. Je suis en train de sauvegarder mes données et je repartirais à zéro dimanche. Au programme, installation de Seven 64 bits puis d'Ubuntu 10.10, comme ca tout devrait bien se passer ...
Encore merci malbo d'avoir pris le temps de m'aider !
La fin des numéros surtaxés : www.detax.fr
Hors ligne
#9 Le 07/10/2010, à 20:42
- malbo
Re : [Résolu]Disparition des partitions suite à réinstallation
Effectivement, le résultat du bootinfoscript ne trouve pas de système d'exploitation Windows sur sda1 (c'est là je suppose que tu as pensé installer Win7).
Repartir à zéro est donc une très bonne idée (il faudra supprimer la totalité des partitions sur sda afin qu'une nouvelle table de partition soit créée, puis créer une seule partition en début de DD, y installer Win7. Le faire fonctionner. Puis poursuivre le partitionnement avec Gparted depuis le live-CD Ubuntu pour préparer les partitions destinées à Ubuntu et les autres partitions que tu souhaites). Je te recommande d'installer Grub dans le MBR du disque dur sur lequel tu vas installer Ubuntu. Donc, si tu installes Win7 et Ubuntu en cohabitation sur sda, je te recommande Grub dans le MBR de sda.
Dernière modification par malbo (Le 07/10/2010, à 20:43)
Hors ligne
#10 Le 08/10/2010, à 12:34
- etnikkoenig
Re : [Résolu]Disparition des partitions suite à réinstallation
Bon alors, j'ai pas mal réfléchi depuis cette panne, et je vais me tourner vers le montage d'un petit serveur perso avec du raid 1 pour y stocker mes données importantes (photos perso, documents ...).
Je ne vais donc garder qu'un seul disque dur de 250Gb dans mon PC, ou cohabiteront Seven 64bits et Ubuntu 10.10. Me viennent alors deux questions :
- L'utilisation d'Ubuntu 64bits apporte-t-il un réel gain?
- Je suis obligé de passer par Gparted en LiveCD pour préparer mes partitions Ubuntu? Si je créer une partition pour Seven pendant son installation, puis que j'installe Ubuntu sur l'espace disque restant, ca ne va pas?
La fin des numéros surtaxés : www.detax.fr
Hors ligne