LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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


Reply
  Search this Thread
Old 06-14-2004, 06:51 AM   #1
bungle_42
Member
 
Registered: Jun 2004
Posts: 35

Rep: Reputation: 15
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!
 
Old 06-14-2004, 07:22 AM   #2
TazG
Member
 
Registered: Mar 2004
Location: Canada
Distribution: Gentoo 2004
Posts: 133

Rep: Reputation: 15
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.
 
Old 06-14-2004, 07:33 AM   #3
bungle_42
Member
 
Registered: Jun 2004
Posts: 35

Original Poster
Rep: Reputation: 15
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!
 
Old 06-14-2004, 08:13 AM   #4
TazG
Member
 
Registered: Mar 2004
Location: Canada
Distribution: Gentoo 2004
Posts: 133

Rep: Reputation: 15
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.
 
Old 06-15-2004, 06:35 AM   #5
bungle_42
Member
 
Registered: Jun 2004
Posts: 35

Original Poster
Rep: Reputation: 15
brilliant I now have files backup.000 and backup.001 any tips on how to restore the images from CD?
 
Old 06-15-2004, 08:43 AM   #6
TazG
Member
 
Registered: Mar 2004
Location: Canada
Distribution: Gentoo 2004
Posts: 133

Rep: Reputation: 15
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")
 
Old 06-15-2004, 11:08 AM   #7
bungle_42
Member
 
Registered: Jun 2004
Posts: 35

Original Poster
Rep: Reputation: 15
I mean restore from CDs using the SystemsRescueCD so I will give that a try and see what happens!
 
Old 06-16-2004, 12:55 AM   #8
bungle_42
Member
 
Registered: Jun 2004
Posts: 35

Original Poster
Rep: Reputation: 15
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!
 
Old 06-16-2004, 06:28 AM   #9
TazG
Member
 
Registered: Mar 2004
Location: Canada
Distribution: Gentoo 2004
Posts: 133

Rep: Reputation: 15
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.
 
Old 06-16-2004, 06:48 AM   #10
bungle_42
Member
 
Registered: Jun 2004
Posts: 35

Original Poster
Rep: Reputation: 15
Thanks again I will try that when I get in and post the error message if I have no luck!
 
Old 06-17-2004, 09:30 AM   #11
bungle_42
Member
 
Registered: Jun 2004
Posts: 35

Original Poster
Rep: Reputation: 15
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?
 
Old 06-17-2004, 09:40 AM   #12
TazG
Member
 
Registered: Mar 2004
Location: Canada
Distribution: Gentoo 2004
Posts: 133

Rep: Reputation: 15
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
 
  


Reply


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 salv236 Linux - Software 1 01-24-2005 08:51 AM
Partimage tbayer Linux - Software 3 12-17-2004 11:10 PM
Partimage or ??? HELP! Braveheart1980 Linux - General 7 02-08-2004 03:38 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

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:05 AM.

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