Using LVPM to move wubi install to real install

Asked by free now

I am on 10.04 wubi install, how do I get to a real install ( on a partition) using LVPM. I read that I cannot use LVPM to move to real install if I am using 10.04. Can you please give me latest instructions on how to do that ?

Thanks.

Question information

Language:
English Edit question
Status:
Solved
For:
lvpm Edit question
Assignee:
No assignee Edit question
Solved by:
free now
Solved:
Last query:
Last reply:
Revision history for this message
bcbc (bcbc) said :
#1

You can use this guide (and script): http://ubuntuforums.org/showthread.php?t=1519354
or see the lvpm howto on ubuntuforums that has a workaround that involves copying the /home and reinstalling the existing packages on a fresh install:
http://ubuntuforums.org/showthread.php?t=438591

Revision history for this message
free now (freenow12345) said :
#2

I used the guide and script and it worked just fine. However, I have another question now. Here is the o/p of df -h on my m/c

[code]

ubuntu:/$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda3 40G 16G 22G 43% /
none 1.9G 332K 1.9G 1% /dev
none 2.0G 2.7M 2.0G 1% /dev/shm
none 2.0G 212K 2.0G 1% /var/run
none 2.0G 0 2.0G 0% /var/lock
none 2.0G 0 2.0G 0% /lib/init/rw
none 40G 16G 22G 43% /var/lib/ureadahead/debugfs

[/code]

How do I remove the "none" entries above ?

Here is the o/p from fdisk ( option m)

[code]

   Device Boot Start End Blocks Id System
/dev/sda1 * 1 33021 265239615 7 HPFS/NTFS
/dev/sda2 38231 38913 5486197+ 82 Linux swap / Solaris
/dev/sda3 33022 38230 41841292+ 83 Linux

Partition table entries are not in disk order

Command (m for help):

[/code]

It is /dev/sda3 that is mounted as / and contains all the directories.

Why does /dev/sda3 not have the bootloader ? You can see /dev/sda1 is the bootable partition.

How do I make /dev/sda3 as bootable partition ? I want to do this because I want to use the space on /dev/sda1 for other purposes and want to format it to ext4.

Revision history for this message
free now (freenow12345) said :
#3

I used option 'p' on fdisk and not option 'm' above.

Revision history for this message
bcbc (bcbc) said :
#4

Great - glad it worked out.

You don't have to remove the 'none' entries. They are normal as they are virtual generated each time you boot. I have the same on my linux:
$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda5 9.8G 7.2G 2.2G 77% /
none 496M 296K 496M 1% /dev
none 501M 380K 501M 1% /dev/shm
none 501M 92K 501M 1% /var/run
none 501M 0 501M 0% /var/lock
none 501M 0 501M 0% /lib/init/rw

