[SOLVED] How to Transfer Files from Windows to Linux on a formerly Dual-Booting configured Machine?
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
How to Transfer Files from Windows to Linux on a formerly Dual-Booting configured Machine?
I can no longer boot into Windows after messing around with my partitions. Before I wipe the disk to free up some space I wanted to retrieve any surviving files from Windows.
[root@localhost ~]# sudo fdisk -l
Disk /dev/sda: 698.7 GiB, 750156374016 bytes, 1465149168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: B7850B5C-4716-CC49-9BFC-C316EAA97D14
Device Start End Sectors Size Type
/dev/sda1 2048 411647 409600 200M EFI System
/dev/sda2 673792 552939512 552265721 263.3G Windows recovery environment
/dev/sda3 552939519 1105205239 552265721 263.3G Microsoft basic data
/dev/sda4 1360289793 1412718592 52428800 25G Microsoft basic data
/dev/sda5 1105205248 1107302399 2097152 1G Linux filesystem
/dev/sda6 1107302400 1360289791 252987392 120.6G Linux LVM
Partition 3 does not start on physical sector boundary.
Partition 4 does not start on physical sector boundary.
Partition table entries are not in disk order.
Disk /dev/mapper/fedora-root: 50 GiB, 53687091200 bytes, 104857600 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/sdb: 3.7 GiB, 4004511744 bytes, 7821312 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x7c3f77cf
Device Boot Start End Sectors Size Id Type
/dev/sdb1 * 0 3772415 3772416 1.8G 0 Empty
/dev/sdb2 116708 136667 19960 9.8M ef EFI (FAT-12/16/32)
/dev/sdb3 136668 178683 42016 20.5M 0 Empty
Disk /dev/mapper/fedora-swap: 5.9 GiB, 6266290176 bytes, 12238848 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/mapper/fedora-home: 64.8 GiB, 69575114752 bytes, 135888896 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Are you allowed to link to other threads? I just want to give you an idea of everything that was done so far so that we don't accidentally repeat a lot of the same stuff.
can you still boot your linux? if yes then file manger into it, or mount it then go in that way, or live usb stick and go in that way to get your files out of windows.
I can still boot linux, I spent the last week with rknichols helping me get to that point. Now I just need to get my files from the unbootable windows back if possible.
I can still boot linux, I spent the last week with rknichols helping me get to that point. Now I just need to get my files from the unbootable windows back if possible.
this line from your output you are looking for is:
Code:
/dev/sda3 552939519 1105205239 552265721 263.3G Microsoft basic data
[root@localhost Desktop]# fdisk -l | grep NTFS
Partition 3 does not start on physical sector boundary.
Partition 4 does not start on physical sector boundary.
[root@localhost Desktop]# mkdir /mnt/ntfs
[root@localhost Desktop]# mount -t ntfs /dev/sda3 /mnt/ntfs
ntfs_mst_post_read_fixup_warn: magic: 0x00000001 size: 1024 usa_ofs: 18311 usa_count: 0: Invalid argument
Record 0 has no FILE magic (0x1)
Failed to load $MFT: Input/output error
Failed to mount '/dev/sda3': Input/output error
NTFS is either inconsistent, or there is a hardware fault, or it's a
SoftRAID/FakeRAID hardware. In the first case run chkdsk /f on Windows
then reboot into Windows twice. The usage of the /f parameter is very
important! If the device is a SoftRAID/FakeRAID then first activate
it and mount a different device under the /dev/mapper/ directory, (e.g.
/dev/mapper/nvidia_eahaabcc1). Please see the 'dmraid' documentation
for more details.
looks like you need a windows repair disk. install disk, winpe iso something similar so you can run chkdsk, files still may not be recoverable based on your previous threads
Last edited by colorpurple21859; 02-02-2019 at 07:19 PM.
can you install winpe on linux? to be clear, are you suggesting to reinstall windows and then run checkdisk to find the files? would it be possible to do so on a virtual machine?
repair mbr, boot might do you some good, looks like it may have been using hibernation that is why it is telling you its screwed up via linux. but you need a version of your windows install disk to repair it.
if it fixes you'll be booting windows like no linux installed, then before you do this created a supergrub2 boot usb stick , it might get you back in, its been a long time sense I've had to use that in this particular issue. maybe a usb live to reinstall grub.
The easeus people want money for all the software that you need to follow these instructions. The free versions do not allow you to use the part of the software needed. Likewise the software I found to mount the windows .iso image says the image is too large to mount on the current usb that I have, so I'll go to the store today and get a larger USB and an external Hard drive.
If you still get a file to large error install woeusb, It may be in fedoras you may be able to install with
Code:
sudo dnf install WoeUSB
https://fedora.pkgs.org/29/fedora-up...86_64.rpm.html
from your fedora
use woesusb from the command line when you run WoeUSB from graphical menu it automatically reformats the usb to fat32. Start WoeUSB from the command line with something similar to this
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.