So this happends when I want to setup dual-boot ParrotOS and Windows. When I want to install Parrot, I accidentally select 'use all disk and setup LVM' (not encripted) and I noticed that and click cancel but the LVM already been setup. Can I revert the LVM setup or get my data out from the windows partition?
Thanks!
Edit 1
I check my windows partition on ParrotOS live using TestDisk, the files are intact and I'm copying the files to removable flashdrive as a backup. Is there anything I can do to make my partition bootable inside LVM? or how can I extract the partition to direct partition not inside LVM?
After asking on other technology forums, I decided to format my hard drive and reinstall windows.
Related
I'm using VMware Workstation Pro 15.5.1 with monolithic disk files (on a Win 10 host).
I worked with snapshots, but always deleted them again because they're not needed anymore.
Unfortunately, it does not delete the Snapshot files from my disk, when I try to delete them by hand it says This file is required to power on this virtual machine. If this file was moved, specify the new location.
In my virtual machine settings, I see that disk is about ~58GB in size, which corresponds pretty much exactly to my 000011.vmdk file in the image below. How can I get rid of all the other files?
Thanks!
I found a working solution: https://kb.vmware.com/s/article/57015 - option 2 (manual consolidation). This resulted in a ~75GB .vmdk file which works independently from the snapshot files.
My FreeNAS server is slowly dying and before that happens i need to migrate all data in the NAS to a windows server.
The FreeNAS has ZFS Snapshots and i need to restore data from a few days ago to the Windows server.
I have done some research and i can't think of the best way to do this. (i am not linux/Zfs savvy)
So the things i need to do is,
Restore ZFS Snaptshot from a few days ago to a windows Server
I mounted a windows share to the Freenas using mount_smbfs //username:password#server.name/share_name share_name/
I can copy and create files on that share just fine. So I was wondering if it was possible to restore an entire data set from an snapshot to the windows share.
Any help, tips is much appreciated.
Note. I could easily copy all data on a freenas volume to the windows share, but what makes it complicated for me, is restoring data from a snapshot without overwriting the current data on the volume and moving that data to the windows share.
You have two sensible possibilities:
Access the ZFS dataset (shared over SMB) from your Windows Server, then right-click on it in Explorer and choose "Previous Versions". You will get (after a short time depending on the number of snapshots) a list of all snapshots with their dates. You can then either explore them and copy some files over, or you can choose to copy all to another location (e. g. your new share).
Mount the Windows share on FreeNAS like you did, then go to <pool>/<filesystem>/.zfs/snapshot/ (path completion on the shell might be turned off for the .zfs directory, so type it in manually). There you'll find all your snapshots (like you would have on Windows' Previous Versions) and you can copy some or all files over to the new directory.
I would suggest the first way, because you have the GUI and cannot do any harm to the FreeNAS system this way.
On the other hand, have you thought about the possibility of rescuing the system? You did not specify why it's dying, but things like hard drives or mainboards can be swapped quite easily without requiring setting up everything anew. Maybe this would help you more than moving the data off to another, unconfigured system?
The capacity of my SSD is just 60Gb, and I have just over 5Gb of free space at the moment. Is there a way to install Xcode directly on the external drive? Or to do so I'd have first to make this drive bootable and boot my system from it?
There are various possible solutions, including, making use of symlinks, dual booting two versions of macOS (one on external SSD), and many more.
But the best way I found was to create a new macOS user and change its home directory to external SSD (by going to advanced user settings under Users & Groups System Preferences).
The exact steps I followed:
Create a new APFS partition on external SSD with 100GB storage. (say NewVol)
Create new macOS user and change its home directory to /Volume/NewVol/user
Logged into the new user with external SSD connected, and installed xcode in ~/Application. (i.e. the local Application folder, not /Application)
Why this works best is because you don't need to manually manage symlinks, also symlinks might create problems during builds. All the required files (including builds and temporary files) are stored in user directory, so no space occupied on internal drive. Also, no hassle of installing a complete separate OS, and going through cycles of reboots to switch the OS.
There are a couple of options you can consider.
Move some files to the external drive, instead of installing applications on it. This would be your best bet, since applications have dependancies. Also, if you run them from your SSD, they will get better performance.
If you absolutely need your files on your SSD, and you can't move them, then I would suggest moving any third party applications to see if you can free up space for Xcode, and run it from your SSD.
If the two options above don't work for you, then you will have to try and work with Xcode. There is no easy way to change the install location. Your option here would be to free up some space temporarily, by moving bigger files to an external drive. Then do the Xcode install in your applications folder. Once that's done, move Xcode to the external drive, and take your files back to your SSD. Here is another questions that talks about the same topic.
stupid question perhaps, but addressing a 40 year old stupid OS... I have a RAID6 array on a server which contains some 8TB in one partition. This is the Ubuntu box. I then have a Win 7 box, whereby I have 12TB in 6x2TB drives.
I am trying to copy the folders from ubuntu RAID6 to Windows 7, but as follows:
Drive 1 of Win 7 contains all folders A to D, drive 2 contains E to G, etc.
I started the copy / back up but then I had Windows reboot (thank you!) due to automatic updates installed. Having turned this off, I now want to restart the copy, but of course, the very smart Windows copy routine tells me there is not enough space on the destination drive to copy all A to D folders as it checks for space without consideration of duplicate / existing files at destination... so the only way I can see is to erase all copied folders and start again... bloody stupid.
I have tried Robocopy, FastCopy, SimpleCopy but I cannot get a piece of SW that can just copy the MISSING / NON EXISTENT files in the destination drive. Some of these programs do not even let me select Folders A - D...
How can I copy the missing files only, without having Win 7 check for available space before starting the process?
Not sure that there is a way. Have you looked at SyncToy. It is an MS software and might be able to help you with that. The other thing that you can do; assuming you are using some sort of smb copy and not ftp or anything; why not mount the windows drive on the linux box and do the coping on the linux box rather than on the windows box?
I Formatted My D: dard drive partition and I installed Windows on it by mistake. I would have to Install window to C: drive and that was my mistake.
Is there anyway to get my old data of that was stored in D: drive before format.
Please Help me to do this..
Not without having a second hard disk, or a second computer to mount it to.
Also you would need to have data recovery software to do a complete recovery on something like this.
Basic instructions.
shutdown the computer, secure the drive.
Install another hard disk, format, install windows.
Lately I've been recommending getdataback by runtime.org, it's about $99. You most likely need the ntfs version. Install that, (You can test it without purchasing it but you cannot complete the recovery without installing a license)
shutdown the computer.
slave the old hard disk
change the bios settings, if the drive is not identified.
boot into windows run, get data back for ntfs.
choose formatted media
let it run for a few hours.
select the data you want back, save the recovery, install the license, complete the recovery.
it's as easy as that.
More importantly, stop using the computer as any download or use could destroy the data still sitting on the drive by overwriting the data.