Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have a computer that dual boots Linux Mint, and Ubuntu, I am wondering what the best way would be to remove Linux Mint, then recovering the hard drive space that is resides in so that Ubuntu will be able to access it.

share|improve this question
    
Could you please show the output of 'sudo fdisk -l' and note which partitions are used with Linux Mint (one root partition and one swap partition, most likely)? –  user8290 Dec 2 '11 at 19:50
    
No I can't as I am work and my computer is at home, I will try to get to it later tonight if I have time. –  TheX Dec 2 '11 at 19:52
    
It is simple to do via GParted, as long as you understand what you are doing--I assume you do. But if removing the Mint partition disturbs your bootloader, you'll have to reinstall it, etc before you can boot. –  jpaugh Dec 2 '11 at 20:10

1 Answer 1

up vote 1 down vote accepted

Here are steps to claim space from Mint partition.

  1. Login to Ubuntu. Start gparted sudo gparted if not available then install gparted.

  2. Find a Mint partition, Use format to OR delete and create new partition.

  3. If Mint have modified (taken control of) ur boot loader then follow next instructions:

  4. Boot from live USB/CD for Ubuntu (I use same version I have no idea how different version of Ubuntu would work specially 32/64 bit differentiation).

  5. Open Terminal.

  6. If you don't know the drive where Ubuntu is installed use sudo fdisk -l it will list partition. Note down one with root and Boot will be indicated by '*'. Assuming your root (/) partition shows /dev/sdaX.

  7. Execute:

sudo mount /dev/sdaX /mnt

sudo mount --bind /dev /mnt/dev
sudo mount --bind /proc /mnt/proc
sudo chroot /mnt
grub-install /dev/sda (NO X here) Assuming you have only one HDD and that is sda

` 8. Once it is installed unmount all

sudo umount /mnt/dev
sudo umount /mnt/proc
sudo umount /mnt

Reboot (Remove USB so you can boot from HDD).

share|improve this answer
    
Great. I'm gonna use that as well. –  bioShark Dec 2 '11 at 20:31
    
sure :) just a note: once I deleted my Ubuntu partition instead of windows cause I was not paying proper attention :P –  wisemonkey Dec 2 '11 at 20:35
    
Happened to me too once, although it was on win. –  bioShark Dec 2 '11 at 20:41

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.