Linux doesn't require the boot flag and that does not signify a bootloader. The bootloader (grub) is in the MBR and grub will find /dev/sda3 regardless of where the boot flag is set (certain bootloaders require it, like Windows' bootloader, but not grub). But you can change it using gparted if it bothers you (it won't make any difference).

Revision history for this message
free now (freenow12345) said :
#5

I did not get the last part "But you can change it using gparted if it bothers you (it won't make any difference)."

What can I change ? Did you mean I can go ahead and format /dev/sda1 and nothing bad will happen ?

Where is the bootloader installed ? How do I figure out the bootloader install location ?

Revision history for this message
bcbc (bcbc) said :
#6

I meant, you can change the boot flag from /dev/sda1 to /dev/sda3 using gparted (or other tools if you prefer) but it won't make any difference in booting ubuntu.

The bootloader is stored in the drive MBR (master boot record). A very useful tool you can use is the bootinfoscript (http://bootinfoscript.sourceforge.net) - it will tell you what your bootloader is and a bunch of other useful information. Provided it says:
"=> Grub 2 is installed in the MBR of /dev/sda and looks on the same drive in
partition #3 for /boot/grub"
 (or something similar) then you should be OK to format /dev/sda1 assuming you've backed up everything of importance on it.

Post the results of bootinfoscript if you need more help.

Revision history for this message
free now (freenow12345) said :
#7

Please find the o/p after running the script. I was also able to boot windows 7 by selecting the entry from the grub menu. This has been great help !!! thanks a lot.

                Boot Info Script 0.55 dated February 15th, 2010

============================= Boot Info Summary: ==============================

 => Grub 2 is installed in the MBR of /dev/sda and looks on the same drive in
    partition #3 for /boot/grub.

sda1: _________________________________________________________________________

    File system: ntfs
    Boot sector type: Windows Vista/7
    Boot sector info: According to the info in the boot sector, sda1 has
                       530466236 sectors, but according to the info from
                       fdisk, it has 530479229 sectors.
    Operating System: Windows 7
    Boot files/dirs: /bootmgr /Boot/BCD /Windows/System32/winload.exe
                       /wubildr.mbr /ubuntu/winboot/wubildr.mbr /wubildr
                       /ubuntu/winboot/wubildr /ubuntu/disks/root.disk
                       /ubuntu/disks/swap.disk

sda1/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

sda2: _________________________________________________________________________

    File system: swap
    Boot sector type: -
    Boot sector info:

sda3: _________________________________________________________________________

    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 /boot/grub/core.img

=========================== 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 530,479,292 530,479,230 7 HPFS/NTFS
/dev/sda2 614,164,950 625,137,344 10,972,395 82 Linux swap / Solaris
/dev/sda3 530,482,365 614,164,949 83,682,585 83 Linux

blkid -c /dev/null: ____________________________________________________________

Device UUID TYPE LABEL

/dev/loop0 0b863929-aa63-4760-a673-1d39ad090524 ext4
/dev/sda1 503A4D503A4D346E ntfs
/dev/sda2 b5a28152-39b6-4ec0-b6fb-d48cbe266c1c swap
/dev/sda3 5033df3d-bb4e-4357-8512-9ee3ab44a397 ext4
/dev/sda: PTTYPE="dos"

============================ "mount | grep ^/dev output: ===========================

Device Mount_Point Type Options

/dev/sda3 / ext4 (rw,errors=remount-ro)

======================== sda1/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-25-generic" {
 insmod ntfs
 set root='(hd0,1)'
 search --no-floppy --fs-uuid --set 503a4d503a4d346e
 loopback loop0 /ubuntu/disks/root.disk
 set root=(loop0)
 linux /boot/vmlinuz-2.6.32-25-generic root=/dev/sda1 loop=/ubuntu/disks/root.disk ro quiet splash
 initrd /boot/initrd.img-2.6.32-25-generic
}
menuentry "Ubuntu, Linux 2.6.32-25-generic (recovery mode)" {
 insmod ntfs
 set root='(hd0,1)'
 search --no-floppy --fs-uuid --set 503a4d503a4d346e
 loopback loop0 /ubuntu/disks/root.disk
 set root=(loop0)
 linux /boot/vmlinuz-2.6.32-25-generic root=/dev/sda1 loop=/ubuntu/disks/root.disk ro single
 initrd /boot/initrd.img-2.6.32-25-generic
}
menuentry "Ubuntu, Linux 2.6.32-24-generic" {
 insmod ntfs
 set root='(hd0,1)'
 search --no-floppy --fs-uuid --set 503a4d503a4d346e
 loopback loop0 /ubuntu/disks/root.disk
 set root=(loop0)
 linux /boot/vmlinuz-2.6.32-24-generic root=/dev/sda1 loop=/ubuntu/disks/root.disk ro quiet splash
 initrd /boot/initrd.img-2.6.32-24-generic
}
menuentry "Ubuntu, Linux 2.6.32-24-generic (recovery mode)" {
 insmod ntfs
 set root='(hd0,1)'
 search --no-floppy --fs-uuid --set 503a4d503a4d346e
 loopback loop0 /ubuntu/disks/root.disk
 set root=(loop0)
 linux /boot/vmlinuz-2.6.32-24-generic root=/dev/sda1 loop=/ubuntu/disks/root.disk ro single
 initrd /boot/initrd.img-2.6.32-24-generic
}
menuentry "Ubuntu, Linux 2.6.32-23-generic" {
 insmod ntfs
 set root='(hd0,1)'
 search --no-floppy --fs-uuid --set 503a4d503a4d346e
 loopback loop0 /ubuntu/disks/root.disk
 set root=(loop0)
 linux /boot/vmlinuz-2.6.32-23-generic root=/dev/sda1 loop=/ubuntu/disks/root.disk ro quiet splash
 initrd /boot/initrd.img-2.6.32-23-generic
}
menuentry "Ubuntu, Linux 2.6.32-23-generic (recovery mode)" {
 insmod ntfs
 set root='(hd0,1)'
 search --no-floppy --fs-uuid --set 503a4d503a4d346e
 loopback loop0 /ubuntu/disks/root.disk
 set root=(loop0)
 linux /boot/vmlinuz-2.6.32-23-generic root=/dev/sda1 loop=/ubuntu/disks/root.disk ro single
 initrd /boot/initrd.img-2.6.32-23-generic
}
menuentry "Ubuntu, Linux 2.6.32-22-generic" {
 insmod ntfs
 set root='(hd0,1)'
 search --no-floppy --fs-uuid --set 503a4d503a4d346e
 loopback loop0 /ubuntu/disks/root.disk
 set root=(loop0)
 linux /boot/vmlinuz-2.6.32-22-generic root=/dev/sda1 loop=/ubuntu/disks/root.disk ro quiet splash
 initrd /boot/initrd.img-2.6.32-22-generic
}
menuentry "Ubuntu, Linux 2.6.32-22-generic (recovery mode)" {
 insmod ntfs
 set root='(hd0,1)'
 search --no-floppy --fs-uuid --set 503a4d503a4d346e
 loopback loop0 /ubuntu/disks/root.disk
 set root=(loop0)
 linux /boot/vmlinuz-2.6.32-22-generic root=/dev/sda1 loop=/ubuntu/disks/root.disk ro single
 initrd /boot/initrd.img-2.6.32-22-generic
}
menuentry "Ubuntu, Linux 2.6.32-21-generic" {
 insmod ntfs
 set root='(hd0,1)'
 search --no-floppy --fs-uuid --set 503a4d503a4d346e
 loopback loop0 /ubuntu/disks/root.disk
 set root=(loop0)
 linux /boot/vmlinuz-2.6.32-21-generic root=/dev/sda1 loop=/ubuntu/disks/root.disk ro quiet splash
 initrd /boot/initrd.img-2.6.32-21-generic
}
menuentry "Ubuntu, Linux 2.6.32-21-generic (recovery mode)" {
 insmod ntfs
 set root='(hd0,1)'
 search --no-floppy --fs-uuid --set 503a4d503a4d346e
 loopback loop0 /ubuntu/disks/root.disk
 set root=(loop0)
 linux /boot/vmlinuz-2.6.32-21-generic root=/dev/sda1 loop=/ubuntu/disks/root.disk ro single
 initrd /boot/initrd.img-2.6.32-21-generic
}
### 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 503a4d503a4d346e
 chainloader +1
}
menuentry "Ubuntu, with Linux 2.6.32-25-generic (on /dev/sda3)" {
 insmod ext2
 set root='(hd0,3)'
 search --no-floppy --fs-uuid --set 5033df3d-bb4e-4357-8512-9ee3ab44a397
 linux /boot/vmlinuz-2.6.32-25-generic root=UUID=5033df3d-bb4e-4357-8512-9ee3ab44a397 ro quiet splash
 initrd /boot/initrd.img-2.6.32-25-generic
}
menuentry "Ubuntu, with Linux 2.6.32-25-generic (recovery mode) (on /dev/sda3)" {
 insmod ext2
 set root='(hd0,3)'
 search --no-floppy --fs-uuid --set 5033df3d-bb4e-4357-8512-9ee3ab44a397
 linux /boot/vmlinuz-2.6.32-25-generic root=UUID=5033df3d-bb4e-4357-8512-9ee3ab44a397 ro single
 initrd /boot/initrd.img-2.6.32-25-generic
}
menuentry "Ubuntu, with Linux 2.6.32-24-generic (on /dev/sda3)" {
 insmod ext2
 set root='(hd0,3)'
 search --no-floppy --fs-uuid --set 5033df3d-bb4e-4357-8512-9ee3ab44a397
 linux /boot/vmlinuz-2.6.32-24-generic root=UUID=5033df3d-bb4e-4357-8512-9ee3ab44a397 ro quiet splash
 initrd /boot/initrd.img-2.6.32-24-generic
}
menuentry "Ubuntu, with Linux 2.6.32-24-generic (recovery mode) (on /dev/sda3)" {
 insmod ext2
 set root='(hd0,3)'
 search --no-floppy --fs-uuid --set 5033df3d-bb4e-4357-8512-9ee3ab44a397
 linux /boot/vmlinuz-2.6.32-24-generic root=UUID=5033df3d-bb4e-4357-8512-9ee3ab44a397 ro single
 initrd /boot/initrd.img-2.6.32-24-generic
}
menuentry "Ubuntu, with Linux 2.6.32-23-generic (on /dev/sda3)" {
 insmod ext2
 set root='(hd0,3)'
 search --no-floppy --fs-uuid --set 5033df3d-bb4e-4357-8512-9ee3ab44a397
 linux /boot/vmlinuz-2.6.32-23-generic root=UUID=5033df3d-bb4e-4357-8512-9ee3ab44a397 ro quiet splash
 initrd /boot/initrd.img-2.6.32-23-generic
}
menuentry "Ubuntu, with Linux 2.6.32-23-generic (recovery mode) (on /dev/sda3)" {
 insmod ext2
 set root='(hd0,3)'
 search --no-floppy --fs-uuid --set 5033df3d-bb4e-4357-8512-9ee3ab44a397
 linux /boot/vmlinuz-2.6.32-23-generic root=UUID=5033df3d-bb4e-4357-8512-9ee3ab44a397 ro single
 initrd /boot/initrd.img-2.6.32-23-generic
}
menuentry "Ubuntu, with Linux 2.6.32-22-generic (on /dev/sda3)" {
 insmod ext2
 set root='(hd0,3)'
 search --no-floppy --fs-uuid --set 5033df3d-bb4e-4357-8512-9ee3ab44a397
 linux /boot/vmlinuz-2.6.32-22-generic root=UUID=5033df3d-bb4e-4357-8512-9ee3ab44a397 ro quiet splash
 initrd /boot/initrd.img-2.6.32-22-generic
}
menuentry "Ubuntu, with Linux 2.6.32-22-generic (recovery mode) (on /dev/sda3)" {
 insmod ext2
 set root='(hd0,3)'
 search --no-floppy --fs-uuid --set 5033df3d-bb4e-4357-8512-9ee3ab44a397
 linux /boot/vmlinuz-2.6.32-22-generic root=UUID=5033df3d-bb4e-4357-8512-9ee3ab44a397 ro single
 initrd /boot/initrd.img-2.6.32-22-generic
}
menuentry "Ubuntu, with Linux 2.6.32-21-generic (on /dev/sda3)" {
 insmod ext2
 set root='(hd0,3)'
 search --no-floppy --fs-uuid --set 5033df3d-bb4e-4357-8512-9ee3ab44a397
 linux /boot/vmlinuz-2.6.32-21-generic root=UUID=5033df3d-bb4e-4357-8512-9ee3ab44a397 ro quiet splash
 initrd /boot/initrd.img-2.6.32-21-generic
}
menuentry "Ubuntu, with Linux 2.6.32-21-generic (recovery mode) (on /dev/sda3)" {
 insmod ext2
 set root='(hd0,3)'
 search --no-floppy --fs-uuid --set 5033df3d-bb4e-4357-8512-9ee3ab44a397
 linux /boot/vmlinuz-2.6.32-21-generic root=UUID=5033df3d-bb4e-4357-8512-9ee3ab44a397 ro single
 initrd /boot/initrd.img-2.6.32-21-generic
}
### 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 ###

