Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
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.
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.
I need to be able to recover my OS from a backup. I meen I need to recover my complete hard drive from backup.
My system has two disks: hda and hdb. I have installed SLES 8 on disk a, and create four partitions:
bck_boot.tar.gz - all files from /boot directory
bck_root.tar.gz - directories from root partition except /boot, /opt /proc
and /temp
bck_opt.tar.gz - all files from /opt directory
My recovery procedure is:
1) replace demaged hard drive with new formated hard drive
2) start Knoppix
3) create same partitions as I had on demaged hard drive
4) get back backup files from backup server to new hard drive with ssh
5) unzip file bck_boot.tar.gz to new partition sda1 (on this partition I place all files from boot directory)
6) file bck_root.tar.gz to new partition sda2
7) unzip file bck_opt.tar.gz to new partition sda4
8) create boot and opt directories on root partition (/boot and /opt)
All this eems OK to me, but then when I shutdown Knoppix and remove CD I restart my computer and get in problems.
All I get after restart is black screen with word GRUB in up left corner.
"All I get after restart is black screen with word GRUB in up left corner."
In looking through your recovery procedure I do not think that you are restoring the MBR. The MBR seems to be whatever happens to be on your replacement drive when you insert it in the machine. You might try chroot from Knoppix to your restored system and then run grub-install to recreate the MBR.
I have solved allmost all problems that I had. I have used PartImage to create images of all partitions on hard drive (boot, root and opt) and with PartImage I can restore all thise partitions. All this work OK.
But I need to install an agent of my backup software, so that I can retrieve files with images from backup server to my local hard disk. I need to install this agent under Knoppix.
But there is a problem. I think that because ramdisk is read-only I get this error:
dpkg: unable to access dpkg status area: Read-only file system
I think that during installation some data need to be writen to var directory in ramdisk. But that is read-only area.
I meen agent as agent of BrightStor ARCServe Backup software.
While server was OK I created backups with Knoppix and Partition Image and with this software transferred them to the tape atached to my backup server. In case I lose hard drive I need to restore partitions on new hard drive. I can do restore with Knoppix and Partition Image, but I need to transffer backup file from a tape to the new hard drive.
For now I install minimum SUSE configuration and then install agent. After that I start SUSE, transffer backup file to the new hard drive and use Knoppix and Partition Image to restore hard drive.
This works OK but it would be much faster if I could install this agent under Knoppix (I would save time needed to install minimum SUSE configuration).
Personally I would investigate using rsync to backup stuff under cron. Rsync will create a full copy and thereafter updates changed files only. If you want more detail I can give you links and personal experiences as I have this operating on /home on an hourly basis. It will even backup across a network.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.