Results 1 to 6 of 6

Thread: Increase disk space for Ubuntu

  1. #1
    Join Date
    Feb 2011
    Location
    United States
    Beans
    3
    Distro
    Kubuntu 10.10 Maverick Meerkat

    Smile Increase disk space for Ubuntu

    Hello,

    I installed Ubuntu 10.04 on Windows 7 using Wubi. Then upgraded it to 10.10 and KDE. Initially while installing I alloted only a small amount of disk space. Now I need more space for Ubuntu.

    How can I do it without disturbing the current setup and configurations of both Windows and Ubuntu.

    Thanks,

  2. #2
    Join Date
    Jun 2009
    Location
    Chicago Suburbs
    Beans
    Hidden!
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Increase disk space for Ubuntu

    When you upgraded did you do a full install to a partition or reinstall as wubi inside the windows NTFS partition?

    Post this to give detailed info on what your configuration is:

    Boot Info Script courtesy of forum member meierfra
    Page with instructions and download:
    http://bootinfoscript.sourceforge.net/
    Paste results.txt, then highlight entire file and click on # in edit panel(code tags) to make it easier to read.
    Or You can generate the tags first by pressing the # icon in the post's menu and then paste the contents between the generated [ code] paste here [ /code] tags.
    For info on UEFI boot install & repair:
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to close thread when/if answered completely.







  3. #3
    Join Date
    Mar 2010
    Beans
    8,254
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Increase disk space for Ubuntu

    Hi yogeshp08 and welcome to the forums

    You will hopefully find the answers to your questions here:
    https://wiki.ubuntu.com/WubiGuide#Ho...rtual%20disks?

    If you are unsure about anything or have other questions, please ask before proceeding.

  4. #4
    Join Date
    Feb 2009
    Location
    Slovenija
    Beans
    Hidden!
    Distro
    Kubuntu 14.04 Trusty Tahr

    Re: Increase disk space for Ubuntu

    Quote Originally Posted by yogeshp08 View Post
    Hello,

    I installed Ubuntu 10.04 on Windows 7 using Wubi. Then upgraded it to 10.10 and KDE. Initially while installing I alloted only a small amount of disk space. Now I need more space for Ubuntu.

    How can I do it without disturbing the current setup and configurations of both Windows and Ubuntu.

    Thanks,
    If you haven't cleaned the cache yet, do this now via:

    Code:
    sudo apt-get clean
    Youtube gaming channel dedicated to game bugs, glitches and tricks

  5. #5
    Join Date
    Feb 2011
    Location
    United States
    Beans
    3
    Distro
    Kubuntu 10.10 Maverick Meerkat

    Re: Increase disk space for Ubuntu

    @oldfred

    I updated Ubuntu 10.04 to 10.10 from within Windows. The current Ubuntu is on my Windows.

    I ran the Boot Info Script. Following are the results

    Code:
                    Boot Info Script 0.55    dated February 15th, 2010                    
    
    ============================= Boot Info Summary: ==============================
    
     => Windows is installed in the MBR of /dev/sda
    
    sda1: _________________________________________________________________________
    
        File system:       ntfs
        Boot sector type:  Windows Vista/7
        Boot sector info:  No errors found in the Boot Parameter Block.
        Operating System:  
        Boot files/dirs:   
    
    sda2: _________________________________________________________________________
    
        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:   /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
    
    sda2/Wubi: _________________________________________________________________________
    
        File system:       ext4
        Boot sector type:  -
        Boot sector info:  
        Operating System:  Ubuntu 10.10
        Boot files/dirs:   /boot/grub/grub.cfg /etc/fstab
    
    sda3: _________________________________________________________________________
    
        File system:       ntfs
        Boot sector type:  Windows Vista/7
        Boot sector info:  No errors found in the Boot Parameter Block.
        Operating System:  
        Boot files/dirs:   /BOOTMGR /BOOT/BCD
    
    =========================== Drive/Partition Info: =============================
    
    Drive: sda ___________________ _____________________________________________________
    
    Disk /dev/sda: 250.1 GB, 250059350016 bytes
    255 heads, 63 sectors/track, 30401 cylinders, total 488397168 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               2,048     3,074,047     3,072,000  27 Hidden HPFS/NTFS
    /dev/sda2    *      3,074,048   467,326,975   464,252,928   7 HPFS/NTFS
    /dev/sda3         467,326,976   488,396,799    21,069,824  17 Hidden HPFS/NTFS
    
    
    blkid -c /dev/null: ____________________________________________________________
    
    Device           UUID                                   TYPE       LABEL                         
    
    /dev/loop0       90449d92-8b30-4688-9c68-1b6466fdda22   ext4                                     
    /dev/sda1        002CC6262CC61716                       ntfs       TOSHIBA SYSTEM VOLUME         
    /dev/sda2        F806F50B06F4CB9E                       ntfs       Spacio                        
    /dev/sda3        CA441AF0441ADF4F                       ntfs       HDDRECOVERY                   
    /dev/sda: PTTYPE="dos" 
    
    ============================ "mount | grep ^/dev  output: ===========================
    
    Device           Mount_Point              Type       Options
    
    /dev/loop0       /                        ext4       (rw,errors=remount-ro,commit=0)
    /dev/sda2        /host                    fuseblk    (rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other,blksize=4096)
    
    
    ======================== sda2/Wubi/boot/grub/grub.cfg: ========================
    
    #
    # DO NOT EDIT THIS FILE
    #
    # It is automatically generated by 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
      set have_grubenv=true
      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
    }
    
    function load_video {
      insmod vbe
      insmod vga
    }
    
    insmod part_msdos
    insmod ntfs
    set root='(hd0,msdos2)'
    search --no-floppy --fs-uuid --set f806f50b06f4cb9e
    loopback loop0 /ubuntu/disks/root.disk
    set root=(loop0)
    if loadfont /usr/share/grub/unicode.pf2 ; then
      set gfxmode=640x480
      load_video
      insmod gfxterm
    fi
    terminal_output gfxterm
    insmod part_msdos
    insmod ntfs
    set root='(hd0,msdos2)'
    search --no-floppy --fs-uuid --set f806f50b06f4cb9e
    loopback loop0 /ubuntu/disks/root.disk
    set root=(loop0)
    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 ###
    ### END /etc/grub.d/10_linux ###
    
    ### BEGIN /etc/grub.d/10_lupin ###
    menuentry "Ubuntu, Linux 2.6.35-25-generic" {
    	insmod part_msdos
    	insmod ntfs
    	set root='(hd0,msdos2)'
    	search --no-floppy --fs-uuid --set f806f50b06f4cb9e
    	loopback loop0 /ubuntu/disks/root.disk
    	set root=(loop0)
    	linux /boot/vmlinuz-2.6.35-25-generic root=/dev/sda2 loop=/ubuntu/disks/root.disk ro   quiet splash
    	initrd /boot/initrd.img-2.6.35-25-generic
    }
    menuentry "Ubuntu, Linux 2.6.35-25-generic (recovery mode)" {
    	insmod part_msdos
    	insmod ntfs
    	set root='(hd0,msdos2)'
    	search --no-floppy --fs-uuid --set f806f50b06f4cb9e
    	loopback loop0 /ubuntu/disks/root.disk
    	set root=(loop0)
    	linux /boot/vmlinuz-2.6.35-25-generic root=/dev/sda2 loop=/ubuntu/disks/root.disk ro single 
    	initrd /boot/initrd.img-2.6.35-25-generic
    }
    menuentry "Ubuntu, Linux 2.6.32-28-generic" {
    	insmod part_msdos
    	insmod ntfs
    	set root='(hd0,msdos2)'
    	search --no-floppy --fs-uuid --set f806f50b06f4cb9e
    	loopback loop0 /ubuntu/disks/root.disk
    	set root=(loop0)
    	linux /boot/vmlinuz-2.6.32-28-generic root=/dev/sda2 loop=/ubuntu/disks/root.disk ro   quiet splash
    	initrd /boot/initrd.img-2.6.32-28-generic
    }
    menuentry "Ubuntu, Linux 2.6.32-28-generic (recovery mode)" {
    	insmod part_msdos
    	insmod ntfs
    	set root='(hd0,msdos2)'
    	search --no-floppy --fs-uuid --set f806f50b06f4cb9e
    	loopback loop0 /ubuntu/disks/root.disk
    	set root=(loop0)
    	linux /boot/vmlinuz-2.6.32-28-generic root=/dev/sda2 loop=/ubuntu/disks/root.disk ro single 
    	initrd /boot/initrd.img-2.6.32-28-generic
    }
    ### END /etc/grub.d/10_lupin ###
    
    ### BEGIN /etc/grub.d/20_linux_xen ###
    ### END /etc/grub.d/20_linux_xen ###
    
    ### 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/sda2)" {
    	insmod part_msdos
    	insmod ntfs
    	set root='(hd0,msdos2)'
    	search --no-floppy --fs-uuid --set f806f50b06f4cb9e
    	chainloader +1
    }
    menuentry "Windows Vista (loader) (on /dev/sda3)" {
    	insmod part_msdos
    	insmod ntfs
    	set root='(hd0,msdos3)'
    	search --no-floppy --fs-uuid --set ca441af0441adf4f
    	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 ###
    
    ### BEGIN /etc/grub.d/41_custom ###
    if [ -f  $prefix/custom.cfg ]; then
      source $prefix/custom.cfg;
    fi
    ### END /etc/grub.d/41_custom ###
    
    ============================= sda2/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
    
    ================= sda2/Wubi: Location of files loaded by Grub: =================
    
    
       6.7GB: boot/grub/grub.cfg
      16.3GB: boot/initrd.img-2.6.32-28-generic
       4.3GB: boot/initrd.img-2.6.35-25-generic
       5.5GB: boot/vmlinuz-2.6.32-28-generic
       7.0GB: boot/vmlinuz-2.6.35-25-generic
       4.3GB: initrd.img
      16.3GB: initrd.img.old
       7.0GB: vmlinuz
       5.5GB: vmlinuz.old
    Initially I allotted some 20GB for Ubuntu from my Windows disk space. I want to double it now keeping Windows intact.

  6. #6
    Join Date
    Jun 2009
    Location
    Chicago Suburbs
    Beans
    Hidden!
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Increase disk space for Ubuntu

    Wubi is intended to give windows users an extended trial over LiveCD. It makes it easy to uninstall. But once you decide to use Ubuntu more, you need to consider a full install to separate partitions. Wubi has a max of 30GB as the file inside the windows NTFS partition.

    You can use win7's tools to shrink the windows partition, but do not use it to create any new partitions.

    http://howsoftwareisbuilt.com/2009/0...o-wubi-ubuntu/
    Agostino: Wubi actually wasn’t designed to do long-term installations. The main aim was really to let people try out Ubuntu with confidence. Normally, users that start with Wubi tend to upgrade to a full installation to a dedicated partition at the next release cycle.

    HOWTO: migrate wubi install to partition - bcbc
    http://ubuntuforums.org/showthread.php?t=1519354
    For info on UEFI boot install & repair:
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to close thread when/if answered completely.







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
  •