Contenu | Rechercher | Menus

Annonce

Si vous rencontrez des soucis à rester connecté sur le forum (ou si vous avez perdu votre mot de passe) déconnectez-vous et reconnectez-vous depuis cette page, en cochant la case "Me connecter automatiquement lors de mes prochaines visites".
Test de l'ISO d'Ubuntu francophone : nous avons besoin de testeurs pour la version francophone d'Ubuntu 14.04. Liens et informations ici.

Attention, une faille de sécurité dans bash a récemment été rapportée, il est recommandé de mettre à jour son système (plus de détails)

#1 Le 26/03/2014, à 21:29

malbo

[Résolu] migration d'une "Wubi install" vers une install classique

Je ne demande pas d'aide : l'objectif de ce post est de montrer que la migration (merci à bcbc de ubuntu.com qui a conçu le script de migration) telle qu'elle est décrite dans la doc Wubi au paragraphe Je suis satisfait d'Ubuntu et je veux migrer vers une installation normale est toujours une possibilité réelle. Cela faisait plusieurs années que je n'avais pas fait l'essai (j'ai retrouvé ça) et dans ce qui suit, j'ai fait le test en virtualisation avec VMware Player. Comme par hasard, j'ai pris le cas d'un Ubuntu 12.04.4 installé par Wubi dans Windows XP (à quelque jours de sa mort puisque XP ne sera plus maintenu à partir du 8 avril 2014)

Etat de départ : j'ai préféré faire un rapport Boot-Info puisque tout est dedans. j'ai fait ce Boot-Info depuis une session du Ubuntu 12.04.4 installé par Wubi

 Boot Info Script e7fc706 + Boot-Repair extra info      [Boot-Info 23Dec2013]


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

 => Windows 2000/XP/2003 is installed in the MBR of /dev/sda.

sda1: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows 2000/XP: NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  Windows XP
    Boot files:        /boot.ini /ntldr /NTDETECT.COM /wubildr 
                       /ubuntu/winboot/wubildr /wubildr.mbr 
                       /ubuntu/winboot/wubildr.mbr /ubuntu/disks/root.disk 
                       /ubuntu/disks/swap.disk

sda1/Wubi: _____________________________________________________________________

    File system:       ext3
    Boot sector type:  -
    Boot sector info: 
    Operating System:  Ubuntu 12.04.4 LTS 
    Boot files:        /boot/grub/grub.cfg /etc/fstab

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

Drive: sda _____________________________________________________________________

Disk /dev/sda: 42.9 GB, 42949672960 bytes
255 heads, 63 sectors/track, 5221 cylinders, total 83886080 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    63,406,079    63,404,032   7 NTFS / exFAT / HPFS


"blkid" output: ________________________________________________________________

Device           UUID                                   TYPE       LABEL

/dev/loop0       c7853a73-8334-47d4-bfb4-e98ad3b6ea25   ext3       
/dev/sda1        74CC940416CFAA3F                       ntfs       XP_OS

================================ Mount points: =================================

Device           Mount_Point              Type       Options

/dev/loop0       /                        ext3       (rw)
/dev/sda1        /host                    fuseblk    (rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other,blksize=4096)


================================ sda1/boot.ini: ================================

--------------------------------------------------------------------------------
[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professionnel" /noexecute=optin /fastdetect
C:\wubildr.mbr = "Ubuntu"
--------------------------------------------------------------------------------

======================== sda1/Wubi/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 ntfs
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set=root 74CC940416CFAA3F
loopback loop0 /ubuntu/disks/root.disk
set root=(loop0)
if loadfont /usr/share/grub/unicode.pf2 ; then
  set gfxmode=auto
  load_video
  insmod gfxterm
  insmod part_msdos
  insmod ntfs
  set root='(hd0,msdos1)'
  search --no-floppy --fs-uuid --set=root 74CC940416CFAA3F
  loopback loop0 /ubuntu/disks/root.disk
  set root=(loop0)
  set locale_dir=($root)/boot/grub/locale
  set lang=
  insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ] ; then
  set timeout=-1
else
  if [ x$feature_timeout_style = xy ] ; then
    set timeout_style=hidden
    set timeout=0
  # Fallback hidden-timeout code in case the timeout_style feature is
  # unavailable.
  elif sleep --interruptible 0 ; then
    set timeout=0
  fi
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 ###
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/10_lupin ###
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 3.11.0-18-generic' --class ubuntu --class gnu-linux --class gnu --class os {
	set gfxpayload=$linux_gfx_mode
	insmod part_msdos
	insmod ntfs
	set root='(hd0,msdos1)'
	search --no-floppy --fs-uuid --set=root 74CC940416CFAA3F
	loopback loop0 /ubuntu/disks/root.disk
	set root=(loop0)
	linux	/boot/vmlinuz-3.11.0-18-generic root=UUID=74CC940416CFAA3F loop=/ubuntu/disks/root.disk ro   quiet splash vt.handoff=7
	initrd	/boot/initrd.img-3.11.0-18-generic
}
menuentry 'Ubuntu, with Linux 3.11.0-18-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
	insmod part_msdos
	insmod ntfs
	set root='(hd0,msdos1)'
	search --no-floppy --fs-uuid --set=root 74CC940416CFAA3F
	loopback loop0 /ubuntu/disks/root.disk
	set root=(loop0)
	echo	'Loading Linux 3.11.0-18-generic ...'
	linux	/boot/vmlinuz-3.11.0-18-generic root=UUID=74CC940416CFAA3F loop=/ubuntu/disks/root.disk ro recovery nomodeset 
	echo	'Loading initial ramdisk ...'
	initrd	/boot/initrd.img-3.11.0-18-generic
}
### END /etc/grub.d/10_lupin ###

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