============================= sda1/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

================= sda1/Wubi: Location of files loaded by Grub: =================

  11.3GB: boot/grub/grub.cfg
  15.3GB: boot/initrd.img-2.6.32-21-generic
  15.3GB: boot/initrd.img-2.6.32-22-generic
  15.4GB: boot/initrd.img-2.6.32-23-generic
  12.6GB: boot/initrd.img-2.6.32-24-generic
   4.3GB: boot/initrd.img-2.6.32-25-generic
  15.1GB: boot/vmlinuz-2.6.32-21-generic
   3.6GB: boot/vmlinuz-2.6.32-22-generic
  15.3GB: boot/vmlinuz-2.6.32-23-generic
  16.8GB: boot/vmlinuz-2.6.32-24-generic
   8.6GB: boot/vmlinuz-2.6.32-25-generic
   4.3GB: initrd.img
  12.6GB: initrd.img.old
   8.6GB: vmlinuz
  16.8GB: vmlinuz.old

=========================== sda3/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
}
insmod ext2
set root='(hd0,3)'
search --no-floppy --fs-uuid --set 5033df3d-bb4e-4357-8512-9ee3ab44a397
if loadfont /usr/share/grub/unicode.pf2 ; then
  set gfxmode=640x480
  insmod gfxterm
  insmod vbe
  if terminal_output gfxterm ; then true ; else
    # For backward compatibility with versions of terminal.mod that don't
    # understand terminal_output
    terminal gfxterm
  fi
