Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: Wubi Migration to Partiton issuses

  1. #1
    Join Date
    Oct 2006
    Beans
    Hidden!

    Wubi Migration to Partiton issuses

    I have an issue with my migration to a partition. I used the script from wubiGiude.org and the shell script wubi-move-to-partition,

    everything seemed to go well except there was no entry for the new ubuntu partition in grub when the computer started, I have already uninstalled wubi via windows. I now have a ubuntu partition that I can't access can some please help me out?


    I've run bootinfoscript and here are my results, any help would be great because I have put a lot of work into this installation and I would hate to have to reinstall and start from scratch


    Code:
                    Boot Info Script 0.55    dated February 15th, 2010                    
    
    ============================= Boot Info Summary: ==============================
    
     => Windows is installed in the MBR of /dev/sda
    
    sda1: _________________________________________________________________________
    
        File system:       ntfs
        Boot sector type:  Windows XP
        Boot sector info:  No errors found in the Boot Parameter Block.
        Operating System:  Windows XP
        Boot files/dirs:   /boot.ini /ntldr /NTDETECT.COM /wubildr.mbr 
                           /ubuntu/winboot/wubildr.mbr /wubildr 
                           /ubuntu/winboot/wubildr /ubuntu/disks/root.disk 
                           /ubuntu/disks/swap.disk
    
    sda1/Wubi: _________________________________________________________________________
    
        File system:       ext4
        Boot sector type:  -
        Boot sector info:  
        Operating System:  Ubuntu 10.04 LTS
        Boot files/dirs:   /boot/grub/grub.cfg /etc/fstab
    
    sda2: _________________________________________________________________________
    
        File system:       ext3
        Boot sector type:  -
        Boot sector info:  
        Operating System:  Ubuntu 10.04.1 LTS
        Boot files/dirs:   /boot/grub/grub.cfg /etc/fstab
    
    sda3: _________________________________________________________________________
    
        File system:       Extended Partition
        Boot sector type:  Unknown
        Boot sector info:  
    
    sda5: _________________________________________________________________________
    
        File system:       swap
        Boot sector type:  -
        Boot sector info:  
    
    =========================== Drive/Partition Info: =============================
    
    Drive: sda ___________________ _____________________________________________________
    
    Disk /dev/sda: 160.0 GB, 160041885696 bytes
    255 heads, 63 sectors/track, 19457 cylinders, total 312581808 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   224,335,439   224,333,392   7 HPFS/NTFS
    /dev/sda2         224,347,725   303,226,874    78,879,150  83 Linux
    /dev/sda3         303,226,875   312,576,704     9,349,830   5 Extended
    /dev/sda5         303,226,938   312,576,704     9,349,767  82 Linux swap / Solaris
    
    
    blkid -c /dev/null: ____________________________________________________________
    
    Device           UUID                                   TYPE       LABEL                         
    
    /dev/loop0                                              squashfs                                 
    /dev/loop1       d7069958-9bd6-41f6-80a0-244dbad7267b   ext4                                     
    /dev/sda1        CA5AADC05AADAA21                       ntfs                                     
    /dev/sda2        c1c77d74-af08-42b2-9c7b-968c416a370c   ext3                                     
    /dev/sda3: PTTYPE="dos" 
    /dev/sda5        5a88ddb2-3b5b-4577-a9ff-3e1bcccc5fab   swap                                     
    /dev/sda: PTTYPE="dos" 
    
    ============================ "mount | grep ^/dev  output: ===========================
    
    Device           Mount_Point              Type       Options
    
    aufs             /                        aufs       (rw)
    /dev/sr0         /cdrom                   iso9660    (ro,noatime)
    /dev/loop0       /rofs                    squashfs   (ro,noatime)
    
    
    ================================ sda1/boot.ini: ================================
    
    [boot loader]
    
    timeout=3
    
    default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
    
    [operating systems]
    
    multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="IBM Client for e-business Windows XP v3.01" /noexecute=alwaysoff /fastdetect
    
    C:\CMDCONS\BOOTSECT.DAT="Microsoft Windows Recovery Console" /cmdcons
    
    C:\wubildr.mbr = "Xubuntu"
    
    
    ======================== sda1/Wubi/boot/grub/grub.cfg: ========================
    
    #
    # DO NOT EDIT THIS FILE
    #
    # It is automatically generated by /usr/sbin/grub-mkconfig using templates
    # from /etc/grub.d and settings from /etc/default/grub
    #
    
    ### BEGIN /etc/grub.d/00_header ###
    if [ -s $prefix/grubenv ]; then
      load_env
    fi
    set default="0"
    if [ ${prev_saved_entry} ]; then
      set saved_entry=${prev_saved_entry}
      save_env saved_entry
      set prev_saved_entry=
      save_env prev_saved_entry
      set boot_once=true
    fi
    
    function savedefault {
      if [ -z ${boot_once} ]; then
        saved_entry=${chosen}
        save_env saved_entry
      fi
    }
    
    function recordfail {
      set recordfail=1
      if [ -n ${have_grubenv} ]; then if [ -z ${boot_once} ]; then save_env recordfail; fi; fi
    }
    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 ###
    ### END /etc/grub.d/10_linux ###
    
    ### BEGIN /etc/grub.d/20_memtest86+ ###
    ### END /etc/grub.d/20_memtest86+ ###
    
    ### BEGIN /etc/grub.d/30_os-prober ###
    menuentry "Windows NT/2000/XP (on /dev/sda1)" {
    	insmod ntfs
    	set root='(hd0,1)'
    	search --no-floppy --fs-uuid --set ca5aadc05aadaa21
    	drivemap -s (hd0) ${root}
    	chainloader +1
    }
    menuentry "Ubuntu, with Linux 2.6.32-24-generic (on /dev/sda2)" {
    	insmod ext2
    	set root='(hd0,2)'
    	search --no-floppy --fs-uuid --set c1c77d74-af08-42b2-9c7b-968c416a370c
    	linux /boot/vmlinuz-2.6.32-24-generic root=UUID=c1c77d74-af08-42b2-9c7b-968c416a370c ro quiet splash
    	initrd /boot/initrd.img-2.6.32-24-generic
    }
    menuentry "Ubuntu, with Linux 2.6.32-24-generic (recovery mode) (on /dev/sda2)" {
    	insmod ext2
    	set root='(hd0,2)'
    	search --no-floppy --fs-uuid --set c1c77d74-af08-42b2-9c7b-968c416a370c
    	linux /boot/vmlinuz-2.6.32-24-generic root=UUID=c1c77d74-af08-42b2-9c7b-968c416a370c ro single
    	initrd /boot/initrd.img-2.6.32-24-generic
    }
    menuentry "Ubuntu, with Linux 2.6.32-21-generic (on /dev/sda2)" {
    	insmod ext2
    	set root='(hd0,2)'
    	search --no-floppy --fs-uuid --set c1c77d74-af08-42b2-9c7b-968c416a370c
    	linux /boot/vmlinuz-2.6.32-21-generic root=UUID=c1c77d74-af08-42b2-9c7b-968c416a370c ro quiet splash
    	initrd /boot/initrd.img-2.6.32-21-generic
    }
    menuentry "Ubuntu, with Linux 2.6.32-21-generic (recovery mode) (on /dev/sda2)" {
    	insmod ext2
    	set root='(hd0,2)'
    	search --no-floppy --fs-uuid --set c1c77d74-af08-42b2-9c7b-968c416a370c
    	linux /boot/vmlinuz-2.6.32-21-generic root=UUID=c1c77d74-af08-42b2-9c7b-968c416a370c ro single
    	initrd /boot/initrd.img-2.6.32-21-generic
    }
    ### 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 ###
    
    ============================= sda1/Wubi/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
    /host/ubuntu/disks/root.disk /               ext4    loop,errors=remount-ro 0       1
    /host/ubuntu/disks/swap.disk none            swap    loop,sw         0       0
    
    ================= sda1/Wubi: Location of files loaded by Grub: =================
    
    
       6.6GB: boot/grub/grub.cfg
        .1GB: boot/initrd.img-2.6.32-21-generic
       6.5GB: boot/vmlinuz-2.6.32-21-generic
        .1GB: initrd.img
       6.5GB: vmlinuz
    
    =========================== sda2/boot/grub/grub.cfg: ===========================
    
    #
    # DO NOT EDIT THIS FILE
    #
    # It is automatically generated by /usr/sbin/grub-mkconfig using templates
    # from /etc/grub.d and settings from /etc/default/grub
    #
    
    ### BEGIN /etc/grub.d/00_header ###
    if [ -s $prefix/grubenv ]; then
      load_env
    fi
    set default="0"
    if [ ${prev_saved_entry} ]; then
      set saved_entry=${prev_saved_entry}
      save_env saved_entry
      set prev_saved_entry=
      save_env prev_saved_entry
      set boot_once=true
    fi
    
    function savedefault {
      if [ -z ${boot_once} ]; then
        saved_entry=${chosen}
        save_env saved_entry
      fi
    }
    
    function recordfail {
      set recordfail=1
      if [ -n ${have_grubenv} ]; then if [ -z ${boot_once} ]; then save_env recordfail; fi; fi
    }
    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.32-24-generic' --class ubuntu --class gnu-linux --class gnu --class os {
    	recordfail
    	insmod ext2
    	set root='(hd0,2)'
    	search --no-floppy --fs-uuid --set c1c77d74-af08-42b2-9c7b-968c416a370c
    	linux	/boot/vmlinuz-2.6.32-24-generic root=UUID=c1c77d74-af08-42b2-9c7b-968c416a370c ro   quiet splash
    	initrd	/boot/initrd.img-2.6.32-24-generic
    }
    menuentry 'Ubuntu, with Linux 2.6.32-24-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
    	recordfail
    	insmod ext2
    	set root='(hd0,2)'
    	search --no-floppy --fs-uuid --set c1c77d74-af08-42b2-9c7b-968c416a370c
    	echo	'Loading Linux 2.6.32-24-generic ...'
    	linux	/boot/vmlinuz-2.6.32-24-generic root=UUID=c1c77d74-af08-42b2-9c7b-968c416a370c ro single 
    	echo	'Loading initial ramdisk ...'
    	initrd	/boot/initrd.img-2.6.32-24-generic
    }
    menuentry 'Ubuntu, with Linux 2.6.32-21-generic' --class ubuntu --class gnu-linux --class gnu --class os {
    	recordfail
    	insmod ext2
    	set root='(hd0,2)'
    	search --no-floppy --fs-uuid --set c1c77d74-af08-42b2-9c7b-968c416a370c
    	linux	/boot/vmlinuz-2.6.32-21-generic root=UUID=c1c77d74-af08-42b2-9c7b-968c416a370c ro   quiet splash
    	initrd	/boot/initrd.img-2.6.32-21-generic
    }
    menuentry 'Ubuntu, with Linux 2.6.32-21-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
    	recordfail
    	insmod ext2
    	set root='(hd0,2)'
    	search --no-floppy --fs-uuid --set c1c77d74-af08-42b2-9c7b-968c416a370c
    	echo	'Loading Linux 2.6.32-21-generic ...'
    	linux	/boot/vmlinuz-2.6.32-21-generic root=UUID=c1c77d74-af08-42b2-9c7b-968c416a370c ro single 
    	echo	'Loading initial ramdisk ...'
    	initrd	/boot/initrd.img-2.6.32-21-generic
    }
    ### END /etc/grub.d/10_linux ###
    
    ### BEGIN /etc/grub.d/10_lupin ###
    ### END /etc/grub.d/10_lupin ###
    
    ### BEGIN /etc/grub.d/20_memtest86+ ###
    menuentry "Memory test (memtest86+)" {
    	insmod ext2
    	set root='(hd0,2)'
    	search --no-floppy --fs-uuid --set c1c77d74-af08-42b2-9c7b-968c416a370c
    	linux16	/boot/memtest86+.bin
    }
    menuentry "Memory test (memtest86+, serial console 115200)" {
    	insmod ext2
    	set root='(hd0,2)'
    	search --no-floppy --fs-uuid --set c1c77d74-af08-42b2-9c7b-968c416a370c
    	linux16	/boot/memtest86+.bin console=ttyS0,115200n8
    }
    ### END /etc/grub.d/20_memtest86+ ###
    
    ### BEGIN /etc/grub.d/30_os-prober ###
    if [ ${timeout} != -1 ]; then
      if keystatus; then
        if keystatus --shift; then
          set timeout=-1
        else
          set timeout=0
        fi
      else
        if sleep --interruptible 3 ; then
          set timeout=0
        fi
      fi
    fi
    ### 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 ###
    
    =============================== sda2/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
    
    
    
    UUID=    /    ext3    errors=remount-ro    0    1
    UUID=    none    swap    sw    0    0
    
    =================== sda2: Location of files loaded by Grub: ===================
    
    
     117.6GB: boot/grub/grub.cfg
     117.5GB: boot/initrd.img-2.6.32-21-generic
     117.6GB: boot/initrd.img-2.6.32-24-generic
     117.6GB: boot/vmlinuz-2.6.32-21-generic
     117.6GB: boot/vmlinuz-2.6.32-24-generic
     117.6GB: initrd.img
     117.5GB: initrd.img.old
     117.6GB: vmlinuz
     117.6GB: vmlinuz.old
    =========================== Unknown MBRs/Boot Sectors/etc =======================
    
    Unknown BootLoader  on sda3
    
    00000000  8e a6 27 0d db 97 a2 4c  7a fc ad d6 3f 99 df 93  |..'....Lz...?...|
    00000010  e3 4f 36 82 b3 2f dc 3b  e8 7a c7 ab ff 64 fc 9b  |.O6../.;.z...d..|
    00000020  29 3f fb 6b 03 d6 0f da  df 83 4c 79 ce f8 94 fe  |)?.k......Ly....|
    00000030  d8 aa 1e d5 6f 0e 58 c8  39 60 b1 cc 01 65 02 68  |....o.X.9`...e.h|
    00000040  77 b7 c1 f9 da 64 2e b0  30 cb 5c 98 63 2e cc 33  |w....d..0.\.c..3|
    00000050  b9 32 33 51 e2 24 09 8f  f2 51 b4 84 50 52 27 12  |.23Q.$...Q..PR'.|
    00000060  42 29 3f c1 dc d9 99 46  7c e3 3d 2e 3c da b7 be  |B)?....F|.=.<...|
    00000070  8d 26 a5 ba e2 3e eb 77  f1 8f 18 ff 8f 1b c4 5f  |.&...>.w......._|
    00000080  72 de 48 e9 a9 12 fe c2  f5 b4 6d 4c 3c 45 12 db  |r.H.......mL<E..|
    00000090  d3 da 52 76 6e 06 1b ff  98 64 44 5a 79 b6 bb 77  |..Rvn....dDZy..w|
    000000a0  e0 eb bb be 78 0b f9 0f  94 65 aa 6f eb bd 7e a1  |....x....e.o..~.|
    000000b0  7f 3f 7f 1e c9 f4 4f 66  4a 9f b4 bf f2 a4 a7 f7  |.?....OfJ.......|
    000000c0  a6 ce 50 06 f2 cf 57 f7  d3 fe 65 e9 f2 ef 1a 78  |..P...W...e....x|
    000000d0  fd 9f fc 17 9d 44 f9 a1  5e c7 1b 64 7e 34 8d f9  |.....D..^..d~4..|
    000000e0  ed b9 f6 a4 fd 79 c1 9e  41 fd 39 fe 21 ed 3f 48  |.....y..A.9.!.?H|
    000000f0  7e f6 da dd 83 f4 17 5b  98 7e 52 5a 7a fb fc b7  |~......[.~RZz...|
    00000100  52 aa b2 2e 65 3e 9c 6b  df 4f fe 11 d7 3a f3 e1  |R...e>.k.O...:..|
    00000110  3c ab d2 cb 26 a0 06 22  1b fd a1 33 99 fd 72 1f  |<...&.."...3..r.|
    00000120  e7 0a 91 e0 e5 d6 50 76  bd c5 12 a0 3c e2 04 28  |......Pv....<..(|
    00000130  cd f6 6f c4 e1 cc ce f4  60 4c 55 9b 65 3c c5 d8  |..o.....`LU.e<..|
    00000140  00 1b 26 c6 08 35 be 7b  2c 4e f1 bd 76 e4 75 e9  |..&..5.{,N..v.u.|
    00000150  ae 8d 02 e7 2e 1a c7 4b  ef 60 6e 1f 7b 3e f3 7e  |.......K.`n.{>.~|
    00000160  e6 7b 1f 70 fd ff 1a 35  fe 5e f7 e6 60 fb 9f 8c  |.{.p...5.^..`...|
    00000170  6b 97 6c bf 4a 98 ed ec  f7 4f ae 3d 2c 66 92 61  |k.l.J....O.=,f.a|
    00000180  d7 9c 70 be 6b 3f da 3e  98 7f 8e 49 f4 ff cc 6f  |..p.k?.>...I...o|
    00000190  7d e9 c9 ef df 14 9b a9  fb 37 98 ad 27 76 0c ed  |}........7..'v..|
    000001a0  29 af a7 b4 fc cc eb a1  5b de a7 fd 33 97 a7 fc  |).......[...3...|
    000001b0  67 42 7b a6 fe 43 12 47  ca 7c 4e bc 16 af 00 fe  |gB{..C.G.|N.....|
    000001c0  ff ff 82 fe ff ff 3f 00  00 00 87 aa 8e 00 00 00  |......?.........|
    000001d0  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

  2. #2
    Join Date
    Nov 2009
    Location
    North Vancouver
    Beans
    Hidden!
    Distro
    Edubuntu 12.04 Precise Pangolin

    Re: Wubi Migration to Partiton issuses

    OK so there are a couple of things...

    I take it you reinstalled WUBI, but during the install you hit the SKIP button? The reason I am assuming this is that your WUBI grub menu doesn't have the wubi install in it.

    So, can you boot any install of Ubuntu, or can you only boot a Live CD environment?

    If you can boot Ubuntu, then paste the result of the following:
    Code:
    sudo mount

  3. #3
    Join Date
    Oct 2006
    Beans
    Hidden!

    Re: Wubi Migration to Partiton issuses

    I have uninstalled Wubi because that's what the tutorial said to do, the only way I can boot into Ubuntu is with a live cd

  4. #4
    Join Date
    Nov 2009
    Location
    North Vancouver
    Beans
    Hidden!
    Distro
    Edubuntu 12.04 Precise Pangolin

    Re: Wubi Migration to Partiton issuses

    Quote Originally Posted by barnesk9 View Post
    I have uninstalled Wubi because that's what the tutorial said to do, the only way I can boot into Ubuntu is with a live cd
    The bootinfoscript seems to indicate that wubi is still installed. And you have Xubuntu in your boot.ini.

    sda1: __________________________________________________ _______________________

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

    [boot loader]

    timeout=3

    default=multi(0)disk(0)rdisk(0)partition(1)\WINDOW S

    [operating systems]

    multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="IBM Client for e-business Windows XP v3.01" /noexecute=alwaysoff /fastdetect

    C:\CMDCONS\BOOTSECT.DAT="Microsoft Windows Recovery Console" /cmdcons

    C:\wubildr.mbr = "Xubuntu"
    Anyway - I'll give you instructions based on booting from the live CD... shortly.

  5. #5
    Join Date
    Nov 2009
    Location
    North Vancouver
    Beans
    Hidden!
    Distro
    Edubuntu 12.04 Precise Pangolin

    Re: Wubi Migration to Partiton issuses

    To fix the migrated install do this:
    1. Boot the Live CD.
    2. Mount the migrated install
    Code:
    sudo mount /dev/sda2 /mnt
    3. Edit the fstab.
    Code:
    gksudo gedit /mnt/etc/fstab
    4. Change what is there to this:
    Code:
    # /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
    
    
    
    UUID=c1c77d74-af08-42b2-9c7b-968c416a370c    /    ext3    errors=remount-ro    0    1
    UUID=5a88ddb2-3b5b-4577-a9ff-3e1bcccc5fab    none    swap    sw    0    0
    5. Install grub to the MBR of the drive
    Code:
    sudo grub-install --root-directory=/mnt /dev/sda

    6.Reboot. You will see a grub menu, that does not include Windows in it. Boot the first entry and it should successfully load your migrated install. Then run:
    Code:
    sudo update-grub
    This should pick up the windows install. Confirm by rebooting and booting into windows.

    If you encounter an issue, stop and post back here.

  6. #6
    Join Date
    Oct 2006
    Beans
    Hidden!

    Re: Wubi Migration to Partiton issuses

    Oh man thank you so much now I can get into my Ubuntu installation again, I am forever in your debt, all your help is greatly appreciated

  7. #7
    Join Date
    Nov 2009
    Location
    North Vancouver
    Beans
    Hidden!
    Distro
    Edubuntu 12.04 Precise Pangolin

    Re: Wubi Migration to Partiton issuses

    Quote Originally Posted by barnesk9 View Post
    Oh man thank you so much now I can get into my Ubuntu installation again, I am forever in your debt, all your help is greatly appreciated
    You are very welcome I'm happy it worked out!

  8. #8
    Join Date
    May 2010
    Beans
    8

    Re: Wubi Migration to Partiton issuses

    Hi bcbc, thank you for the support you have been providing. I have the same issue, unable to boot into migrated partition. This is what I have. please help!

    Boot Info Script 0.55 dated February 15th, 2010

    ============================= 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: Windows Vista
    Boot files/dirs: /bootmgr /Boot/BCD /Windows/System32/winload.exe
    /grldr /wubildr.mbr /ubuntu/winboot/wubildr.mbr
    /wubildr /ubuntu/winboot/wubildr
    /ubuntu/disks/root.disk /ubuntu/disks/swap.disk

    sda1/Wubi: __________________________________________________ _______________________

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

    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: ext4
    Boot sector type: -
    Boot sector info:
    Operating System: Ubuntu 10.04.1 LTS
    Boot files/dirs: /boot/grub/grub.cfg /etc/fstab

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

    Drive: sda ___________________ __________________________________________________ ___

    Disk /dev/sda: 500.1 GB, 500107862016 bytes
    255 heads, 63 sectors/track, 60801 cylinders, total 976773168 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 577,847,279 577,845,232 7 HPFS/NTFS
    /dev/sda2 641,230,848 976,771,047 335,540,200 7 HPFS/NTFS
    /dev/sda3 577,858,050 641,218,409 63,360,360 83 Linux


    blkid -c /dev/null: __________________________________________________ __________

    Device UUID TYPE LABEL

    /dev/loop0 squashfs
    /dev/loop1 16a1bc82-2a35-4146-ae09-8d839efa0235 ext4
    /dev/sda1 180E62B40E628B18 ntfs Local Disk
    /dev/sda2 38C6A335C6A2F1F4 ntfs
    /dev/sda3 4245b981-cb8d-4dfb-9a75-30b4818b938f ext4
    /dev/sda: PTTYPE="dos"

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

    Device Mount_Point Type Options

    aufs / aufs (rw)
    /dev/sr0 /cdrom iso9660 (ro,noatime)
    /dev/loop0 /rofs squashfs (ro,noatime)


    ======================== sda1/Wubi/boot/grub/grub.cfg: ========================

    #
    # DO NOT EDIT THIS FILE
    #
    # It is automatically generated by /usr/sbin/grub-mkconfig using templates
    # from /etc/grub.d and settings from /etc/default/grub
    #

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

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

    function recordfail {
    set recordfail=1
    if [ -n ${have_grubenv} ]; then if [ -z ${boot_once} ]; then save_env recordfail; fi; fi
    }
    insmod ntfs
    set root='(hd0,1)'
    search --no-floppy --fs-uuid --set 180e62b40e628b18
    loopback loop0 /ubuntu/disks/root.disk
    set root=(loop0)
    if loadfont /usr/share/grub/unicode.pf2 ; then
    set gfxmode=1280x1024
    set gfxpayload=1920x1200
    insmod gfxterm
    insmod vbe
    if terminal_output gfxterm ; then true ; else
    # For backward compatibility with versions of terminal.mod that don't
    # understand terminal_output
    terminal gfxterm
    fi
    fi
    insmod ntfs
    set root='(hd0,1)'
    search --no-floppy --fs-uuid --set 180e62b40e628b18
    loopback loop0 /ubuntu/disks/root.disk
    set root=(loop0)
    set locale_dir=($root)/boot/grub/locale
    set lang=en
    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 ###
    ### END /etc/grub.d/10_linux ###

    ### BEGIN /etc/grub.d/10_lupin ###
    menuentry "Ubuntu, Linux 2.6.32-27-generic" {
    insmod ntfs
    set root='(hd0,1)'
    search --no-floppy --fs-uuid --set 180e62b40e628b18
    loopback loop0 /ubuntu/disks/root.disk
    set root=(loop0)
    linux /boot/vmlinuz-2.6.32-27-generic root=/dev/sda1 loop=/ubuntu/disks/root.disk ro quiet splash nomodeset video=uvesafb:mode_option=1280x1024-24,mtrr=3,scroll=ywrap
    initrd /boot/initrd.img-2.6.32-27-generic
    }
    menuentry "Ubuntu, Linux 2.6.32-27-generic (recovery mode)" {
    insmod ntfs
    set root='(hd0,1)'
    search --no-floppy --fs-uuid --set 180e62b40e628b18
    loopback loop0 /ubuntu/disks/root.disk
    set root=(loop0)
    linux /boot/vmlinuz-2.6.32-27-generic root=/dev/sda1 loop=/ubuntu/disks/root.disk ro single
    initrd /boot/initrd.img-2.6.32-27-generic
    }
    menuentry "Ubuntu, Linux 2.6.32-26-generic" {
    insmod ntfs
    set root='(hd0,1)'
    search --no-floppy --fs-uuid --set 180e62b40e628b18
    loopback loop0 /ubuntu/disks/root.disk
    set root=(loop0)
    linux /boot/vmlinuz-2.6.32-26-generic root=/dev/sda1 loop=/ubuntu/disks/root.disk ro quiet splash nomodeset video=uvesafb:mode_option=1280x1024-24,mtrr=3,scroll=ywrap
    initrd /boot/initrd.img-2.6.32-26-generic
    }
    menuentry "Ubuntu, Linux 2.6.32-26-generic (recovery mode)" {
    insmod ntfs
    set root='(hd0,1)'
    search --no-floppy --fs-uuid --set 180e62b40e628b18
    loopback loop0 /ubuntu/disks/root.disk
    set root=(loop0)
    linux /boot/vmlinuz-2.6.32-26-generic root=/dev/sda1 loop=/ubuntu/disks/root.disk ro single
    initrd /boot/initrd.img-2.6.32-26-generic
    }
    ### END /etc/grub.d/10_lupin ###

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

    ### BEGIN /etc/grub.d/30_os-prober ###
    menuentry "Windows 7 (loader) (on /dev/sda1)" {
    insmod ntfs
    set root='(hd0,1)'
    search --no-floppy --fs-uuid --set 180e62b40e628b18
    chainloader +1
    }
    menuentry "Ubuntu, with Linux 2.6.32-27-generic (on /dev/sda3)" {
    insmod ext2
    set root='(hd0,3)'
    search --no-floppy --fs-uuid --set 4245b981-cb8d-4dfb-9a75-30b4818b938f
    linux /boot/vmlinuz-2.6.32-27-generic root=UUID=4245b981-cb8d-4dfb-9a75-30b4818b938f ro quiet splash nomodeset video=uvesafb:mode_option=1280x1024-24,mtrr=3,scroll=ywrap
    initrd /boot/initrd.img-2.6.32-27-generic
    }
    menuentry "Ubuntu, with Linux 2.6.32-27-generic (recovery mode) (on /dev/sda3)" {
    insmod ext2
    set root='(hd0,3)'
    search --no-floppy --fs-uuid --set 4245b981-cb8d-4dfb-9a75-30b4818b938f
    linux /boot/vmlinuz-2.6.32-27-generic root=UUID=4245b981-cb8d-4dfb-9a75-30b4818b938f ro single
    initrd /boot/initrd.img-2.6.32-27-generic
    }
    menuentry "Ubuntu, with Linux 2.6.32-26-generic (on /dev/sda3)" {
    insmod ext2
    set root='(hd0,3)'
    search --no-floppy --fs-uuid --set 4245b981-cb8d-4dfb-9a75-30b4818b938f
    linux /boot/vmlinuz-2.6.32-26-generic root=UUID=4245b981-cb8d-4dfb-9a75-30b4818b938f ro quiet splash nomodeset video=uvesafb:mode_option=1280x1024-24,mtrr=3,scroll=ywrap
    initrd /boot/initrd.img-2.6.32-26-generic
    }
    menuentry "Ubuntu, with Linux 2.6.32-26-generic (recovery mode) (on /dev/sda3)" {
    insmod ext2
    set root='(hd0,3)'
    search --no-floppy --fs-uuid --set 4245b981-cb8d-4dfb-9a75-30b4818b938f
    linux /boot/vmlinuz-2.6.32-26-generic root=UUID=4245b981-cb8d-4dfb-9a75-30b4818b938f ro single
    initrd /boot/initrd.img-2.6.32-26-generic
    }
    ### 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 ###

    ============================= sda1/Wubi/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
    /host/ubuntu/disks/root.disk / ext4 loop,errors=remount-ro 0 1
    /host/ubuntu/disks/swap.disk none swap loop,sw 0 0

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


    20.0GB: boot/grub/grub.cfg
    26.9GB: boot/initrd.img-2.6.32-26-generic
    25.0GB: boot/initrd.img-2.6.32-27-generic
    24.8GB: boot/vmlinuz-2.6.32-26-generic
    24.1GB: boot/vmlinuz-2.6.32-27-generic
    25.0GB: initrd.img
    26.9GB: initrd.img.old
    24.1GB: vmlinuz
    24.8GB: vmlinuz.old

    =========================== sda3/boot/grub/grub.cfg: ===========================

    #
    # DO NOT EDIT THIS FILE
    #
    # It is automatically generated by /usr/sbin/grub-mkconfig using templates
    # from /etc/grub.d and settings from /etc/default/grub
    #

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

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

    function recordfail {
    set recordfail=1
    if [ -n ${have_grubenv} ]; then if [ -z ${boot_once} ]; then save_env recordfail; fi; fi
    }
    insmod ext2
    set root='(hd0,3)'
    search --no-floppy --fs-uuid --set 4245b981-cb8d-4dfb-9a75-30b4818b938f
    if loadfont /usr/share/grub/unicode.pf2 ; then
    set gfxmode=1280x1024
    set gfxpayload=1920x1200
    insmod gfxterm
    insmod vbe
    if terminal_output gfxterm ; then true ; else
    # For backward compatibility with versions of terminal.mod that don't
    # understand terminal_output
    terminal gfxterm
    fi
    fi
    insmod ext2
    set root='(hd0,3)'
    search --no-floppy --fs-uuid --set 4245b981-cb8d-4dfb-9a75-30b4818b938f
    set locale_dir=($root)/boot/grub/locale
    set lang=en
    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.32-27-generic' --class ubuntu --class gnu-linux --class gnu --class os {
    recordfail
    insmod ext2
    set root='(hd0,3)'
    search --no-floppy --fs-uuid --set 4245b981-cb8d-4dfb-9a75-30b4818b938f
    linux /boot/vmlinuz-2.6.32-27-generic root=UUID=4245b981-cb8d-4dfb-9a75-30b4818b938f ro quiet splash nomodeset video=uvesafb:mode_option=1280x1024-24,mtrr=3,scroll=ywrap
    initrd /boot/initrd.img-2.6.32-27-generic
    }
    menuentry 'Ubuntu, with Linux 2.6.32-27-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
    recordfail
    insmod ext2
    set root='(hd0,3)'
    search --no-floppy --fs-uuid --set 4245b981-cb8d-4dfb-9a75-30b4818b938f
    echo 'Loading Linux 2.6.32-27-generic ...'
    linux /boot/vmlinuz-2.6.32-27-generic root=UUID=4245b981-cb8d-4dfb-9a75-30b4818b938f ro single
    echo 'Loading initial ramdisk ...'
    initrd /boot/initrd.img-2.6.32-27-generic
    }
    menuentry 'Ubuntu, with Linux 2.6.32-26-generic' --class ubuntu --class gnu-linux --class gnu --class os {
    recordfail
    insmod ext2
    set root='(hd0,3)'
    search --no-floppy --fs-uuid --set 4245b981-cb8d-4dfb-9a75-30b4818b938f
    linux /boot/vmlinuz-2.6.32-26-generic root=UUID=4245b981-cb8d-4dfb-9a75-30b4818b938f ro quiet splash nomodeset video=uvesafb:mode_option=1280x1024-24,mtrr=3,scroll=ywrap
    initrd /boot/initrd.img-2.6.32-26-generic
    }
    menuentry 'Ubuntu, with Linux 2.6.32-26-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
    recordfail
    insmod ext2
    set root='(hd0,3)'
    search --no-floppy --fs-uuid --set 4245b981-cb8d-4dfb-9a75-30b4818b938f
    echo 'Loading Linux 2.6.32-26-generic ...'
    linux /boot/vmlinuz-2.6.32-26-generic root=UUID=4245b981-cb8d-4dfb-9a75-30b4818b938f ro single
    echo 'Loading initial ramdisk ...'
    initrd /boot/initrd.img-2.6.32-26-generic
    }
    ### END /etc/grub.d/10_linux ###

    ### BEGIN /etc/grub.d/20_memtest86+ ###
    menuentry "Memory test (memtest86+)" {
    insmod ext2
    set root='(hd0,3)'
    search --no-floppy --fs-uuid --set 4245b981-cb8d-4dfb-9a75-30b4818b938f
    linux16 /boot/memtest86+.bin
    }
    menuentry "Memory test (memtest86+, serial console 115200)" {
    insmod ext2
    set root='(hd0,3)'
    search --no-floppy --fs-uuid --set 4245b981-cb8d-4dfb-9a75-30b4818b938f
    linux16 /boot/memtest86+.bin console=ttyS0,115200n8
    }
    ### END /etc/grub.d/20_memtest86+ ###

    ### BEGIN /etc/grub.d/30_os-prober ###
    menuentry "Windows 7 (loader) (on /dev/sda1)" {
    insmod ntfs
    set root='(hd0,1)'
    search --no-floppy --fs-uuid --set 180e62b40e628b18
    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 ###

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


    # root was on /dev/sda3 when wubi migrated
    UUID=4245b981-cb8d-4dfb-9a75-30b4818b938f / ext4 errors=remount-ro 0 1

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


    307.9GB: boot/grub/grub.cfg
    308.8GB: boot/initrd.img-2.6.32-26-generic
    309.5GB: boot/initrd.img-2.6.32-27-generic
    308.9GB: boot/vmlinuz-2.6.32-26-generic
    308.9GB: boot/vmlinuz-2.6.32-27-generic
    309.5GB: initrd.img
    308.8GB: initrd.img.old
    308.9GB: vmlinuz
    308.9GB: vmlinuz.old

  9. #9
    Join Date
    Sep 2009
    Beans
    8,874
    Distro
    Ubuntu Development Release

    Re: Wubi Migration to Partiton issuses

    Quote Originally Posted by chauncy22 View Post
    Hi bcbc, thank you for the support you have been providing. I have the same issue, unable to boot into migrated partition. This is what I have. please help!
    Code:
      Boot Info Script 0.55    dated February 15th, 2010                    
    
    ============================= 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:  Windows Vista
        Boot files/dirs:   /bootmgr /Boot/BCD /Windows/System32/winload.exe 
                           /grldr /wubildr.mbr /ubuntu/winboot/wubildr.mbr 
                           /wubildr /ubuntu/winboot/wubildr 
                           /ubuntu/disks/root.disk /ubuntu/disks/swap.disk
    
    sda1/Wubi: _________________________________________________________________________
    
        File system:       ext4
        Boot sector type:  -
        Boot sector info:  
        Operating System:  Ubuntu 10.04.1 LTS
        Boot files/dirs:   /boot/grub/grub.cfg /etc/fstab
    
    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:       ext4
        Boot sector type:  -
        Boot sector info:  
        Operating System:  Ubuntu 10.04.1 LTS
        Boot files/dirs:   /boot/grub/grub.cfg /etc/fstab
    
    =========================== Drive/Partition Info: =============================
    
    Drive: sda ___________________ _____________________________________________________
    
    Disk /dev/sda: 500.1 GB, 500107862016 bytes
    255 heads, 63 sectors/track, 60801 cylinders, total 976773168 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   577,847,279   577,845,232   7 HPFS/NTFS
    /dev/sda2         641,230,848   976,771,047   335,540,200   7 HPFS/NTFS
    /dev/sda3         577,858,050   641,218,409    63,360,360  83 Linux
    
    
    blkid -c /dev/null: ____________________________________________________________
    
    Device           UUID                                   TYPE       LABEL                         
    
    /dev/loop0                                              squashfs                                 
    /dev/loop1       16a1bc82-2a35-4146-ae09-8d839efa0235   ext4                                     
    /dev/sda1        180E62B40E628B18                       ntfs       Local Disk                    
    /dev/sda2        38C6A335C6A2F1F4                       ntfs                                     
    /dev/sda3        4245b981-cb8d-4dfb-9a75-30b4818b938f   ext4                                     
    /dev/sda: PTTYPE="dos" 
    
    ============================ "mount | grep ^/dev  output: ===========================
    
    Device           Mount_Point              Type       Options
    
    aufs             /                        aufs       (rw)
    /dev/sr0         /cdrom                   iso9660    (ro,noatime)
    /dev/loop0       /rofs                    squashfs   (ro,noatime)
    
    
    ======================== sda1/Wubi/boot/grub/grub.cfg: ========================
    
    #
    # DO NOT EDIT THIS FILE
    #
    # It is automatically generated by /usr/sbin/grub-mkconfig using templates
    # from /etc/grub.d and settings from /etc/default/grub
    #
    
    ### BEGIN /etc/grub.d/00_header ###
    if [ -s $prefix/grubenv ]; then
      load_env
    fi
    set default="0"
    if [ ${prev_saved_entry} ]; then
      set saved_entry=${prev_saved_entry}
      save_env saved_entry
      set prev_saved_entry=
      save_env prev_saved_entry
      set boot_once=true
    fi
    
    function savedefault {
      if [ -z ${boot_once} ]; then
        saved_entry=${chosen}
        save_env saved_entry
      fi
    }
    
    function recordfail {
      set recordfail=1
      if [ -n ${have_grubenv} ]; then if [ -z ${boot_once} ]; then save_env recordfail; fi; fi
    }
    insmod ntfs
    set root='(hd0,1)'
    search --no-floppy --fs-uuid --set 180e62b40e628b18
    loopback loop0 /ubuntu/disks/root.disk
    set root=(loop0)
    if loadfont /usr/share/grub/unicode.pf2 ; then
      set gfxmode=1280x1024
      set gfxpayload=1920x1200
      insmod gfxterm
      insmod vbe
      if terminal_output gfxterm ; then true ; else
        # For backward compatibility with versions of terminal.mod that don't
        # understand terminal_output
        terminal gfxterm
      fi
    fi
    insmod ntfs
    set root='(hd0,1)'
    search --no-floppy --fs-uuid --set 180e62b40e628b18
    loopback loop0 /ubuntu/disks/root.disk
    set root=(loop0)
    set locale_dir=($root)/boot/grub/locale
    set lang=en
    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 ###
    ### END /etc/grub.d/10_linux ###
    
    ### BEGIN /etc/grub.d/10_lupin ###
    menuentry "Ubuntu, Linux 2.6.32-27-generic" {
        insmod ntfs
        set root='(hd0,1)'
        search --no-floppy --fs-uuid --set 180e62b40e628b18
        loopback loop0 /ubuntu/disks/root.disk
        set root=(loop0)
        linux /boot/vmlinuz-2.6.32-27-generic root=/dev/sda1 loop=/ubuntu/disks/root.disk ro   quiet splash nomodeset video=uvesafb:mode_option=1280x1024-24,mtrr=3,scroll=ywrap
        initrd /boot/initrd.img-2.6.32-27-generic
    }
    menuentry "Ubuntu, Linux 2.6.32-27-generic (recovery mode)" {
        insmod ntfs
        set root='(hd0,1)'
        search --no-floppy --fs-uuid --set 180e62b40e628b18
        loopback loop0 /ubuntu/disks/root.disk
        set root=(loop0)
        linux /boot/vmlinuz-2.6.32-27-generic root=/dev/sda1 loop=/ubuntu/disks/root.disk ro single 
        initrd /boot/initrd.img-2.6.32-27-generic
    }
    menuentry "Ubuntu, Linux 2.6.32-26-generic" {
        insmod ntfs
        set root='(hd0,1)'
        search --no-floppy --fs-uuid --set 180e62b40e628b18
        loopback loop0 /ubuntu/disks/root.disk
        set root=(loop0)
        linux /boot/vmlinuz-2.6.32-26-generic root=/dev/sda1 loop=/ubuntu/disks/root.disk ro   quiet splash nomodeset video=uvesafb:mode_option=1280x1024-24,mtrr=3,scroll=ywrap
        initrd /boot/initrd.img-2.6.32-26-generic
    }
    menuentry "Ubuntu, Linux 2.6.32-26-generic (recovery mode)" {
        insmod ntfs
        set root='(hd0,1)'
        search --no-floppy --fs-uuid --set 180e62b40e628b18
        loopback loop0 /ubuntu/disks/root.disk
        set root=(loop0)
        linux /boot/vmlinuz-2.6.32-26-generic root=/dev/sda1 loop=/ubuntu/disks/root.disk ro single 
        initrd /boot/initrd.img-2.6.32-26-generic
    }
    ### END /etc/grub.d/10_lupin ###
    
    ### BEGIN /etc/grub.d/20_memtest86+ ###
    ### END /etc/grub.d/20_memtest86+ ###
    
    ### BEGIN /etc/grub.d/30_os-prober ###
    menuentry "Windows 7 (loader) (on /dev/sda1)" {
        insmod ntfs
        set root='(hd0,1)'
        search --no-floppy --fs-uuid --set 180e62b40e628b18
        chainloader +1
    }
    menuentry "Ubuntu, with Linux 2.6.32-27-generic (on /dev/sda3)" {
        insmod ext2
        set root='(hd0,3)'
        search --no-floppy --fs-uuid --set 4245b981-cb8d-4dfb-9a75-30b4818b938f
        linux /boot/vmlinuz-2.6.32-27-generic root=UUID=4245b981-cb8d-4dfb-9a75-30b4818b938f ro quiet splash nomodeset video=uvesafb:mode_option=1280x1024-24,mtrr=3,scroll=ywrap
        initrd /boot/initrd.img-2.6.32-27-generic
    }
    menuentry "Ubuntu, with Linux 2.6.32-27-generic (recovery mode) (on /dev/sda3)" {
        insmod ext2
        set root='(hd0,3)'
        search --no-floppy --fs-uuid --set 4245b981-cb8d-4dfb-9a75-30b4818b938f
        linux /boot/vmlinuz-2.6.32-27-generic root=UUID=4245b981-cb8d-4dfb-9a75-30b4818b938f ro single
        initrd /boot/initrd.img-2.6.32-27-generic
    }
    menuentry "Ubuntu, with Linux 2.6.32-26-generic (on /dev/sda3)" {
        insmod ext2
        set root='(hd0,3)'
        search --no-floppy --fs-uuid --set 4245b981-cb8d-4dfb-9a75-30b4818b938f
        linux /boot/vmlinuz-2.6.32-26-generic root=UUID=4245b981-cb8d-4dfb-9a75-30b4818b938f ro quiet splash nomodeset video=uvesafb:mode_option=1280x1024-24,mtrr=3,scroll=ywrap
        initrd /boot/initrd.img-2.6.32-26-generic
    }
    menuentry "Ubuntu, with Linux 2.6.32-26-generic (recovery mode) (on /dev/sda3)" {
        insmod ext2
        set root='(hd0,3)'
        search --no-floppy --fs-uuid --set 4245b981-cb8d-4dfb-9a75-30b4818b938f
        linux /boot/vmlinuz-2.6.32-26-generic root=UUID=4245b981-cb8d-4dfb-9a75-30b4818b938f ro single
        initrd /boot/initrd.img-2.6.32-26-generic
    }
    ### 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 ###
    
    ============================= sda1/Wubi/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
    /host/ubuntu/disks/root.disk /               ext4    loop,errors=remount-ro 0       1
    /host/ubuntu/disks/swap.disk none            swap    loop,sw         0       0
    
    ================= sda1/Wubi: Location of files loaded by Grub: =================
    
    
      20.0GB: boot/grub/grub.cfg
      26.9GB: boot/initrd.img-2.6.32-26-generic
      25.0GB: boot/initrd.img-2.6.32-27-generic
      24.8GB: boot/vmlinuz-2.6.32-26-generic
      24.1GB: boot/vmlinuz-2.6.32-27-generic
      25.0GB: initrd.img
      26.9GB: initrd.img.old
      24.1GB: vmlinuz
      24.8GB: vmlinuz.old
    
    =========================== sda3/boot/grub/grub.cfg: ===========================
    
    #
    # DO NOT EDIT THIS FILE
    #
    # It is automatically generated by /usr/sbin/grub-mkconfig using templates
    # from /etc/grub.d and settings from /etc/default/grub
    #
    
    ### BEGIN /etc/grub.d/00_header ###
    if [ -s $prefix/grubenv ]; then
      load_env
    fi
    set default="0"
    if [ ${prev_saved_entry} ]; then
      set saved_entry=${prev_saved_entry}
      save_env saved_entry
      set prev_saved_entry=
      save_env prev_saved_entry
      set boot_once=true
    fi
    
    function savedefault {
      if [ -z ${boot_once} ]; then
        saved_entry=${chosen}
        save_env saved_entry
      fi
    }
    
    function recordfail {
      set recordfail=1
      if [ -n ${have_grubenv} ]; then if [ -z ${boot_once} ]; then save_env recordfail; fi; fi
    }
    insmod ext2
    set root='(hd0,3)'
    search --no-floppy --fs-uuid --set 4245b981-cb8d-4dfb-9a75-30b4818b938f
    if loadfont /usr/share/grub/unicode.pf2 ; then
      set gfxmode=1280x1024
      set gfxpayload=1920x1200
      insmod gfxterm
      insmod vbe
      if terminal_output gfxterm ; then true ; else
        # For backward compatibility with versions of terminal.mod that don't
        # understand terminal_output
        terminal gfxterm
      fi
    fi
    insmod ext2
    set root='(hd0,3)'
    search --no-floppy --fs-uuid --set 4245b981-cb8d-4dfb-9a75-30b4818b938f
    set locale_dir=($root)/boot/grub/locale
    set lang=en
    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.32-27-generic' --class ubuntu --class gnu-linux --class gnu --class os {
        recordfail
        insmod ext2
        set root='(hd0,3)'
        search --no-floppy --fs-uuid --set 4245b981-cb8d-4dfb-9a75-30b4818b938f
        linux    /boot/vmlinuz-2.6.32-27-generic root=UUID=4245b981-cb8d-4dfb-9a75-30b4818b938f ro   quiet splash nomodeset video=uvesafb:mode_option=1280x1024-24,mtrr=3,scroll=ywrap
        initrd    /boot/initrd.img-2.6.32-27-generic
    }
    menuentry 'Ubuntu, with Linux 2.6.32-27-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
        recordfail
        insmod ext2
        set root='(hd0,3)'
        search --no-floppy --fs-uuid --set 4245b981-cb8d-4dfb-9a75-30b4818b938f
        echo    'Loading Linux 2.6.32-27-generic ...'
        linux    /boot/vmlinuz-2.6.32-27-generic root=UUID=4245b981-cb8d-4dfb-9a75-30b4818b938f ro single 
        echo    'Loading initial ramdisk ...'
        initrd    /boot/initrd.img-2.6.32-27-generic
    }
    menuentry 'Ubuntu, with Linux 2.6.32-26-generic' --class ubuntu --class gnu-linux --class gnu --class os {
        recordfail
        insmod ext2
        set root='(hd0,3)'
        search --no-floppy --fs-uuid --set 4245b981-cb8d-4dfb-9a75-30b4818b938f
        linux    /boot/vmlinuz-2.6.32-26-generic root=UUID=4245b981-cb8d-4dfb-9a75-30b4818b938f ro   quiet splash nomodeset video=uvesafb:mode_option=1280x1024-24,mtrr=3,scroll=ywrap
        initrd    /boot/initrd.img-2.6.32-26-generic
    }
    menuentry 'Ubuntu, with Linux 2.6.32-26-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
        recordfail
        insmod ext2
        set root='(hd0,3)'
        search --no-floppy --fs-uuid --set 4245b981-cb8d-4dfb-9a75-30b4818b938f
        echo    'Loading Linux 2.6.32-26-generic ...'
        linux    /boot/vmlinuz-2.6.32-26-generic root=UUID=4245b981-cb8d-4dfb-9a75-30b4818b938f ro single 
        echo    'Loading initial ramdisk ...'
        initrd    /boot/initrd.img-2.6.32-26-generic
    }
    ### END /etc/grub.d/10_linux ###
    
    ### BEGIN /etc/grub.d/20_memtest86+ ###
    menuentry "Memory test (memtest86+)" {
        insmod ext2
        set root='(hd0,3)'
        search --no-floppy --fs-uuid --set 4245b981-cb8d-4dfb-9a75-30b4818b938f
        linux16    /boot/memtest86+.bin
    }
    menuentry "Memory test (memtest86+, serial console 115200)" {
        insmod ext2
        set root='(hd0,3)'
        search --no-floppy --fs-uuid --set 4245b981-cb8d-4dfb-9a75-30b4818b938f
        linux16    /boot/memtest86+.bin console=ttyS0,115200n8
    }
    ### END /etc/grub.d/20_memtest86+ ###
    
    ### BEGIN /etc/grub.d/30_os-prober ###
    menuentry "Windows 7 (loader) (on /dev/sda1)" {
        insmod ntfs
        set root='(hd0,1)'
        search --no-floppy --fs-uuid --set 180e62b40e628b18
        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 ###
    
    =============================== sda3/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
    
    
    # root was on /dev/sda3 when wubi migrated
    UUID=4245b981-cb8d-4dfb-9a75-30b4818b938f    /    ext4    errors=remount-ro    0    1
    
    =================== sda3: Location of files loaded by Grub: ===================
    
    
     307.9GB: boot/grub/grub.cfg
     308.8GB: boot/initrd.img-2.6.32-26-generic
     309.5GB: boot/initrd.img-2.6.32-27-generic
     308.9GB: boot/vmlinuz-2.6.32-26-generic
     308.9GB: boot/vmlinuz-2.6.32-27-generic
     309.5GB: initrd.img
     308.8GB: initrd.img.old
     308.9GB: vmlinuz
     308.9GB: vmlinuz.old
    Please start your own thread and post the script there, pm me if you need help.
    Last edited by wilee-nilee; January 10th, 2011 at 03:22 AM.





  10. #10
    Join Date
    Nov 2009
    Location
    North Vancouver
    Beans
    Hidden!
    Distro
    Edubuntu 12.04 Precise Pangolin

    Re: Wubi Migration to Partiton issuses

    Chauncy22,
    It looks like you used my migration script - unlike the OP who used the old one from the wubi guide.

    Yours looks OK - but you must have skipped the step to install the bootloader. You can still boot it via the Wubi menu:
    1. Boot
    2. Select Ubuntu
    3. Down arrow until you get to "Ubuntu, with Linux 2.6.32-27-generic (on /dev/sda3)". Then press Enter.

    If it doesn't boot report any errors - you might as well report them on the Howto thread rather than create a new thread or this one (it seems related to my Howto thread from the title but it isn't)

    If you are happy with the booting and want to install the grub bootloader, just boot the new install and run:
    Code:
    sudo grub-install /dev/sda

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •