| View previous topic :: View next topic |
| Author |
Message |
juniper l33t


Joined: 22 Oct 2004 Posts: 756 Location: EU
|
Posted: Tue Dec 11, 2012 12:46 pm Post subject: |
|
|
| 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.  |
I think I'll go the gparted method. |
|
| Back to top |
|
 |
BoneKracker Veteran


Joined: 14 Mar 2006 Posts: 1488 Location: U.S.A.
|
Posted: Tue Dec 11, 2012 3:56 pm Post subject: |
|
|
gparted has probably trashed more systems than spilled beverages.  _________________ Oldthinkers unbellyfeel INGSOC.
-- Headline of a document on Winston Smith's terminal in his cubicle at the Ministry of Truth, seen briefly in the background in one scene of the movie rendition of Nineteen Eighty-Four. |
|
| Back to top |
|
 |
LiamOS n00b


Joined: 06 Jun 2012 Posts: 56 Location: Kerry/Dublin, Ireland
|
Posted: Tue Dec 11, 2012 4:35 pm Post subject: |
|
|
| BoneKracker wrote: | gparted has probably trashed more systems than spilled beverages.  |
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 |
|
 |
pjp Administrator


Joined: 16 Apr 2002 Posts: 16029 Location: Colorado
|
Posted: Wed Dec 12, 2012 4:52 am Post subject: |
|
|
| 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 |
|
 |
LiamOS n00b


Joined: 06 Jun 2012 Posts: 56 Location: Kerry/Dublin, Ireland
|
Posted: Wed Dec 12, 2012 5:46 pm Post subject: |
|
|
Touché, good sir.
We don't yet have those in Ireland, thankfully. _________________ CFLAGS=" -O999999" |
|
| Back to top |
|
 |
pjp Administrator


Joined: 16 Apr 2002 Posts: 16029 Location: Colorado
|
Posted: Thu Dec 13, 2012 1:25 am Post subject: |
|
|
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 |
|
 |
juniper l33t


Joined: 22 Oct 2004 Posts: 756 Location: EU
|
Posted: Thu Jan 24, 2013 12:33 am Post subject: |
|
|
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 |
|
 |
BoneKracker Veteran


Joined: 14 Mar 2006 Posts: 1488 Location: U.S.A.
|
Posted: Thu Jan 24, 2013 1:50 am Post subject: |
|
|
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. _________________ Oldthinkers unbellyfeel INGSOC.
-- Headline of a document on Winston Smith's terminal in his cubicle at the Ministry of Truth, seen briefly in the background in one scene of the movie rendition of Nineteen Eighty-Four. |
|
| Back to top |
|
 |
|