Page 39 of 69 FirstFirst ... 29373839404149 ... LastLast
Results 381 to 390 of 686

Thread: HOWTO: migrate wubi install to partition

  1. #381
    Join Date
    Mar 2010
    Location
    Woonsocket, RI USA
    Beans
    3,195

    Re: HOWTO: migrate wubi install to partition

    Quote Originally Posted by penguinslide View Post
    Code:
    root@ubuntu:~# sudo fdisk -l
    
    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: 0x76692ca8
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/sda1               1        2167    17405403+  1c  Hidden W95 FAT32 (LBA)
    /dev/sda2   *        2168       22525   163520512    7  HPFS/NTFS
    /dev/sda3           27050       53820   215038057+  83  Linux
    /dev/sda4           53821       60801    56074882+  82  Linux swap / Solaris
    Quote Originally Posted by bcbc
    It's a bit of a mess. Somehow you have an extended partition /dev/sda1 that encompasses /dev/sda2, yet /dev/sda1 contains an ext4 file system according to blkid, and /dev/sda2 should be numbered /dev/sda5 if it were a logical partition.
    I believe you've misinterpreted the fdisk output, bcbc. /dev/sda1 is not an extended partition; it's marked as a type-0x1c (hidden FAT32) partition in the partition table, although blkid has identified it as containing an ext4 filesystem. (More on that shortly.) I suspect you got confused by the fact that penguinslide did not use code formatting, which caused the fdisk columnar output to be lost, so you misinterpreted /dev/sda1 as starting at cylinder 2167 and /dev/sda2 as starting at cylinder 2168. This would be consistent with /dev/sda1 being an extended partition that contains /dev/sda2; but in fact the output indicates that /dev/sda1 ends at 2167. I've added the appropriate [code] and [/code] tags to the fdisk output quoted above, but sometimes that goes wonky in quoted text, so I can't guarantee it'll be any better. (Edit: It looks good now.)

    As to the type codes, Linux ignores them, so if the partition really does contain an ext4 filesystem, that shouldn't make much of a difference; however, it's possible that blkid is misidentifying the filesystem for one reason or another. Perhaps it's been damaged in some way. Perhaps penguinslide knows what the partition should be. Running fsck on the partition might fix any damage; or it might make it worse. If it contains any useful information, I advise doing a low-level backup of /dev/sda1, as in:

    Code:
    sudo dd if=/dev/sda1 of=/some/backup/file
    Change /some/backup/file to a (non-existent; dd will create it) file on a partition with enough free space to hold the whole partition image (about 16 GiB).

    You can then experiment with fsck and, if appropriate, change the type code for the partition using fdisk.

    Of course, if the partition doesn't hold any useful data, you could just wipe it clean and set the partition type code to whatever's appropriate.

    Beyond that, I can't comment, since I've never used WUBI, much less bcbc's script, so I don't know what the script does.
    If I've suggested a solution to a problem and you're not the original poster, do not try my solution! Problems can seem similar but be different, and a good solution to one problem can make another worse. Post a new thread with your problem details.

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

    Re: HOWTO: migrate wubi install to partition

    Oops - thanks for the correction srs5694. I misread that completely.

    PS I don't believe the script has been involved to this point.

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

    Re: HOWTO: migrate wubi install to partition

    penguinslide:

    I've just noticed your Edit to an earlier post that it all worked out! Great news! (Now I can stop worrying about /dev/sda1 )

  4. #384
    Join Date
    May 2011
    Beans
    38

    Re: HOWTO: migrate wubi install to partition

    Quote Originally Posted by bcbc View Post
    It's a bit of a mess. Somehow you have an extended partition /dev/sda1 that encompasses /dev/sda2, yet /dev/sda1 contains an ext4 file system according to blkid, and /dev/sda2 should be numbered /dev/sda5 if it were a logical partition.

    So I'm not sure what's going on there... but my advice is to take backups now if you haven't already.
    Yeah I have a clone tucked safely away in case it goes pear shape, so I'm not going to mess with it anymore, all of them, win7, wubi, ubuntu on sda3 and hibernation on sda4 on are working without any problem.

    Thanks bcbc for all your help!

  5. #385
    Join Date
    Jun 2011
    Beans
    1

    Re: HOWTO: migrate wubi install to partition

    usually don't post in forums unless I have something important to say but I wanted to thank everyone who was involved with preparing this script. Spent most of the day freeing up space on c:, & was kinda tired by the time I got around to this step & worried it'd be involved & painstaking, but it worked for me without a hitch (xp running on asus eee netbook, kubuntu 11.04 dual boot). Now for a celebratory beer

  6. #386
    Join Date
    Jun 2011
    Beans
    1

    Re: HOWTO: migrate wubi install to partition

    Just wanted to add my thanks to you for creating this script. This is now my favourite piece of code ever written. Seriously.

    Worked exactly as advertised, perfectly (Natty running within Windows 7 on an Asus K52J notebook, installed with Wubi 10.10).

    No problems with GRUB, no issues at all. I now have a perfect, Windows free install, and I am incredibly grateful.
    Last edited by NotyethappywithNatty; June 2nd, 2011 at 04:44 PM.

  7. #387
    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 bacaloubaca View Post
    usually don't post in forums unless I have something important to say but I wanted to thank everyone who was involved with preparing this script. Spent most of the day freeing up space on c:, & was kinda tired by the time I got around to this step & worried it'd be involved & painstaking, but it worked for me without a hitch (xp running on asus eee netbook, kubuntu 11.04 dual boot). Now for a celebratory beer
    I can't speak for Agostino Russo - who created the original wubi-move-to-partition script - but for the current incarnation, you're welcome

    Quote Originally Posted by NotyethappywithNatty View Post
    Just wanted to add my thanks to you for creating this script. This is now my favourite piece of code ever written. Seriously.

    Worked exactly as advertised, perfectly (Natty running within Windows 7 on an Asus K52J notebook, installed with Wubi 10.10).

    No problems with GRUB, no issues at all. I now have a perfect, Windows free install, and I am incredibly grateful.
    Great to hear!

  8. #388
    Join Date
    May 2011
    Beans
    111

    Re: HOWTO: migrate wubi install to partition

    I have installed win 7 & thro WUBI, ubuntu 11.04. Now I want to migrate ubuntu to a partition. Can I follow the instructions given in this thread? Do they apply to the combination of windows7 & ubuntu 11.04 as well?

  9. #389
    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 ssreddy555 View Post
    I have installed win 7 & thro WUBI, ubuntu 11.04. Now I want to migrate ubuntu to a partition. Can I follow the instructions given in this thread? Do they apply to the combination of windows7 & ubuntu 11.04 as well?
    Yes. This will migrates your Wubi install to the target partition you specify. (It runs from Ubuntu so it makes no difference which version of Windows you have).

    You need to create the partition(s) first - at least one for Ubuntu and an optional second partition for swap (if you want to be able to hibernate).

  10. #390
    Join Date
    Jun 2011
    Beans
    2

    Re: HOWTO: migrate wubi install to partition

    Hi, this is my first post on this forum

    I've migrated the Ubuntu installation from wubi and all works fine.
    Now, can I unnstall the ubuntu installation from windows ?

Page 39 of 69 FirstFirst ... 29373839404149 ... 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
  •