partimage help
I am using the sysrescueCD.
All I want to do is take an image of my linux install. I want to save the image to /backup which is a mount point for one of the partitions. The problem I get is that I don't have permission! Please help! |
I think I had this problem before... in the image file box did you type /backup or did you put a filename like /backup/linuxbackup ?
Oh... and is the backup partition NTFS? Linux can't write to NTFS. |
It is not a NTFS partition.
I tried using /backup/backu1.bz2 but still no joy! Should I change it to hda8/backup/backup1.bz2 or hda8/mnt/backup/backup1.bz2 Thanks for all help! |
I did something like this
mkdir /backup mount /dev/hda8 -t vfat /backup (assuming hda8 is FAT filesystem) And then in partimage /backup/backup and you don't need .bz2 but I don't think it causes a problem if you do have it... try it without it anyway. It will autimatically put a .000 extention and if you have it split into more than one it makes .001, .002... by the way if it's FAT32 you can't have files more than 2GB so in the "split into files" box it needs to be 2048 MB. To make sure it got mounted right you can type ls /backup and if it's mounted it should show you all the files on hda8. |
brilliant I now have files backup.000 and backup.001 any tips on how to restore the images from CD?
|
Do you mean restore from image files on CDs or by CD do you just mean restore using the SystemRescueCD? I haven't done it from CDs but you probably just mount the CD drive like normal... in Partimage you tell it to restore from image and type /cddrive/backup.000, /cddrive is where you mounted the CD drive... When it's finished with backup.000 it will look for backup.001 on /cddrive. I think if you press Alt+F2 you get a new console and from there you can unmount the CD, switch CDs, and mount it again... then Alt+F1 will get you back to the Partimage screen and you could probably tell it to continue and it would find the next file...
If you only have 1 CD drive you have to type at "boot:" fb800 cdcache (or fb1024 for 1024x768) That will copy the whole SystemRescueCD to the RAM so you will be able to eject it and put another one in. (just type "eject") |
I mean restore from CDs using the SystemsRescueCD so I will give that a try and see what happens!
|
Righ I can copy the CD to the cache and remove the rescue CD. I cant seem to mount
the CD with the backup file on. mount/cdrom what command should I use? Thanks again for all this help! |
Well... what does it say when you try?
If you have just one hard drive the CD is /dev/hdb, as long as it's IDE, if you have 2 hard drives it's hdc... so mount /dev/hdb /cdrom should work... and you have to mkdir /cdrom first to create the directory. |
Thanks again I will try that when I get in and post the error message if I have no luck!
|
Still no luck
CD copied to cache ok, but when is use mount /dev/hdb/cdrom I get and error saying : can't find /dev/hdb/cdrom in /etc/fstab or /etc/mtab Any ideas? |
You just forgot the space.
You're telling it to mount /dev/hdb at /cdrom so there has to be a space between those two: mount /dev/hdb /cdrom |
All times are GMT -5. The time now is 11:50 PM. |