fi
insmod ext2
set root='(hd0,3)'
search --no-floppy --fs-uuid --set 5033df3d-bb4e-4357-8512-9ee3ab44a397
set locale_dir=($root)/boot/grub/locale
set lang=en
insmod gettext
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-25-generic' --class ubuntu --class gnu-linux --class gnu --class os {
 recordfail
 insmod ext2
 set root='(hd0,3)'
 search --no-floppy --fs-uuid --set 5033df3d-bb4e-4357-8512-9ee3ab44a397
 linux /boot/vmlinuz-2.6.32-25-generic root=UUID=5033df3d-bb4e-4357-8512-9ee3ab44a397 ro quiet splash
 initrd /boot/initrd.img-2.6.32-25-generic
}
menuentry 'Ubuntu, with Linux 2.6.32-25-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
 recordfail
 insmod ext2
 set root='(hd0,3)'
 search --no-floppy --fs-uuid --set 5033df3d-bb4e-4357-8512-9ee3ab44a397
 echo 'Loading Linux 2.6.32-25-generic ...'
 linux /boot/vmlinuz-2.6.32-25-generic root=UUID=5033df3d-bb4e-4357-8512-9ee3ab44a397 ro single
 echo 'Loading initial ramdisk ...'
 initrd /boot/initrd.img-2.6.32-25-generic
}
menuentry 'Ubuntu, with Linux 2.6.32-24-generic' --class ubuntu --class gnu-linux --class gnu --class os {
 recordfail
 insmod ext2
 set root='(hd0,3)'
 search --no-floppy --fs-uuid --set 5033df3d-bb4e-4357-8512-9ee3ab44a397
 linux /boot/vmlinuz-2.6.32-24-generic root=UUID=5033df3d-bb4e-4357-8512-9ee3ab44a397 ro quiet splash
 initrd /boot/initrd.img-2.6.32-24-generic
}
menuentry 'Ubuntu, with Linux 2.6.32-24-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
 recordfail
 insmod ext2
 set root='(hd0,3)'
 search --no-floppy --fs-uuid --set 5033df3d-bb4e-4357-8512-9ee3ab44a397
 echo 'Loading Linux 2.6.32-24-generic ...'
 linux /boot/vmlinuz-2.6.32-24-generic root=UUID=5033df3d-bb4e-4357-8512-9ee3ab44a397 ro single
 echo 'Loading initial ramdisk ...'
 initrd /boot/initrd.img-2.6.32-24-generic
}
menuentry 'Ubuntu, with Linux 2.6.32-23-generic' --class ubuntu --class gnu-linux --class gnu --class os {
 recordfail
 insmod ext2
 set root='(hd0,3)'
 search --no-floppy --fs-uuid --set 5033df3d-bb4e-4357-8512-9ee3ab44a397
 linux /boot/vmlinuz-2.6.32-23-generic root=UUID=5033df3d-bb4e-4357-8512-9ee3ab44a397 ro quiet splash
 initrd /boot/initrd.img-2.6.32-23-generic
}
menuentry 'Ubuntu, with Linux 2.6.32-23-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
 recordfail
 insmod ext2
 set root='(hd0,3)'
 search --no-floppy --fs-uuid --set 5033df3d-bb4e-4357-8512-9ee3ab44a397
 echo 'Loading Linux 2.6.32-23-generic ...'
 linux /boot/vmlinuz-2.6.32-23-generic root=UUID=5033df3d-bb4e-4357-8512-9ee3ab44a397 ro single
 echo 'Loading initial ramdisk ...'
 initrd /boot/initrd.img-2.6.32-23-generic
}
menuentry 'Ubuntu, with Linux 2.6.32-22-generic' --class ubuntu --class gnu-linux --class gnu --class os {
 recordfail
 insmod ext2
 set root='(hd0,3)'
 search --no-floppy --fs-uuid --set 5033df3d-bb4e-4357-8512-9ee3ab44a397
 linux /boot/vmlinuz-2.6.32-22-generic root=UUID=5033df3d-bb4e-4357-8512-9ee3ab44a397 ro quiet splash
 initrd /boot/initrd.img-2.6.32-22-generic
}
menuentry 'Ubuntu, with Linux 2.6.32-22-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
 recordfail
 insmod ext2
 set root='(hd0,3)'
 search --no-floppy --fs-uuid --set 5033df3d-bb4e-4357-8512-9ee3ab44a397
 echo 'Loading Linux 2.6.32-22-generic ...'
 linux /boot/vmlinuz-2.6.32-22-generic root=UUID=5033df3d-bb4e-4357-8512-9ee3ab44a397 ro single
 echo 'Loading initial ramdisk ...'
 initrd /boot/initrd.img-2.6.32-22-generic
}
menuentry 'Ubuntu, with Linux 2.6.32-21-generic' --class ubuntu --class gnu-linux --class gnu --class os {
 recordfail
 insmod ext2
 set root='(hd0,3)'
 search --no-floppy --fs-uuid --set 5033df3d-bb4e-4357-8512-9ee3ab44a397
 linux /boot/vmlinuz-2.6.32-21-generic root=UUID=5033df3d-bb4e-4357-8512-9ee3ab44a397 ro quiet splash
 initrd /boot/initrd.img-2.6.32-21-generic
}
menuentry 'Ubuntu, with Linux 2.6.32-21-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
 recordfail
 insmod ext2
 set root='(hd0,3)'
 search --no-floppy --fs-uuid --set 5033df3d-bb4e-4357-8512-9ee3ab44a397
 echo 'Loading Linux 2.6.32-21-generic ...'
 linux /boot/vmlinuz-2.6.32-21-generic root=UUID=5033df3d-bb4e-4357-8512-9ee3ab44a397 ro single
 echo 'Loading initial ramdisk ...'
 initrd /boot/initrd.img-2.6.32-21-generic
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
 insmod ext2
 set root='(hd0,3)'
 search --no-floppy --fs-uuid --set 5033df3d-bb4e-4357-8512-9ee3ab44a397
 linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
 insmod ext2
 set root='(hd0,3)'
 search --no-floppy --fs-uuid --set 5033df3d-bb4e-4357-8512-9ee3ab44a397
 linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