### BEGIN /etc/grub.d/20_memtest86+ ###
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Microsoft Windows XP Professionnel (on /dev/sda1)" --class windows --class os {
	insmod part_msdos
	insmod ntfs
	set root='(hd0,msdos1)'
	search --no-floppy --fs-uuid --set=root 74CC940416CFAA3F
	drivemap -s (hd0) ${root}
	chainloader +1
}
set timeout_style=menu
if [ "${timeout}" = 0 ]; then
  set timeout=10
fi
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/30_uefi-firmware ###
### END /etc/grub.d/30_uefi-firmware ###

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

============================= sda1/Wubi/etc/fstab: =============================

--------------------------------------------------------------------------------
# UNCONFIGURED FSTAB FOR BASE SYSTEM
/host/ubuntu/disks/swap.disk	none	swap	sw	0	0
--------------------------------------------------------------------------------

================= sda1/Wubi: Location of files loaded by Grub: =================

           GiB - GB             File                                 Fragment(s)

   3.733404160 = 4.008712192    boot/grub/grub.cfg                             1
   2.349042892 = 2.522265600    boot/vmlinuz-3.11.0-18-generic                25
   2.372224808 = 2.547156992    boot/vmlinuz-3.11.0-18-generic.efi.signed     26
   2.349042892 = 2.522265600    vmlinuz                                       25
   3.674546242 = 3.945513984    boot/initrd.img-3.11.0-18-generic             70
   3.674546242 = 3.945513984    initrd.img                                    70


ADDITIONAL INFORMATION :
=================== log of boot-repair 2014-03-26__16h15 ===================
boot-repair version : 3.199~ppa40~precise
boot-sav version : 3.199~ppa40~precise
glade2script version : 3.2.2~ppa45~precise
boot-sav-extra version : 3.199~ppa40~precise
boot-repair is executed in live-session (Ubuntu 12.04.4 LTS, precise, Ubuntu, x86_64)
CPU op-mode(s):        32-bit, 64-bit
BOOT_IMAGE=/boot/vmlinuz-3.11.0-18-generic root=UUID=74CC940416CFAA3F loop=/ubuntu/disks/root.disk ro quiet splash vt.handoff=7

=================== os-prober:
/dev/sda1:Microsoft Windows XP Professionnel:Windows:chain

=================== blkid:
/dev/loop0: UUID="c7853a73-8334-47d4-bfb4-e98ad3b6ea25" TYPE="ext3"
/dev/sda1: LABEL="XP_OS" UUID="74CC940416CFAA3F" TYPE="ntfs"


1 disks with OS, 1 OS : 0 Linux, 0 MacOS, 1 Windows, 0 unknown type OS.

There is Wubi inside sda1
=================== UEFI/Legacy mode:
This live-session is not in EFI-mode.
SecureBoot maybe enabled.


=================== PARTITIONS & DISKS:
sda1	: sda,	not-sepboot,	no-grubenv	nogrub,	no-docgrub,	no-update-grub,	32,	no-boot,	is-os,	not--efi--part,	part-has-no-fstab,	part-has-no-fstab,	ntldr,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot,	nopakmgr,	nogrubinstall,	no---usr,	part-has-no-fstab,	not-sep-usr,	standard,	not-far,	/host.

sda	: not-GPT,	BIOSboot-not-needed,	has-no-EFIpart, 	not-usb,	has-os,	2048 sectors * 512 bytes


=================== parted -l:

Model: ATA VMware Virtual I (scsi)
Disk /dev/sda: 42.9GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number  Start   End     Size    Type     File system  Flags
1      1049kB  32.5GB  32.5GB  primary  ntfs         boot

=================== parted -lm:

BYT;
/dev/sda:42.9GB:scsi:512:512:msdos:ATA VMware Virtual I;
1:1049kB:32.5GB:32.5GB:ntfs::boot;


=================== mount:
/dev/loop0 on / type ext3 (rw)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
none on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
udev on /dev type devtmpfs (rw,mode=0755)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)
none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880)
none on /run/shm type tmpfs (rw,nosuid,nodev)
/dev/sda1 on /host type fuseblk (rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other,blksize=4096)
gvfs-fuse-daemon on /home/malbo/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=malbo)


=================== ls:
/sys/block/fd0 (filtered):  alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight power queue range removable ro size slaves stat subsystem trace uevent
/sys/block/sda (filtered):  alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight power queue range removable ro sda1 size slaves stat subsystem trace uevent
/sys/block/sr0 (filtered):  alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight power queue range removable ro size slaves stat subsystem trace uevent
/dev (filtered):  agpgart autofs block bsg btrfs-control bus cdrom cdrw char console core cpu cpu_dma_latency disk dri dvd dvdrw ecryptfs fb0 fd fd0 full fuse hidraw0 hidraw1 hpet input kmsg log lp0 mapper mcelog mem net network_latency network_throughput null parport0 port ppp psaux ptmx pts random rfkill rtc rtc0 sda sda1 sg0 sg1 shm snapshot snd sr0 stderr stdin stdout uhid uinput urandom vga_arbiter vhost-net vmci zero
ls /dev/mapper:  control

