Page 29 of 69 FirstFirst ... 19272829303139 ... LastLast
Results 281 to 290 of 686

Thread: HOWTO: migrate wubi install to partition

  1. #281
    Join Date
    Nov 2009
    Location
    North Vancouver
    Beans
    Hidden!
    Distro
    Edubuntu 14.04 Trusty Tahr

    Re: HOWTO: migrate wubi install to partition

    Quote Originally Posted by Zanderist View Post
    So I've gotten the script working, and I made that extended partition like you said.

    I'm trying the root.disk from a liveCD option and now am being told that the target to the disk is not found.

    I think I'll try instead booting into my wubi-ubuntu and doing the second option you had for the automated script

    I'm now getting this, after giving up on the second option and opting for the first.
    Code:
    @ubuntu:~$ sudo bash wubi-move-2.0.sh /dev/sda4 
    
    wubi-move-2.0.sh: Partition /dev/sda4 could not be mounted for validation.
    wubi-move-2.0.sh: This is normal if the partition is unformatted or the file
    wubi-move-2.0.sh: system is corrupted. It could also mean you have entered
    wubi-move-2.0.sh: the wrong partition. The partition will have to be formatted
    wubi-move-2.0.sh: in order to complete validation.
    wubi-move-2.0.sh: PLEASE MAKE SURE YOU HAVE SELECTED THE CORRECT PARTITION.
    wubi-move-2.0.sh: Please close all open files before continuing.
    wubi-move-2.0.sh: About to format the target partition (/dev/sda4).
    wubi-move-2.0.sh: Proceed with format (Y/N)
    Y
    wubi-move-2.0.sh: Formatting /dev/sda4 with ext4 file system
    wubi-move-2.0.sh: Formatting /dev/sda4 failed or was canceled
    wubi-move-2.0.sh: Migration request canceled
    Are you sure that /dev/sda4 isn't your extended partition? That's the reason I added that warning in there (and that's one of the known reasons that the format will fail).

    Please output the results of:
    sudo fdisk -l (lower case -L)
    sudo blkid

    Also indicate which partition you are migrating to.
    Thanks
    Last edited by bcbc; March 30th, 2011 at 01:23 AM.

  2. #282
    Join Date
    Aug 2010
    Beans
    108
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: HOWTO: migrate wubi install to partition

    Quote Originally Posted by bcbc View Post
    Yes, create an extended partition with two logical partitions within it. Make the one for root ext4 (type '83 - linux') and the other '82 - swap'. The swap should be > size of RAM in order to support hibernation. Personally I'd go RAM + 1GB, but the overflow amount differs between releases and memory usage (and there's no clear guide I've found).
    I think this also applies to me.

  3. #283
    Join Date
    Aug 2010
    Beans
    108
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: HOWTO: migrate wubi install to partition

    Quote Originally Posted by bcbc View Post
    Are you sure that /dev/sda4 isn't your extended partition? That's the reason I added that warning in there (and that's one of the known reasons that the format will fail).

    Please output the results of:
    sudo fdisk -l (lower case -L)
    sudo blkid

    Also indicate which partition you are migrating to.
    Thanks
    Code:
    Disk /dev/sda: 500.1 GB, 500107862016 bytes
    255 heads, 63 sectors/track, 60801 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x85f81c3c
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/sda1   *           1          26      203776    7  HPFS/NTFS
    Partition 1 does not end on cylinder boundary.
    /dev/sda2              26       31696   254389912    7  HPFS/NTFS
    /dev/sda3           58050       60802    22102016    7  HPFS/NTFS
    /dev/sda4           31696       58050   211687424    5  Extended
    /dev/sda5           31696       32239     4358144   82  Linux swap / Solaris
    /dev/sda6           32239       58050   207327232   83  Linux
    
    Partition table entries are not in disk order
    Code:
    /dev/loop0: UUID="e93b84b6-e974-485d-93f0-a3fd1c5447eb" TYPE="ext4" 
    /dev/sda1: LABEL="SYSTEM" UUID="18C23628C2360B10" TYPE="ntfs" 
    /dev/sda2: UUID="A0DA36C3DA36960E" TYPE="ntfs" 
    /dev/sda3: LABEL="RECOVERY" UUID="6C5A52095A51D106" TYPE="ntfs" 
    /dev/sda5: LABEL="swap" UUID="b5d34696-9ebd-47ca-8341-fae710d20e45" TYPE="swap" 
    /dev/sda6: UUID="80bdc25b-5e20-49e1-a223-654217a89ab9" TYPE="ext4"
    Is that loop0 in that last one wubi?
    Attached Images Attached Images

  4. #284
    Join Date
    Nov 2009
    Location
    North Vancouver
    Beans
    Hidden!
    Distro
    Edubuntu 14.04 Trusty Tahr

    Re: HOWTO: migrate wubi install to partition

    Quote Originally Posted by Zanderist View Post
    Code:
    Disk /dev/sda: 500.1 GB, 500107862016 bytes
    255 heads, 63 sectors/track, 60801 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x85f81c3c
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/sda1   *           1          26      203776    7  HPFS/NTFS
    Partition 1 does not end on cylinder boundary.
    /dev/sda2              26       31696   254389912    7  HPFS/NTFS
    /dev/sda3           58050       60802    22102016    7  HPFS/NTFS
    /dev/sda4           31696       58050   211687424    5  Extended
    /dev/sda5           31696       32239     4358144   82  Linux swap / Solaris
    /dev/sda6           32239       58050   207327232   83  Linux
    
    Partition table entries are not in disk order
    Code:
    /dev/loop0: UUID="e93b84b6-e974-485d-93f0-a3fd1c5447eb" TYPE="ext4" 
    /dev/sda1: LABEL="SYSTEM" UUID="18C23628C2360B10" TYPE="ntfs" 
    /dev/sda2: UUID="A0DA36C3DA36960E" TYPE="ntfs" 
    /dev/sda3: LABEL="RECOVERY" UUID="6C5A52095A51D106" TYPE="ntfs" 
    /dev/sda5: LABEL="swap" UUID="b5d34696-9ebd-47ca-8341-fae710d20e45" TYPE="swap" 
    /dev/sda6: UUID="80bdc25b-5e20-49e1-a223-654217a89ab9" TYPE="ext4"
    Is that loop0 in that last one wubi?
    Yes /dev/loop0 is wubi.

    Ok so since your target is /dev/sda6 and swap is /dev/sda5 you'd use:
    Code:
    sudo bash wubi-move-2.0.sh /dev/sda6 /dev/sda5
    I assume your BIOS is ok reading beyond 137GB as it will need to do this to load the grub boot files.

  5. #285
    Join Date
    Aug 2010
    Beans
    108
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: HOWTO: migrate wubi install to partition

    Well it worked but windows 7 no longer boots, and it looks like a familiar foe.

    0xc000000f <--something like this, boot loader.


    I've also figure out that the vista loader on my laptop is actually the recovery partition's loader.

    What should I do to correct this?

    I'm already thinking about doing what I had to do before for this, first link in signature.

  6. #286
    Join Date
    Nov 2009
    Location
    North Vancouver
    Beans
    Hidden!
    Distro
    Edubuntu 14.04 Trusty Tahr

    Re: HOWTO: migrate wubi install to partition

    Quote Originally Posted by Zanderist View Post
    Well it worked but windows 7 no longer boots, and it looks like a familiar foe.

    0xc000000f <--something like this, boot loader.


    I've also figure out that the vista loader on my laptop is actually the recovery partition's loader.

    What should I do to correct this?

    I'm already thinking about doing what I had to do before for this, first link in signature.
    Grub doesn't differentiate well between vista/7 recovery and main partitions. You need to look at which one partition has the boot flag set and use that one. Then you can customize the name if you like using this guide http://ubuntuforums.org/showthread.php?t=1287602

  7. #287
    Join Date
    Aug 2010
    Beans
    108
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: HOWTO: migrate wubi install to partition

    Quote Originally Posted by bcbc View Post
    Grub doesn't differentiate well between vista/7 recovery and main partitions. You need to look at which one partition has the boot flag set and use that one. Then you can customize the name if you like using this guide http://ubuntuforums.org/showthread.php?t=1287602
    EDIT:
    OUTSTANDING!

    I downloaded the app, the 'grub2' customizer, and saw that there was two windows 7 loaders, only on different partitions. I believe that was what was screwing it up, I'm now posting this within windows 7.

    I am now preparing a no man's land for media (music/pictures).
    Last edited by Zanderist; March 30th, 2011 at 03:24 AM.

  8. #288
    Join Date
    Nov 2009
    Location
    North Vancouver
    Beans
    Hidden!
    Distro
    Edubuntu 14.04 Trusty Tahr

    Re: HOWTO: migrate wubi install to partition

    Quote Originally Posted by Zanderist View Post
    EDIT:
    OUTSTANDING!

    I downloaded the app, the 'grub2' customizer, and saw that there was two windows 7 loaders, only on different partitions. I believe that was what was screwing it up, I'm now posting this within windows 7.

    I am now preparing a no man's land for media (music/pictures).
    Great. Glad you got it sorted out.

  9. #289
    Join Date
    Aug 2010
    Beans
    108
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: HOWTO: migrate wubi install to partition

    Quote Originally Posted by bcbc View Post
    Great. Glad you got it sorted out.
    Yeah thanks, I now have the issue of only being allowed 4 primary partitions. That's for another thread though.

  10. #290
    Join Date
    Nov 2009
    Location
    North Vancouver
    Beans
    Hidden!
    Distro
    Edubuntu 14.04 Trusty Tahr

    Re: HOWTO: migrate wubi install to partition

    Quote Originally Posted by Zanderist View Post
    Yeah thanks, I now have the issue of only being allowed 4 primary partitions. That's for another thread though.
    Just split /dev/sda6 using Gparted (you'd have to boot the wubi install or a live CD to do it - as you can't do it while it's mounted). But there is plenty of space there. You can't add another primary partition, but you can add as many more logical partitions as you need.

Page 29 of 69 FirstFirst ... 19272829303139 ... LastLast

Tags for this Thread

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
  •