LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Partimage (https://www.linuxquestions.org/questions/linux-newbie-8/partimage-555081/)

Earthling2 05-19-2007 02:56 AM

Partimage
 
I'm completely new to Linux, but I've got Mandriva 2007 up and added Partimage. However when I try to make an image of hdb1 I'm getting -

Error - Cannot create temp file [./pi878f5c20.tmp]. Please check there is space enough and you have access rights.

I am in Mandriva's Safe Mode and issued the command umount / before running partimage.

homey 05-19-2007 08:00 AM

You can't make an image of a system that is in use, you need to run partimage from another OS . A live cd is good for that.

Earthling2 05-19-2007 08:20 AM

Thanks, I suspected as much so also tried the Mandriva live cd, but that doesn't have partimage on it.

What else could I use?

BTW, as this is my first encounter with Linux I'm a bit surprised and disappointed there is no equivalent of Norton Ghost, which has no problem at all imaging an active system in Windows.

homey 05-19-2007 09:13 AM

Quote:

...Norton Ghost, which has no problem at all imaging an active system in Windows
That's news to me as it always rebooted to make the image.

The GPARTED and System Rescue livecds are small and have partimage along with other goodies.

Earthling2 05-19-2007 09:29 AM

Ghost from version 9 uses a technique called Volume Shadow Copy, so no more rebooting necessary.

Thanks for the tips, I'll go find em.

Earthling2 05-21-2007 02:55 AM

Quote:

Originally Posted by homey
...The GPARTED and System Rescue livecds are small and have partimage along with other goodies.

I now have the System Rescue CD but am having difficulty getting Partimage to do what I want it to do - it's just me not knowing enough about the file system.

I want to image my Mandriva system partition on hdb1 to my external drive on sda1 and have tried a variety of names for the image file to create, such as /sda1/mandriva, /dev/sda1/mandriva, and although most appear to work in the sense that a file is being created somewhere, it isn't being created on sda1 and anyway always stops after 2GB saying disk full and asking for a new path. The disk isn't full of course.

The second problem I have is that I have not been able to find how you change any of the default options - those with a *.

Any help will be much appreciated, as Partimage assumes you already know all this stuff :rolleyes:

stealth_banana 05-21-2007 03:21 AM

You meed to mount the external HD

Open a terminal and issue these commands

mkdir /mnt/sda1
mount /dev/sda1 /mnt/sda1

This will create a mount folder and adding the external HD to it, you can cd to the folder and check or use Midnight Commander.

When running partimage the save to line will be

/mnt/sda1/whatyouwanttocallit

enjoy.

it may be useful to check the disk first

fsck /dev/hdb1

As for default options, use the tab key to change position and the space key to select/deselect. It sounds like you have been saving it to an existing folder on the live system so your memory and swap is filling up giving the error.

Earthling2 05-21-2007 03:51 AM

I think we may have met somewhere else ;)

Thanks for that, I'll try it when I can get the wife off MY comp :D

ghetto-betto 05-26-2008 11:06 PM

writing in the fields
 
Quote:

Originally Posted by Earthling2 (Post 2757004)
.....
The second problem I have is that I have not been able to find how you change any of the default options - those with a *.

have the same prob
can't write or change anything in the given fields

Earthling2 05-27-2008 03:51 AM

The whole procedure, using SystemRescueCD

On bootup be sure to select the correct keyboard

At the prompt type startx, and right click anywhere to get the menu up. Click Partimage.

In the Partition to Save/Restore section use the Up/Down keys to select

Use Tab to move to Image File to Create/Use. Type the path and filename for your image file

Tab to Action to be Done, and if the * isn't in the selection you want use Tab to get to it. Space bar selects that action

F5 to write the image.


All times are GMT -5. The time now is 04:58 PM.