LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Disk to disk clone LVM Debian (https://www.linuxquestions.org/questions/linux-newbie-8/disk-to-disk-clone-lvm-debian-4175491002/)

kreid 01-11-2014 11:03 PM

Disk to disk clone LVM Debian
 
I have an older Dell desktop running debian wheezy that I was using to run samba and transmission remote, I ended up removing vmlinuz and now it does not boot. I was wondering if there was a way to clone the server's home partition to another drive?;its an LVM and ive been having trouble mounting it a 300GB LVM container containing my /home partition.

ukiuki 01-12-2014 04:34 AM

If you still have the file vmlinuz you can just copy back to where it was, or;
You can reinstall the kernel using a live cd prefferably Debian one and going into chroot environment, here some good how to instructions about how to use chroot:
http://ubuntuforums.org/showthread.php?t=224351
http://www.linuxfromscratch.org/lfs/...06/chroot.html click next to see all of it

Or you can just copy to content of that home partition to somewhere else. Still would be much more insteresting to restore the boot.

Regards

kreid 01-12-2014 08:30 PM

Replace /boot
 
I've looked into replacing /boot but I keep running into wall, either because my partitions are LVM or because /boot is on it's own partition. I'd really just like to get my data coppied onto another drive and start over.


All times are GMT -5. The time now is 04:26 PM.