Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: dual boot - vista resized

  1. #1
    Join Date
    Jan 2010
    Beans
    21

    dual boot - vista resized

    ok after installing ubuntu on another partition, i couldn't boot my vista and reinstalling grub and recovering bootmbr didn't help, it still gets booted but freezes just after loading screen or sometimes a little after..

    so the only guess is that the partition vista is on has been resized..so i've read all about gparted and how to resize partitions, but what bothers me is - how do i know the original size of the vista partition? i mean what good is resizing it again if I don't know how much space it had before? help please

  2. #2
    Join Date
    Jul 2008
    Location
    The Left Coast of the USA
    Beans
    Hidden!
    Distro
    Kubuntu

    Re: dual boot - vista resized

    When you initially installed the dual boot configuration, did you first defrag Vista (a couple of times is best) and then use the utilities in Vista itself to resize the Vista partition?
    Please read The Forum Rules and The Forum Posting Guidelines

    A thing discovered and kept to oneself must be discovered time and again by others. A thing discovered and shared with others need be discovered only the once.
    This universe is crazy. I'm going back to my own.

  3. #3
    Join Date
    Jan 2010
    Beans
    21

    Re: dual boot - vista resized

    Quote Originally Posted by QIII View Post
    When you initially installed the dual boot configuration, did you first defrag Vista (a couple of times is best) and then use the utilities in Vista itself to resize the Vista partition?
    How to defrag or use utilities when i can't even start vista properly?

  4. #4
    Join Date
    Jul 2008
    Location
    The Left Coast of the USA
    Beans
    Hidden!
    Distro
    Kubuntu

    Re: dual boot - vista resized

    That would difficult now, of course.

    The question referred to how it was installed initially, since that may bear on the approach to resolving the issue.
    Please read The Forum Rules and The Forum Posting Guidelines

    A thing discovered and kept to oneself must be discovered time and again by others. A thing discovered and shared with others need be discovered only the once.
    This universe is crazy. I'm going back to my own.

  5. #5
    Join Date
    Jan 2010
    Beans
    21

    Re: dual boot - vista resized

    Quote Originally Posted by QIII View Post
    That would difficult now, of course.

    The question referred to how it was installed initially, since that may bear on the approach to resolving the issue.
    Ubuntu was installed on D partition when Vista was already working on C partition.
    So Vista was installed way before Ubuntu, as you may have already concluded.

    Anyway, I could boot Vista from DVD, and defragment the disk from there, but I won't do it unless you are positive it would solve the problem? Because if the partition got resized I don't have the feeling that defragmenting would help..as it was said before - resizing the partition back to it's original size would definitely help, but, I repeat, I don't know what that original size was. Format and reinstall vista or someone has a better idea?

    Or should I just resize it to something like 65 GB because I know that it wasn't bigger than that? Wouldn't that screw up the D partition (and ubuntu) the same way the C got screwed up?
    Last edited by senchan; February 1st, 2010 at 09:49 PM.

  6. #6
    Join Date
    Nov 2009
    Location
    Catalunya, Spain
    Beans
    14,417
    Distro
    Ubuntu 18.04 Bionic Beaver

    Re: dual boot - vista resized

    What do you mean ubuntu installed on D: partition? Linux partitions are not recognized by windows and as such don't have letters assigned to them.
    Did you actually install wubi on D That should be specified because it's not the same and someone reading this should know.
    For example, if you did install wubi and you tried some procedure to reinstall grub to the MBR as you said, you were NOT supposed to do that. With wubi you DO NOT have grub on the MBR.
    Also, if you used wubi, any corruption of the vista partition is hardly related with it. It's working from within windows itself.
    Darko.
    -----------------------------------------------------------------------
    Ubuntu 18.04 LTS 64bit

  7. #7
    Join Date
    Jan 2010
    Beans
    21

    Re: dual boot - vista resized

    Quote Originally Posted by darkod View Post
    What do you mean ubuntu installed on D: partition? Linux partitions are not recognized by windows and as such don't have letters assigned to them.
    Did you actually install wubi on D That should be specified because it's not the same and someone reading this should know.
    For example, if you did install wubi and you tried some procedure to reinstall grub to the MBR as you said, you were NOT supposed to do that. With wubi you DO NOT have grub on the MBR.
    Also, if you used wubi, any corruption of the vista partition is hardly related with it. It's working from within windows itself.
    well, I am confused by this post. what is wubi? i'm a noob.
    but to make this easier for you to understand - when i cd to host and do ls command then i see all the contents of my former D partition that was on windows. so that means it is on D, so to speak

  8. #8
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: dual boot - vista resized

    We are confused too. It may be best to run this script to document your configuration. (This is the same script darko has in his signature)


    Page with instructions and download:
    http://bootinfoscript.sourceforge.net/
    Be sure to highlight and use code tags (#) to make it easier to read when you post the results.txt.
    For more info on UEFI boot install & repair - Regularly Updated :
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  9. #9
    Join Date
    Jan 2010
    Beans
    21

    Re: dual boot - vista resized



    Ok, here it is.

    Code:
    ============================= Boot Info Summary: ==============================
    
     => Windows is installed in the MBR of /dev/sda
     => Windows is installed in the MBR of /dev/sdb
    sda1: _________________________________________________________________________
    
        File system:       vfat
        Boot sector type:  Windows XP: Fat32
        Boot sector info:  No errors found in the Boot Parameter Block.
        Operating System:  
        Boot files/dirs:   /ntldr /NTDETECT.COM
    
    sda2: _________________________________________________________________________
    
        File system:       ntfs
        Boot sector type:  Windows Vista/7
        Boot sector info:  No errors found in the Boot Parameter Block.
        Operating System:  Windows Vista
        Boot files/dirs:   /bootmgr /Boot/BCD /Windows/System32/winload.exe 
                           /grldr /ntldr /NTDETECT.COM /wubildr.mbr
    
    sda3: _________________________________________________________________________
    
        File system:       vfat
        Boot sector type:  Windows XP: Fat32
        Boot sector info:  No errors found in the Boot Parameter Block.
        Operating System:  
        Boot files/dirs:   /ubuntu/winboot/wubildr.mbr /ubuntu/disks/root.disk 
                           /ubuntu/disks/swap.disk
    
    sda3/Wubi: _________________________________________________________________________
    
        File system:       ext4
        Boot sector type:  -
        Boot sector info:  
        Operating System:  Ubuntu 9.10
        Boot files/dirs:   /boot/grub/menu.lst /boot/grub/grub.cfg /etc/fstab
    
    sdb1: _________________________________________________________________________
    
        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: 120.0 GB, 120034123776 bytes
    255 heads, 63 sectors/track, 14593 cylinders, total 234441648 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Disk identifier: 0xbf8550f6
    
    Partition  Boot         Start           End          Size  Id System
    
    /dev/sda1                  63     8,177,084     8,177,022  12 Compaq diagnostics
    /dev/sda2    *      8,177,085   120,792,734   112,615,650   7 HPFS/NTFS
    /dev/sda3    *    120,792,735   234,436,544   113,643,810   c W95 FAT32 (LBA)
    
    
    Drive: sdb ___________________ _____________________________________________________
    
    Disk /dev/sdb: 4060 MB, 4060086272 bytes
    255 heads, 63 sectors/track, 493 cylinders, total 7929856 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Disk identifier: 0x00000000
    
    Partition  Boot         Start           End          Size  Id System
    
    /dev/sdb1    *            128     7,929,855     7,929,728   7 HPFS/NTFS
    
    
    blkid -c /dev/null: ____________________________________________________________
    
    Device           UUID                                   TYPE       LABEL                         
    
    /dev/loop0       bbf36969-f95e-47a5-9829-a54908e203ad   ext4                                     
    /dev/sda1        0E4E-05CE                              vfat       PQSERVICE                     
    /dev/sda2        1440AC2B40AC1590                       ntfs                                     
    /dev/sda3        9FFB-3ED0                              vfat       ACERDATA                      
    /dev/sdb1        A220E47D20E45A35                       ntfs                                     
    
    ============================ "mount | grep ^/dev  output: ===========================
    
    Device           Mount_Point              Type       Options
    
    /dev/loop0       /                        ext4       (rw,errors=remount-ro)
    /dev/sda3        /host                    vfat       (rw)
    /dev/sda2        /media/windows           fuseblk    (rw,nosuid,nodev,allow_other,blksize=4096)
    /dev/sda3        /D                       vfat       (rw,iocharset=utf8,umask=000)
    /dev/sdb1        /media/A220E47D20E45A35  fuseblk    (rw,nosuid,nodev,allow_other,default_permissions,blksize=4096)
    
    
    ======================== sda3/Wubi/boot/grub/menu.lst: ========================
    
    title "Windows Vista"
    root (sd0,0)
    chainloader +1
    boot 
    
    
    ======================== sda3/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 /boot/grub/grubenv ]; then
      have_grubenv=true
      load_env
    fi
    set default="0"
    if [ ${prev_saved_entry} ]; then
      saved_entry=${prev_saved_entry}
      save_env saved_entry
      prev_saved_entry=
      save_env prev_saved_entry
    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/white
    ### 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.31-17-generic" {
        insmod fat
        set root=(hd0,3)
        search --no-floppy --fs-uuid --set 9ffb-3ed0
        loopback loop0 /ubuntu/disks/root.disk
        set root=(loop0)
        linux /boot/vmlinuz-2.6.31-17-generic root=/dev/sda3 loop=/ubuntu/disks/root.disk ro   quiet splash
        initrd /boot/initrd.img-2.6.31-17-generic
    }
    menuentry "Ubuntu, Linux 2.6.31-17-generic (recovery mode)" {
        insmod fat
        set root=(hd0,3)
        search --no-floppy --fs-uuid --set 9ffb-3ed0
        loopback loop0 /ubuntu/disks/root.disk
        set root=(loop0)
        linux /boot/vmlinuz-2.6.31-17-generic root=/dev/sda3 loop=/ubuntu/disks/root.disk ro single 
        initrd /boot/initrd.img-2.6.31-17-generic
    }
    menuentry "Ubuntu, Linux 2.6.31-14-generic" {
        insmod fat
        set root=(hd0,3)
        search --no-floppy --fs-uuid --set 9ffb-3ed0
        loopback loop0 /ubuntu/disks/root.disk
        set root=(loop0)
        linux /boot/vmlinuz-2.6.31-14-generic root=/dev/sda3 loop=/ubuntu/disks/root.disk ro   quiet splash
        initrd /boot/initrd.img-2.6.31-14-generic
    }
    menuentry "Ubuntu, Linux 2.6.31-14-generic (recovery mode)" {
        insmod fat
        set root=(hd0,3)
        search --no-floppy --fs-uuid --set 9ffb-3ed0
        loopback loop0 /ubuntu/disks/root.disk
        set root=(loop0)
        linux /boot/vmlinuz-2.6.31-14-generic root=/dev/sda3 loop=/ubuntu/disks/root.disk ro single 
        initrd /boot/initrd.img-2.6.31-14-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 NT/2000/XP (on /dev/sda1)" {
        insmod fat
        set root=(hd0,1)
        search --no-floppy --fs-uuid --set 0e4e-05ce
        drivemap -s (hd0) ${root}
        chainloader +1
    }
    menuentry "Windows Vista (loader) (on /dev/sda2)" {
        insmod ntfs
        set root=(hd0,2)
        search --no-floppy --fs-uuid --set 1440ac2b40ac1590
        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/Wubi/etc/fstab: =============================
    
    # /etc/fstab: static file system information.
    #
    #  -- This file has been automaticly generated by ntfs-config -- 
    #
    # <file system> <mount point>   <type>  <options>       <dump>  <pass>
    
    proc /proc proc defaults 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
    /dev/sda2 /media/windows ntfs-3g defaults,locale=en_US.UTF-8 0 0
    /dev/sda3 /D vfat iocharset=utf8,umask=000 0 0

  10. #10
    Join Date
    Nov 2009
    Location
    Catalunya, Spain
    Beans
    14,417
    Distro
    Ubuntu 18.04 Bionic Beaver

    Re: dual boot - vista resized

    Disk /dev/sda: 120.0 GB, 120034123776 bytes
    255 heads, 63 sectors/track, 14593 cylinders, total 234441648 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Disk identifier: 0xbf8550f6

    Partition Boot Start End Size Id System

    /dev/sda1 63 8,177,084 8,177,022 12 Compaq diagnostics
    /dev/sda2 * 8,177,085 120,792,734 112,615,650 7 HPFS/NTFS
    /dev/sda3 * 120,792,735 234,436,544 113,643,810 c W95 FAT32 (LBA)

    You have a 120GB hdd, and on top of the compaq partition you have one ntfs partition of approx 54GB, and one fat32 partition of 54GB. Together with the compaq partition that makes all of your 120GB disk, or more precisely 111.9GiB (real gigabytes).

    What is missing?
    Darko.
    -----------------------------------------------------------------------
    Ubuntu 18.04 LTS 64bit

Page 1 of 2 12 LastLast

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
  •