Page 9 of 69 FirstFirst ... 78910111959 ... LastLast
Results 81 to 90 of 686

Thread: HOWTO: migrate wubi install to partition

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

    Re: HOWTO: migrate wubi install to partition

    Quote Originally Posted by zooster View Post
    Sorry, I posted there forgetting this thread, so I posted here...
    Well I did what you said, and actually I could boot into old root.disk, I also did a grub update, but rebooting again in ubuntu it is still unbootable. And if I edit the grub hitting E key I see still there hd0,3 and sda3... it's like it didn't store the changes...
    I've replied there.

  2. #82
    Join Date
    Aug 2010
    Beans
    28
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: HOWTO: migrate wubi install to partition

    me too

  3. #83
    Join Date
    Sep 2010
    Beans
    3

    Re: HOWTO: migrate wubi install to partition

    bcbc - ran the automated migration script, which gave a green light on everything, but am having an issue getting back in to my linux installs via the wubi grub loader.

    - Have wubi 10.04 installed on Windows 7 (upgraded from XP, which is actually installed on a different hard drive than 7 is)
    - Used free space on the XP drive to create sda2 and sda3 (ext4 and swap, respectively) for the migrated install. I'm not sure why the wubi install sees that drive as sda instead of the drive which is actually used for /host under wubi (sdb where windows 7 is), but not sure if that is an actual issue.
    - checked grub version under wubi (1.98 ), so good there.
    - ran script with --no-bootloader option. All green, no errors, the grub update at the end added the new linux to the wubi grub list.
    - rebooted to check the new install. Went from windows bootloader to Ubuntu, and then got the following:

    Code:
    Try (hd0,0): NTFS5: No wubildr
    Try (hd0,1): EXT2:
    With a blinking cursor at the end of that, and stuck. I'm thinking it is a problem with the wubi grub loader, but ??? Any help is appreciated.

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

    Re: HOWTO: migrate wubi install to partition

    @Trynthlas,
    I would guess that when you installed Win7 it used the XP install as the boot partition for winxp/win7 (that's what Windows tends to do by default: it adds the newer version's boot files to the old version's partition). And so the choice to boot Ubuntu may actually be originating on /dev/sda1.

    Perhaps copying wubildr from /dev/sdb1 (or the partition where wubi is actually installed) to the XP partition will fix this. I'm not sure why it would give up looking for wubildr just because it encountered an ext4 partition, but that part of wubi is largely undocumented so it's hard to be definitive.

    If copying wubildr doesn't work, post the results of the bootinfoscript and this should give a clearer picture of what's going on.

  5. #85
    Join Date
    Sep 2010
    Beans
    3

    Re: HOWTO: migrate wubi install to partition

    Alright, well after making a new Live CD to run the bootinfoscript I've got it here. The output is rather large!

    First, I did copy the contents of C: (win 7 install)/ubuntu/winboot (which has wubildr, wubildr.cfg, and wubildr.mbr) to (win XP install)/ubuntu/winboot

    Attempting to enter the Ubuntu option from the windows boot loader after that produced the same as my last post.

    Here's the script output:
    Code:
     Boot Info Script 0.55    dated February 15th, 2010                    
    
    ============================= Boot Info Summary: ==============================
    
     => Windows is installed in the MBR of /dev/sda
     => Windows is installed in the MBR of /dev/sdb
    
    sda1: _________________________________________________________________________
    
        File system:       ntfs
        Boot sector type:  Windows Vista/7
        Boot sector info:  No errors found in the Boot Parameter Block.
        Operating System:  Windows XP
        Boot files/dirs:   /boot.ini /bootmgr /Boot/BCD /ntldr /NTDETECT.COM 
                           /ubuntu/winboot/wubildr.mbr /ubuntu/winboot/wubildr
    
    sda2: _________________________________________________________________________
    
        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
    
    sda3: _________________________________________________________________________
    
        File system:       swap
        Boot sector type:  -
        Boot sector info:  
    
    sdb1: _________________________________________________________________________
    
        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 /wubildr.mbr 
                           /ubuntu/winboot/wubildr.mbr /wubildr 
                           /ubuntu/winboot/wubildr /ubuntu/disks/root.disk 
                           /ubuntu/disks/swap.disk
    
    sdb1/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
    
    =========================== Drive/Partition Info: =============================
    
    Drive: sda ___________________ _____________________________________________________
    
    Disk /dev/sda: 320.1 GB, 320072933376 bytes
    255 heads, 63 sectors/track, 38913 cylinders, total 625142448 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    *             63   134,317,439   134,317,377   7 HPFS/NTFS
    /dev/sda2         134,318,080   606,710,789   472,392,710   7 HPFS/NTFS
    /dev/sda3         606,710,790   625,137,344    18,426,555  82 Linux swap / Solaris
    
    
    Drive: sdb ___________________ _____________________________________________________
    
    Disk /dev/sdb: 300.1 GB, 300069052416 bytes
    255 heads, 63 sectors/track, 36481 cylinders, total 586072368 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    
    Partition  Boot         Start           End          Size  Id System
    
    /dev/sdb1               2,048   586,070,015   586,067,968   7 HPFS/NTFS
    
    
    blkid -c /dev/null: ____________________________________________________________
    
    Device           UUID                                   TYPE       LABEL                         
    
    /dev/loop0                                              squashfs                                 
    /dev/loop1       3bb085ab-8449-4fc2-a795-2e095e6c9b64   ext4                                     
    /dev/sda1        6454A72954A6FD44                       ntfs       WinXP                         
    /dev/sda2        11449c5b-701a-4ef2-bee0-9b657e523262   ext4                                     
    /dev/sda3        a322bf0b-a998-4ac0-8629-979a02009b84   swap                                     
    /dev/sda: PTTYPE="dos" 
    /dev/sdb1        D848DAB248DA8E9E                       ntfs                                     
    /dev/sdb: 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: ================================
    
    ;
    ;Warning: Boot.ini is used on Windows XP and earlier operating systems.
    ;Warning: Use BCDEDIT.exe to modify Windows Vista boot options.
    ;
    [boot loader]
    timeout=30
    default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
    [operating systems]
    multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /FASTDETECT /NOEXECUTE=OPTIN
    
    =========================== 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-pae' --class ubuntu --class gnu-linux --class gnu --class os {
    	recordfail
    	insmod ext2
    	set root='(hd0,2)'
    	search --no-floppy --fs-uuid --set 11449c5b-701a-4ef2-bee0-9b657e523262
    	linux	/boot/vmlinuz-2.6.32-24-generic-pae root=UUID=11449c5b-701a-4ef2-bee0-9b657e523262 ro   quiet splash
    	initrd	/boot/initrd.img-2.6.32-24-generic-pae
    }
    menuentry 'Ubuntu, with Linux 2.6.32-24-generic-pae (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
    	recordfail
    	insmod ext2
    	set root='(hd0,2)'
    	search --no-floppy --fs-uuid --set 11449c5b-701a-4ef2-bee0-9b657e523262
    	echo	'Loading Linux 2.6.32-24-generic-pae ...'
    	linux	/boot/vmlinuz-2.6.32-24-generic-pae root=UUID=11449c5b-701a-4ef2-bee0-9b657e523262 ro single 
    	echo	'Loading initial ramdisk ...'
    	initrd	/boot/initrd.img-2.6.32-24-generic-pae
    }
    menuentry 'Ubuntu, with Linux 2.6.32-23-generic-pae' --class ubuntu --class gnu-linux --class gnu --class os {
    	recordfail
    	insmod ext2
    	set root='(hd0,2)'
    	search --no-floppy --fs-uuid --set 11449c5b-701a-4ef2-bee0-9b657e523262
    	linux	/boot/vmlinuz-2.6.32-23-generic-pae root=UUID=11449c5b-701a-4ef2-bee0-9b657e523262 ro   quiet splash
    	initrd	/boot/initrd.img-2.6.32-23-generic-pae
    }
    menuentry 'Ubuntu, with Linux 2.6.32-23-generic-pae (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
    	recordfail
    	insmod ext2
    	set root='(hd0,2)'
    	search --no-floppy --fs-uuid --set 11449c5b-701a-4ef2-bee0-9b657e523262
    	echo	'Loading Linux 2.6.32-23-generic-pae ...'
    	linux	/boot/vmlinuz-2.6.32-23-generic-pae root=UUID=11449c5b-701a-4ef2-bee0-9b657e523262 ro single 
    	echo	'Loading initial ramdisk ...'
    	initrd	/boot/initrd.img-2.6.32-23-generic-pae
    }
    menuentry 'Ubuntu, with Linux 2.6.32-22-generic-pae' --class ubuntu --class gnu-linux --class gnu --class os {
    	recordfail
    	insmod ext2
    	set root='(hd0,2)'
    	search --no-floppy --fs-uuid --set 11449c5b-701a-4ef2-bee0-9b657e523262
    	linux	/boot/vmlinuz-2.6.32-22-generic-pae root=UUID=11449c5b-701a-4ef2-bee0-9b657e523262 ro   quiet splash
    	initrd	/boot/initrd.img-2.6.32-22-generic-pae
    }
    menuentry 'Ubuntu, with Linux 2.6.32-22-generic-pae (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
    	recordfail
    	insmod ext2
    	set root='(hd0,2)'
    	search --no-floppy --fs-uuid --set 11449c5b-701a-4ef2-bee0-9b657e523262
    	echo	'Loading Linux 2.6.32-22-generic-pae ...'
    	linux	/boot/vmlinuz-2.6.32-22-generic-pae root=UUID=11449c5b-701a-4ef2-bee0-9b657e523262 ro single 
    	echo	'Loading initial ramdisk ...'
    	initrd	/boot/initrd.img-2.6.32-22-generic-pae
    }
    ### END /etc/grub.d/10_linux ###
    
    ### BEGIN /etc/grub.d/20_memtest86+ ###
    menuentry "Memory test (memtest86+)" {
    	insmod ext2
    	set root='(hd0,2)'
    	search --no-floppy --fs-uuid --set 11449c5b-701a-4ef2-bee0-9b657e523262
    	linux16	/boot/memtest86+.bin
    }
    menuentry "Memory test (memtest86+, serial console 115200)" {
    	insmod ext2
    	set root='(hd0,2)'
    	search --no-floppy --fs-uuid --set 11449c5b-701a-4ef2-bee0-9b657e523262
    	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
    
    
    # root was on /dev/sda2 when wubi migrated
    UUID=11449c5b-701a-4ef2-bee0-9b657e523262    /    ext4    errors=remount-ro    0    1
    # swap was on /dev/sda3 when wubi migrated
    UUID=a322bf0b-a998-4ac0-8629-979a02009b84    none    swap    sw    0    0
    
    =================== sda2: Location of files loaded by Grub: ===================
    
    
     159.2GB: boot/grub/grub.cfg
     193.4GB: boot/initrd.img-2.6.32-22-generic-pae
     193.4GB: boot/initrd.img-2.6.32-23-generic-pae
     193.5GB: boot/initrd.img-2.6.32-24-generic-pae
     193.5GB: boot/vmlinuz-2.6.32-22-generic-pae
     193.5GB: boot/vmlinuz-2.6.32-23-generic-pae
     193.5GB: boot/vmlinuz-2.6.32-24-generic-pae
     193.5GB: initrd.img
     193.4GB: initrd.img.old
     193.5GB: vmlinuz
     193.5GB: vmlinuz.old
    
    ======================== sdb1/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/10_lupin ###
    menuentry "Ubuntu, Linux 2.6.32-24-generic-pae" {
    	insmod ntfs
    	set root='(hd1,1)'
    	search --no-floppy --fs-uuid --set d848dab248da8e9e
    	loopback loop0 /ubuntu/disks/root.disk
    	set root=(loop0)
    	linux /boot/vmlinuz-2.6.32-24-generic-pae root=/dev/sdb1 loop=/ubuntu/disks/root.disk ro   quiet splash
    	initrd /boot/initrd.img-2.6.32-24-generic-pae
    }
    menuentry "Ubuntu, Linux 2.6.32-24-generic-pae (recovery mode)" {
    	insmod ntfs
    	set root='(hd1,1)'
    	search --no-floppy --fs-uuid --set d848dab248da8e9e
    	loopback loop0 /ubuntu/disks/root.disk
    	set root=(loop0)
    	linux /boot/vmlinuz-2.6.32-24-generic-pae root=/dev/sdb1 loop=/ubuntu/disks/root.disk ro single 
    	initrd /boot/initrd.img-2.6.32-24-generic-pae
    }
    menuentry "Ubuntu, Linux 2.6.32-23-generic-pae" {
    	insmod ntfs
    	set root='(hd1,1)'
    	search --no-floppy --fs-uuid --set d848dab248da8e9e
    	loopback loop0 /ubuntu/disks/root.disk
    	set root=(loop0)
    	linux /boot/vmlinuz-2.6.32-23-generic-pae root=/dev/sdb1 loop=/ubuntu/disks/root.disk ro   quiet splash
    	initrd /boot/initrd.img-2.6.32-23-generic-pae
    }
    menuentry "Ubuntu, Linux 2.6.32-23-generic-pae (recovery mode)" {
    	insmod ntfs
    	set root='(hd1,1)'
    	search --no-floppy --fs-uuid --set d848dab248da8e9e
    	loopback loop0 /ubuntu/disks/root.disk
    	set root=(loop0)
    	linux /boot/vmlinuz-2.6.32-23-generic-pae root=/dev/sdb1 loop=/ubuntu/disks/root.disk ro single 
    	initrd /boot/initrd.img-2.6.32-23-generic-pae
    }
    menuentry "Ubuntu, Linux 2.6.32-22-generic-pae" {
    	insmod ntfs
    	set root='(hd1,1)'
    	search --no-floppy --fs-uuid --set d848dab248da8e9e
    	loopback loop0 /ubuntu/disks/root.disk
    	set root=(loop0)
    	linux /boot/vmlinuz-2.6.32-22-generic-pae root=/dev/sdb1 loop=/ubuntu/disks/root.disk ro   quiet splash
    	initrd /boot/initrd.img-2.6.32-22-generic-pae
    }
    menuentry "Ubuntu, Linux 2.6.32-22-generic-pae (recovery mode)" {
    	insmod ntfs
    	set root='(hd1,1)'
    	search --no-floppy --fs-uuid --set d848dab248da8e9e
    	loopback loop0 /ubuntu/disks/root.disk
    	set root=(loop0)
    	linux /boot/vmlinuz-2.6.32-22-generic-pae root=/dev/sdb1 loop=/ubuntu/disks/root.disk ro single 
    	initrd /boot/initrd.img-2.6.32-22-generic-pae
    }
    ### 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 6454a72954a6fd44
    	chainloader +1
    }
    menuentry "Ubuntu, with Linux 2.6.32-24-generic-pae (on /dev/sda2)" {
    	insmod ext2
    	set root='(hd0,2)'
    	search --no-floppy --fs-uuid --set 11449c5b-701a-4ef2-bee0-9b657e523262
    	linux /boot/vmlinuz-2.6.32-24-generic-pae root=UUID=11449c5b-701a-4ef2-bee0-9b657e523262 ro quiet splash
    	initrd /boot/initrd.img-2.6.32-24-generic-pae
    }
    menuentry "Ubuntu, with Linux 2.6.32-24-generic-pae (recovery mode) (on /dev/sda2)" {
    	insmod ext2
    	set root='(hd0,2)'
    	search --no-floppy --fs-uuid --set 11449c5b-701a-4ef2-bee0-9b657e523262
    	linux /boot/vmlinuz-2.6.32-24-generic-pae root=UUID=11449c5b-701a-4ef2-bee0-9b657e523262 ro single
    	initrd /boot/initrd.img-2.6.32-24-generic-pae
    }
    menuentry "Ubuntu, with Linux 2.6.32-23-generic-pae (on /dev/sda2)" {
    	insmod ext2
    	set root='(hd0,2)'
    	search --no-floppy --fs-uuid --set 11449c5b-701a-4ef2-bee0-9b657e523262
    	linux /boot/vmlinuz-2.6.32-23-generic-pae root=UUID=11449c5b-701a-4ef2-bee0-9b657e523262 ro quiet splash
    	initrd /boot/initrd.img-2.6.32-23-generic-pae
    }
    menuentry "Ubuntu, with Linux 2.6.32-23-generic-pae (recovery mode) (on /dev/sda2)" {
    	insmod ext2
    	set root='(hd0,2)'
    	search --no-floppy --fs-uuid --set 11449c5b-701a-4ef2-bee0-9b657e523262
    	linux /boot/vmlinuz-2.6.32-23-generic-pae root=UUID=11449c5b-701a-4ef2-bee0-9b657e523262 ro single
    	initrd /boot/initrd.img-2.6.32-23-generic-pae
    }
    menuentry "Ubuntu, with Linux 2.6.32-22-generic-pae (on /dev/sda2)" {
    	insmod ext2
    	set root='(hd0,2)'
    	search --no-floppy --fs-uuid --set 11449c5b-701a-4ef2-bee0-9b657e523262
    	linux /boot/vmlinuz-2.6.32-22-generic-pae root=UUID=11449c5b-701a-4ef2-bee0-9b657e523262 ro quiet splash
    	initrd /boot/initrd.img-2.6.32-22-generic-pae
    }
    menuentry "Ubuntu, with Linux 2.6.32-22-generic-pae (recovery mode) (on /dev/sda2)" {
    	insmod ext2
    	set root='(hd0,2)'
    	search --no-floppy --fs-uuid --set 11449c5b-701a-4ef2-bee0-9b657e523262
    	linux /boot/vmlinuz-2.6.32-22-generic-pae root=UUID=11449c5b-701a-4ef2-bee0-9b657e523262 ro single
    	initrd /boot/initrd.img-2.6.32-22-generic-pae
    }
    ### 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 ###
    
    ============================= sdb1/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
    
    ================= sdb1/Wubi: Location of files loaded by Grub: =================
    
    
       8.9GB: boot/grub/grub.cfg
      14.2GB: boot/initrd.img-2.6.32-22-generic-pae
       6.1GB: boot/initrd.img-2.6.32-23-generic-pae
      14.3GB: boot/initrd.img-2.6.32-24-generic-pae
      13.9GB: boot/vmlinuz-2.6.32-22-generic-pae
       5.4GB: boot/vmlinuz-2.6.32-23-generic-pae
      14.2GB: boot/vmlinuz-2.6.32-24-generic-pae
      14.3GB: initrd.img
       6.1GB: initrd.img.old
      14.2GB: vmlinuz
       5.4GB: vmlinuz.old
    I am confused why it seems to indicate that sda2 is still NTFS formatted, when the migrate script should have re-formatted it to ext4, correct?
    sda2: __________________________________________________ _______________________

    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
    vs
    Partition Boot Start End Size Id System

    /dev/sda1 * 63 134,317,439 134,317,377 7 HPFS/NTFS
    /dev/sda2 134,318,080 606,710,789 472,392,710 7 HPFS/NTFS
    Last edited by Trynthlas; September 16th, 2010 at 05:12 AM.

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

    Re: HOWTO: migrate wubi install to partition

    I meant to copy \wubildr from the root directory on /dev/sdb1 to the root directory on /dev/sda1.

    If that still doesn't work, you could install grub2's bootloader instead (that's eventually what you'll have to do unless you're planning on booting your migrated ubuntu using something like easybcd.) It's not a real risk since you're just going to overwrite the MBR. Which you can easily replace again using the live CD.

    To install grub2 bootloader from live CD:
    Code:
    sudo mount /dev/sda2 /mnt
    sudo grub-install --root-directory=/mnt /dev/sda
    To reinstall a windows equivalent bootloader if you're not happy with grub2 (ignore warnings - they refer to different use of lilo):
    Code:
    sudo apt-get install lilo
    sudo lilo -M /dev/sda mbr
    PS Yes it's puzzling that fdisk sees /dev/sda2 as ntfs and blkid sees it as ext4. Must be an anomaly in mkfs or fdisk. Everything else looks exactly the way I'd expect it.
    Last edited by bcbc; September 16th, 2010 at 06:05 AM.

  7. #87
    Join Date
    Sep 2010
    Beans
    3

    Re: HOWTO: migrate wubi install to partition

    Quote Originally Posted by bcbc View Post
    I meant to copy \wubildr from the root directory on /dev/sdb1 to the root directory on /dev/sda1.

    PS Yes it's puzzling that fdisk sees /dev/sda2 as ntfs and blkid sees it as ext4. Must be an anomaly in mkfs or fdisk. Everything else looks exactly the way I'd expect it.
    Oops. Well, that (copying the correct wubildr) worked and I was able to load into the new /dev/sda2 partition-installed ubuntu, from which I am posting! I'll have to work on the grub or lilo bootloader later, but seems like I'm in better shape. Thank you!

    On the /dev/sda2 oddity, I attached a screenshot of what the Disk Utility program sees it as. I have a way to edit the partition type (and label), and there is also a checkbox for 'Bootable' - not sure what if any of these things I want to mess with?
    Attached Images Attached Images

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

    Re: HOWTO: migrate wubi install to partition

    Quote Originally Posted by Trynthlas View Post
    Oops. Well, that (copying the correct wubildr) worked and I was able to load into the new /dev/sda2 partition-installed ubuntu, from which I am posting! I'll have to work on the grub or lilo bootloader later, but seems like I'm in better shape. Thank you!

    On the /dev/sda2 oddity, I attached a screenshot of what the Disk Utility program sees it as. I have a way to edit the partition type (and label), and there is also a checkbox for 'Bootable' - not sure what if any of these things I want to mess with?
    Cool! Glad that worked.

    Regarding the partition type, now's the time to mess with it before you diverge from the existing wubi install. But messing with partitions has some risks so take appropriate backup measures. There are a number of tools that can change partition types.

  9. #89
    Join Date
    Aug 2009
    Location
    ARGENTINA
    Beans
    27
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: HOWTO: migrate wubi install to partition

    So how should I proceed if I have grub-legacy? Is there any way to upgrade grub to grub2 before proceeding with scripts?

    Thanks in advance....

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

    Re: HOWTO: migrate wubi install to partition

    Quote Originally Posted by Praetor77 View Post
    So how should I proceed if I have grub-legacy? Is there any way to upgrade grub to grub2 before proceeding with scripts?

    Thanks in advance....
    I haven't had the time to figure this out. I've run a few tests but haven't achieved a consistent result so I don't want to publish it yet. And then I got busy doing other stuff.

    Don't try upgrading to grub2. That will just break your wubi. There are some other differences between the older wubis that use grub-legacy e.g. the fstab, boot files, file system type.

    I'll try and spend some more time on this...

Page 9 of 69 FirstFirst ... 78910111959 ... 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
  •