Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
expanding the boot partition
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Off the Wall
View previous topic :: View next topic  
Author Message
juniper
l33t
l33t


Joined: 22 Oct 2004
Posts: 757
Location: EU

PostPosted: Tue Dec 11, 2012 12:46 pm    Post subject: Reply with quote

BoneKracker wrote:

You could just put your boot partition somewhere else on the disk, but if you're OCD, that won't do. Besides, moving partitions around has the side effect of defragmentation, if you do it right. Boot from CD, purge your tmp directories, then 'cp -a' each partition somewhere else (ideally, with the destination partition(s) mounted with the same options as the originals, as it pertains to atimes and that sort of thing). Then fix your partitions and 'cp -a' it all back. You can do a byte-wise copy or move using dd or the equivalent (which is what most partition utility "move" and "copy" functions do, I think), but that wastes time moving all your empty space, does not defragment the filesystem, and replicates any filesystem errors. Tar and compression might be useful, but if your disk is less than half full, you have no issue, and I'm not sure it actually saves any time unless you're copying somewhere over the network.

I've done this sort of thing several times without problems, so if you destroy your data, it's not my fault. :P


I think I'll go the gparted method.
Back to top
View user's profile Send private message
Bones McCracker
Veteran
Veteran


Joined: 14 Mar 2006
Posts: 1564
Location: U.S.A.

PostPosted: Tue Dec 11, 2012 3:56 pm    Post subject: Reply with quote

gparted has probably trashed more systems than spilled beverages. :P
_________________
juniper wrote:
I use ubuntu, which is why I am posting here.
Back to top
View user's profile Send private message
LiamOS
n00b
n00b


Joined: 06 Jun 2012
Posts: 56
Location: Kerry/Dublin, Ireland

PostPosted: Tue Dec 11, 2012 4:35 pm    Post subject: Reply with quote

BoneKracker wrote:
gparted has probably trashed more systems than spilled beverages. :P

True, but your beverage doesn't spend half of its existence warning you of the impending destruction... If that helps... :?:
_________________
CFLAGS=" -O999999"
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 16102
Location: Colorado

PostPosted: Wed Dec 12, 2012 4:52 am    Post subject: Reply with quote

LiamOS wrote:
BoneKracker wrote:
gparted has probably trashed more systems than spilled beverages. :P

True, but your beverage doesn't spend half of its existence warning you of the impending destruction... If that helps... :?:
Sure it does :D
_________________
lolgov. 'cause where we're going, you don't have civil liberties.

In Loving Memory
1787 - 2008
Back to top
View user's profile Send private message
LiamOS
n00b
n00b


Joined: 06 Jun 2012
Posts: 56
Location: Kerry/Dublin, Ireland

PostPosted: Wed Dec 12, 2012 5:46 pm    Post subject: Reply with quote

Touché, good sir.


We don't yet have those in Ireland, thankfully.
_________________
CFLAGS=" -O999999"
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 16102
Location: Colorado

PostPosted: Thu Dec 13, 2012 1:25 am    Post subject: Reply with quote

Thankfully indeed. It is rather idiotic and wasteful (maybe it can help serve as an example of why so many of us think government should be smaller and less powerful, etc.)
_________________
lolgov. 'cause where we're going, you don't have civil liberties.

In Loving Memory
1787 - 2008
Back to top
View user's profile Send private message
juniper
l33t
l33t


Joined: 22 Oct 2004
Posts: 757
Location: EU

PostPosted: Thu Jan 24, 2013 12:33 am    Post subject: Reply with quote

after much procrastinating, I just ran gparted. gparted does not let you delete a device if you have mounted file systems with higher numbers. My OS is on a higher number partition, so I couldn't do that. So, instead of deleting /dev/sda6 and creating a super /dev/sda5, I just shrank sda6 to as small as I could (9MB) and moved and grew /dev/sda5. Now i have 180 big ones (MB) for /boot.

seems to have worked. I guess proof will be in the rebooting. Curses will follow if I have trouble.
Back to top
View user's profile Send private message
Bones McCracker
Veteran
Veteran


Joined: 14 Mar 2006
Posts: 1564
Location: U.S.A.

PostPosted: Thu Jan 24, 2013 1:50 am    Post subject: Reply with quote

You should boot from a cd when you're doing this sort of thing. SystemrescueCD has all the tools you need for this and is good to have around.
_________________
juniper wrote:
I use ubuntu, which is why I am posting here.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Off the Wall All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum