Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 22/11/2010, à 19:17

linux1989

MAJ Ubuntu 10.10 et partition invisible

Bonsoir à tous,

Pour bien vous expliquez ma situation, je vais commencer du début ! ^^
J'ai actuellement un HP dv7 1035EF. J'ai fait plusieurs partitions il y a de ça 1ans quand j'ai installé l'ancienne version d'Ubuntu comme ceci :

Partition 1 : Windows 7 (47Go) ntfs
Partition 2 : Fichier systèmes "/" 8Go pour Ubuntu ext4
partition 3 : "/home" 36Go ext4
Partition 4 : SWAP 1Go
Partition 5 : commune 157Go ntfs
(Ceci est de mémoire..)

Et donc j'ai voulu mettre la dernière version Ubuntu, j'ai formaté la partition 2&3 en gardant les mêmes capacités et refait pareils.
Dans la même fenêtre il y avait également "chargeur d'amorçage" et j'ai laissé tel quel. je crois qu'il a pris le disque en entier soit 250Go.

Tout à très bien fonctionné jusque là.
MAIS normalement quand je le démarre il me demande sous quelle partition je veux démarrer. Soit Ubuntu, soit Windows 7 ou encore un truc de test. Mais la partition Windows n'est plus là yikes
En allant dans le poste de travail il affiche le disque dur de la partition Windows.
D'où cela peut il provenir ?
Donc ma question : Comment faire revenir le choix de la partition ou l'on veut démarrer ?

En complément, je trouve que le net est moins rapide pourtant d'après le graphique du processeur dans la barre de tache je ne suis pas à fond, et le net n'a pas changé. Un problème de la version ? Ou une impression ? ..

Merci !
Salutations

Hors ligne

#2 Le 22/11/2010, à 19:33

malbo

Re : MAJ Ubuntu 10.10 et partition invisible

Peux-tu répondre à cette demande ( bootinfoscript ) :
http://forum.ubuntu-fr.org/viewtopic.php?pid=3534285

Hors ligne

#3 Le 22/11/2010, à 19:53

linux1989

Re : MAJ Ubuntu 10.10 et partition invisible

Voilà le résultat ! smile

                Boot Info Script 0.55    dated February 15th, 2010                   

============================= Boot Info Summary: ==============================

=> Grub 2 is installed in the MBR of /dev/sda and looks on the same drive in
    partition #5 for (,msdos5)/boot/grub.
=> Syslinux is installed in the MBR of /dev/sdb

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:       ntfs
    Boot sector type:  Windows Vista/7
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System: 
    Boot files/dirs:   

sda4: _________________________________________________________________________

    File system:       Extended Partition
    Boot sector type:  Unknown
    Boot sector info: 

sda5: _________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  Ubuntu 10.10
    Boot files/dirs:   /boot/grub/grub.cfg /etc/fstab /boot/grub/core.img

sda6: _________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System: 
    Boot files/dirs:   

sda7: _________________________________________________________________________

    File system:       swap
    Boot sector type:  -
    Boot sector info: 

sdb1: _________________________________________________________________________

    File system:       vfat
    Boot sector type:  Fat32
    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
240 têtes, 63 secteurs/piste, 32301 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/sda2    *        206,848    92,162,047    91,955,200   7 HPFS/NTFS
/dev/sda3          92,162,048   399,362,047   307,200,000   7 HPFS/NTFS
/dev/sda4         399,364,684   488,391,119    89,026,436   5 Extended
/dev/sda5         472,772,160   488,391,119    15,618,960  83 Linux
/dev/sda6         401,315,103   472,757,039    71,441,937  83 Linux
/dev/sda7         399,364,686   401,313,903     1,949,218  82 Linux swap / Solaris


Drive: sdb ___________________ _____________________________________________________

Disque /dev/sdb: 8011 Mo, 8011120640 octets
41 têtes, 41 secteurs/piste, 9307 cylindres, total 15646720 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    *          8,064    15,646,719    15,638,656   b W95 FAT32


blkid -c /dev/null: ____________________________________________________________

Device           UUID                                   TYPE       LABEL                         

