How can I remove vista from a ubuntu / vista dual boot!
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
How can I remove vista from a ubuntu / vista dual boot!
Hey there. I recently installed ubuntu on a vista system, so now it is dual booting currently. I would like to remove vista from the system and regain all of that disk space for linux if possible. Does anyone know how to do this? Thanks.
Couldn't be easier.
- 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):
sudo gedit /etc/fstab
If gparted shows the (former) Vista partition as, say, sda1 you would add this to your fstab (at the bottom):
/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
sudo mount -a (this mounts all the entries listed in fstab)
(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.
How about I want to move /boot partition into beginning of the drive, how can I do that?
Do you mean just /boot or all of your / partition? I see only one linux partition so I assume all of /. In either case, you would have to copy the data from the Linux partition to the new one. The safe approach is to do so from a livecd or from another Linux OS (if you have more than one installed) or even a different computer.
Of course, your new partition (the NTFS one) should have a linux native file system before it can be used. You can use gparted to do so or even the command line.
Then mount both the original / partition and the new one. From a livecd, that would look something like:
Code:
sudo mkdir /mnt/from
sudo mount /dev/sda5 /mnt/from
sudo mkdir /mnt/to
sudo mount /dev/sda1 /mnt/to
I am using "sudo" throughout just out of habit; most livecds will let you run those commands without it.
Then copy the data:
Code:
cd /mnt/from
sudo cp -ax * /mnt/to/
This part is going to take some time.
When the prompt returns, you still have to edit your /etc/fstab file and your /boot/grub/menu.lst.
Code:
sudo gedit /mnt/from/etc/fstab
and
Code:
sudo gedit /mnt/from/boot/grub/menu.lst
Your / partition is now a different one so you should edit fstab in such a way that / points to the new partition (/dev/sda1) instead of the old one. The same goes for menu.lst.
Unmount both partitions and reboot. Do not delete the original / partition until you are sure that everything is OK. If there is a problem, you can edit your grub/menu.lst to make it point to the original / partition again. That way, you can keep using your system as it was while your are figuring out what went wrong.
i think the simplest way is edit /boot/grub/menu.lst (in su mode by vi tool) and remove vista section from it.
and remove vista partition and replace it via and ext3 partition!
just this!
i believe linux made things easy!
Couldn't be easier.
- 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):
sudo gedit /etc/fstab
If gparted shows the (former) Vista partition as, say, sda1 you would add this to your fstab (at the bottom):
/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
sudo mount -a (this mounts all the entries listed in fstab)
(this is required to make the folder fully accessible for both reading and writing).
Hi,
I was on dualboot (VISTA + Ubuntu 9.10) and I followed above steps to remove VISTA from my PC (Acer Aspire REVO 36000). All went fine, I made sure Vista was removed from its partition until I rebooted...
Now I get the following message:
BOOTMGR IS MISSING (Press Ctrl+Alt+Del to restart)
Obviously I did not follow the steps detailed by ischi i.e. "And not to forget remove the vista entry from the bootmanager" basically because I'm a newby to Ubuntu and did not figured out how to do that.
Does anyone can help me out please? I invested close to a month to get familiar with Ubuntu 9.10, installing updates, soft, etc. and now it is properly finetuned I'm not looking into starting all over (the additional pain is that my PC has no optical drive).
Many thanks in advance and congrats to everyone that is contributing to Ubuntu project, it's really great!!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.