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 am running dualboot (Windows 7 and Ubuntu 12.04) and I would like to make more space for my Ubuntu partition. I am doing it from a live cd through gparted.

I was about to resize my windows partition to get unallocated space and resized my ubuntu to fill it. But then i got this:

"Moving a partition might cause your operating system to fail to boot.

You have queued an operation to move the start sector of partition /dev/sda3. Failure to boot is most likely to occur if you move the GNU/Linux partition containing /boot, or if you move the Windows system partition C:. You can learn how to repair the boot configuration in the GParted FAQ. http://gparted.org/faq.php

Moving a partition might take a very long time to apply."

I got scared and didn't dare to do it, but I still want more space on my ubuntu partition. What should I do ?

Thank you so much in advance

Markus

share|improve this question
add comment

4 Answers 4

It is highly recommended to backup any important files before doing resize/move operations.

The Gparted message merely warns you about the risk of losing data when resizing. It does not mean you will loose your data but its possible.

I use Gparted and other partitioning software to change size of my partitions (Ubuntu, XP Vista, and 7 just as an example) almost on a daily basis, and never encountered any problem.

It is highly recommended to backup any important files before doing resize/move operations.

share|improve this answer
add comment

It cannot be said enough, make a backup and confirm it actually has the required data in it before making a system change like this.

That said, I find that if I move the starting block location of the boot drive (eg from sector 63 to 2048) I have to reinstall grub before the system will boot.

share|improve this answer
add comment

If you move the partition that contains /boot (usually where Ubuntu is installed), Grub will not be able to load and will go into a recovery line mode when booting up your computer.

I myself haven't moved my Partition to give me more room because of that scary message.

For this next step, make sure you have a Ubuntu live CD/USB on you to boot from.

Make sure to backup all your important files, then use your GParted live CD to move the partition you want to move.

Then reboot your computer, boot into your Ubuntu live CD/USB, and with a Terminal, run sudo update-grub. If that doesn't run, try sudo apt-get install --reinstall grub && sudo grub-install. Then sudo update-grub.

Hopefully this works.

share|improve this answer
add comment

Backup any important files.

In Windows run defrag and chkdsk / f.

Start with a live-cd with gparted and reduce the partition.

Reboot with Windows. If everything works correctly.

Start with a live-cd and using gparted increases Ubuntu partition.

Open a terminal, get the UUID of the partition, chroot, edit the / etc / fstab file, correct the UUID, reinstall Grub, running:

sudo su
fdisk -l
blkid /dev/sdax 
#/dev/sdax = linux partition - mount as /
mount /dev/sdax /mnt
mount --bind /dev /mnt/dev 
mount --bind /dev/pts /mnt/dev/pts
mount --bind /proc /mnt/proc
mount --bind /sys /mnt/sys
chroot /mnt
nano /etc/fstab
#Change the UUID if this changed to /dev/sdax mount as /
#Save the file (Control+O). Close Nano (Control+X)
grub-mkconfig -o /boot/grub/grub.cfg
grub-install --root-directory=/mnt /dev/sda
grub-install --recheck /dev/sda
umount /mnt
reboot
share|improve this answer
add comment

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.