Fedora Linux Support Community & Resources Center
  #1  
Old 8th December 2004, 12:54 AM
mjman Offline
Registered User
 
Join Date: Oct 2004
Posts: 286
Question Creating a backup drive image to restore later

I just posted about this, but I would like to create an image of my / partition of my fc3 installation. I want to shrink my windows partition, and give linux more room. However, there does not seem to be any programs that can resize the ext3 filesystem. Thus, I need to backup my fc3 installation, shrink my ntfs partition, create a new, larger ext3 partition, and restore my drive image to it.

I can't seem to figure out a good way to do this. Does anyone know?
Reply With Quote
  #2  
Old 8th December 2004, 01:26 AM
mugga Offline
Registered User
 
Join Date: Sep 2004
Posts: 32
I think Partition Magic 8 for Windows will resize ext3 partitions
__________________
Marcus Wynwood
www.mwynwood.com
Judge a man by his questions, not his answers – and don’t forget to add to peoples reputations!
If Windows sucked, it would be good for something ;)
Reply With Quote
  #3  
Old 8th December 2004, 03:11 AM
mjman Offline
Registered User
 
Join Date: Oct 2004
Posts: 286
nope, the option isn't available for ext3 partitions.
Reply With Quote
  #4  
Old 8th December 2004, 03:53 AM
james_in_denver Offline
Registered User
 
Join Date: Oct 2004
Posts: 1,227
I am assuming from your post that you only have 2 partitions????

partition #1, windows, with free space and you want to shrink it, and
partition #2, Linux, and you want to expand it?

(Note to the unwitting/noobs, I have not personnally used "gpartd" OR "partition magic" i do not make or imply any warranty to their usefulness. you have been warned)


Plan "A":

You can use partition Magic to shrink your windows partition, and then use "gpartd" to grow your Linux partition, it's available here:
http://gparted.sourceforge.net/

Plan "B":

Buy a new 40-80 gig disk, 25-50 $ at circuit city/best buy when you look for their sale price with rebates, as long as you mail the rebate form in!!!


Actually, the fastest/cheapest way might be to just by another hard drive, partition HD#2("fdisk /dev/hdb"), format it ("mkfs -t ext3 /dev/hdb1") , make a mountpoint for it ("mkdir "/t"), mount it temporarily ("mount -t ext3 /dev/hdb1 "/t") copy over the "/usr" directory("cp -parv /usr /t")

Then boot the "rescue" disk, but don't tell it to mount/find an existing installation!,

create a directory "mkdir /t",

mount your linux partition manually "mount -t ext3 /dev/hdawhatever /t",

cd into your hard drive's root partition (now mounted on "t") "cd /t" ,

delete the old "/usr" directory with "rm -rvf usr"

vi the "/t/etc/fstab" file and add an entry for for your new "/usr" partition (should look something like
this "/dev/hdb2 /usr ext3 defaults 1 0" (that will mount the primary slave's second partition on the "/usr" directory, assuming that you created and copied your ENTIRE /usr directory to this partition before starting this procedure)

reboot (you now should have a few extra gig free on your "/" partition, and your "/usr" partition will have TONS of free space on it.....okay, only if you created/formatted a big partition in "fdisk /dev/hdb" step above

(once rebooted, your Linux install will now use two partitions, one for everything on the "/" filesystem EXCEPT for the "/usr" directory, and one that contains ONLY the "/usr" directory)
__________________
Only dead fish go with the flow....

Hmmm, what did I miss?
Reply With Quote
  #5  
Old 8th December 2004, 07:24 PM
mjman Offline
Registered User
 
Join Date: Oct 2004
Posts: 286
Thanks for your help guys. In the end, I installed a new fc3 installation on my external drive. Then, from that installation, i used partimage to backup the partitions of my local installation. Then, I booted into windows, and used partition magic to delete my local installation, and create my new, larger / partition. (for some reason, I cannot delete the swap partition using gparted, so i had to use partition magic). Then, I booted to my external fc3 (which proved to be difficult due to the fact that grub.conf was gone), and used partimage to restore my data.
Reply With Quote
Reply

Tags
backup, creating, drive, image, restore

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
backup restore and restore point. F.User_4_Life Using Fedora 0 12th April 2008 12:51 AM
What's you favorite program for creating a backup image of your computer. MegaManZZ Using Fedora 4 20th October 2007 11:12 PM
What's you favorite program for creating a backup image of your computer. MegaManZZ Using Fedora 1 19th October 2007 04:33 PM
[general] fc6: hard drive image transfer/backup pcandpc EOL (End Of Life) Versions 1 4th February 2007 07:36 PM
Server Image Backup / Restore (SCSI) purepages Servers & Networking 4 28th April 2005 11:09 PM


Current GMT-time: 09:37 (Monday, 21-04-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat