How to have a spare disk with a working copy of your system, so in case of disaster you have only to swap the non working disk, copy eventually data from the dati partition or from your backup and restart in 5 minutes.
-start your system on the main disk
--goto YAST2>PARTITIONER click on hard disks
-1a)rightclick on the first partition and click on EDIT
a window opens
-1b)on MOUNTING OPTIONS
-2b)select MOUNT PARTITION
-3b)click on FSTAB OPTIONS
a window opens
-1c)check the VOLUME LABEL radio button
-2c)click on the VOLUME LABEL field and insert a identifying name for that partition or leave the one if it exist
-3c)click OK and click FINISH
MAKE THE SAME THING FOR EACH PARTITION
--the partition names must be different for each partition--
-1d)click NEXT click FINISH
-1e)reboot, I don't know it needs but .....
-start your system on the main disks
--goto YAST2>BOOTLOADER
-1f)check if grub2 is selected
-2f)check boot from root partition
-3f)check boot from extended partition
-4f)click on bootloader options
-5f)in option kernel command line parameter modify resume=/dev/disk/by-id/ata-SAMSUNG.... in resume=/dev/disk/by-label/THE_LABEL_OF_SWAP_PARTITION_YOU_GAVE_BEFORE
-6F)write generic boot code to BMR
-7f)click OK
-8f)click OK
=============================
now use clonezilla live 2.0.1-15 or redo systembackup to make an image of your main disk, I tried with clonezilla and works, clonezilla has more correction options but redo is moooore simple to use
start clonezilla o redo systembackup
clone your disk making an image on a usb disk or on network
wait a couple of hours and have beer and a coffee
===========================
shtdown everything, take off the battery and the plug
leave your main disk off
put your spare disk on
put the battery on and the plug too
===============================
now use clonezilla live 2.0.1-15 or redo systembackup to restore your image on spare disk
start clonezilla o redo systembackup
restore your image on the spare disk from a usb disk or on network
wait a couple of hours and have beer and a coffee
=================================
use systemrescuecd to have gparted
-1g)start systemrescuecd
-2g)rightclick on desktop and >system>gparted
-3g)remember or write on paper what is the root partition, for example /dev/sda5, it is where you installed the opensuse, and you should have given a label to recognize it...
-4g)quit systemrescuecd
=====================================
now follow the instructions re-install grub2 dvd rescue here
https://forums.opensuse.org/content/...vd-rescue.html -1e)insert opensuse dvd
-2e)boot with it
-3e)choose recovery system or rescue
-4e)Once the DVD rescue gets to 'login', type: root
-5e)run fdisk -l to confirm my HD partitition order.
-6e)We need to mount root, remember the root partition in step -3g) as /dev/sda5 for example
-8e)give this command: mount /dev/sda5 /mnt
-9e)give this command: mount --bind /dev /mnt/dev
-10e)give this command: chroot /mnt (Your prompt changes to: Rescue:/>)
-11e)give this command: grub2-install /dev/sda
-12e)give this command: exit
-13e)give this command: shutdown -h now
====================================
now press the button to switch on the computer and everything should go sweetly... :-)))
No comments:
Post a Comment