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. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
06-14-2004, 06:51 AM
|
#1
|
Member
Registered: Jun 2004
Posts: 35
Rep:
|
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!
|
|
|
06-14-2004, 07:22 AM
|
#2
|
Member
Registered: Mar 2004
Location: Canada
Distribution: Gentoo 2004
Posts: 133
Rep:
|
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.
|
|
|
06-14-2004, 07:33 AM
|
#3
|
Member
Registered: Jun 2004
Posts: 35
Original Poster
Rep:
|
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!
|
|
|
06-14-2004, 08:13 AM
|
#4
|
Member
Registered: Mar 2004
Location: Canada
Distribution: Gentoo 2004
Posts: 133
Rep:
|
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.
|
|
|
06-15-2004, 06:35 AM
|
#5
|
Member
Registered: Jun 2004
Posts: 35
Original Poster
Rep:
|
brilliant I now have files backup.000 and backup.001 any tips on how to restore the images from CD?
|
|
|
06-15-2004, 08:43 AM
|
#6
|
Member
Registered: Mar 2004
Location: Canada
Distribution: Gentoo 2004
Posts: 133
Rep:
|
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")
|
|
|
06-15-2004, 11:08 AM
|
#7
|
Member
Registered: Jun 2004
Posts: 35
Original Poster
Rep:
|
I mean restore from CDs using the SystemsRescueCD so I will give that a try and see what happens!
|
|
|
06-16-2004, 12:55 AM
|
#8
|
Member
Registered: Jun 2004
Posts: 35
Original Poster
Rep:
|
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!
|
|
|
06-16-2004, 06:28 AM
|
#9
|
Member
Registered: Mar 2004
Location: Canada
Distribution: Gentoo 2004
Posts: 133
Rep:
|
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.
|
|
|
06-16-2004, 06:48 AM
|
#10
|
Member
Registered: Jun 2004
Posts: 35
Original Poster
Rep:
|
Thanks again I will try that when I get in and post the error message if I have no luck!
|
|
|
06-17-2004, 09:30 AM
|
#11
|
Member
Registered: Jun 2004
Posts: 35
Original Poster
Rep:
|
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?
|
|
|
06-17-2004, 09:40 AM
|
#12
|
Member
Registered: Mar 2004
Location: Canada
Distribution: Gentoo 2004
Posts: 133
Rep:
|
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 08:05 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|