cp ?
"man cp" for options..
Hi knoppix people,
I've a friend who has a laptop with XP (fat32) 10G on it plus an external 40G USB HD.
What I'm trying to find out is what is the best way to backup the laptop's HD image to the USB HD (or restore) under knoppix??
"dd"-ing ...? Or just backup via kbackup or similar? Other??
Thank you
rob
cp ?
"man cp" for options..
Personally, I have not yet used this utility but you may want to try the partimage tool found on knoppix. You can find info on this tool at www.partimage.org. This should help if he needs to backup and restore the partition in a norton ghost like way.
If he's just trying to backup files then I suggest taring and zipping.
tar -czvf /mnt/windows_files /mnt/usb_drive
Just make sure the first partition is mounted and readable and the second is mounted and writeable.
--Personally, I use ' mc ' for most all my copying needs. Insert-key to highlight files, Tab to move to the other window, cd to destination dir, Tab again to get back to the source window, and F5 to copy. Anything I have to delete, ' mc ' is a must. I've been Root for over 5 years now, and never trashed a filesystem due to a mistyped ' rm ' command.
--Warn: Tar, gzip, bzip2, bash, cat, etc. all suffer from a 2GB filesize limitation. I'll be writing a note to the Debian developers demanding to have this fixed before the next release. In this world of cheap 160GB drives, ancient 2GB filesize limits are completely out of the question!
Originally Posted by aay
Yuck! Please do write them. I didn't know that. I have only used this to backup files onto a cd-r/rw so I guess that's why I haven't had any problems. If i ever get a dvd-r/rw though this would become a problem. I should buy some more hard drives! Thanks
This is exactly what I was trying to find!Originally Posted by aay
Thanks!
rob
--Actually I was completely wrong about the 2GB filesize limitation. SuSE 7.3 suffers from this, Debian does not. My apologies for the confusion.
Originally Posted by Dave_Bechtel
Not a problem. It's easy to get things mixed up. Thanks for posting a reply.
I was messing around with partimaged and got the following error on use:
knoppix@ttyp2[knoppix]$ partimaged
partimaged: error while loading shared libraries: libstdc++libc6.2-2.so.3: cannot open shared object file: No such file or directory
Any idea anyone?i
I was looking at some posts over at the linuxtag site earlier today and I remember reading that others were having this problem. Someone chimed in that there is a bug that affects partimage in the 12-12 release. You may want to look over there and see what else is said about the issue. Hopefully, if there is a bug, it will get reported back to Klaus

Kingston 32GB 64GB 128GB 256GB USB 3.0 Flash Drive Thumb Memory Stick Pen lot
$285.90
Microsoft Office 2021 Pro Plus USB for 1PC Windows 10 & 11
$62.50
TF/SD Card Adapter Camera Reader Android Type-c For iPhone17 Pro Max Plusm lot
$573.98
lOT OF 4 SKhynix 8GB (4 x 8GB =32GB) HMA41GR7MFR8N-TF 2R8 PC4-2133P DDR4 MEMORY
$89.00
128GB (4x32GB) SK hynix DDR4 PC4-2666V RDIMM ECC Server Ram HMA84GR7CJR4N-VK
$799.00
USB 3.0 Flash Drive 32GB 64GB 128GB Memory Stick Thumb Stick Lot Pack
$826.09
USB 3.0 Micro SD SDHC TF Card Reader Memory Adapter for PC Laptop Camera lot
$3.75
A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G
$21.68
Dell Precision 3541 Laptop i5-9300H 2.4GHz 256GB SSD 16GB RAM Win 11 Pro
$189.99
Microsoft Windows 11 Home 64-Bit USB Flash Drive + Key Retail Box - Original
$39.88