=================== hexdump -n512 -C /dev/sda1
00000000  eb 52 90 4e 54 46 53 20  20 20 20 00 02 08 00 00  |.R.NTFS    .....|
00000010  00 00 00 00 00 f8 00 00  3f 00 ff 00 00 08 00 00  |........?.......|
00000020  00 00 00 00 80 00 80 00  ff 77 c7 03 00 00 00 00  |.........w......|
00000030  04 00 00 00 00 00 00 00  7f 77 3c 00 00 00 00 00  |.........w<.....|
00000040  f6 00 00 00 01 00 00 00  3f aa cf 16 04 94 cc 74  |........?......t|
00000050  00 00 00 00 fa 33 c0 8e  d0 bc 00 7c fb b8 c0 07  |.....3.....|....|
00000060  8e d8 e8 16 00 b8 00 0d  8e c0 33 db c6 06 0e 00  |..........3.....|
00000070  10 e8 53 00 68 00 0d 68  6a 02 cb 8a 16 24 00 b4  |..S.h..hj....$..|
00000080  08 cd 13 73 05 b9 ff ff  8a f1 66 0f b6 c6 40 66  |...s......f...@f|
00000090  0f b6 d1 80 e2 3f f7 e2  86 cd c0 ed 06 41 66 0f  |.....?.......Af.|
000000a0  b7 c9 66 f7 e1 66 a3 20  00 c3 b4 41 bb aa 55 8a  |..f..f. ...A..U.|
000000b0  16 24 00 cd 13 72 0f 81  fb 55 aa 75 09 f6 c1 01  |.$...r...U.u....|
000000c0  74 04 fe 06 14 00 c3 66  60 1e 06 66 a1 10 00 66  |t......f`..f...f|
000000d0  03 06 1c 00 66 3b 06 20  00 0f 82 3a 00 1e 66 6a  |....f;. ...:..fj|
000000e0  00 66 50 06 53 66 68 10  00 01 00 80 3e 14 00 00  |.fP.Sfh.....>...|
000000f0  0f 85 0c 00 e8 b3 ff 80  3e 14 00 00 0f 84 61 00  |........>.....a.|
00000100  b4 42 8a 16 24 00 16 1f  8b f4 cd 13 66 58 5b 07  |.B..$.......fX[.|
00000110  66 58 66 58 1f eb 2d 66  33 d2 66 0f b7 0e 18 00  |fXfX..-f3.f.....|
00000120  66 f7 f1 fe c2 8a ca 66  8b d0 66 c1 ea 10 f7 36  |f......f..f....6|
00000130  1a 00 86 d6 8a 16 24 00  8a e8 c0 e4 06 0a cc b8  |......$.........|
00000140  01 02 cd 13 0f 82 19 00  8c c0 05 20 00 8e c0 66  |........... ...f|
00000150  ff 06 10 00 ff 0e 0e 00  0f 85 6f ff 07 1f 66 61  |..........o...fa|
00000160  c3 a0 f8 01 e8 09 00 a0  fb 01 e8 03 00 fb eb fe  |................|
00000170  b4 01 8b f0 ac 3c 00 74  09 b4 0e bb 07 00 cd 10  |.....<.t........|
00000180  eb f2 c3 0d 0a 45 72 72  2e 20 6c 65 63 74 75 72  |.....Err. lectur|
00000190  65 20 64 69 73 71 75 65  00 0d 0a 4e 54 4c 44 52  |e disque...NTLDR|
000001a0  20 6d 61 6e 71 75 65 00  0d 0a 4e 54 4c 44 52 20  | manque...NTLDR |
000001b0  65 73 74 20 63 6f 6d 70  72 65 73 73 82 00 0d 0a  |est compress....|
000001c0  45 6e 74 72 65 7a 20 43  74 72 6c 2b 41 6c 74 2b  |Entrez Ctrl+Alt+|
000001d0  53 75 70 70 72 20 70 6f  75 72 20 72 65 64 82 6d  |Suppr pour red.m|
000001e0  61 72 72 65 72 0d 0a 00  0d 0a 00 00 00 00 00 00  |arrer...........|
000001f0  00 00 00 00 00 00 00 00  83 99 a8 be 00 00 55 aa  |..............U.|
00000200

=================== df -Th:

Filesystem     Type      Size  Used Avail Use% Mounted on
/dev/loop0     ext3      6.4G  2.5G  4.0G  39% /
udev           devtmpfs  484M   12K  484M   1% /dev
tmpfs          tmpfs      99M  776K   98M   1% /run
none           tmpfs     5.0M     0  5.0M   0% /run/lock
none           tmpfs     494M  156K  493M   1% /run/shm
/dev/sda1      fuseblk    31G  9.2G   22G  31% /host

=================== fdisk -l:

Disk /dev/sda: 42.9 GB, 42949672960 bytes
255 heads, 63 sectors/track, 5221 cylinders, total 83886080 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0008e1a7

Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *        2048    63406079    31702016    7  HPFS/NTFS/exFAT


Quand vous redémarrez l'ordinateur, pouvez-vous démarrer Windows avec succès ? yes

=================== Default settings
Recommended-Repair
This setting would reinstall the  of .
Additional repair would be performed: unhide-bootmenu-10s  repair-wubi fix-windows-boot

=================== Settings chosen by the user
Boot-Info
This setting will not act on the MBR.



Aucun changement n'a été effectué sur cet ordinateur.

Réduction de la taille de la partition Windows

Je précise que j'ai fait une défragmentation de cette partition depuis Windows XP juste avant. Je ne suis pas du tout convaincu que cette défragmentation soit indispensable mais je conseille quand même à ceux qui voudrait se lancer dans cette manip de le faire.
L'opération est à faire depuis une session live de Ubuntu, avec l'éditeur de partitions (Gparted).
mini_126747Capturedu20140326165045.pngmini_557805Capturedu20140326165152.pngmini_864333Capturedu20140326170033.png

Téléchargement et décompression du fichier qui va réaliser la migration
Attention : contrairement à l'étape précédente, ici les opérations sont faites depuis une session du Ubuntu installé par Wubi.
Il s'agit du fichier  wubi-move-2.5.tar.gz dont il est question dans le tuto : https://help.ubuntu.com/community/MigrateWubi
mini_385246Capturedu20140326172956.pngmini_267636Capturedu20140326173046.pngmini_833277Capturedu20140326174111.png

Installation de Gparted et création des partitions Linux
Tout est fait depuis la session du Ubuntu installé par Wubi. Sont créées dans l'ordre : une partition étendue dans laquelle il y a une partition EXT4 destinée à devenir la partition racine et une partition swap.
mini_583874Capturedu20140326174324.pngmini_575496Capturedu20140326175322.pngmini_444990Capturedu20140326175427.pngmini_792031Capturedu20140326175626.pngmini_703216Capturedu20140326175747.pngmini_703216Capturedu20140326175747.pngmini_575032Capturedu20140326180035.png
Après création, ces partitions deviennent /dev/sda5 (pour la racine) et /dev/sda6 pour la swap

Lancement du script de migration
Les premières commandes servent à se placer dans le dossier où se trouve le fichier wubi-move.sh (sinon, la commande de migration telle qu'elle mentionnée dans le tuto ne peut pas fonctionner) :
mini_195724Capturedu20140326180556.png
ça part et ça s'arrête pour demander une validation : il faut juste appuyer sur y et valider par la touche Entrée et ça peut continuer :
mini_542856Capturedu20140326180748.png
Ouf ça se termine bien :
mini_673270Capturedu20140326181625.png

Etat des lieux après migration :
Important : j'ai fait le Boot-Info qui suit avant de redémarrer l'ordi parce qu'avec la procédure que j'ai choisie, je n'aurai plus accès au Ubuntu installé par Wubi. Comme le Boot-Info de départ avait été fait depuis une session du Ubuntu installé par Wubi, c'est mieux d'être dans la même config et c'est pour cette raison que je l'ai fait à ce moment là.

 Boot Info Script e7fc706 + Boot-Repair extra info      [Boot-Info 23Dec2013]


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

sda1: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows 2000/XP: NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  Windows XP
    Boot files:        /boot.ini /ntldr /NTDETECT.COM /wubildr 
                       /ubuntu/winboot/wubildr /wubildr.mbr 
                       /ubuntu/winboot/wubildr.mbr /ubuntu/disks/root.disk 
                       /ubuntu/disks/swap.disk

sda1/Wubi: _____________________________________________________________________

    File system:       ext3
    Boot sector type:  -
    Boot sector info: 
    Operating System:  Ubuntu 12.04.4 LTS 
    Boot files:        /boot/grub/grub.cfg /etc/fstab

sda2: __________________________________________________________________________

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

sda5: __________________________________________________________________________

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

sda6: __________________________________________________________________________

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

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

Drive: sda _____________________________________________________________________

Disk /dev/sda: 42.9 GB, 42949672960 bytes
255 heads, 63 sectors/track, 5221 cylinders, total 83886080 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    30,703,615    30,701,568   7 NTFS / exFAT / HPFS
/dev/sda2          30,703,616    83,886,079    53,182,464   5 Extended
/dev/sda5          30,705,664    75,485,183    44,779,520  83 Linux
/dev/sda6          75,487,232    83,886,079     8,398,848  82 Linux swap / Solaris


"blkid" output: ________________________________________________________________

Device           UUID                                   TYPE       LABEL

/dev/loop0       c7853a73-8334-47d4-bfb4-e98ad3b6ea25   ext3       
/dev/sda1        74CC940416CFAA3F                       ntfs       XP_OS
/dev/sda5        390a85db-8522-4264-b10a-6c5d515be089   ext4       
/dev/sda6        97ae9aa9-1a36-470d-be89-c5e20ec123c7   swap       

================================ Mount points: =================================

Device           Mount_Point              Type       Options

/dev/loop0       /                        ext3       (rw)
/dev/sda1        /host                    fuseblk    (rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other,blksize=4096)


================================ sda1/boot.ini: ================================

--------------------------------------------------------------------------------
[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professionnel" /noexecute=optin /fastdetect
C:\wubildr.mbr = "Ubuntu"
--------------------------------------------------------------------------------

======================== sda1/Wubi/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 ntfs
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set=root 74CC940416CFAA3F
loopback loop0 /ubuntu/disks/root.disk
set root=(loop0)
if loadfont /usr/share/grub/unicode.pf2 ; then
  set gfxmode=auto
  load_video
  insmod gfxterm
  insmod part_msdos
  insmod ntfs
  set root='(hd0,msdos1)'
  search --no-floppy --fs-uuid --set=root 74CC940416CFAA3F
  loopback loop0 /ubuntu/disks/root.disk
  set root=(loop0)
  set locale_dir=($root)/boot/grub/locale
  set lang=fr_FR
  insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ] ; then
  set timeout=-1
else
  if [ x$feature_timeout_style = xy ] ; then
    set timeout_style=hidden
    set timeout=0
  # Fallback hidden-timeout code in case the timeout_style feature is
  # unavailable.
  elif sleep --interruptible 0 ; then
    set timeout=0
  fi
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 ###
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/10_lupin ###
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 3.11.0-18-generic' --class ubuntu --class gnu-linux --class gnu --class os {
	set gfxpayload=$linux_gfx_mode
	insmod part_msdos
	insmod ntfs
	set root='(hd0,msdos1)'
	search --no-floppy --fs-uuid --set=root 74CC940416CFAA3F
	loopback loop0 /ubuntu/disks/root.disk
	set root=(loop0)
	linux	/boot/vmlinuz-3.11.0-18-generic root=UUID=74CC940416CFAA3F loop=/ubuntu/disks/root.disk ro   quiet splash vt.handoff=7
	initrd	/boot/initrd.img-3.11.0-18-generic
}
menuentry 'Ubuntu, with Linux 3.11.0-18-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
	insmod part_msdos
	insmod ntfs
	set root='(hd0,msdos1)'
	search --no-floppy --fs-uuid --set=root 74CC940416CFAA3F
	loopback loop0 /ubuntu/disks/root.disk
	set root=(loop0)
	echo	'Loading Linux 3.11.0-18-generic ...'
	linux	/boot/vmlinuz-3.11.0-18-generic root=UUID=74CC940416CFAA3F loop=/ubuntu/disks/root.disk ro recovery nomodeset 
	echo	'Loading initial ramdisk ...'
	initrd	/boot/initrd.img-3.11.0-18-generic
}
### END /etc/grub.d/10_lupin ###

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

### BEGIN /etc/grub.d/20_memtest86+ ###
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Microsoft Windows XP Professionnel (on /dev/sda1)" --class windows --class os {
	insmod part_msdos
	insmod ntfs
	set root='(hd0,msdos1)'
	search --no-floppy --fs-uuid --set=root 74CC940416CFAA3F
	drivemap -s (hd0) ${root}
	chainloader +1
}
menuentry "Ubuntu, with Linux 3.11.0-18-generic (on /dev/sda5)" --class gnu-linux --class gnu --class os {
	insmod part_msdos
	insmod ext2
	set root='(hd0,msdos5)'
	search --no-floppy --fs-uuid --set=root 390a85db-8522-4264-b10a-6c5d515be089
	linux /boot/vmlinuz-3.11.0-18-generic root=UUID=390a85db-8522-4264-b10a-6c5d515be089 ro quiet splash $vt_handoff
	initrd /boot/initrd.img-3.11.0-18-generic
}
menuentry "Ubuntu, with Linux 3.11.0-18-generic (recovery mode) (on /dev/sda5)" --class gnu-linux --class gnu --class os {
	insmod part_msdos
	insmod ext2
	set root='(hd0,msdos5)'
	search --no-floppy --fs-uuid --set=root 390a85db-8522-4264-b10a-6c5d515be089
	linux /boot/vmlinuz-3.11.0-18-generic root=UUID=390a85db-8522-4264-b10a-6c5d515be089 ro recovery nomodeset
	initrd /boot/initrd.img-3.11.0-18-generic
}
set timeout_style=menu
if [ "${timeout}" = 0 ]; then
  set timeout=10
fi
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/30_uefi-firmware ###
### END /etc/grub.d/30_uefi-firmware ###

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

============================= sda1/Wubi/etc/fstab: =============================

--------------------------------------------------------------------------------
# UNCONFIGURED FSTAB FOR BASE SYSTEM
/host/ubuntu/disks/swap.disk	none	swap	sw	0	0
--------------------------------------------------------------------------------

================= sda1/Wubi: Location of files loaded by Grub: =================

           GiB - GB             File                                 Fragment(s)

   3.731451988 = 4.006616064    boot/grub/grub.cfg                             1
   2.349042892 = 2.522265600    boot/vmlinuz-3.11.0-18-generic                25
   2.372224808 = 2.547156992    boot/vmlinuz-3.11.0-18-generic.efi.signed     26
   2.349042892 = 2.522265600    vmlinuz                                       25
   3.674546242 = 3.945513984    boot/initrd.img-3.11.0-18-generic             70
   3.674546242 = 3.945513984    initrd.img                                    70

=========================== 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='(hd0,msdos5)'
search --no-floppy --fs-uuid --set=root 390a85db-8522-4264-b10a-6c5d515be089
if loadfont /usr/share/grub/unicode.pf2 ; then
  set gfxmode=auto
  load_video
  insmod gfxterm
  insmod part_msdos
  insmod ext2
  set root='(hd0,msdos5)'
  search --no-floppy --fs-uuid --set=root 390a85db-8522-4264-b10a-6c5d515be089
  set locale_dir=($root)/boot/grub/locale
  set lang=fr_FR
  insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ] ; then
  set timeout=-1
else
  if [ x$feature_timeout_style = xy ] ; then
    set timeout_style=hidden
    set timeout=0
  # Fallback hidden-timeout code in case the timeout_style feature is
  # unavailable.
  elif sleep --interruptible 0 ; then
    set timeout=0
  fi
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 ###
function gfxmode {
	set gfxpayload="${1}"
	if [ "${1}" = "keep" ]; then
		set vt_handoff=vt.handoff=7
	else
		set vt_handoff=
	fi
}
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 3.11.0-18-generic' --class ubuntu --class gnu-linux --class gnu --class os {
	recordfail
	gfxmode $linux_gfx_mode
	insmod gzio
	insmod part_msdos
	insmod ext2
	set root='(hd0,msdos5)'
	search --no-floppy --fs-uuid --set=root 390a85db-8522-4264-b10a-6c5d515be089
	linux	/boot/vmlinuz-3.11.0-18-generic root=UUID=390a85db-8522-4264-b10a-6c5d515be089 ro   quiet splash $vt_handoff
	initrd	/boot/initrd.img-3.11.0-18-generic
}
menuentry 'Ubuntu, with Linux 3.11.0-18-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
	recordfail
	insmod gzio
	insmod part_msdos
	insmod ext2
	set root='(hd0,msdos5)'
	search --no-floppy --fs-uuid --set=root 390a85db-8522-4264-b10a-6c5d515be089
	echo	'Loading Linux 3.11.0-18-generic ...'
	linux	/boot/vmlinuz-3.11.0-18-generic root=UUID=390a85db-8522-4264-b10a-6c5d515be089 ro recovery nomodeset 
	echo	'Loading initial ramdisk ...'
	initrd	/boot/initrd.img-3.11.0-18-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=root 390a85db-8522-4264-b10a-6c5d515be089
	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=root 390a85db-8522-4264-b10a-6c5d515be089
	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/30_uefi-firmware ###
### END /etc/grub.d/30_uefi-firmware ###

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

--------------------------------------------------------------------------------
# UNCONFIGURED FSTAB FOR BASE SYSTEM

# root was on /dev/sda5 when migrated
UUID=390a85db-8522-4264-b10a-6c5d515be089    /    ext4    errors=remount-ro    0    1
# swap was on /dev/sda6 when migrated
UUID=97ae9aa9-1a36-470d-be89-c5e20ec123c7    none    swap    sw    0    0
--------------------------------------------------------------------------------

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

           GiB - GB             File                                 Fragment(s)

  26.997203827 = 28.988026880   boot/grub/grub.cfg                             1
  26.997154236 = 28.987973632   boot/grub/core.img                             1
  20.780673981 = 22.313078784   boot/vmlinuz-3.11.0-18-generic                 1
  20.786182404 = 22.318993408   boot/vmlinuz-3.11.0-18-generic.efi.signed      1
  20.780673981 = 22.313078784   vmlinuz                                        1
  15.571929932 = 16.720232448   boot/initrd.img-3.11.0-18-generic              1
  18.316147804 = 19.666813952   initrd.img                                    70


ADDITIONAL INFORMATION :
=================== log of boot-repair 2014-03-26__18h17 ===================
boot-repair version : 3.199~ppa40~precise
boot-sav version : 3.199~ppa40~precise
glade2script version : 3.2.2~ppa45~precise
boot-sav-extra version : 3.199~ppa40~precise
boot-repair is executed in live-session (Ubuntu 12.04.4 LTS, precise, Ubuntu, x86_64)
CPU op-mode(s):        32-bit, 64-bit
BOOT_IMAGE=/boot/vmlinuz-3.11.0-18-generic root=UUID=74CC940416CFAA3F loop=/ubuntu/disks/root.disk ro quiet splash vt.handoff=7

=================== os-prober:
/dev/sda1:Microsoft Windows XP Professionnel:Windows:chain
/dev/sda5:Ubuntu 12.04.4 LTS (12.04):Ubuntu:linux

=================== blkid:
/dev/sda6: UUID="97ae9aa9-1a36-470d-be89-c5e20ec123c7" TYPE="swap"
/dev/sda5: UUID="390a85db-8522-4264-b10a-6c5d515be089" TYPE="ext4"
/dev/loop0: UUID="c7853a73-8334-47d4-bfb4-e98ad3b6ea25" TYPE="ext3"
/dev/sda1: LABEL="XP_OS" UUID="74CC940416CFAA3F" TYPE="ntfs"


1 disks with OS, 2 OS : 1 Linux, 0 MacOS, 1 Windows, 0 unknown type OS.

Warning: extended partition does not start at a cylinder boundary.
DOS and Linux will interpret the contents differently.

=================== sda5/etc/grub.d/ :
drwxr-xr-x  2 root root     4096 mars  24 23:01 grub.d
total 68
-rwxr-xr-x 1 root root 7806 déc.   6 11:06 00_header
-rwxr-xr-x 1 root root 5522 déc.   6 10:52 05_debian_theme
-rwxr-xr-x 1 root root 7877 déc.   6 11:06 10_linux
-rw-r--r-- 1 root root 6693 août  14  2013 10_lupin
-rwxr-xr-x 1 root root 6449 déc.   6 11:06 20_linux_xen
-rwxr-xr-x 1 root root 1588 nov.  27  2011 20_memtest86+
-rwxr-xr-x 1 root root 6675 déc.   6 11:06 30_os-prober
-rwxr-xr-x 1 root root 1388 déc.   6 11:06 30_uefi-firmware
-rwxr-xr-x 1 root root  214 déc.   6 11:06 40_custom
-rwxr-xr-x 1 root root   95 déc.   6 11:06 41_custom
-rw-r--r-- 1 root root  483 déc.   6 11:06 README




=================== sda5/etc/default/grub :

# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
#   info -f grub -n 'Simple configuration'

GRUB_DEFAULT=0
GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""

# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"

# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=console

# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
#GRUB_GFXMODE=640x480

# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true

# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_RECOVERY="true"

# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"



There is Wubi inside sda1
=================== UEFI/Legacy mode:
This live-session is not in EFI-mode.
SecureBoot maybe enabled.


=================== PARTITIONS & DISKS:
sda5	: sda,	not-sepboot,	grubenv-ok	grub2,	signed grub-pc ,	update-grub,	64,	with-boot,	is-os,	not--efi--part,	fstab-without-boot,	fstab-without-efi,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot,	apt-get,	grub-install,	with--usr,	fstab-without-usr,	not-sep-usr,	standard,	not-far,	/mnt/boot-sav/sda5.
sda1	: sda,	not-sepboot,	no-grubenv	nogrub,	no-docgrub,	no-update-grub,	32,	no-boot,	is-os,	not--efi--part,	part-has-no-fstab,	part-has-no-fstab,	ntldr,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot,	nopakmgr,	nogrubinstall,	no---usr,	part-has-no-fstab,	not-sep-usr,	standard,	not-far,	/host.

sda	: not-GPT,	BIOSboot-not-needed,	has-no-EFIpart, 	not-usb,	has-os,	2048 sectors * 512 bytes


=================== parted -l:

Model: ATA VMware Virtual I (scsi)
Disk /dev/sda: 42.9GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number  Start   End     Size    Type      File system     Flags
1      1049kB  15.7GB  15.7GB  primary   ntfs            boot
2      15.7GB  42.9GB  27.2GB  extended
5      15.7GB  38.6GB  22.9GB  logical   ext4
6      38.6GB  42.9GB  4300MB  logical   linux-swap(v1)

=================== parted -lm:

BYT;
/dev/sda:42.9GB:scsi:512:512:msdos:ATA VMware Virtual I;
1:1049kB:15.7GB:15.7GB:ntfs::boot;
2:15.7GB:42.9GB:27.2GB:::;
5:15.7GB:38.6GB:22.9GB:ext4::;
6:38.6GB:42.9GB:4300MB:linux-swap(v1)::;


=================== mount:
/dev/loop0 on / type ext3 (rw)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
none on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
udev on /dev type devtmpfs (rw,mode=0755)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)
none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880)
none on /run/shm type tmpfs (rw,nosuid,nodev)
/dev/sda1 on /host type fuseblk (rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other,blksize=4096)
gvfs-fuse-daemon on /home/malbo/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=malbo)
/dev/sda5 on /mnt/boot-sav/sda5 type ext4 (rw)


=================== ls:
/sys/block/fd0 (filtered):  alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight power queue range removable ro size slaves stat subsystem trace uevent
/sys/block/sda (filtered):  alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight power queue range removable ro sda1 sda2 sda5 sda6 size slaves stat subsystem trace uevent
/sys/block/sr0 (filtered):  alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight power queue range removable ro size slaves stat subsystem trace uevent
/dev (filtered):  agpgart autofs block bsg btrfs-control bus cdrom cdrw char console core cpu cpu_dma_latency disk dri dvd dvdrw ecryptfs fb0 fd fd0 full fuse hidraw0 hidraw1 hpet input kmsg log lp0 mapper mcelog mem net network_latency network_throughput null parport0 port ppp psaux ptmx pts random rfkill rtc rtc0 sda sda1 sda2 sda5 sda6 sg0 sg1 shm snapshot snd sr0 stderr stdin stdout uhid uinput urandom vga_arbiter vhost-net vmci zero
ls /dev/mapper:  control

=================== hexdump -n512 -C /dev/sda1
00000000  eb 52 90 4e 54 46 53 20  20 20 20 00 02 08 00 00  |.R.NTFS    .....|
00000010  00 00 00 00 00 f8 00 00  3f 00 ff 00 00 08 00 00  |........?.......|
00000020  00 00 00 00 80 00 80 00  f0 77 d4 01 00 00 00 00  |.........w......|
00000030  04 00 00 00 00 00 00 00  80 47 1d 00 00 00 00 00  |.........G......|
00000040  f6 00 00 00 01 00 00 00  3f aa cf 16 04 94 cc 74  |........?......t|
00000050  00 00 00 00 fa 33 c0 8e  d0 bc 00 7c fb b8 c0 07  |.....3.....|....|
00000060  8e d8 e8 16 00 b8 00 0d  8e c0 33 db c6 06 0e 00  |..........3.....|
00000070  10 e8 53 00 68 00 0d 68  6a 02 cb 8a 16 24 00 b4  |..S.h..hj....$..|
00000080  08 cd 13 73 05 b9 ff ff  8a f1 66 0f b6 c6 40 66  |...s......f...@f|
00000090  0f b6 d1 80 e2 3f f7 e2  86 cd c0 ed 06 41 66 0f  |.....?.......Af.|
000000a0  b7 c9 66 f7 e1 66 a3 20  00 c3 b4 41 bb aa 55 8a  |..f..f. ...A..U.|
000000b0  16 24 00 cd 13 72 0f 81  fb 55 aa 75 09 f6 c1 01  |.$...r...U.u....|
000000c0  74 04 fe 06 14 00 c3 66  60 1e 06 66 a1 10 00 66  |t......f`..f...f|
000000d0  03 06 1c 00 66 3b 06 20  00 0f 82 3a 00 1e 66 6a  |....f;. ...:..fj|
000000e0  00 66 50 06 53 66 68 10  00 01 00 80 3e 14 00 00  |.fP.Sfh.....>...|
000000f0  0f 85 0c 00 e8 b3 ff 80  3e 14 00 00 0f 84 61 00  |........>.....a.|
00000100  b4 42 8a 16 24 00 16 1f  8b f4 cd 13 66 58 5b 07  |.B..$.......fX[.|
00000110  66 58 66 58 1f eb 2d 66  33 d2 66 0f b7 0e 18 00  |fXfX..-f3.f.....|
00000120  66 f7 f1 fe c2 8a ca 66  8b d0 66 c1 ea 10 f7 36  |f......f..f....6|
00000130  1a 00 86 d6 8a 16 24 00  8a e8 c0 e4 06 0a cc b8  |......$.........|
00000140  01 02 cd 13 0f 82 19 00  8c c0 05 20 00 8e c0 66  |........... ...f|
00000150  ff 06 10 00 ff 0e 0e 00  0f 85 6f ff 07 1f 66 61  |..........o...fa|
00000160  c3 a0 f8 01 e8 09 00 a0  fb 01 e8 03 00 fb eb fe  |................|
00000170  b4 01 8b f0 ac 3c 00 74  09 b4 0e bb 07 00 cd 10  |.....<.t........|
00000180  eb f2 c3 0d 0a 45 72 72  2e 20 6c 65 63 74 75 72  |.....Err. lectur|
00000190  65 20 64 69 73 71 75 65  00 0d 0a 4e 54 4c 44 52  |e disque...NTLDR|
000001a0  20 6d 61 6e 71 75 65 00  0d 0a 4e 54 4c 44 52 20  | manque...NTLDR |
000001b0  65 73 74 20 63 6f 6d 70  72 65 73 73 82 00 0d 0a  |est compress....|
000001c0  45 6e 74 72 65 7a 20 43  74 72 6c 2b 41 6c 74 2b  |Entrez Ctrl+Alt+|
000001d0  53 75 70 70 72 20 70 6f  75 72 20 72 65 64 82 6d  |Suppr pour red.m|
000001e0  61 72 72 65 72 0d 0a 00  0d 0a 00 00 00 00 00 00  |arrer...........|
000001f0  00 00 00 00 00 00 00 00  83 99 a8 be 00 00 55 aa  |..............U.|
00000200

=================== df -Th:

Filesystem     Type      Size  Used Avail Use% Mounted on
/dev/loop0     ext3      6.4G  2.5G  4.0G  39% /
udev           devtmpfs  484M   12K  484M   1% /dev
tmpfs          tmpfs      99M  788K   98M   1% /run
none           tmpfs     5.0M     0  5.0M   0% /run/lock
none           tmpfs     494M  156K  493M   1% /run/shm
/dev/sda1      fuseblk    15G  9.2G  5.5G  63% /host
/dev/sda5      ext4       21G  2.7G   18G  14% /mnt/boot-sav/sda5

=================== fdisk -l:

Disk /dev/sda: 42.9 GB, 42949672960 bytes
255 heads, 63 sectors/track, 5221 cylinders, total 83886080 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0008e1a7

Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *        2048    30703615    15350784    7  HPFS/NTFS/exFAT
/dev/sda2        30703616    83886079    26591232    5  Extended
/dev/sda5        30705664    75485183    22389760   83  Linux
/dev/sda6        75487232    83886079     4199424   82  Linux swap / Solaris



=================== Default settings
Recommended-Repair
This setting would purge (in order to) and reinstall the grub2 of sda5 into the MBR of sda.
Additional repair would be performed: unhide-bootmenu-10s  repair-wubi fix-windows-boot

=================== Settings chosen by the user
Boot-Info
This setting will not act on the MBR.



Aucun changement n'a été effectué sur cet ordinateur.

Je peux vérifier au redémarrage de l'ordi que ça démarre direct sur le Ubuntu classique fraîchement installé sur sda5. Tout semble bien fonctionner.

Commentaires :
1) j'ai choisi de ne pas prendre l'option --no-bootloader qui est mentionnée dans le tuto pour me mettre dans le cas le plus simple où on veut vraiment ne plus passer par Windows XP pour aller sur Ubuntu mais en fait, si on est pas trop novice, c'est plus futé de prendre cette option --no-bootloader parce que ça permet de pouvoir démarrer 3 OS : Windows, le Ubuntu installé par Wubi et le Ubuntu installé "classique". Alors que dans le cas de la manip que je viens de détailler, j'ai accès seulement au Ubuntu installé classique sur sda5 et rien d'autre (je n'ai plus accès à Windows et par conséquent, plus accès au Ubuntu installé par Wubi)