### 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 503a4d503a4d346e
 chainloader +1
}
### 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 ###

=============================== sda3/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

UUID=5033df3d-bb4e-4357-8512-9ee3ab44a397 / ext4 errors=remount-ro 0 1
UUID=b5a28152-39b6-4ec0-b6fb-d48cbe266c1c none swap sw 0 0

=================== sda3: Location of files loaded by Grub: ===================

 293.9GB: boot/grub/core.img
 285.3GB: boot/grub/grub.cfg
 271.7GB: boot/initrd.img-2.6.32-21-generic
 271.7GB: boot/initrd.img-2.6.32-22-generic
 271.7GB: boot/initrd.img-2.6.32-23-generic
 271.7GB: boot/initrd.img-2.6.32-24-generic
 293.8GB: boot/initrd.img-2.6.32-25-generic
 293.2GB: boot/vmlinuz-2.6.32-21-generic
 293.2GB: boot/vmlinuz-2.6.32-22-generic
 293.2GB: boot/vmlinuz-2.6.32-23-generic
 293.2GB: boot/vmlinuz-2.6.32-24-generic
 293.9GB: boot/vmlinuz-2.6.32-25-generic
 293.8GB: initrd.img
 271.7GB: initrd.img.old
 293.9GB: vmlinuz
 293.2GB: vmlinuz.old

Revision history for this message
bcbc (bcbc) said :
#8

That all looks good.

So if you format /dev/sda1 that will remove windows 7. If you want to keep a dual boot then you could still use and share space on the ntfs partition from Ubuntu.
If you are sure the migration was fine and want to remove the wubi ubuntu, you can boot win7 and go to Add/remove programs and select Ubuntu to remove it.

Revision history for this message
free now (freenow12345) said :
#9

Sounds great! Thank you.