Can I safely delete the Ubuntu 12.04 partition and use the unallocated space for my Elementary OS?

Posted by d4ryl3 on Ask Ubuntu See other posts from Ask Ubuntu or by d4ryl3
Published on 2013-10-25T02:38:50Z Indexed on 2013/10/25 4:16 UTC
Read the original article Hit count: 345

I have this setup:

image

I've decided to switch to Elementary OS Luna (fork of Ubuntu 12.04) as my main Linux distro. Now I need to delete my Ubuntu partition so I could add capacity to my eOS which only has 10Gb.

Currently my eOS is in /dev/sda9, and Ubuntu in /dev/sda8/. I forgot where my bootloader is installed, so I ran bootinfoscript, which returned this:

`============================= Boot Info Summary: ===============================

=> Grub2 (v1.99) is installed in the MBR of /dev/sda and looks at sector 1 of the same hard drive for core.img. core.img is at this location and looks in partition 94 for .

sda1: __________________________________________

File system:       ntfs
Boot sector type:  Windows Vista/7: NTFS
Boot sector info:  No errors found in the Boot Parameter Block.
Operating System:  
Boot files:        /bootmgr /Boot/BCD

sda2: __________________________________________

File system:       ntfs
Boot sector type:  Windows Vista/7: NTFS
Boot sector info:  No errors found in the Boot Parameter Block.
Operating System:  Windows 7
Boot files:        /bootmgr /Boot/BCD /Windows/System32/winload.exe

sda3: __________________________________________

File system:       ntfs
Boot sector type:  Windows Vista/7: NTFS
Boot sector info:  No errors found in the Boot Parameter Block.
Operating System:  
Boot files:        /bootmgr /boot/bcd

sda4: __________________________________________

File system:       Extended Partition
Boot sector type:  -
Boot sector info: 

sda5: __________________________________________

File system:       ntfs
Boot sector type:  Windows Vista/7: NTFS
Boot sector info:  According to the info in the boot sector, sda5 starts 
                   at sector 2048.
Operating System:  
Boot files:        

sda6: __________________________________________

File system:       swap
Boot sector type:  -
Boot sector info: 

sda7: __________________________________________

File system:       ext4
Boot sector type:  Grub2 (v1.99)
Boot sector info:  Grub2 (v1.99) is installed in the boot sector of sda7 
                   and looks at sector 851823520 of the same hard drive 
                   for core.img, but core.img can not be found at this 
                   location.
Operating System:  
Boot files:        /grub/grub.cfg /extlinux/extlinux.conf

sda8: __________________________________________

File system:       ext4
Boot sector type:  Grub2 (v1.99)
Boot sector info:  Grub2 (v1.99) is installed in the boot sector of sda8 
                   and looks at sector 860224256 of the same hard drive 
                   for core.img. core.img is at this location and looks 
                   for (,msdos9)/boot/grub on this drive.
Operating System:  Ubuntu 13.04
Boot files:        /etc/fstab

sda9: __________________________________________

File system:       ext4
Boot sector type:  -
Boot sector info: 
Operating System:  elementary OS Luna
Boot files:        /boot/grub/grub.cfg /etc/fstab /boot/grub/core.img`

I need advice as to how to proceed. I mean, could I simply delete /dev/sda7/ and /dev/sda8/? Please help, thank you.

© Ask Ubuntu or respective owner

Related posts about 12.04

Related posts about partitioning