Page 34 of 69 FirstFirst ... 24323334353644 ... LastLast
Results 331 to 340 of 686

Thread: HOWTO: migrate wubi install to partition

  1. #331
    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 Factorial View Post
    Thanks for the assistance! Everything is working now!
    Great to hear! And thanks for the feedback - I'll update the known issues list and deal with it in the next version of the script.

  2. #332
    Join Date
    May 2011
    Beans
    3

    Re: HOWTO: migrate wubi install to partition

    Hi, Im another new to ubuntu person trying to get rid of the wubi install. I tried the migration yesterday but ran into an error. I ran the script and said yes to both questions. It ran for about two hours then the broken pipe message popped up. What could cause this? Any help would be greatly appreciated.

    PHP Code:
    wubi-move-2.0.shCopying files please be patient this takes some time  
     rsync
    writefd_unbuffered failed to write 4 bytes to socket [sender]: Broken pipe (32)  
     
    rsyncwrite failed on "/tmp/wubitarget/vista/ubuntu/disks/root.disk"No space left on device (28)  
     
    rsync errorerror in file IO (code 11at receiver.c(302) [receiver=3.0.7]  
     
    rsyncconnection unexpectedly closed (8343408 bytes received so far) [sender]  
     
    rsync errorerror in rsync protocol data stream (code 12at io.c(601) [sender=3.0.7]  
     

     
    wubi-move-2.0.shCopying files failed user canceled?  
     
    wubi-move-2.0.shUnmounting target...  
     
    wubi-move-2.0.shMigration request canceled 

  3. #333
    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 dogger View Post
    Hi, Im another new to ubuntu person trying to get rid of the wubi install. I tried the migration yesterday but ran into an error. I ran the script and said yes to both questions. It ran for about two hours then the broken pipe message popped up. What could cause this? Any help would be greatly appreciated.

    PHP Code:
    wubi-move-2.0.shCopying files please be patient this takes some time  
     rsync
    writefd_unbuffered failed to write 4 bytes to socket [sender]: Broken pipe (32)  
     
    rsyncwrite failed on "/tmp/wubitarget/vista/ubuntu/disks/root.disk"No space left on device (28)  
     
    rsync errorerror in file IO (code 11at receiver.c(302) [receiver=3.0.7]  
     
    rsyncconnection unexpectedly closed (8343408 bytes received so far) [sender]  
     
    rsync errorerror in rsync protocol data stream (code 12at io.c(601) [sender=3.0.7]  
     

     
    wubi-move-2.0.shCopying files failed user canceled?  
     
    wubi-move-2.0.shUnmounting target...  
     
    wubi-move-2.0.shMigration request canceled 
    It looks like you have your host ntfs partition mounted or linked under /vista - so that Wubi is trying to copy the whole partition and running out of space.

    I thought the rsync command was set to constrain itself to one filesystem - so I'll look into that as a bug. But this is obviously not happening, and since you have a custom mountpoint (/vista) the standard exclusions on /host and /media are being bypassed.

    My recommendation for the meantime is to unmount /vista and try again.
    Code:
    sudo umount /vista
    PS you'll have to use gparted to clear out that target partition again (as the script won't allow you to migrate to one that isn't empty).

  4. #334
    Join Date
    May 2011
    Beans
    3

    Re: HOWTO: migrate wubi install to partition

    Thanks for the quick response. I un mounted vista after reformatting the partitions then tried again and got this error:
    PHP Code:
    wubi-move-2.0.shCopying files please be patient this takes some time
    wubi
    -move-2.0.shCreating swap...

    wubi-move-2.0.shStarting chroot to the target install.
    wubi-move-2.0.shRemoving lupin-support on target...
    wubi-move-2.0.shAn error occurred within chroot
    wubi
    -move-2.0.shError is: /bin/df: `/home/chris/.gvfs': No such file or directory
    /bin/df: 
    `/tmp/wubitarget': No such file or directory
    /bin/df: `/home/chris/.gvfs'
    No such file or directory
    /bin/df: `/tmp/wubitarget': No such file or directory
    /bin/df: 
    `/home/chris/.gvfs': No such file or directory
    /bin/df: `/tmp/wubitarget'
    No such file or directory
    No apport report written because MaxReports is reached already
    No apport report written because MaxReports is reached already
    No apport report written because MaxReports is reached already
    No apport report written because MaxReports is reached already
    No apport report written because MaxReports is reached already
    No apport report written because MaxReports is reached already
    No apport report written because MaxReports is reached already
    No apport report written because MaxReports is reached already
    No apport report written because MaxReports is reached already
    No apport report written because MaxReports is reached already
    No apport report written because MaxReports is reached already
    No apport report written because MaxReports is reached already
    E
    Sub-process /usr/bin/dpkg returned an error code (1)
    wubi-move-2.0.shAttempting to exit chroot normally...
    wubi-move-2.0.shExiting from chroot on target install...
    wubi-move-2.0.shCancelling migration... 
    Any suggestions on how to fix this would be great.

  5. #335
    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 dogger View Post
    Thanks for the quick response. I un mounted vista after reformatting the partitions then tried again and got this error:
    Any suggestions on how to fix this would be great.
    Can you give me the output of:
    Code:
    cat /proc/mounts
    cat /etc/mtab
    cat /etc/fstab
    Also I'd recommend rebooting - even though the script has a chroot recovery process - to be safe it'd be better to reboot. But give me the output before you reboot.

  6. #336
    Join Date
    May 2011
    Beans
    3

    Re: HOWTO: migrate wubi install to partition

    PHP Code:
    chris@ubuntu:~$ cat /proc/mounts

    rootfs 
    rootfs rw 0 0
    none 
    /sys sysfs rw,nosuid,nodev,noexec,relatime 0 0
    none 
    /proc proc rw,nosuid,nodev,noexec,relatime 0 0
    none 
    /dev devtmpfs rw,relatime,size=1023864k,nr_inodes=255966,mode=755 0 0
    none 
    /dev/pts devpts rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000 0 0
    /dev/sda1 /host fuseblk rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other,blksize=4096 0 0
    /dev/loop0 ext4 rw,relatime,errors=remount-ro,barrier=1,data=ordered 0 0
    none 
    /sys/fs/fuse/connections fusectl rw,relatime 0 0
    none 
    /sys/kernel/debug debugfs rw,relatime 0 0
    none 
    /sys/kernel/security securityfs rw,relatime 0 0
    none 
    /dev/shm tmpfs rw,nosuid,nodev,relatime 0 0
    none 
    /var/run tmpfs rw,nosuid,relatime,mode=755 0 0
    none 
    /var/lock tmpfs rw,nosuid,nodev,noexec,relatime 0 0
    none 
    /lib/init/rw tmpfs rw,nosuid,relatime,mode=755 0 0
    /dev/sda2 /media/HP_RECOVERY fuseblk rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other,blksize=4096 0 0
    binfmt_misc 
    /proc/sys/fs/binfmt_misc binfmt_misc rw,nosuid,nodev,noexec,relatime 0 0
    gvfs
    -fuse-daemon /home/chris/.gvfs fuse.gvfs-fuse-daemon rw,nosuid,nodev,relatime,user_id=1000,group_id=1000 0 0


    chris
    @ubuntu:~$ cat /etc/mtab

    /dev/loop0 ext4 rw,errors=remount-ro 0 0
    proc 
    /proc proc rw,noexec,nosuid,nodev 0 0
    none 
    /sys sysfs rw,noexec,nosuid,nodev 0 0
    none 
    /sys/fs/fuse/connections fusectl rw 0 0
    none 
    /sys/kernel/debug debugfs rw 0 0
    none 
    /sys/kernel/security securityfs rw 0 0
    none 
    /dev devtmpfs rw,mode=0755 0 0
    none 
    /dev/pts devpts rw,noexec,nosuid,gid=5,mode=0620 0 0
    none 
    /dev/shm tmpfs rw,nosuid,nodev 0 0
    none 
    /var/run tmpfs rw,nosuid,mode=0755 0 0
    none 
    /var/lock tmpfs rw,noexec,nosuid,nodev 0 0
    none 
    /lib/init/rw tmpfs rw,nosuid,mode=0755 0 0
    /dev/sda1 /host fuseblk rw,nosuid,nodev,locale=en_US.utf8 0 0
    /dev/sda2 /media/HP_RECOVERY fuseblk rw,nosuid,nodev,allow_other,blksize=4096 0 0
    binfmt_misc 
    /proc/sys/fs/binfmt_misc binfmt_misc rw,noexec,nosuid,nodev 0 0
    gvfs
    -fuse-daemon /home/chris/.gvfs fuse.gvfs-fuse-daemon rw,nosuid,nodev,user=chris 0 0


    chris
    @ubuntu:~$ cat /etc/fstab

    # /etc/fstab: static file system information.
    #
    # <file system> <mount point>   <type>  <options>       <dump>  <pass>

    proc    /proc    proc    nodev,noexec,nosuid    0    0
    /dev/sda1    /host    ntfs-3g    defaults,nosuid,nodev,locale=en_US.utf8    0    0
    /dev/sda2    /media/HP_RECOVERY    ntfs-3g    defaults,locale=en_US.utf8    00
    /dev/sda1    /vista    ntfs-3g    defaults,nosuid,nodev,locale=en_US.utf8    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 
    Thanks for your patience, I seem to be in way over my head

  7. #337
    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 dogger View Post
    PHP Code:
    # /etc/fstab: static file system information.
    #
    # <file system> <mount point>   <type>  <options>       <dump>  <pass>

    proc    /proc    proc    nodev,noexec,nosuid    0    0
    /dev/sda1    /host    ntfs-3g    defaults,nosuid,nodev,locale=en_US.utf8    0    0
    /dev/sda2    /media/HP_RECOVERY    ntfs-3g    defaults,locale=en_US.utf8    00
    /dev/sda1    /vista    ntfs-3g    defaults,nosuid,nodev,locale=en_US.utf8    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 
    Thanks for your patience, I seem to be in way over my head
    That's not a problem. Unfortunately I am at work - so don't have the ability to do a detailed analysis, but I'd like to get some diagnostics so I can debug this later.

    But what I do notice is that, apart from mounting your host as /vista, you also have a separate line in /etc/fstab to mount /host. This is already performed on your behalf so there's no need to include it.

    What I'd try is... edit /etc/fstab and add a # to the start of those lines. Reboot and try again. If that still fails then I'm afraid you'll have to wait until I can spend some time looking at this.

    So /etc/fstab will look like this:
    PHP Code:
    # /etc/fstab: static file system information.
    #
    # <file system> <mount point>   <type>  <options>       <dump>  <pass>

    proc    /proc    proc    nodev,noexec,nosuid    0    0
    #/dev/sda1    /host    ntfs-3g    defaults,nosuid,nodev,locale=en_US.utf8    0    0
    /dev/sda2    /media/HP_RECOVERY    ntfs-3g    defaults,locale=en_US.utf8    00
    #/dev/sda1    /vista    ntfs-3g    defaults,nosuid,nodev,locale=en_US.utf8    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 
    (I might just comment out the HP recovery as well - I'm not sure why you need to automount this)

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

    Re: HOWTO: migrate wubi install to partition

    dogger,
    how did you mount your /host (/dev/sda1) as /vista? I've tried to duplicate this using ntfs-config but it refuses to mount. (Also what release are you running?) I suspect whatever you had to do, has something to do with the problem... but it's hard to confirm if I can't reproduce the error.

  9. #339
    Join Date
    Feb 2011
    Beans
    11

    Re: HOWTO: migrate wubi install to partition

    Hi, i've quite succesfully moved my wubi to a my second harddisk on my laptop (/dev/sdb1) but my grub doesn't find the disk.
    It only finds hd0/msdos'
    When i try to boot one of the migrated ubuntu's it sais doesn't find disk and first load kernel...
    Please help

  10. #340
    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 aropop View Post
    Hi, i've quite succesfully moved my wubi to a my second harddisk on my laptop (/dev/sdb1) but my grub doesn't find the disk.
    It only finds hd0/msdos'
    When i try to boot one of the migrated ubuntu's it sais doesn't find disk and first load kernel...
    Please help
    So, I'm going to assume that you ran the script, migrated to your second drive, and installed the bootloader (which means it's on /dev/sdb).
    If you are still booting from /dev/sda then you won't see any difference. But if you select Ubuntu (wubi) then you should see the migrated install at the bottom of the grub menu.
    In order to boot the new install directly you need to either select /dev/sdb as the first boot device, or install grub to /dev/sda from within the migrated install.

    If I've not correctly interpreted the problem or you need help installing the grub bootloader, please explain in more details what you have done and what symptoms you have, and include the bootinfoscript results as well.

    Thanks

Page 34 of 69 FirstFirst ... 24323334353644 ... 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
  •