Page 13 of 69 FirstFirst ... 311121314152363 ... LastLast
Results 121 to 130 of 686

Thread: HOWTO: migrate wubi install to partition

  1. #121
    Join Date
    Dec 2010
    Location
    Rensselaer, NY, USA
    Beans
    1
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: HOWTO: migrate wubi install to partition

    Thanks for the script and the help you give to the community. The very clear comments in the script were very helpful in refreshing my ancient (ca. 1982 ) shell scripting knowledge.

    I made one change to the script before running it. I changed ext4 to ext3 as ext3 is purportedly more reliable and I don't really need huge files or faster file operations. I also had an additional virtual disk defined (in WUBI) and the script copied the contents over to the “native” file system with no problem!

    The first boot picked up the new Linux installation but not the Windows XP one. After doing a “grub-update” then a reboot, XP was found and everything works properly.

    The “native” install seems to be quite a bit faster than the WUBI installation. If anyone is hesitant to make the change they should do it. It's quit painless and the results are well worth it. Plus it's a lot easier to change the size of real partitions using a gparted live CD than it is to enlarge a version 10+ WUBI installation or add a new virtual drive.

    Unfortunately, I didn't have to look up 'Edsel' .

    Thanks again
    Dave

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

    Re: HOWTO: migrate wubi install to partition

    @dwachtel,

    You're welcome! Re. the filesystem, I haven't heard of any issues with ext4 - it has been used since 9.10 with Wubi installs. I know that the script that adds virtual disks uses ext3 (as does lvpm), but this is probably because they haven't been updated since the 8.04 release. I don't think it makes a lot of difference either way.
    I'm glad you found the script clear and were able to modify it as needed.

  3. #123
    Join Date
    Dec 2010
    Location
    Wellington NZ
    Beans
    43
    Distro
    Ubuntu

    Re: HOWTO: migrate wubi install to partition

    Quote Originally Posted by bcbc View Post
    This example assumes the new install will be on /dev/sda5 and that there will be a swap on /dev/sda6. If there is no swap, just ignore lines containing /dev/sda6. If there is a swap partition it must be of type 'swap'. Change the device names as appropriate.
    i have no partition called /dev/sda5

    here is a screen shot from gparted.
    Attached Images Attached Images

  4. #124
    Join Date
    Dec 2010
    Location
    Wellington NZ
    Beans
    43
    Distro
    Ubuntu

    Re: HOWTO: migrate wubi install to partition

    Quote Originally Posted by Angelbrand View Post
    i have no partition called /dev/sda5

    here is a screen shot from gparted.
    ignore above as i worked that issue out but the code isnt working on my sytem it keeps comming up operation denied.

  5. #125
    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 Angelbrand View Post
    ignore above as i worked that issue out but the code isnt working on my sytem it keeps comming up operation denied.
    what exactly are you doing and what is the full error message?

  6. #126
    Join Date
    Dec 2010
    Location
    Wellington NZ
    Beans
    43
    Distro
    Ubuntu

    Re: HOWTO: migrate wubi install to partition

    i think i must have restarted terminal or something after entering pass word and it was because i hadnt entered sudo -i before entering code from step two. sorry blonde moments today.
    il make sure im logged in next time. sorry!

  7. #127
    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 Angelbrand View Post
    i think i must have restarted terminal or something after entering pass word and it was because i hadnt entered sudo -i before entering code from step two. sorry blonde moments today.
    il make sure im logged in next time. sorry!
    That' ok Just be careful with those commands... if you're not sure I advise you to use the script. Good luck.

  8. #128
    Join Date
    Oct 2010
    Beans
    43

    Re: HOWTO: migrate wubi install to partition

    Great guide and handy script. Very helpful. Thank you very much.

    Now...that I've done it all and have rebooted, how do I know that I'm in the "parition" linux and didn't boot back into WUBI? What's an easy way to tell? The boot process looks the same as before.

    Thanks again!

  9. #129
    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 tweezak View Post
    Great guide and handy script. Very helpful. Thank you very much.

    Now...that I've done it all and have rebooted, how do I know that I'm in the "parition" linux and didn't boot back into WUBI? What's an easy way to tell? The boot process looks the same as before.

    Thanks again!
    You're very welcome

    The boot process should be different (unless you chose to not install grub). Instead of the Windows boot manager, you'll see the grub menu first.

    You can tell what you have booted in a number of ways... go to a terminal and see what root is mounted on:
    Code:
    mount
    #or 
    mount | grep ' / '
    It should say something like:
    /dev/sda5 on / type ext4 (rw,errors=remount-ro)
    You're still on Wubi if it says
    /dev/loop0 on / type ext4 (rw,errors=remount-ro,commit=0)
    You can also check the fstab:
    Code:
    cat /etc/fstab
    You're on Wubi if it says:
    /host/ubuntu/disks/root.disk / ext4 loop,errors=remount-ro 0 1
    If you skipped the grub install, you have to boot your new install by choosing Ubuntu from the Windows boot manager, and then looking near the bottom of the grub menu where it should say something like "Ubuntu xxxxx (on /dev/sda5)"
    If this is the case, don't uninstall Wubi without first installing the grub bootloader from your migrated install.

  10. #130
    Join Date
    Oct 2010
    Beans
    43

    Re: HOWTO: migrate wubi install to partition

    Quote Originally Posted by bcbc View Post
    You're very welcome

    The boot process should be different (unless you chose to not install grub). Instead of the Windows boot manager, you'll see the grub menu first.

    You can tell what you have booted in a number of ways... go to a terminal and see what root is mounted on:
    Code:
    mount
    #or 
    mount | grep ' / '
    It should say something like:
    That told me what I needed to know. I'm now on /dev/sda2

    You da man!

    umm...or da woman. In either case, thanks!!

Page 13 of 69 FirstFirst ... 311121314152363 ... 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
  •