Quote:
Originally Posted by zhjim
Just another boot entry to grub. Get a free partition. Copy the content of the USB stick to it. Rerun grub and up you go.
How to do the actual recovery is something to fiddle out. But Maybe something like
Code:
#confile
/ /dev/sda2
/boot /dev/sda1
/nother /dev/sdan
Code:
loop through conffile
mount $2 /target/$1
tar -xzf /root/your_backup_archive /target
mount -t proc /target/proc
mount -t sysfs /target/sys
mount -t devfs /target/dev
mount -t devpts /target/dev/pts
chroot /target
grub-setup or grub-install
After that leave chroot with CTRL-D and reboot.
|
Many thanks for the answer, zhjim.
In other forum I've been reccomended to use
PING, do you know it??
Your answer seems to me an easier way, if i understand ok I would have to make a second partition in with copy the content of clonezilla USB drive and then configure the ability to boot from it, am I wrong?
I suppose that I would have to configure clonezilla to auto-do it instead of having to do all the steps i make now when i recover booting from usb and selecting image from a second hard disk.
To be honest, I come from "windows world" and i've been with linux only around 3 months, so I've install it using "installation for dumbs using whole hard disk", so I have still not handle partitions in linux, and the word grub is something I've heard but I really don't know what is. I don't know how to resize the partition I've now that takes the whole disk and create the second partition for containing clonezilla and the image to restore.
I obviously don't want you to explain me everything step-by-step, I have to work on in and google for info, but I sincerely would thank you a bit detailed help that could save me hours and hours of research. If you can reccomend me some tutorials related with whis it would be great.
I really don't know where to enter those codes you attach me...
Many thanks