LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-26-2003, 01:26 PM   #1
dlocalized
LQ Newbie
 
Registered: Nov 2003
Posts: 21

Rep: Reputation: 15
Slightly OT : Restoring Drive Image to Resized Partition


Hi

I would like to install Mandrake 9.2 on a fairly new notebook that currently runs XP on one 40G partition.

I have been advised against using Partition Magic to resize and create a new partition, so I am interested in creating an image of my current partition, formatting and installing both XP and Mandrake from scratch, and then restoring my old files from image.

I have heard that restoring an image to a partition of a different size relative to the original is not necessarily a trivial thing. Does anyone here have experience with this operation?

Thanks

d
 
Old 11-26-2003, 02:59 PM   #2
Charlie Spencer
Member
 
Registered: Nov 2003
Location: South Carolina, USA
Distribution: Fedora Core 5
Posts: 106

Rep: Reputation: 15
Why were you advised against PM? I'm sure others will let us know of problems with partitioning software programs. Assuming someone here confirms a problem with it, then...

If you are installing XP from scratch on a new partition, why not back up just your data, reinstall the apps, and then restore your data? An image is an -exact- duplicate of the drive, including the operating system, data, programs, settings, .INI files, registry entries, leftover temp files, cookies, etc. If you restore an image, it will overwrite your new "from scratch" installation. If you are installing from scratch to get a clean installation, restoring the image will defeat your purpose.

On the other hand, if you are happy with your XP installation, an image will preserve it. What imaging software are you planning on using? Some imaging software will let you reinstall to a smaller partition if the original data will fit. Make sure your new partition is larger than the amount of drive space used in the current partition.

Why not create the image file (these can be large; where do you plan to store it? A second drive is often useful during imaging operation), partition the HD, and attempt to restore the image to the new smaller partition? If it blows up, you've still got the image; repartition the drive to it's original configuration then restore the image. You won't be any worse off than you are now.

Anybody heard of problems with Partition Magic? Aren't there Linux distributions with a partitioning utility accessible during the installation? Even if one of those distro's is not the one you want, you could use it to get the drive partitioned and then install the one you want.
 
Old 11-26-2003, 03:36 PM   #3
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
I have used DriveImage a lot and more recently PartitionImage under linux. DI will certainly restore to a smaller partition and will take you through the process as it does it, provided of course it's not smaller than the occupied space. Linux partitioning apps will resize a partition but I am personally a bit shy about this process because results are not guaranteed. If you have a current XP install then image it and restore and that's all that needs to be done provided that the os is running on the identical hardware.
 
Old 11-26-2003, 03:37 PM   #4
dlocalized
LQ Newbie
 
Registered: Nov 2003
Posts: 21

Original Poster
Rep: Reputation: 15
Quote:
Why were you advised against PM?
I'm not sure of the basis. Searching on this forums yielded mixed reports. Finally, when I did get my hands on PM (version 5 I think) and boot via floppy, a message to the effect of "this partition extends beyond the 1024 cylinder and won't be bootable" accompanied any attempted resizing of my existing partition. PM was really my first choice, but I don't want to make any catastrophic changes to my system.
Quote:
If you are installing from scratch to get a clean installation, restoring the image will defeat your purpose.
I see your point, but I had hoped that restoring from an image would involve less work, ultimately. I have a copy of PQ Disk Image 7, and I haven't been able to find any indication of whether or not I can basically compress an original image to fit onto a smaller logical partition.

Thanks for your reply Charlie

d

Last edited by dlocalized; 11-26-2003 at 03:39 PM.
 
Old 11-26-2003, 03:48 PM   #5
Charlie Spencer
Member
 
Registered: Nov 2003
Location: South Carolina, USA
Distribution: Fedora Core 5
Posts: 106

Rep: Reputation: 15
Much easier if you've got someplace to put the image. Your original post said you wanted to reinstall XP and then the image, and I couldn't figure out why. I haven't worked with PQ Disk Image; I'm a Norton Ghost man myself. It will burn images across multiple CD's.
 
Old 11-26-2003, 04:07 PM   #6
rrsc16954
Member
 
Registered: Sep 2003
Location: Edinburgh, Scotland
Distribution: Kubuntu 12/4
Posts: 214

Rep: Reputation: 30
---'''Aren't there Linux distributions with a partitioning utility accessible during the installation?'''---

Mandrake 9.2 has a very clever partitioning software, very easy to use. You can simply tell it to autopartition unused space on your disk. Choose expert mode, and all the options are there. It is like magic.
 
Old 11-26-2003, 04:21 PM   #7
dlocalized
LQ Newbie
 
Registered: Nov 2003
Posts: 21

Original Poster
Rep: Reputation: 15
I have used the partition function of Mandrake on another computer and it worked well. My problem in this instance is that I don't have any unused space on this disk. I need to make some, either via PM or via reinstallation. The 1024 cyclinder issue has confounded me, so it looks like reinstallation may be the easiest option.

Thanks to all who have commented so far.
 
Old 11-26-2003, 05:08 PM   #8
rrsc16954
Member
 
Registered: Sep 2003
Location: Edinburgh, Scotland
Distribution: Kubuntu 12/4
Posts: 214

Rep: Reputation: 30
If you are actually using all the space on your disk then you won't be able to put another OS on it. You'll need at least 6 to 10 Gb to instal Mandrake 9.2.

If Windows says you have at least this amount of space, you can free it up by running defragmentation (compresses all your files to one 'end' of your disk) then use fips (Google it) to create a Linux partition in the space created.

Then install Mandrake and when it gets to the partitioning stage choose 'expert'. You'll then see the windows partition and the new one you've created - click on that to choose it. Delete it, and then choose 'autopartition the empty space'.

Remember to back up all your data before anything else.

I don't think the 1024 cylinder issue is an issue - this is only a problem for old disks (pre 1994-98) and you say you are using a new notebook.
 
Old 11-26-2003, 05:24 PM   #9
aaa
LQ Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 46
If you have PM use it to resize Windows only. You get problems when you create Linux partitions with it. Linux is much better at doing this. Just leave empty space for linux. Also don't install BootMagic, that causes trouble too.

Last edited by aaa; 11-26-2003 at 05:59 PM.
 
Old 11-27-2003, 10:19 AM   #10
dlocalized
LQ Newbie
 
Registered: Nov 2003
Posts: 21

Original Poster
Rep: Reputation: 15
Thanks for the comments

One more question and I'll let this thread go....

Are there any disk partitioning utilities out there that don't require a boot from floppy? I don't have a floppy drive in this notebook and access to a USB floppy is unpredictable.

d
 
Old 11-28-2003, 03:36 PM   #11
rrsc16954
Member
 
Registered: Sep 2003
Location: Edinburgh, Scotland
Distribution: Kubuntu 12/4
Posts: 214

Rep: Reputation: 30
You could put the partitioning tools on a cd instead of a floppy, if you can boot from cd.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Creating/restoring drive image on USB drive OneSeventeen Linux - Newbie 9 07-06-2005 06:08 AM
NIC wont get IP after restoring image.. slug420 Linux - General 2 01-13-2005 08:18 AM
Partition Magic / Mirroring / Image / Copying a Whole Drive? ch4os Linux - Newbie 4 01-06-2005 06:39 PM
HELP resized partition and lost all data wolfbeast2 Linux - Newbie 15 08-14-2004 08:05 PM
disk druid refuses to acknowlege my resized partition overhols Red Hat 7 02-17-2004 08:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:53 AM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration