Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 04-08-2006, 06:22 PM   #1
Registered: Mar 2004
Location: South Korea
Posts: 103

Rep: Reputation: 15
Trouble with Kanotix/Partimage

I'm trying to back up the main partition of my laptop so I can reformat it. I'm using kanotix which comes pre-installed with partimage. I've tried the following (partition I want to back up is 15 gb with only about 5 used)
1)Mounting another partition from the drive and saving the image to that, it sits on 0 and doesn't progress, it should have lots of room, I'm compressing it. Its 9 GB in size.
2)Mounting a share from my windows machine via samba (which I can write to, its tested) and There's about 50 or 60 GB free on that drive and saving the image there.

Both times it sits there, and then eventually comes up with an error saying:
Can't read bitmap block 0 from image.

Anyone have any thoughts I've never used this before so any help is appreciated.

[edit] as an alternative plan of attack, could I:
cp the entire partition into a directory on my windows share (ntfs)
repartition the drive
cp the entirety of it back
reinstall grub with kanotix? (I've got a link somewhere I did it with knoppix when it broke on me once)

and have everything be okay, or is that asking way too much?

Last edited by kellinjar; 04-08-2006 at 06:39 PM.
Old 04-09-2006, 01:35 PM   #2
Senior Member
Registered: Oct 2003
Posts: 2,987

Rep: Reputation: 388Reputation: 388Reputation: 388Reputation: 388
What filesystem is on the "main partition" on your laptop? You realizie that you cannot image a mounted partition with partimage. Generally, I would use a livecd when doing a partimage backup for this reason. Then you leave the partition you want to image unmounted and mount the partition you want to recieve the image read/write. If the "main partition" is a linux filesystem, I generally don't even bother with partimage but use tar from a livecd to back it up and gzip to compress the tar archive. Partimage has some limitations about the size of the partition that you restore to that tar does not have.
Post back with some more relevant details re what you are trying to do. I would not recommend using partimage to restore to a partition of different size than the original. If it's smaller it won't work at all and if it's bigger the partition will be reported as the same size as the original.
Old 04-09-2006, 02:48 PM   #3
Registered: Mar 2004
Location: South Korea
Posts: 103

Original Poster
Rep: Reputation: 15
Kanotix is a live CD. The partition isn't mounted either, and its ext3.
I should instead tar the drive and send it across the network and then bring it back that way? Is there anything special I should do when taring?
Old 04-09-2006, 05:21 PM   #4
Senior Member
Registered: Oct 2003
Posts: 2,987

Rep: Reputation: 388Reputation: 388Reputation: 388Reputation: 388
That's what I would do or you can do it locally if you have the space. Boot up with kanotix, open a console and run:

$ su
# cd <mount point of partition you want to back up>
# tar -cvzf <full path to directory that you want to put the archive on>/<name of archive>.tar.gz .

Note, the trailing period is important in the above command; don't forget it or it won't work. That's what tells tar to recursively back up everything in the current directory on down. Also, you generally need to be root since there are usually files in any distro that are only readable by root; tar will not archive a file that it cannot read. Also, you will have to have write privileges to wherever you are creating the archive and the partition you are backing up should be mounted with at least read privileges. To restore afterwards, boot up with kanotix again, open a console, su to root and run:

# cd <mount point of partition to be restored>
# tar -xvzf <full path to archive directory>/<archive name>.tar.gz

Again, you will have to have write privileges to the partition being restored and at least read privileges on the driectory where the archive is stored.


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
partimage linuxmandrake Linux - Software 7 12-21-2005 08:59 AM
partimage salv236 Linux - Software 1 01-24-2005 08:51 AM
partimage help bungle_42 Linux - Software 11 06-17-2004 09:40 AM
Help with Partimage?? maestro52 Linux - Software 6 01-17-2004 06:03 AM
Help with Partimage please sluggo Linux - General 3 11-25-2003 06:54 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:11 AM.

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