Results 1 to 2 of 2

Thread: Remove Vista from Dual Boot

  1. #1
    Join Date
    Aug 2008
    Beans
    18

    Remove Vista from Dual Boot

    Hey guys,


    I'm using Vista and Ubuntu via dual boot. I need to get rid of the Vista as an OS and combine (optional) the used partition. Any hints (i heard a method using livecd) i will really like a step by step program

  2. #2
    Join Date
    Oct 2007
    Location
    Cincinnati, Ohio
    Beans
    Hidden!
    Distro
    Kubuntu 12.04 Precise Pangolin

    Re: Remove Vista from Dual Boot

    - install gparted from System > Admin > Synaptic
    - close Synaptic
    - select partition editor from System > Admin
    - select the Vista partition and format (just that one!) to a linux file system (ext3 or xfs).
    - add it to your /etc/fstab file, which is the list of partitions that can be used by Ubuntu/Linux. You open the fstab file for editing by running this command in the terminal (Accesories > terminal):

    Code:
    sudo gedit /etc/fstab
    If gparted shows the (former) Vista partition as, say, sda1 you would add this to your fstab (at the bottom):

    Code:
    /dev/sda1 /home/username/Data ext3 relatime 0 2
    This is assuming that you picked ext3 for a filesystem when you formatted the partition (substitute as required) and that you want the partition to appear inside a folder called "Data" inside your home directory (again you are free to choose a different filename or even a different location). Remember to create the "Data" folder before doing this. When you are done, open up a terminal and run

    Code:
     sudo mount -a (this mounts all the entries listed in fstab)
    and then

    Code:
     sudo chmod -R username.username /home/username/Data
    (this is required to make the folder fully accessible for both reading and writing).

    Partitions can even be merged but as windows tends to occupy the first partition, it would be rather inconvenient in this case. You would have to move your root partition to the start of the drive first. Not difficult but you'd better know what you are doing. Unless, of course, you have only recently installed and you don't mind reinstalling. There is an option to make Ubuntu take over all of the drive, which would get vista overwritten.

    Then Remove the entry from grub

    Code:
    nano /boot/grub/menu.lst
    and remove the lines for Vista eg

    Code:
    label=vista
    rootnoverify=(hdx,x)
    chainloader +1

    OS: Kubuntu 12.04 LTS|| CPU: AMD Athlon 64x2 || RAM: 3GB DDR2(PC-6400) || Display: NVIDIA GeForce 9400 GT 1024mb

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
  •