Find the answer to your Linux question:
Results 1 to 6 of 6
I have two questions! I installed linux mint OS on my laptop which orginally has windows vista in dual mode. Mint dint solve my purpose and I wanted to install ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jul 2009
    Posts
    3

    Two linux OS on top of win vista


    I have two questions!

    I installed linux mint OS on my laptop which orginally has windows vista in dual mode. Mint dint solve my purpose and I wanted to install Ubuntu linux. I searched in forum and it instructed me to install top of it and it should be fine. I did it and now I have 3 OS in my system. I want to remove Linux Mint OS from my system. What should I do?

    When I istalled Ubuntu, I guess I dint alocate good space in that partition. now I have only 130 MB left. How can I increase this partition to install some applications or upgrades.

    Thanks a lot for help
    Sam!

  2. #2
    Administrator MikeTbob's Avatar
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    7,864
    Hello and Welcome,
    You could fire up the install CD for Ubuntu and manually delete the partition, to create a new one. Are you sure you have 3 OS's installed or are you just see the OOOOS's listed in the Grub Menu?
    From the same CD, post these commands in a terminal and post it back here.
    Code:
    sudo fdisk -l
    Code:
    sudo cat /boot/grub/menu.lst
    I do not respond to private messages asking for Linux help, Please keep it on the forums only.
    All new users please read this.** Forum FAQS. ** Adopt an unanswered post.

    I'd rather be lost at the lake than found at home.

  3. #3
    Linux Guru Jonathan183's Avatar
    Join Date
    Oct 2007
    Posts
    3,042
    I suggest you boot from Ubuntu on the hard drive and post the output from the commands MikeTbob posted above ...
    Code:
    sudo fdisk -l
    cat /boot/grub/menu.lst
    and also post the output of
    Code:
    mount
    cat /etc/fstab

  4. #4
    Just Joined!
    Join Date
    Jul 2009
    Posts
    3
    output of "sudo fdisk -l"


    Disk /dev/sda: 160.0 GB, 160041885696 bytes
    255 heads, 63 sectors/track, 19457 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0x00000080

    Device Boot Start End Blocks Id System
    /dev/sda1 1 5 40131 de Dell Utility
    /dev/sda2 6 1280 10240000 7 HPFS/NTFS
    /dev/sda3 * 1280 7482 49817408 7 HPFS/NTFS
    /dev/sda4 7483 19457 96189187+ f W95 Ext'd (LBA)
    /dev/sda5 7809 9781 15846404 7 HPFS/NTFS
    /dev/sda6 9781 11724 15606784 7 HPFS/NTFS
    /dev/sda7 11725 19131 59496696 7 HPFS/NTFS
    /dev/sda8 19132 19435 2441848+ 83 Linux
    /dev/sda9 19436 19457 176683+ 82 Linux swap / Solaris
    /dev/sda10 7483 7786 2441817 83 Linux
    /dev/sda11 7787 7808 176683+ 82 Linux swap / Solaris

    Partition table entries are not in disk order
    Please note that I have one partition of my hard drive named Linux.


    output of "sudo cat /boot/grub/menu.lst"


    # menu.lst - See: grub(8 ), info grub, update-grub(8 )
    # grub-install(8 ), grub-floppy(8 ),
    # grub-md5-crypt, /usr/share/doc/grub
    # and /usr/share/doc/grub-doc/.

    ## default num
    # Set the default entry to the entry number NUM. Numbering starts from 0, and
    # the entry number 0 is the default if the command is not used.
    #
    # You can specify 'saved' instead of a number. In this case, the default entry
    # is the entry saved with the command 'savedefault'.
    # WARNING: If you are using dmraid do not use 'savedefault' or your
    # array will desync and will not let you boot your system.
    default 0

    ## timeout sec
    # Set a timeout, in SEC seconds, before automatically booting the default entry
    # (normally the first entry defined).
    timeout 10

    ## hiddenmenu
    # Hides the menu by default (press ESC to see the menu)
    #hiddenmenu

    # Pretty colours
    #color cyan/blue white/blue

    ## password ['--md5'] passwd
    # If used in the first section of a menu file, disable all interactive editing
    # control (menu entry editor and command-line) and entries protected by the
    # command 'lock'
    # e.g. password topsecret
    # password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
    # password topsecret

    #
    # examples
    #
    # title Windows 95/98/NT/2000
    # root (hd0,0)
    # makeactive
    # chainloader +1
    #
    # title Linux
    # root (hd0,1)
    # kernel /vmlinuz root=/dev/hda2 ro
    #

    #
    # Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST

    ### BEGIN AUTOMAGIC KERNELS LIST
    ## lines between the AUTOMAGIC KERNELS LIST markers will be modified
    ## by the debian update-grub script except for the default options below

    ## DO NOT UNCOMMENT THEM, Just edit them to your needs

    ## ## Start Default Options ##
    ## default kernel options
    ## default kernel options for automagic boot options
    ## If you want special options for specific kernels use kopt_x_y_z
    ## where x.y.z is kernel version. Minor versions can be omitted.
    ## e.g. kopt=root=/dev/hda1 ro
    ## kopt_2_6_8=root=/dev/hdc1 ro
    ## kopt_2_6_8_2_686=root=/dev/hdc2 ro
    # kopt=root=UUID=a152d96e-4f19-4bdc-b36d-4697059610fc ro

    ## default grub root device
    ## e.g. groot=(hd0,0)
    # groot=a152d96e-4f19-4bdc-b36d-4697059610fc

    ## should update-grub create alternative automagic boot options
    ## e.g. alternative=true
    ## alternative=false
    # alternative=true

    ## should update-grub lock alternative automagic boot options
    ## e.g. lockalternative=true
    ## lockalternative=false
    # lockalternative=false

    ## additional options to use with the default boot option, but not with the
    ## alternatives
    ## e.g. defoptions=vga=791 resume=/dev/hda5
    # defoptions=quiet splash

    ## should update-grub lock old automagic boot options
    ## e.g. lockold=false
    ## lockold=true
    # lockold=false

    ## Xen hypervisor options to use with the default Xen boot option
    # xenhopt=

    ## Xen Linux kernel options to use with the default Xen boot option
    # xenkopt=console=tty0

    ## altoption boot targets option
    ## multiple altoptions lines are allowed
    ## e.g. altoptions=(extra menu suffix) extra boot options
    ## altoptions=(recovery) single
    # altoptions=(recovery mode) single

    ## controls how many kernels should be put into the menu.lst
    ## only counts the first occurence of a kernel, not the
    ## alternative kernel options
    ## e.g. howmany=all
    ## howmany=7
    # howmany=all

    ## specify if running in Xen domU or have grub detect automatically
    ## update-grub will ignore non-xen kernels when running in domU and vice versa
    ## e.g. indomU=detect
    ## indomU=true
    ## indomU=false
    # indomU=detect

    ## should update-grub create memtest86 boot option
    ## e.g. memtest86=true
    ## memtest86=false
    # memtest86=true

    ## should update-grub adjust the value of the default booted system
    ## can be true or false
    # updatedefaultentry=false

    ## should update-grub add savedefault to the default options
    ## can be true or false
    # savedefault=false

    ## ## End Default Options ##

    title Ubuntu 9.04, kernel 2.6.28-11-generic
    uuid a152d96e-4f19-4bdc-b36d-4697059610fc
    kernel /boot/vmlinuz-2.6.28-11-generic root=UUID=a152d96e-4f19-4bdc-b36d-4697059610fc ro quiet splash
    initrd /boot/initrd.img-2.6.28-11-generic
    quiet

    title Ubuntu 9.04, kernel 2.6.28-11-generic (recovery mode)
    uuid a152d96e-4f19-4bdc-b36d-4697059610fc
    kernel /boot/vmlinuz-2.6.28-11-generic root=UUID=a152d96e-4f19-4bdc-b36d-4697059610fc ro single
    initrd /boot/initrd.img-2.6.28-11-generic

    title Ubuntu 9.04, memtest86+
    uuid a152d96e-4f19-4bdc-b36d-4697059610fc
    kernel /boot/memtest86+.bin
    quiet

    ### END DEBIAN AUTOMAGIC KERNELS LIST

    # This is a divider, added to separate the menu items below from the Debian
    # ones.
    title Other operating systems:
    root


    # This entry automatically added by the Debian installer for a non-linux OS
    # on /dev/sda3
    title Windows Vista (loader)
    rootnoverify (hd0,2)
    savedefault
    makeactive
    chainloader +1


    # This entry automatically added by the Debian installer for an existing
    # linux installation on /dev/sda8.
    title Linux Mint 7 Gloria, kernel 2.6.28-11-generic (on /dev/sda8 )
    root (hd0,7)
    kernel /boot/vmlinuz-2.6.28-11-generic root=/dev/sda8 ro quiet splash
    initrd /boot/initrd.img-2.6.28-11-generic
    savedefault
    boot


    # This entry automatically added by the Debian installer for an existing
    # linux installation on /dev/sda8.
    title Linux Mint 7 Gloria, kernel 2.6.28-11-generic (recovery mode) (on /dev/sda8 )
    root (hd0,7)
    kernel /boot/vmlinuz-2.6.28-11-generic root=/dev/sda8 ro single
    initrd /boot/initrd.img-2.6.28-11-generic
    savedefault
    boot


    # This entry automatically added by the Debian installer for an existing
    # linux installation on /dev/sda8.
    title Linux Mint 7 Gloria, memtest86+ (on /dev/sda8 )
    root (hd0,7)
    kernel /boot/memtest86+.bin
    savedefault
    boot
    Output of "mount"

    dev/sda10 on / type ext3 (rw,relatime,errors=remount-ro)
    tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
    proc on /proc type proc (rw,noexec,nosuid,nodev)
    sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
    varrun on /var/run type tmpfs (rw,nosuid,mode=0755)
    varlock on /var/lock type tmpfs (rw,noexec,nosuid,nodev,mode=1777)
    udev on /dev type tmpfs (rw,mode=0755)
    tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
    devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
    fusectl on /sys/fs/fuse/connections type fusectl (rw)
    lrm on /lib/modules/2.6.28-11-generic/volatile type tmpfs (rw,mode=755)
    securityfs on /sys/kernel/security type securityfs (rw)
    binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)
    gvfs-fuse-daemon on /home/sam/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=sam)
    Output of "cat /etc/fstab"


    # /etc/fstab: static file system information.
    #
    # Use 'vol_id --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 defaults 0 0
    # / was on /dev/sda10 during installation
    UUID=a152d96e-4f19-4bdc-b36d-4697059610fc / ext3 relatime,errors=remount-ro 0 1
    Lemme know if you need anything else. Thanks MikeTbob and Jonathan183!!

    Sam

  5. #5
    Linux Guru Jonathan183's Avatar
    Join Date
    Oct 2007
    Posts
    3,042
    sda8 contains Mint and sda10 contains Ubuntu, the problem is these are not next to each other on the drive. Your partition layout on the disk is actually:-

    sda1 - sda2 - sda3 - sda4 (an extended partition containing logical partitions)

    logical partitions
    sda10 - sda11 sda5 - sda6 - sda7 - sda8 - sda9

    You will be able to delete the space currently taken up by Mint but to use it in Ubuntu you need to either move sda11,sda5,sda6,sda7 to free space next to sda10 or create a separate partition and use it for storing something like /home folder information. Even when you do this you will have less than 5GB of hard drive space available for Ubuntu which I think is probably a bit light. Below are my suggestions ... I'm assuming sda9 is Mint swap and sda11 is Ubuntu swap, I can't tell this because the swap is not listed in /etc/fstab output you gave ...

    Before you start changing partitions I recommend you backup data.

    I think your options are:-
    1. do nothing ...
    2. delete Mint partitions sda8 and sda9 and use space from a home partition.
    3. delete Mint partitions sda8 and sda9, move sda11 sda5 sda6 sda7 so free space is next to sda10 and expand sda10 to use free space.
    4. delete Mint partitions sda8 and sda9, free up additional disk space and move partitions to create free space next to sda10 on the disk and expand sda10 to use the space.
    5. delete Mint partitions sda8 and sda9, delete Ubuntu partitions sda10 and sda11. Resize/move remaining partitions to free disk space together. Re-install Ubuntu.

    It is also possible to use lvm ... but since I have not used lvm others would need to advise on setup of this.

    What do you want to do?

  6. #6
    Just Joined!
    Join Date
    Jul 2009
    Posts
    3
    Thanks for ther detailed explanation. I managed to rip off all the unwanted partition and installed Ubuntu again without loosing any of my data . Now is looks perfect and ready to go with Linux. Thanks once again!!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •