I am trying to create backups for my CONFIGURED 12.04 disk partition. In the past I have done updates, which damaged my OS. It takes me considerable time to do a clean install and configure everything the way I want it, so I don't like to do it every time something messes up an OS partition. I don't know if clonezilla cloning is the best answer, but that is what I am trying to use. (Would something like LuckyBackup, which I use to backup my data partition, also work for backing up my configured OS partition?). I have successfully cloned my configured and working sda11 partition, and have done a clonezilla restore partition to my sda12 partition, which formerly contained a trashed 12.04 OS.
I used the instructions at http://drbl.org/faq/fine-print.php?p..._partition.faq , and at http://www.sudo-juice.com/how-to-cha...nux-partition/ to allow the sda11 clone to be restored on sda12. However, I can't boot the newly restored sda12 partition. I want to be able to restore to a different partition so that I can do a restore without completely destroying a partially working OS partition (partially working is better than nothing). When I attempt to boot sda12 from the grub boot menu, I get an error immediately saying something to the effect that it can't find the necessary files. Booting from sda11 still works fine.
I noticed that the grub boot menu entry hasn't changed, since I did the partition restore to sda12. It still has the old partition UUID and several recovery entries, which of course are no longer there. So I think it is still trying to boot the old, now non-existant, files. I rebooted in sda11, which is the default partition at the top of the menu, and did:
However, this did not update the menu entry for sda12, so I still can't boot it. I looked at sda11>grub.cfg and noted that sda12 entries there HAD been updated with the correct UUID, but this wasn't reflected in the grub boot menu. Since I can't boot sda12, I can't do a "update-grub" on the sda12>grub.cfg.
1. My first question is, on a many OS partition disk, which of the many grub.cfg files is used to build the grub boot menu? I had thought it was the one that was last updated with "update-grub", but apparently I was wrong.
2. How are the /etc/grub.d (and the other .d including init.d) folder/files used. Apparently something searches through them and executes the instructions in them. What program does this and how is it initiated?
3. What do the programs initrd and update-rc.d do? Both seem to be involved in some form of booting or initialization.
4. When does one put options in /etc/default/grub, and when in /etc/grub.d?
5. And finally, what can I do to make the sda12 restored partition boot?
Any help appreciated.
I used the instructions at http://drbl.org/faq/fine-print.php?p..._partition.faq , and at http://www.sudo-juice.com/how-to-cha...nux-partition/ to allow the sda11 clone to be restored on sda12. However, I can't boot the newly restored sda12 partition. I want to be able to restore to a different partition so that I can do a restore without completely destroying a partially working OS partition (partially working is better than nothing). When I attempt to boot sda12 from the grub boot menu, I get an error immediately saying something to the effect that it can't find the necessary files. Booting from sda11 still works fine.
I noticed that the grub boot menu entry hasn't changed, since I did the partition restore to sda12. It still has the old partition UUID and several recovery entries, which of course are no longer there. So I think it is still trying to boot the old, now non-existant, files. I rebooted in sda11, which is the default partition at the top of the menu, and did:
Code:
sudo update-grub
1. My first question is, on a many OS partition disk, which of the many grub.cfg files is used to build the grub boot menu? I had thought it was the one that was last updated with "update-grub", but apparently I was wrong.
2. How are the /etc/grub.d (and the other .d including init.d) folder/files used. Apparently something searches through them and executes the instructions in them. What program does this and how is it initiated?
3. What do the programs initrd and update-rc.d do? Both seem to be involved in some form of booting or initialization.
4. When does one put options in /etc/default/grub, and when in /etc/grub.d?
5. And finally, what can I do to make the sda12 restored partition boot?
Any help appreciated.