Need help expanding Home partition into unallocated space

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post please read this

Need help expanding Home partition into unallocated space

Postby locke456 on Thu Oct 03, 2013 2:07 am

So Mint's grown on me more than I expected it to and it's become my primary work OS on my Win 7/Mint 15 dual-boot laptop. Unfortunately, this means I now need more room on my Home partition than I set it up with when first installing way back when.

I've shifted partitions around before using gparted, so I've gotten to the point where I've sliced a chunk off of my Win 7 partition (in Windows) and then booted off a LiveCD and loaded gparted to see this:
1.png


Now, where I want to get to is here:
2.png


I was able to do this (without applying changes) by moving the boot sector to the left, then merging the unallocated space with the Home partition. However, once I did this I had vague memories of having had done something similar before and in the process destroying the boot sector and necessitating a complete reinstall of Mint. gparted also gave me an error message along these lines, telling me that moving the boot sector might keep my computer from booting up at all. I originally set up the dual-boot using EasyBCD in Win 7, which from what I've read in other forums might make it difficult to recover from messing with the boot sector for reasons I don't understand very clearly.

So my questions are:
1. Can I perform the operations shown in the second picture without messing up my boot sector? If no, is the boot sector easy enough to recover that I can get back to dual-booting without needing to reinstall any entire OSs?

2. What's the deal with the random 2.8mb sliver of space at the far right of my hypothetical partition arrangement? Is that something I should be worried about? It seems to have just come out of nowhere.

Thanks for any help!
locke456
Level 1
Level 1
 
Posts: 29
Joined: Wed Oct 03, 2012 6:02 am

Linux Mint is funded by ads and donations.
 

Re: Need help expanding Home partition into unallocated spac

Postby administrollaattori on Thu Oct 03, 2013 2:27 am

locke456 wrote:So my questions are:
1. Can I perform the operations shown in the second picture without messing up my boot sector? If no, is the boot sector easy enough to recover that I can get back to dual-booting without needing to reinstall any entire OSs?

2. What's the deal with the random 2.8mb sliver of space at the far right of my hypothetical partition arrangement? Is that something I should be worried about? It seems to have just come out of nowhere.

The operation should be ok in spite of GParted message. 2.8mb space is ok, so no worries about it.
User avatar
administrollaattori
Level 6
Level 6
 
Posts: 1489
Joined: Tue Sep 03, 2013 4:51 am

Re: Need help expanding Home partition into unallocated spac

Postby locke456 on Thu Oct 03, 2013 3:28 pm

Thanks for the reassurance. I'm going to give it a try after work in a few hours. If I have any boot trouble I'll be back :mrgreen:
locke456
Level 1
Level 1
 
Posts: 29
Joined: Wed Oct 03, 2012 6:02 am

Re: Need help expanding Home partition into unallocated spac

Postby locke456 on Thu Oct 03, 2013 4:38 pm

Nevermind; I went ahead and tried it right away. gparted got through the first step okay (moving the boot sector to the left). However, the second step (incorporating the unallocated space into the extended partition) failed with an error that said I cannot have "overlapping partitions." With only the first step complete, I was able to safely boot back into Mint and screen cap the partitions' current state.
Screenshot from 2013-10-03 13_31_15.png


How can I get sda4 to incorporate the unallocated space without errors? I'm not sure why it thinks that I'm overlapping partitions, because I shouldn't be...
locke456
Level 1
Level 1
 
Posts: 29
Joined: Wed Oct 03, 2012 6:02 am

Re: Need help expanding Home partition into unallocated spac

Postby administrollaattori on Thu Oct 03, 2013 11:49 pm

locke456 wrote:How can I get sda4 to incorporate the unallocated space without errors? I'm not sure why it thinks that I'm overlapping partitions, because I shouldn't be...

http://gparted.sourceforge.net/h2-fix-msdos-pt.php
http://gparted-forum.surf4.info/viewtopic.php?id=16373
User avatar
administrollaattori
Level 6
Level 6
 
Posts: 1489
Joined: Tue Sep 03, 2013 4:51 am

Re: Need help expanding Home partition into unallocated spac

Postby locke456 on Wed Oct 16, 2013 5:53 pm

administrollaattori wrote:
locke456 wrote:How can I get sda4 to incorporate the unallocated space without errors? I'm not sure why it thinks that I'm overlapping partitions, because I shouldn't be...

http://gparted.sourceforge.net/h2-fix-msdos-pt.php
http://gparted-forum.surf4.info/viewtopic.php?id=16373


Thanks! These helped a lot. I was able to get all the partitions shifted around correctly and now my Home partition is expanded (as pictured).
Screenshot from 2013-10-16 14_48_46.png

Unfortunately, in the process something I moved apparently screwed up the boot partition, because now Mint won't boot. When I restart the computer, it goes to the dual-boot menu (set up originally using this tutorial http://www.linuxbsdos.com/2012/06/06/ho ... windows-7/) and I can boot into Windows 7 from there. However, when I try to boot into Mint, it just stays at a black screen with a flashing command line cursor. I've left it sitting for at least ten minutes a few times and nothing happens. I imagine I need to rewrite the boot partition, but I'm not sure how to do that without wrecking the dual-boot setup. Any help would be very much appreciated. I'm almost there!
locke456
Level 1
Level 1
 
Posts: 29
Joined: Wed Oct 03, 2012 6:02 am

Re: Need help expanding Home partition into unallocated spac

Postby locke456 on Tue Oct 22, 2013 5:54 pm

Is there a way to rerun the Mint installer from the LiveCD USB stick without having to overwrite all the Linux partitions? Obviously reinstalling Mint in its entirety would fix the problem, but I don't want to lose all my local data, installed programs, settings, etc. unless that's the only way to get Mint working again.
locke456
Level 1
Level 1
 
Posts: 29
Joined: Wed Oct 03, 2012 6:02 am

Re: Need help expanding Home partition into unallocated spac

Postby locke456 on Wed Nov 06, 2013 2:31 pm

Nevermind. I just gave up and reinstalled.
locke456
Level 1
Level 1
 
Posts: 29
Joined: Wed Oct 03, 2012 6:02 am

Linux Mint is funded by ads and donations.
 

Return to Installation & Boot

Who is online

Users browsing this forum: Jlee86 and 12 guests