#1 Le 27/09/2011, à 14:20
- Djanckey
[Résolu] Désinstaller Ubuntu securisé sans perdre le MBR
J'ai un sony vaio sous vista, je pensais que mon PC était tatoué donc j'ai utilisé la version sécurisée d'Ubuntu. Et Pareil, mon installation est quasiment complète sauf qu'elle bloque au niveau de la copie des journaux d'installation.
Pendant ce blocage, j'ai tenté de sauvegarder mon mbr, je sais pas si ça a marché mais dans mon disque C: sous windows j'ai bien le dossier clean.
Puis j'ai effectué une restauration des mbr, désormais, je boot bien sur vista. Par contre je ne sais pas comment enlever Ubuntu sans perdre mon mbr. Mais il faut absolument que je réinstalle ubuntu car j'utilise linux en cours pour faire des script shell ou écrire en C, donc après la désinstallation de la version sécurisé, j'aimerais pouvoir remettre ubuntu en dualboot, au pire des cas supprimer vista, mais bon en dernier recours.
J'ai utiliser boot repair pour génerer le rapport, voici le lien
http://paste.ubuntu.com/696918/
Je suis novice, je ne sais pas trop ce que ça signifie.
Dernière modification par Djanckey (Le 29/09/2011, à 17:38)
Hors ligne
#2 Le 27/09/2011, à 14:28
- malbo
Re : [Résolu] Désinstaller Ubuntu securisé sans perdre le MBR
Je colle ton résultat ici :
Boot Info Script 0.60 from 17 May 2011
============================= Boot Info Summary: ===============================
=> Grub2 (v1.99) is installed in the MBR of /dev/sda and looks at sector 1 of
the same hard drive for core.img. core.img is at this location and looks
for (,msdos5)/boot/grub on this drive.
=> No boot loader 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: /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 Vista
Boot files: /bootmgr /Boot/BCD /Windows/System32/winload.exe
sda3: __________________________________________________________________________
File system: swap
Boot sector type: -
Boot sector info:
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 11.04
Boot files: /boot/grub/grub.cfg /etc/fstab /boot/grub/core.img
sda6: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files:
sdb1: __________________________________________________________________________
File system: vfat
Boot sector type: Unknown
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files:
============================ Drive/Partition Info: =============================
Drive: sda _____________________________________________________________________
Disk /dev/sda: 200.0 GB, 200049647616 bytes
255 heads, 63 sectors/track, 24321 cylinders, total 390721968 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
Partition Boot Start Sector End Sector # of Sectors Id System
/dev/sda1 2,048 14,694,399 14,692,352 27 Hidden NTFS (Recovery Environment)
/dev/sda2 * 14,694,400 167,800,063 153,105,664 7 NTFS / exFAT / HPFS
/dev/sda3 167,800,832 171,706,367 3,905,536 82 Linux swap / Solaris
/dev/sda4 171,708,414 269,361,151 97,652,738 5 Extended
/dev/sda5 171,708,416 210,767,871 39,059,456 83 Linux
/dev/sda6 210,769,920 269,361,151 58,591,232 83 Linux
Drive: sdb _____________________________________________________________________
Disk /dev/sdb: 4012 MB, 4012900352 bytes
120 heads, 55 sectors/track, 1187 cylinders, total 7837696 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
Partition Boot Start Sector End Sector # of Sectors Id System
/dev/sdb1 32 7,837,695 7,837,664 b W95 FAT32
"blkid" output: ________________________________________________________________
Device UUID TYPE LABEL
/dev/loop0 squashfs
/dev/sda1 D8A8FC00A8FBDB48 ntfs Recovery
/dev/sda2 32E0552DE054F915 ntfs
/dev/sda3 348c4d34-4f7f-41de-8540-ed36f2fe882d swap
/dev/sda5 4023bda7-aa9d-4cb7-94a1-b0a72f06c3b1 ext4
/dev/sda6 a7e12887-d3ca-4ff8-920b-ed7497a5c08b ext4
/dev/sdb1 EE30-0D29 vfat MARIAMA
================================ Mount points: =================================
Device Mount_Point Type Options
/dev/loop0 /rofs squashfs (ro,noatime)
/dev/sda5 /target ext4 (rw,errors=remount-ro)
/dev/sr0 /cdrom iso9660 (ro,noatime)
=========================== 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 video_bochs
insmod video_cirrus
}
insmod part_msdos
insmod ext2
set root='(/dev/sda,msdos5)'
search --no-floppy --fs-uuid --set=root 4023bda7-aa9d-4cb7-94a1-b0a72f06c3b1
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=auto
load_video
insmod gfxterm
fi
terminal_output gfxterm
insmod part_msdos
insmod ext2
set root='(/dev/sda,msdos5)'
search --no-floppy --fs-uuid --set=root 4023bda7-aa9d-4cb7-94a1-b0a72f06c3b1
set locale_dir=($root)/boot/grub/locale
set lang=en_US
insmod gettext
if [ "${recordfail}" = 1 ]; then
set timeout=10
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
if background_color 44,0,30; then
clear
fi
### END /etc/grub.d/05_debian_theme ###
### BEGIN /etc/grub.d/10_linux ###
if [ ${recordfail} != 1 ]; then
if [ -e ${prefix}/gfxblacklist.txt ]; then
if hwmatch ${prefix}/gfxblacklist.txt 3; then
if [ ${match} = 0 ]; then
set linux_gfx_mode=keep
else
set linux_gfx_mode=text
fi
else
set linux_gfx_mode=text
fi
else
set linux_gfx_mode=keep
fi
else
set linux_gfx_mode=text
fi
export linux_gfx_mode
if [ "$linux_gfx_mode" != "text" ]; then load_video; fi
menuentry 'Ubuntu, with Linux 2.6.38-8-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
set gfxpayload=$linux_gfx_mode
insmod part_msdos
insmod ext2
set root='(/dev/sda,msdos5)'
search --no-floppy --fs-uuid --set=root 4023bda7-aa9d-4cb7-94a1-b0a72f06c3b1
linux /boot/vmlinuz-2.6.38-8-generic root=UUID=4023bda7-aa9d-4cb7-94a1-b0a72f06c3b1 ro quiet splash vt.handoff=7
initrd /boot/initrd.img-2.6.38-8-generic
}
menuentry 'Ubuntu, with Linux 2.6.38-8-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
set gfxpayload=$linux_gfx_mode
insmod part_msdos
insmod ext2
set root='(/dev/sda,msdos5)'
search --no-floppy --fs-uuid --set=root 4023bda7-aa9d-4cb7-94a1-b0a72f06c3b1
echo 'Loading Linux 2.6.38-8-generic ...'
linux /boot/vmlinuz-2.6.38-8-generic root=UUID=4023bda7-aa9d-4cb7-94a1-b0a72f06c3b1 ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.38-8-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='(/dev/sda,msdos5)'
search --no-floppy --fs-uuid --set=root 4023bda7-aa9d-4cb7-94a1-b0a72f06c3b1
linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
insmod part_msdos
insmod ext2
set root='(/dev/sda,msdos5)'
search --no-floppy --fs-uuid --set=root 4023bda7-aa9d-4cb7-94a1-b0a72f06c3b1
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###
### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Windows Recovery Environment (loader) (on /dev/sda1)" --class windows --class os {
insmod part_msdos
insmod ntfs
set root='(/dev/sda,msdos1)'
search --no-floppy --fs-uuid --set=root D8A8FC00A8FBDB48
drivemap -s (hd0) ${root}
chainloader +1
}
menuentry "Windows Vista (loader) (on /dev/sda2)" --class windows --class os {
insmod part_msdos
insmod ntfs
set root='(/dev/sda,msdos2)'
search --no-floppy --fs-uuid --set=root 32E0552DE054F915
chainloader +1
}
### 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=4023bda7-aa9d-4cb7-94a1-b0a72f06c3b1 / ext4 errors=remount-ro 0 1
# /home was on /dev/sda6 during installation
UUID=a7e12887-d3ca-4ff8-920b-ed7497a5c08b /home ext4 defaults 0 2
# swap was on /dev/sda3 during installation
UUID=348c4d34-4f7f-41de-8540-ed36f2fe882d none swap sw 0 0
--------------------------------------------------------------------------------
=================== sda5: Location of files loaded by Grub: ====================
GiB - GB File Fragment(s)
98.008888245 = 105.236242432 boot/grub/core.img 1
98.008895874 = 105.236250624 boot/grub/grub.cfg 1
83.712890625 = 89.886031872 boot/initrd.img-2.6.38-8-generic 2
98.068664551 = 105.300426752 boot/vmlinuz-2.6.38-8-generic 1
83.712890625 = 89.886031872 initrd.img 2
98.068664551 = 105.300426752 vmlinuz 1
======================== Unknown MBRs/Boot Sectors/etc: ========================
Unknown BootLoader on sda4
00000000 f9 73 00 54 1f 1b ff 9f 86 50 e8 14 fc d6 0d f0 |.s.T.....P......|
00000010 86 0f 01 fe 49 70 32 bf fa 51 2b c2 50 1e 2e 03 |....Ip2..Q+.P...|
00000020 c3 ef 29 54 c2 dc 97 43 0a 3a fc 4b 95 81 71 76 |..)T...C.:.K..qv|
00000030 e8 19 61 ac c0 55 fc 7a 7c 21 02 84 75 fb b1 12 |..a..U.z|!..u...|
00000040 b5 45 fc 07 c8 80 24 10 80 d0 56 3d 24 19 49 02 |.E....$...V=$.I.|
00000050 17 95 08 dd df 0e c9 36 b7 79 95 ac 48 11 ab 1d |.......6.y..H...|
00000060 60 1c 57 c6 0e 38 46 64 42 25 7c 19 bc db 22 c2 |`.W..8FdB%|...".|
00000070 a0 3e 24 cf 36 86 8e 05 75 5e 6c 56 a1 55 03 ea |.>$.6...u^lV.U..|
00000080 ac 1d 2a b6 83 81 4a f5 5a 48 06 c2 80 21 8e 87 |..*...J.ZH...!..|
00000090 4a a8 16 83 35 e9 e0 ec 0c 0a 31 e8 1e 1f 04 21 |J...5.....1....!|
000000a0 dd dc 60 b6 cb 8d 4e 29 ed a5 0d 37 60 98 60 01 |..`...N)...7`.`.|
000000b0 e9 c7 a2 3a b0 56 02 9f 18 c8 57 fa ca 80 78 a8 |...:.V....W...x.|
000000c0 02 79 7a 70 34 83 c0 7e cf 55 f8 14 2d 31 b8 95 |.yzp4..~.U..-1..|
000000d0 bf 62 a4 6c fb 6e 4e a3 b2 c1 d5 18 85 66 8e 7e |.b.l.nN......f.~|
000000e0 6d e4 f9 c0 7c 19 a3 a0 82 be fe 08 2d 52 ed a1 |m...|.......-R..|
000000f0 d6 f7 9a 55 bc 90 e8 8c 19 30 ea 89 45 e3 cd 50 |...U.....0..E..P|
00000100 c8 22 32 22 7d a2 c4 35 74 05 04 77 2c 58 6f 84 |."2"}..5t..w,Xo.|
00000110 b5 af 21 19 b1 eb 67 41 e2 60 1b 9c 27 15 08 cd |..!...gA.`..'...|
00000120 2a cb 51 7a 1a ef 16 06 17 86 61 d3 10 9d b2 16 |*.Qz......a.....|
00000130 d6 c5 e1 e0 26 ab 6e 11 82 f9 ed 80 6f ac 72 28 |....&.n.....o.r(|
00000140 c4 0b 27 7d 8c a0 d5 20 f9 d0 03 8f b1 b8 8c 18 |..'}... ........|
00000150 3b 72 60 1a e4 fe f4 14 a0 48 bf 62 59 a1 90 30 |;r`......H.bY..0|
00000160 10 56 56 50 31 5c e6 b2 ca eb a6 10 4f 05 3d 41 |.VVP1\......O.=A|
00000170 2e 07 40 f9 bf fd 83 ea 7f f7 8a c7 67 95 c7 1f |..@.........g...|
00000180 02 9e 5f 82 52 b0 6e 2b 94 19 7f b0 0c 2b 90 46 |.._.R.n+.....+.F|
00000190 95 22 34 2a cb 06 85 e0 a4 88 c1 4a 9c 1e 1f ff |."4*.......J....|
000001a0 1f 0b 94 36 1f 15 bc 0f d5 37 87 01 89 04 6b d6 |...6.....7....k.|
000001b0 d2 60 08 62 02 28 56 60 1c 42 48 08 7e 7a 00 fe |.`.b.(V`.BH.~z..|
000001c0 ff ff 83 fe ff ff 02 00 00 00 00 00 54 02 00 fe |............T...|
000001d0 ff ff 05 fe ff ff 02 00 54 02 00 10 7e 03 00 00 |........T...~...|
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
Unknown BootLoader on sdb1
00000000 eb 58 90 4d 53 44 4f 53 35 2e 30 00 02 20 10 11 |.X.MSDOS5.0.. ..|
00000010 02 00 00 00 00 f8 00 00 3f 00 ff 00 20 00 00 00 |........?... ...|
00000020 e0 97 77 00 78 07 00 00 00 00 00 00 02 00 00 00 |..w.x...........|
00000030 01 00 06 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000040 80 00 29 29 0d 30 ee 4e 4f 20 4e 41 4d 45 20 20 |..)).0.NO NAME |
00000050 20 20 46 41 54 33 32 20 20 20 33 c9 8e d1 bc f4 | FAT32 3.....|
00000060 7b 8e c1 8e d9 bd 00 7c 88 4e 02 8a 56 40 b4 41 |{......|.N..V@.A|
00000070 bb aa 55 cd 13 72 10 81 fb 55 aa 75 0a f6 c1 01 |..U..r...U.u....|
00000080 74 05 fe 46 02 eb 2d 8a 56 40 b4 08 cd 13 73 05 |t..F..-.V@....s.|
00000090 b9 ff ff 8a f1 66 0f b6 c6 40 66 0f b6 d1 80 e2 |.....f...@f.....|
000000a0 3f f7 e2 86 cd c0 ed 06 41 66 0f b7 c9 66 f7 e1 |?.......Af...f..|
000000b0 66 89 46 f8 83 7e 16 00 75 38 83 7e 2a 00 77 32 |f.F..~..u8.~*.w2|
000000c0 66 8b 46 1c 66 83 c0 0c bb 00 80 b9 01 00 e8 2b |f.F.f..........+|
000000d0 00 e9 2c 03 a0 fa 7d b4 7d 8b f0 ac 84 c0 74 17 |..,...}.}.....t.|
000000e0 3c ff 74 09 b4 0e bb 07 00 cd 10 eb ee a0 fb 7d |<.t............}|
000000f0 eb e5 a0 f9 7d eb e0 98 cd 16 cd 19 66 60 80 7e |....}.......f`.~|
00000100 02 00 0f 84 20 00 66 6a 00 66 50 06 53 66 68 10 |.... .fj.fP.Sfh.|
00000110 00 01 00 b4 42 8a 56 40 8b f4 cd 13 66 58 66 58 |....B.V@....fXfX|
00000120 66 58 66 58 eb 33 66 3b 46 f8 72 03 f9 eb 2a 66 |fXfX.3f;F.r...*f|
00000130 33 d2 66 0f b7 4e 18 66 f7 f1 fe c2 8a ca 66 8b |3.f..N.f......f.|
00000140 d0 66 c1 ea 10 f7 76 1a 86 d6 8a 56 40 8a e8 c0 |.f....v....V@...|
00000150 e4 06 0a cc b8 01 02 cd 13 66 61 0f 82 75 ff 81 |.........fa..u..|
00000160 c3 00 02 66 40 49 75 94 c3 42 4f 4f 54 4d 47 52 |...f@Iu..BOOTMGR|
00000170 20 20 20 20 00 00 00 00 00 00 00 00 00 00 00 00 | ............|
00000180 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
000001a0 00 00 00 00 00 00 00 00 00 00 00 00 0d 0a 52 65 |..............Re|
000001b0 74 69 72 65 7a 20 6c 65 20 64 69 73 71 75 65 ff |tirez le disque.|
000001c0 0d 0a 45 72 72 2e 20 64 69 73 71 75 65 ff 0d 0a |..Err. disque...|
000001d0 50 72 65 73 73 65 7a 20 75 6e 65 20 74 6f 75 63 |Pressez une touc|
000001e0 68 65 20 70 6f 75 72 20 72 65 64 82 6d 61 72 72 |he pour red.marr|
000001f0 65 72 0d 0a 00 00 00 00 00 ac c0 ce 00 00 55 aa |er............U.|
00000200
=============================== StdErr Messages: ===============================
unlzma: Decoder error
Hors ligne
#3 Le 27/09/2011, à 14:35
- malbo
Re : [Résolu] Désinstaller Ubuntu securisé sans perdre le MBR
Ton résultat est parfait. Pour désinstaller Ubuntu, tu dois suivre cette partie de la doc : http://doc.ubuntu-fr.org/desinstallatio … i-amorcage
Si la méthode graphique ne veut pas fonctionner, il faudra utiliser "Autres méthodes" et de fils en anguille, tu devrais arriver à cette autre partie de la doc :
http://doc.ubuntu-fr.org/comment_recupe … dows_vista
Le but du jeu étant de remplacer Grub par l'amorceur de Windows Vista dans le MBR du disque dur.C'est ce que fait la commande proposée :
bootrec /fixmbr
Dernière modification par malbo (Le 27/09/2011, à 14:39)
Hors ligne
#4 Le 27/09/2011, à 16:04
- Djanckey
Re : [Résolu] Désinstaller Ubuntu securisé sans perdre le MBR
J'ai utilisé OS- uninstaller, après la suppression de ubuntu on me dit que pour finir la désinstallation, il faut "update your bootloader", j'ai utiliser boot repair en disant que c'était une première réparation. Est ce que je peux formater les partition directement sous windows ? ou je suis obligé d'utiliser gParted. je sais pas si c'est utile vu que ubuntu à été désinstallé.
Dernière modification par Djanckey (Le 27/09/2011, à 16:31)
Hors ligne
#5 Le 27/09/2011, à 17:19
- malbo
Re : [Résolu] Désinstaller Ubuntu securisé sans perdre le MBR
As-tu fait ce que je te propose dans le post #3 ? Si oui, poste le nouveau rapport du Boot info script pour que je puisse voir le résultat.
Hors ligne
#6 Le 27/09/2011, à 17:36
- Djanckey
Re : [Résolu] Désinstaller Ubuntu securisé sans perdre le MBR
Bootrepair ne peut pas générer un bootinfo apparemment.
(P.S. En fait mon sda1 c'est le recovery système puis sda2 c'est pour windows.)
C'est bon, le nouveau rapport c'est
http://paste.ubuntu.com/697952/
Dernière modification par Djanckey (Le 27/09/2011, à 17:41)
Hors ligne
#7 Le 27/09/2011, à 18:31
- malbo
Re : [Résolu] Désinstaller Ubuntu securisé sans perdre le MBR
Ben non, le rapport est incomplet (il manque tout le début). C'est probablement un bug de boot repair. Peux-tu utiliser cette procédure à la place : http://forum.ubuntu-fr.org/viewtopic.php?pid=3534285
Hors ligne
#8 Le 27/09/2011, à 19:31
- Djanckey
Re : [Résolu] Désinstaller Ubuntu securisé sans perdre le MBR
Voilà ce que j'obtiens:
Boot Info Script 0.60 from 17 May 2011
============================= Boot Info Summary: ===============================
=> Syslinux MBR (3.61-4.03) is installed in the MBR of /dev/sda.
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: /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 Vista
Boot files: /bootmgr /Boot/BCD /Windows/System32/winload.exe
sda3: __________________________________________________________________________
File system: swap
Boot sector type: -
Boot sector info:
sda4: __________________________________________________________________________
File system: Extended Partition
Boot sector type: Unknown
Boot sector info:
sda5: __________________________________________________________________________
File system: ntfs
Boot sector type: Windows Vista/7
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files:
sda6: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files:
============================ Drive/Partition Info: =============================
Drive: sda _____________________________________________________________________
Disk /dev/sda: 200.0 GB, 200049647616 bytes
255 heads, 63 sectors/track, 24321 cylinders, total 390721968 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
Partition Boot Start Sector End Sector # of Sectors Id System
/dev/sda1 2,048 14,694,399 14,692,352 27 Hidden NTFS (Recovery Environment)
/dev/sda2 * 14,694,400 167,800,063 153,105,664 7 NTFS / exFAT / HPFS
/dev/sda3 167,800,832 171,706,367 3,905,536 82 Linux swap / Solaris
/dev/sda4 171,708,414 269,361,151 97,652,738 5 Extended
/dev/sda5 171,708,416 210,767,871 39,059,456 83 Linux
/dev/sda6 210,769,920 269,361,151 58,591,232 83 Linux
"blkid" output: ________________________________________________________________
Device UUID TYPE LABEL
/dev/loop0 squashfs
/dev/sda1 D8A8FC00A8FBDB48 ntfs Recovery
/dev/sda2 32E0552DE054F915 ntfs
/dev/sda3 348c4d34-4f7f-41de-8540-ed36f2fe882d swap
/dev/sda5 459FEEA97F54D10F ntfs
/dev/sda6 a7e12887-d3ca-4ff8-920b-ed7497a5c08b ext4
================================ Mount points: =================================
Device Mount_Point Type Options
/dev/loop0 /rofs squashfs (ro,noatime)
/dev/sr0 /cdrom iso9660 (ro,noatime)
======================== Unknown MBRs/Boot Sectors/etc: ========================
Unknown BootLoader on sda4
00000000 f9 73 00 54 1f 1b ff 9f 86 50 e8 14 fc d6 0d f0 |.s.T.....P......|
00000010 86 0f 01 fe 49 70 32 bf fa 51 2b c2 50 1e 2e 03 |....Ip2..Q+.P...|
00000020 c3 ef 29 54 c2 dc 97 43 0a 3a fc 4b 95 81 71 76 |..)T...C.:.K..qv|
00000030 e8 19 61 ac c0 55 fc 7a 7c 21 02 84 75 fb b1 12 |..a..U.z|!..u...|
00000040 b5 45 fc 07 c8 80 24 10 80 d0 56 3d 24 19 49 02 |.E....$...V=$.I.|
00000050 17 95 08 dd df 0e c9 36 b7 79 95 ac 48 11 ab 1d |.......6.y..H...|
00000060 60 1c 57 c6 0e 38 46 64 42 25 7c 19 bc db 22 c2 |`.W..8FdB%|...".|
00000070 a0 3e 24 cf 36 86 8e 05 75 5e 6c 56 a1 55 03 ea |.>$.6...u^lV.U..|
00000080 ac 1d 2a b6 83 81 4a f5 5a 48 06 c2 80 21 8e 87 |..*...J.ZH...!..|
00000090 4a a8 16 83 35 e9 e0 ec 0c 0a 31 e8 1e 1f 04 21 |J...5.....1....!|
000000a0 dd dc 60 b6 cb 8d 4e 29 ed a5 0d 37 60 98 60 01 |..`...N)...7`.`.|
000000b0 e9 c7 a2 3a b0 56 02 9f 18 c8 57 fa ca 80 78 a8 |...:.V....W...x.|
000000c0 02 79 7a 70 34 83 c0 7e cf 55 f8 14 2d 31 b8 95 |.yzp4..~.U..-1..|
000000d0 bf 62 a4 6c fb 6e 4e a3 b2 c1 d5 18 85 66 8e 7e |.b.l.nN......f.~|
000000e0 6d e4 f9 c0 7c 19 a3 a0 82 be fe 08 2d 52 ed a1 |m...|.......-R..|
000000f0 d6 f7 9a 55 bc 90 e8 8c 19 30 ea 89 45 e3 cd 50 |...U.....0..E..P|
00000100 c8 22 32 22 7d a2 c4 35 74 05 04 77 2c 58 6f 84 |."2"}..5t..w,Xo.|
00000110 b5 af 21 19 b1 eb 67 41 e2 60 1b 9c 27 15 08 cd |..!...gA.`..'...|
00000120 2a cb 51 7a 1a ef 16 06 17 86 61 d3 10 9d b2 16 |*.Qz......a.....|
00000130 d6 c5 e1 e0 26 ab 6e 11 82 f9 ed 80 6f ac 72 28 |....&.n.....o.r(|
00000140 c4 0b 27 7d 8c a0 d5 20 f9 d0 03 8f b1 b8 8c 18 |..'}... ........|
00000150 3b 72 60 1a e4 fe f4 14 a0 48 bf 62 59 a1 90 30 |;r`......H.bY..0|
00000160 10 56 56 50 31 5c e6 b2 ca eb a6 10 4f 05 3d 41 |.VVP1\......O.=A|
00000170 2e 07 40 f9 bf fd 83 ea 7f f7 8a c7 67 95 c7 1f |..@.........g...|
00000180 02 9e 5f 82 52 b0 6e 2b 94 19 7f b0 0c 2b 90 46 |.._.R.n+.....+.F|
00000190 95 22 34 2a cb 06 85 e0 a4 88 c1 4a 9c 1e 1f ff |."4*.......J....|
000001a0 1f 0b 94 36 1f 15 bc 0f d5 37 87 01 89 04 6b d6 |...6.....7....k.|
000001b0 d2 60 08 62 02 28 56 60 1c 42 48 08 7e 7a 00 fe |.`.b.(V`.BH.~z..|
000001c0 ff ff 83 fe ff ff 02 00 00 00 00 00 54 02 00 fe |............T...|
000001d0 ff ff 05 fe ff ff 02 00 54 02 00 10 7e 03 00 00 |........T...~...|
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
#9 Le 28/09/2011, à 10:54
- malbo
Re : [Résolu] Désinstaller Ubuntu securisé sans perdre le MBR
Si tu veux démarrer directement sous Windows, il faut remplacer ce que tu as actuellement dans le MBR de sda :
=> Syslinux MBR (3.61-4.03) is installed in the MBR of /dev/sda.
Par l'amorceur de Vista.
Pour ce faire, utilise ce que j'ai indiqué dans le post #3 :
tu devrais arriver à cette autre partie de la doc :
http://doc.ubuntu-fr.org/comment_recuperer_windows_apres_installation_ubuntu#recuperation_de_windows_vista
Le but du jeu étant de remplacer Grub par l'amorceur de Windows Vista dans le MBR du disque dur.C'est ce que fait la commande proposée :
bootrec /fixmbr
Dernière modification par malbo (Le 28/09/2011, à 10:55)
Hors ligne
#10 Le 28/09/2011, à 19:44
- Djanckey
Re : [Résolu] Désinstaller Ubuntu securisé sans perdre le MBR
J'ai pas trop compris, vu que j'ai déjà supprimer grub avec linux, et que lorsque j'allume mon pc je boot directement sur windows. Est ce que je peux directement utiliser mes cd de restauration/réinstallation de vista que j'ai fais quand j'ai acheté mon pc, cela ne me permettra pas d'obtenir mon vrai mbr?
Dernière modification par Djanckey (Le 28/09/2011, à 20:12)
Hors ligne
#11 Le 28/09/2011, à 19:57
- Djanckey
Re : [Résolu] Désinstaller Ubuntu securisé sans perdre le MBR
J'ai un centre de réinstallation, ou je peux soit
- sauvegarde et restauration de windows
- réinstaller le disque C
- réinstaller le système complet
et des autres trucs.
Dernière modification par Djanckey (Le 28/09/2011, à 20:10)
Hors ligne
#12 Le 29/09/2011, à 10:13
- malbo
Re : [Résolu] Désinstaller Ubuntu securisé sans perdre le MBR
Djanckey,
Je ne sais pas ce que valent tes CD de restauration de Vista que tu as fait. Je te recommande donc de suivre le lien que je t'ai indiqué : http://doc.ubuntu-fr.org/comment_recupe … dows_vista
La partie utile étant celle-ci :
2. Récupération de Windows Vista
télécharger une image "Windows Rescue Vista" grâce à un logiciel bittorrent (celui-ci par exemple)
graver cette image sur un CD ou DVD, avec la fonction "Graver une image" du logiciel de gravure.
démarrer sur le CD et lancer la commande :
bootrec /fixmbr
La suite "Quand Windows sera réparé, vous n'aurez plus le choix.." ne te concerne pas (c'est pour ceux qui souhaitent réinstaller Grub dans le MBR, ce n'est pas ton cas)
Hors ligne
#13 Le 29/09/2011, à 11:06
- Djanckey
Re : [Résolu] Désinstaller Ubuntu securisé sans perdre le MBR
Je viens de faire la manip que tu m'as dis, je vais faire le rapport et te l'envoyer voir si c'est bon.
Hors ligne
#14 Le 29/09/2011, à 11:22
- Djanckey
Re : [Résolu] Désinstaller Ubuntu securisé sans perdre le MBR
Voici ce que j'obtiens
Boot Info Script 0.60 from 17 May 2011
============================= Boot Info Summary: ===============================
=> Windows is installed in the MBR of /dev/sda.
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: /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 Vista
Boot files: /bootmgr /Boot/BCD /Windows/System32/winload.exe
sda3: __________________________________________________________________________
File system: swap
Boot sector type: -
Boot sector info:
sda4: __________________________________________________________________________
File system: Extended Partition
Boot sector type: Unknown
Boot sector info:
sda5: __________________________________________________________________________
File system: ntfs
Boot sector type: Windows Vista/7
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files:
sda6: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files:
============================ Drive/Partition Info: =============================
Drive: sda _____________________________________________________________________
Disk /dev/sda: 200.0 GB, 200049647616 bytes
255 heads, 63 sectors/track, 24321 cylinders, total 390721968 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
Partition Boot Start Sector End Sector # of Sectors Id System
/dev/sda1 2,048 14,694,399 14,692,352 27 Hidden NTFS (Recovery Environment)
/dev/sda2 * 14,694,400 167,800,063 153,105,664 7 NTFS / exFAT / HPFS
/dev/sda3 167,800,832 171,706,367 3,905,536 82 Linux swap / Solaris
/dev/sda4 171,708,414 269,361,151 97,652,738 5 Extended
/dev/sda5 171,708,416 210,767,871 39,059,456 83 Linux
/dev/sda6 210,769,920 269,361,151 58,591,232 83 Linux
"blkid" output: ________________________________________________________________
Device UUID TYPE LABEL
/dev/loop0 squashfs
/dev/sda1 D8A8FC00A8FBDB48 ntfs Recovery
/dev/sda2 32E0552DE054F915 ntfs
/dev/sda3 348c4d34-4f7f-41de-8540-ed36f2fe882d swap
/dev/sda5 459FEEA97F54D10F ntfs
/dev/sda6 a7e12887-d3ca-4ff8-920b-ed7497a5c08b ext4
================================ Mount points: =================================
Device Mount_Point Type Options
/dev/loop0 /rofs squashfs (ro,noatime)
/dev/sr0 /cdrom iso9660 (ro,noatime)
======================== Unknown MBRs/Boot Sectors/etc: ========================
Unknown BootLoader on sda4
00000000 f9 73 00 54 1f 1b ff 9f 86 50 e8 14 fc d6 0d f0 |.s.T.....P......|
00000010 86 0f 01 fe 49 70 32 bf fa 51 2b c2 50 1e 2e 03 |....Ip2..Q+.P...|
00000020 c3 ef 29 54 c2 dc 97 43 0a 3a fc 4b 95 81 71 76 |..)T...C.:.K..qv|
00000030 e8 19 61 ac c0 55 fc 7a 7c 21 02 84 75 fb b1 12 |..a..U.z|!..u...|
00000040 b5 45 fc 07 c8 80 24 10 80 d0 56 3d 24 19 49 02 |.E....$...V=$.I.|
00000050 17 95 08 dd df 0e c9 36 b7 79 95 ac 48 11 ab 1d |.......6.y..H...|
00000060 60 1c 57 c6 0e 38 46 64 42 25 7c 19 bc db 22 c2 |`.W..8FdB%|...".|
00000070 a0 3e 24 cf 36 86 8e 05 75 5e 6c 56 a1 55 03 ea |.>$.6...u^lV.U..|
00000080 ac 1d 2a b6 83 81 4a f5 5a 48 06 c2 80 21 8e 87 |..*...J.ZH...!..|
00000090 4a a8 16 83 35 e9 e0 ec 0c 0a 31 e8 1e 1f 04 21 |J...5.....1....!|
000000a0 dd dc 60 b6 cb 8d 4e 29 ed a5 0d 37 60 98 60 01 |..`...N)...7`.`.|
000000b0 e9 c7 a2 3a b0 56 02 9f 18 c8 57 fa ca 80 78 a8 |...:.V....W...x.|
000000c0 02 79 7a 70 34 83 c0 7e cf 55 f8 14 2d 31 b8 95 |.yzp4..~.U..-1..|
000000d0 bf 62 a4 6c fb 6e 4e a3 b2 c1 d5 18 85 66 8e 7e |.b.l.nN......f.~|
000000e0 6d e4 f9 c0 7c 19 a3 a0 82 be fe 08 2d 52 ed a1 |m...|.......-R..|
000000f0 d6 f7 9a 55 bc 90 e8 8c 19 30 ea 89 45 e3 cd 50 |...U.....0..E..P|
00000100 c8 22 32 22 7d a2 c4 35 74 05 04 77 2c 58 6f 84 |."2"}..5t..w,Xo.|
00000110 b5 af 21 19 b1 eb 67 41 e2 60 1b 9c 27 15 08 cd |..!...gA.`..'...|
00000120 2a cb 51 7a 1a ef 16 06 17 86 61 d3 10 9d b2 16 |*.Qz......a.....|
00000130 d6 c5 e1 e0 26 ab 6e 11 82 f9 ed 80 6f ac 72 28 |....&.n.....o.r(|
00000140 c4 0b 27 7d 8c a0 d5 20 f9 d0 03 8f b1 b8 8c 18 |..'}... ........|
00000150 3b 72 60 1a e4 fe f4 14 a0 48 bf 62 59 a1 90 30 |;r`......H.bY..0|
00000160 10 56 56 50 31 5c e6 b2 ca eb a6 10 4f 05 3d 41 |.VVP1\......O.=A|
00000170 2e 07 40 f9 bf fd 83 ea 7f f7 8a c7 67 95 c7 1f |..@.........g...|
00000180 02 9e 5f 82 52 b0 6e 2b 94 19 7f b0 0c 2b 90 46 |.._.R.n+.....+.F|
00000190 95 22 34 2a cb 06 85 e0 a4 88 c1 4a 9c 1e 1f ff |."4*.......J....|
000001a0 1f 0b 94 36 1f 15 bc 0f d5 37 87 01 89 04 6b d6 |...6.....7....k.|
000001b0 d2 60 08 62 02 28 56 60 1c 42 48 08 7e 7a 00 fe |.`.b.(V`.BH.~z..|
000001c0 ff ff 83 fe ff ff 02 00 00 00 00 00 54 02 00 fe |............T...|
000001d0 ff ff 05 fe ff ff 02 00 54 02 00 10 7e 03 00 00 |........T...~...|
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
#15 Le 29/09/2011, à 15:16
- malbo
Re : [Résolu] Désinstaller Ubuntu securisé sans perdre le MBR
C'est parfait. C'est bien ça qu'il faut voir :
============================= Boot Info Summary: ===============================
=> Windows is installed in the MBR of /dev/sda.
Ton amorceur qui se trouve dans le MBR est un vrai amorceur de Vista. Pour moi, c'est bon. Si c'est correct pour toi aussi, je te prie de modifier le titre de ton post #1 pour qu'il devienne :
[Résolu] Désinstaller Ubuntu securisé sans perdre le MBR
en suivant ces indications (4.4 Passer son sujet en [Résolu]) : http://doc.ubuntu-fr.org/tutoriel/howto … _en_resolu
Hors ligne
#16 Le 29/09/2011, à 17:38
- Djanckey
Re : [Résolu] Désinstaller Ubuntu securisé sans perdre le MBR
Merci pour ta patience.
Hors ligne