2) Si on est plus méthodique que je l'ai été dans ces manips, on peut créer directement les partitions Linux juste après la phase de "Réduction de la taille de la partition Windows". On évite ainsi d'avoir à installer Gparted dans le Ubuntu installé par Wubi.

Dernière modification par malbo (Le 27/03/2014, à 08:43)


MedionPC MT5 MED MT 162 / pentium IV / RAM 1Go / Radeon HD 3450 AGP / XP, HandyLinux et Xubuntu 14.04 32 bits
Acer Aspire M5100-5F7N / Phenom Quad Core 9500 / ATI HD 2600 pro / RAM 4 Go / Win8, XP et Ubuntu 14.04

Hors ligne

#2 Le 30/03/2014, à 17:02

hibou7

Re : [Résolu] migration d'une "Wubi install" vers une install classique

Merci Malbo. Très instructif!  smile


Ubuntisan paisible et souvent nocturne sur un ordinosaure du 2e millénaire.
Xubuntu 14.04.1 LTS | CPU Pentium 4, 2.80GHz | CG ATI Radeon RV 100QY | RAM 2 Gio 
Les tutos video d'Alexis Madrzejewski: http://www.tutoriels-video.fr/category/tutoriel-video/
Si GNU/Linux ne répond plus: le redémarrer proprement avec:  Alt + SysRq + REISUB

Hors ligne

Haut de page ↑