LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
LinkBack Search this Thread
Old 10-21-2005, 01:50 PM   #1
mimithebrain
Member
 
Registered: Nov 2003
Location: ~
Distribution: Ubuntu 10.04
Posts: 843
Blog Entries: 1

Rep: Reputation: 30
Repartitionning without losing data


I have a boot ext2 32mb partition, a root 7.5 Gig ReiserFS, a 1024MB swap, and a 17500 home partition.

I want to extand my root partition (because I realised gentoo need more than that... with all the compiles I'm making)

I'm thinking, I have 35 unallocated gig of space, can I just move all the root and home partitions' content over to a new partition, delete all the partition but the boot one. Make a root one that's 10gig ReiserFS, make 1024 Mb swap again, and my home partition, and just move the data back in without problems?

I got Partition Magic 8

thanks
 
Old 10-21-2005, 04:14 PM   #2
linmix
Senior Member
 
Registered: Jun 2004
Location: Spain
Distribution: FC5
Posts: 1,993
Blog Entries: 1

Rep: Reputation: 46
Wouldn't trust Partition Magic to protect my data....

Why not try using a gnu app: partimage (available in e.g. knoppix). It will let you make compressed backups of your partitions that you can later place back in the new partitions as long as they are the same size or bigger tan the original data that's backed up. It'll also allow you to back-up your mbr, so that if the order of the partitions doesn't change you won't have to do anything extra to get the system back on.
 
Old 10-21-2005, 08:46 PM   #3
mimithebrain
Member
 
Registered: Nov 2003
Location: ~
Distribution: Ubuntu 10.04
Posts: 843
Blog Entries: 1

Original Poster
Rep: Reputation: 30
very nice advice linmix

If I understand well, partimage does the same job as dd if=/dev/hda6 of=/mnt/otherparition/hda6image.img would do?

So If I tranfer them the ol fashion way, it'll work still , and if I dd it or use partimage, then later recover it on a same size or bigger partition, there won't be any trouble with the system? (as long as, I guess /dev/hda6 doesn't become /dev/hda5 or anything like that I guess)
 
Old 10-22-2005, 02:58 PM   #4
linmix
Senior Member
 
Registered: Jun 2004
Location: Spain
Distribution: FC5
Posts: 1,993
Blog Entries: 1

Rep: Reputation: 46
Exactly, but with the additional advantage if you use partimage that you can create compressed images, saving up to 50% of space depending of the compression you choose and the possibility of creating a back-up of your mbr!
 
Old 10-22-2005, 03:35 PM   #5
mimithebrain
Member
 
Registered: Nov 2003
Location: ~
Distribution: Ubuntu 10.04
Posts: 843
Blog Entries: 1

Original Poster
Rep: Reputation: 30
now that's better than the average program and the "dd" command...

You convinced me whenever I'll see the need fit, I'll just make an image using partimage, and play with my partitions
 
Old 10-22-2005, 04:01 PM   #6
linmix
Senior Member
 
Registered: Jun 2004
Location: Spain
Distribution: FC5
Posts: 1,993
Blog Entries: 1

Rep: Reputation: 46
Additionally you can tell the app to cut the back-up in handy chunks any size you wish, for example to be able to burn the info to cd... (just keeps getting better doesn't it) Aditionally it has (experimental) ntfs support, so you can also back-up your virus-prone win install.
 
Old 10-22-2005, 04:38 PM   #7
mimithebrain
Member
 
Registered: Nov 2003
Location: ~
Distribution: Ubuntu 10.04
Posts: 843
Blog Entries: 1

Original Poster
Rep: Reputation: 30
nice !

I don't use windows on a regular basis anymore, just for games, and mostly offline... though it would be good for me to have a win image so it's faster to recover...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Repartitioning without losing data Cdzin Slackware 4 01-30-2005 08:27 PM
Join Partitions Without losing data aeruzcar Linux - General 0 06-28-2004 11:54 PM
Upgrade to RH 9.0 without losing data? habadash Linux - Newbie 3 07-31-2003 05:41 PM
formating without losing some data nakkaya Linux - Hardware 7 02-20-2003 09:54 PM
keep losing data from /usr bdp Linux - General 4 07-06-2002 02:21 AM


All times are GMT -5. The time now is 07:55 PM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration