Sign up ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

I have Ubuntu 10.10. it is installed in one partition and the boot partition is a separate one. can i relocate the boot partition into the ubuntu partition and if yes how??

share|improve this question
yes. but if you have to ask it's going to be trouble. i wouldn't. – hbdgaf Oct 25 '11 at 13:25
psusi's answer shows you how to boot from the ubuntu partition instead ... do you also want to reclaim the space used by the boot partition? (If it's less than 1GB I would not bother) – Joe P Oct 25 '11 at 15:40
the boot partition is 2 gb and it is completely empty.. it just contains the boot files – Ashu Oct 25 '11 at 16:09

1 Answer 1

up vote 3 down vote accepted

Simple; copy the files there to the root partition, unmount the /boot partition, remove the mount directive for the /boot partition, and reinstall grub:

sudo -s
mkdir /newboot
cp -ax /boot /newboot
umount /boot
rmdir /boot
mv /newboot /boot
nano /etc/fstab
dpkg-reconfigure grub-pc

When you are editing /etc/fstab, locate the line for /boot and remove it.

share|improve this answer
im getting this error root@ubuntu:~# cp -ax /boot /newboot root@ubuntu:~# umount /boot umount: /boot: not mounted root@ubuntu:~# rmdir /boot rmdir: failed to remove '/boot': Directory not empty (sorry i donot know how to enter them on different lines) – Ashu Oct 25 '11 at 16:31
@Ashu, you don't appear to have a separate /boot partition... – psusi Oct 25 '11 at 18:36
But a folder called boot is located on an another partition... once i had formatted that partition and my ubuntu stopped showing up in during booting process... – Ashu Oct 25 '11 at 19:45
the contents of the folder are in this image ( – Ashu Oct 25 '11 at 19:50
@Ashu, that appears to be your Windows 7 partition with the windows boot loader in its /boot directory. A /boot partition is a partition that holds your /boot directory ( the one in your root ). – psusi Oct 26 '11 at 1:53

Your Answer


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.