LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 02-02-2019, 01:37 PM   #1
zavmat
Member
 
Registered: Oct 2018
Posts: 184

Rep: Reputation: Disabled
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.
 
Old 02-02-2019, 01:55 PM   #2
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,330

Rep: Reputation: 1579Reputation: 1579Reputation: 1579Reputation: 1579Reputation: 1579Reputation: 1579Reputation: 1579Reputation: 1579Reputation: 1579Reputation: 1579Reputation: 1579
from your file manager, you should be able to click on the windows partition and copy files off of it. If not post the output of
Code:
sudo fdisk -l
so we can see if your windows partition still exist and what partition it is on
 
Old 02-02-2019, 02:14 PM   #3
zavmat
Member
 
Registered: Oct 2018
Posts: 184

Original Poster
Rep: Reputation: Disabled
Code:
[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.
 
Old 02-02-2019, 03:06 PM   #4
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
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.
 
Old 02-02-2019, 04:13 PM   #5
zavmat
Member
 
Registered: Oct 2018
Posts: 184

Original Poster
Rep: Reputation: Disabled
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.
 
Old 02-02-2019, 04:25 PM   #6
lleb
Senior Member
 
Registered: Dec 2005
Location: Florida
Distribution: CentOS/Fedora/Pop!_OS
Posts: 2,983

Rep: Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551
Quote:
Originally Posted by zavmat View Post
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
That tells you it is on sda3.

https://linuxconfig.org/how-to-mount...d-write-access

read up, that should help, best of luck.
 
1 members found this post helpful.
Old 02-02-2019, 05:07 PM   #7
zavmat
Member
 
Registered: Oct 2018
Posts: 184

Original Poster
Rep: Reputation: Disabled
Much obliged, thank you.
 
Old 02-02-2019, 05:14 PM   #8
lleb
Senior Member
 
Registered: Dec 2005
Location: Florida
Distribution: CentOS/Fedora/Pop!_OS
Posts: 2,983

Rep: Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551
if the information helped, please mark this thread solved.

Thank you.
 
Old 02-02-2019, 06:16 PM   #9
zavmat
Member
 
Registered: Oct 2018
Posts: 184

Original Poster
Rep: Reputation: Disabled
Unfortunately not,

Code:
[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.
 
Old 02-02-2019, 07:17 PM   #10
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,330

Rep: Reputation: 1579Reputation: 1579Reputation: 1579Reputation: 1579Reputation: 1579Reputation: 1579Reputation: 1579Reputation: 1579Reputation: 1579Reputation: 1579Reputation: 1579
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.
 
1 members found this post helpful.
Old 02-02-2019, 07:31 PM   #11
zavmat
Member
 
Registered: Oct 2018
Posts: 184

Original Poster
Rep: Reputation: Disabled
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?

Last edited by zavmat; 02-02-2019 at 07:35 PM.
 
Old 02-02-2019, 07:57 PM   #12
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,330

Rep: Reputation: 1579Reputation: 1579Reputation: 1579Reputation: 1579Reputation: 1579Reputation: 1579Reputation: 1579Reputation: 1579Reputation: 1579Reputation: 1579Reputation: 1579
Quote:
are you suggesting to reinstall windows and then run checkdisk
no run chkdsk from a windows installation/recovery cd/iso/usb

https://www.microsoft.com/en-us/soft...d/windows10ISO
https://www.ghacks.net/2018/05/25/wi...le-usb-woeusb/
https://neosmart.net/blog/windows-recovery-discs/

Last edited by colorpurple21859; 02-02-2019 at 08:04 PM.
 
Old 02-02-2019, 08:00 PM   #13
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
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.

https://www.easeus.com/partition-mas...indows-10.html

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.

Last edited by BW-userx; 02-02-2019 at 08:05 PM.
 
1 members found this post helpful.
Old 02-04-2019, 01:46 PM   #14
zavmat
Member
 
Registered: Oct 2018
Posts: 184

Original Poster
Rep: Reputation: Disabled
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.
 
Old 02-04-2019, 04:40 PM   #15
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,330

Rep: Reputation: 1579Reputation: 1579Reputation: 1579Reputation: 1579Reputation: 1579Reputation: 1579Reputation: 1579Reputation: 1579Reputation: 1579Reputation: 1579Reputation: 1579
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

Code:
woeusb \
    --target-filesystem NTFS \
    --device Win10_1809Oct_EnglishInternational_x64.iso /dev/sdX
the sdx will be different and the iso may be named different.

Refer: https://github.com/slacka/WoeUSB/wik...ize-limitation for more info

Last edited by colorpurple21859; 02-04-2019 at 06:31 PM.
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to transfer files from a linux machine to a windows machine which are not in the same network Lakshmi Yallampalli Linux - Networking 6 07-16-2010 04:50 AM
LXer: Wal-Mart's $199 (formerly $198) Linux box is here -- and so is the OS that runs LXer Syndicated Linux News 0 11-07-2007 06:30 AM
Windows Vista (formerly Longhorn) jaz General 39 02-19-2007 08:27 PM
Linux on Averatec (formerly Sotec) 3120V TheFarLeft Linux - General 1 11-29-2003 02:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration