Linux - Laptop and NetbookHaving a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).
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.
Okay I did not back anything up recently.
Today the CPU AMD A6-3420 blew up in my laptop
The data I want to recover is on my SSD in the unit running Zorin 9 LTS 3.13.0-135 generic kernel ( updated to this kernel on wednesday.
I will use an old intel desktop I have spare and probably load a newer version of Zorin on it .
What is the easiest way to get my home directory data into the new system?
Never used Zorin, but data is data. If you create the same user on the new system (and it gets the same uid/guid), simply mount the SSD partition at /home. Easy.
If not you may need to chown it (recursively).
If all that doesn't work, simpy cp/rsync it over. My sigline of course applies. - ignore that, the SSD is your backup now.
more investigation>
now have another machine running Zorin 12 running the following:
Linux workstation1 4.10.0-33-generic #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
My old zorin 9 set up was a LVM so
lvmdiskscan displays the following info:
/run/lvm/lvmetad.socket: connect failed: No such file or directory
WARNING: Failed to connect to lvmetad. Falling back to internal scanning.
/dev/sda1 [ 70.56 GiB]
/dev/sda5 [ 3.96 GiB]
/dev/sdb1 [ 243.00 MiB]
/dev/sdb5 [ 223.33 GiB] LVM physical volume
/dev/sde1 [ 14.83 GiB]
0 disks
4 partitions
0 LVM physical volume whole disks
1 LVM physical volume
I know I have a lvm of 233G which is sdb1 the original boot and sbd5 with all my data
so how do I recreate a volume group and mount the unit to access data? the original group appears to be zorin-os-vg ( gparted)
vgcreate and vgextend have given me errors
/run has a directory lvm but I am denied permission when I try to cd into. I
so how do I recreate a volume group and mount the unit to access data? the original group appears to be zorin-os-vg ( gparted)
vgcreate and vgextend have given me errors
/run has a directory lvm but I am denied permission when I try to cd into. I
why not mount it as user root?
Usually you should see that volume group and logical volume in /dev/mapper.
if not activate it with the lvm2 tools
than mount it.
also recreate the user with the same userid, group name, group id and such.
I suppose you are using the superuser right? an ordinary user can hardly do anything in linux => quote: I am denied permission
Quote:
If all that doesn't work, simpy cp/rsync it over. My sigline of course applies. - ignore that, the SSD is your backup now.
The help was absolutely great
I did the following to solve
1. reread the lvm2 man pages
ran pvdisplay >> ssd_drv
ran vgdisplay >> ssd_vgd
now had data on the id
2. found and loaded gui for LVM which let me see the drive and partitions
used it to set a mount point for reboot but I must have mad an error after reboot I had a 255MB volume with grub and all the kernels available on that drive, but not any data
3. found a utility in Zorin 12 called Disks and used it to mount the drive and access the data ( it is a 236GB volume )
I am pleased that you have successfully recovered your data.
Quote:
Okay I did not back anything up recently.
Just remember that if you repeat that mistake and have no backup for your data in the future, you run the risk of recovering nothing at all from a failed SSD.
It is easy to reinstall a Linux system on a new drive but if your data is not copied elsewhere and you run an SSD, failure at some point is inevitable.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.