/dev/sda2        2C8C9C758C9C3B72                       ntfs                                     
/dev/sda3        F420DF4820DF108A                       ntfs                                     
/dev/sda4: PTTYPE="dos"
/dev/sda5        b66007dd-9ba4-4e3a-ae80-8a042c7dedcd   ext4                                     
/dev/sda6        c72eb365-7c9e-45f1-a640-3f6c90c6450c   ext4                                     
/dev/sda7        0b31efed-7f2f-43a6-8fea-7331cf223431   swap                                     
/dev/sda: PTTYPE="dos"
/dev/sdb1        10FF-79A2                              vfat       USB DISK                     
/dev/sdb: PTTYPE="dos"

============================ "mount | grep ^/dev  output: ===========================

Device           Mount_Point              Type       Options

/dev/sda5        /                        ext4       (rw,errors=remount-ro,commit=0)
/dev/sda6        /home                    ext4       (rw,commit=0)
/dev/sdb1        /media/USB DISK          vfat       (rw,nosuid,nodev,uhelper=udisks,uid=1000,gid=1000,shortname=mixed,dmask=0077,utf8=1,showexec,flush)


=========================== sda5/boot/grub/grub.cfg: ===========================

#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by 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
  set have_grubenv=true
  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
}

function load_video {
  insmod vbe
  insmod vga
}

insmod part_msdos
insmod ext2
set root='(hd0,msdos5)'
search --no-floppy --fs-uuid --set b66007dd-9ba4-4e3a-ae80-8a042c7dedcd
if loadfont /usr/share/grub/unicode.pf2 ; then
  set gfxmode=640x480
  load_video
  insmod gfxterm
fi
terminal_output gfxterm
insmod part_msdos
insmod ext2
set root='(hd0,msdos5)'
search --no-floppy --fs-uuid --set b66007dd-9ba4-4e3a-ae80-8a042c7dedcd
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, with Linux 2.6.35-22-generic' --class ubuntu --class gnu-linux --class gnu --class os {
    recordfail
    insmod part_msdos
    insmod ext2
    set root='(hd0,msdos5)'
    search --no-floppy --fs-uuid --set b66007dd-9ba4-4e3a-ae80-8a042c7dedcd
    linux    /boot/vmlinuz-2.6.35-22-generic root=UUID=b66007dd-9ba4-4e3a-ae80-8a042c7dedcd ro   quiet splash
    initrd    /boot/initrd.img-2.6.35-22-generic
}
menuentry 'Ubuntu, with Linux 2.6.35-22-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
    recordfail
    insmod part_msdos
    insmod ext2
    set root='(hd0,msdos5)'
    search --no-floppy --fs-uuid --set b66007dd-9ba4-4e3a-ae80-8a042c7dedcd
    echo    'Loading Linux 2.6.35-22-generic ...'
    linux    /boot/vmlinuz-2.6.35-22-generic root=UUID=b66007dd-9ba4-4e3a-ae80-8a042c7dedcd ro single
    echo    'Loading initial ramdisk ...'
    initrd    /boot/initrd.img-2.6.35-22-generic
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
    insmod part_msdos
    insmod ext2
    set root='(hd0,msdos5)'
    search --no-floppy --fs-uuid --set b66007dd-9ba4-4e3a-ae80-8a042c7dedcd
    linux16    /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
    insmod part_msdos
    insmod ext2
    set root='(hd0,msdos5)'
    search --no-floppy --fs-uuid --set b66007dd-9ba4-4e3a-ae80-8a042c7dedcd
    linux16    /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
### 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 ###

### BEGIN /etc/grub.d/41_custom ###
if [ -f  $prefix/custom.cfg ]; then
  source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###

=============================== sda5/etc/fstab: ===============================

# /etc/fstab: static file system information.
#
# Use 'blkid -o value -s UUID' to print the universally unique identifier
# for a device; this may be used with UUID= as a more robust way to name
# devices that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    nodev,noexec,nosuid 0       0
# / was on /dev/sda5 during installation
UUID=b66007dd-9ba4-4e3a-ae80-8a042c7dedcd /               ext4    errors=remount-ro 0       1
# /home was on /dev/sda6 during installation
UUID=c72eb365-7c9e-45f1-a640-3f6c90c6450c /home           ext4    defaults        0       2
# swap was on /dev/sda7 during installation
UUID=0b31efed-7f2f-43a6-8fea-7331cf223431 none            swap    sw              0       0

=================== sda5: Location of files loaded by Grub: ===================


246.7GB: boot/grub/core.img
246.5GB: boot/grub/grub.cfg
243.8GB: boot/initrd.img-2.6.35-22-generic
246.8GB: boot/vmlinuz-2.6.35-22-generic
243.8GB: initrd.img
246.8GB: vmlinuz
=========================== Unknown MBRs/Boot Sectors/etc =======================

Unknown BootLoader  on sda4

00000000  4f 7a ce c1 b4 b7 a4 67  8c a8 be a7 48 40 aa 9a  |Oz.....g....H@..|
00000010  bb b9 f0 fb 81 04 bf bc  c3 e2 97 29 ca 69 88 70  |...........).i.p|
00000020  4c 93 f1 c3 f7 8b 3c 78  be 6b c2 f5 0e 9d 2a d1  |L.....<x.k....*.|
00000030  a6 d9 d4 29 bd ce e4 12  af 19 a8 e2 d7 29 df 76  |...).........).v|
00000040  9e df 2f 9e cd 3b 95 ce  a7 a1 e2 f5 bc 74 e7 31  |../..;.......t.1|
00000050  e2 e4 e7 d7 cf 38 17 77  2a 6e 5d cf 92 02 3e b5  |.....8.w*n]...>.|
00000060  bd ef 69 b3 8f b5 9d 55  e5 59 e4 82 5c 98 4c f6  |..i....U.Y..\.L.|
00000070  36 e3 9a 77 01 56 a6 6a  52 dc cb fe 43 0d 5d 64  |6..w.V.jR...C.]d|
00000080  c9 e3 a4 5b 8e 4d 12 11  32 f1 6a f0 a4 b3 dc 71  |...[.M..2.j....q|
00000090  f7 dd 24 63 71 0b f6 23  8e 53 26 47 05 6c e3 58  |..$cq..#.S&G.l.X|
000000a0  69 c2 4d e7 f8 e2 d2 fc  5f b0 8c 87 fd 53 0c 9e  |i.M....._....S..|
000000b0  16 32 e6 1c 3f 34 2a 77  74 95 4c de 39 0e 51 c0  |.2..?4*wt.L.9.Q.|
000000c0  14 f6 22 f4 5f cc 7e d9  0f 1d 15 d9 de d7 8b 6a  |.."._.~........j|
000000d0  b8 5e f1 4c e3 cd 9c 76  c4 95 84 a4 0e 10 b3 f0  |.^.L...v........|
000000e0  95 d0 f0 ba 98 4a 22 2c  71 d9 ed 3a e7 4d 6c f8  |.....J",q..:.Ml.|
000000f0  bc db eb ee 79 27 6a 96  57 18 1f c7 3a 68 59 c3  |....y'j.W...:hY.|
00000100  c2 17 1c 77 7c 64 e0 c5  8a cf 8f 19 24 70 87 c3  |...w|d......$p..|
00000110  b1 48 ef 1b b2 1d f4 37  d5 44 a2 85 7b c8 5f a5  |.H.....7.D..{._.|
00000120  30 78 74 f6 08 cb 38 12  3d 78 d7 8f 38 7c dc 17  |0xt...8.=x..8|..|
00000130  53 46 84 35 a7 de 70 e0  95 f4 f9 e3 4e e2 f1 91  |SF.5..p.....N...|
00000140  37 f7 4e 02 0a 97 59 8f  7e 1b 36 08 2b d5 76 b5  |7.N...Y.~.6.+.v.|
00000150  1c e3 c6 81 52 f5 b2 7a  78 d9 7d 6a 24 d7 79 01  |....R..zx.}j$.y.|
00000160  c2 5f 55 21 d6 b1 cb d9  95 6a a4 c7 8b 4c 68 d4  |._U!.....j...Lh.|
00000170  27 a7 18 a7 3e f8 fb 0c  87 b6 75 68 4d 84 a2 69  |'...>.....uhM..i|
00000180  11 f8 84 0b 1e be be 78  f8 d5 23 9e 1e 8d 63 d8  |.......x..#...c.|
00000190  4b 4d a1 e4 c7 44 ce 6a  1f 4f 34 e7 9f 5d 4c 38  |KM...D.j.O4..]L8|
000001a0  64 ee 1d 1a 9f 38 ed 26  a7 cf 19 20 7c 4f bd f4  |d....8.&... |O..|
000001b0  e9 07 af fa bd e1 46 ba  46 69 c6 8e 89 ec 00 ef  |......F.Fi......|
000001c0  ff ff 83 ef ff ff f4 1b  60 04 90 53 ee 00 00 ef  |........`..S....|
000001d0  ff ff 05 ef ff ff 94 c2  1d 00 50 1e 42 04 00 00  |..........P.B...|
000001e0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000001f0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 55 aa  |..............U.|
00000200

Hors ligne

#4 Le 22/11/2010, à 19:53

linux1989

Re : MAJ Ubuntu 10.10 et partition invisible

Mince, il ne l'a pas fait dans un encadré ...

Hors ligne

#5 Le 22/11/2010, à 20:18

malbo

Re : MAJ Ubuntu 10.10 et partition invisible

Je pense que tu as supprimé une partition sda1 qui contenait des fichiers nécessaires à Win7 tels que bootmgr et Boot/BCD et c'est pour cela que Ubuntu ne reconnait plus Windows et ne le propose plus dans le menu de démarrage. Il convient donc de réparer le démarrage de Win7. Pour ce faire, demande de l'aide sur un forum Windows.

Dernière modification par malbo (Le 22/11/2010, à 20:19)

Hors ligne

#6 Le 22/11/2010, à 22:31

linux1989

Re : MAJ Ubuntu 10.10 et partition invisible

Mais je n'ai rien supprimé sad
Tu es sur que c'est çà ?

Hors ligne

#7 Le 23/11/2010, à 08:44

malbo

Re : MAJ Ubuntu 10.10 et partition invisible

Je suis sûr que pour que Win7 démarre, il faut qu'il existe quelque part dans ton PC, à la racine d'une partition, un fichier nommé bootmgr et un dossier Boot/BCD. Si ça n'existe pas (tu peux faire les recherches de ces éléments depuis Ubuntu), Win7 ne peut pas fonctionner.
Regarde ce post de etnikkoenig qui contient un bootinfoscript semblable au tien : http://forum.ubuntu-fr.org/viewtopic.ph … 2#p3768762
Tu peux y voir cette partie dans laquelle la partition sda2 commence à l'index 206,848 :

=========================== 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

Et compare avec la partie correspondante dans ton résultat du bootinfoscript :

=========================== Drive/Partition Info: =============================

Drive: sda ___________________ _____________________________________________________

Disque /dev/sda: 250.1 Go, 250059350016 octets
240 têtes, 63 secteurs/piste, 32301 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/sda2    *        206,848    92,162,047    91,955,200   7 HPFS/NTFS
/dev/sda3          92,162,048   399,362,047   307,200,000   7 HPFS/NTFS
/dev/sda4         399,364,684   488,391,119    89,026,436   5 Extended
/dev/sda5         472,772,160   488,391,119    15,618,960  83 Linux
/dev/sda6         401,315,103   472,757,039    71,441,937  83 Linux
/dev/sda7         399,364,686   401,313,903     1,949,218  82 Linux swap / Solaris

Ta partition sda2 commence aussi à l'index 206,848 et on voit bien qu'il te manque sda1

On reprend le post de etnikkoenig et on regarde le contenu de sda1 :

============================= 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

Les éléments dont je t'ai parlé plus haut ( bootmgr  et Boot/BCD ) sont bien dans sda1 du PC de etnikkoenig. Alors que toi, tu n'as plus de sda1.
Il est possible que tu parviennes à récupérer sda1 en utilisant testdisk comme a réussi à le faire etnikkoenig dans la suite de la discussion ( http://forum.ubuntu-fr.org/viewtopic.ph … 1#p3770051 ). Mais le résultat n'est pas garanti et à mon avis, avant de te lancer là-dedans, il convient de sauvegarder sur DD externe tous les doc précieux qui sont dans toutes les partitions du PC. Le risque, c'est que non seulement tu ne récupères pas sda1 mais que tu perdes complètement toutes les partitions.

Dernière modification par malbo (Le 23/11/2010, à 09:09)

Hors ligne