(SOLVED) How can I access my Windows files and programs Kept in Linux

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help
Bioethical
Level 1
Level 1
Posts: 18
Joined: Mon Aug 03, 2020 8:10 pm

(SOLVED) How can I access my Windows files and programs Kept in Linux

Post by Bioethical »

Dear Team,
Although my relationship with Windows the last years was more of hate than love. I decided to keep in my hard drive some important files and programs that can't run with Linux and also others from open-sources that are very likely to run along but have kept with old settings and 3D printer designs of drones; also photos and important documents, etc. Today, I tried to open them and after clicked on, I got unknown pictures and mini videos of games that I never downloaded. That scared me a lot and thought that I probably am missing something.
Is there a program that helps me to access my old windows stuff?
Any help will be greatly appreciated,
Victor
Last edited by Bioethical on Tue Aug 11, 2020 10:20 pm, edited 1 time in total.
Kester
Level 4
Level 4
Posts: 230
Joined: Sat Apr 30, 2016 3:05 pm

Re: How can I access my Windows files and programs Kept in Linux

Post by Kester »

Hi Bioethical,

You need to give a bit more technical information regarding your situation. For example, do you still have access to a Windows operating system or have you removed it? What do you mean by 'Windows files and programs Kept in Linux'? Does this mean you have a partition in which you have backed up files originally created in Windows or do you have a dual boot arrangement and your Linux system can access the Windows location. What is your Linux system - is it Linux Mint 20 for example? What is or was your Windows operating system - XP, 7, Vista, 8 or 10? What is your computer?

Regarding your files: it is likely that there are Linux programs that will be able to read and write to your Windows files (most common Windows filetypes such as *.doc, *.docx, *.xls, *.xlsx, *jpg, *.png etc. have Linux programs which are fully compatible with them. Your Windows programs may prove more difficult - a Windows executable (*.exe) would not normally run in Linux but some will if you install Wine on your Linux system. I have had more success running portable versions of Windows programs (i.e. programs that are self contained and do not require installation in Windows but can, for example, be run from a usb memory stick) in Linux via Wine.

A list of the filetypes you want to run in Linux would be useful for anyone trying to help you. Also, what peripherals such as printers and scanners you want to be able run.
Bioethical
Level 1
Level 1
Posts: 18
Joined: Mon Aug 03, 2020 8:10 pm

Re: How can I access my Windows files and programs Kept in Linux

Post by Bioethical »

Hi Guys,
Sorry for my lack of information. Previously, I was using windows 7 on my ThinkCentre Desktop PC. During downloading Linux Mint on the same computer, the process gave me two options: either to delete my old files and programs or to keep them together with Mint in my hard drive. Such programs are 3D printer hosts; Drones and electric bike controller programmers; pictures, legal documents, and so forth. Since they are very valuable for me, I opted to keep them in my machine as Linux Mint suggested. I also kept all the information belonging to Windows 7 OS. In other words, I have the whole old information from my computer taking space in my hard drive as same as the whole Linux Mint. Obviously, both OS and Infos are separated. Now, I can not access anything from the old Windows.
trope
Level 4
Level 4
Posts: 298
Joined: Tue Feb 19, 2013 1:10 pm

Re: How can I access my Windows files and programs Kept in Linux

Post by trope »

So it's a dual boot? Or when you start your computer is there no option to load windows and it automatically loads into linux mint? Maybe this command would be helpful to see the partitions:

Code: Select all

lsblk --output name,size,fstype,label,mountpoint,partflags
Petermint
Level 6
Level 6
Posts: 1130
Joined: Tue Feb 16, 2016 3:12 am

Re: How can I access my Windows files and programs Kept in Linux

Post by Petermint »

Listing the partitions, as suggested, will help us help you.

Linux uses the Ext4 file system and Windows cannot see Ext4. Windows uses NTFS and FAT. Linux can see both. Some older versions of Linux need an extra package installed to see NTFS. Which version of Linux is on your machine?

Both Windows and Linux have problems with things like extended and encrypted partitions when not created by the OS you use. If you used one of the Windows weird options, you might need to boot Windows to extract your files to a simple regular NTFS or FAT partition.
Bioethical
Level 1
Level 1
Posts: 18
Joined: Mon Aug 03, 2020 8:10 pm

Re: How can I access my Windows files and programs Kept in Linux

Post by Bioethical »

Thank you for the command. This is what I got:

victor@victor-ThinkCentre-M58p:~$ lsblk --output name,size,fstype,label,mountpoint,partflags
NAME SIZE FSTYPE LABEL MOUNTPOINT PARTFLAGS
sda 1.8T
├─sda1 100M ntfs System Reserved 0x80
├─sda2 988G ntfs Windows
├─sda3 1K
├─sda4 13.3G ntfs RECOVERY
├─sda5 513M vfat /boot/efi
└─sda6 861.1G ext4 /run/timeshift/backup
sr0 2.7G udf DVDVIDEO /media/victor/DVDVIDEO
Bioethical
Level 1
Level 1
Posts: 18
Joined: Mon Aug 03, 2020 8:10 pm

Re: How can I access my Windows files and programs Kept in Linux

Post by Bioethical »

Dear Team,
This is a small update. Now, I can access documents, videos, and pictures not related to specialized programs.

I can not access certain programs and files and settings associated with them like Repetier Host (open source), Mission Planner Ardupilot (open source), Curtis Motor Controller (Commercial) Solid Works (commercial), Naza flight Controller(commercial). All of them were easily downloaded and installed on Windows; but as I said: I don't like windows anymore for being invasive, unorganized, slow, and noisy.

Your help to have access to my programs will be greatly appreciated.
Sincerely,
Vic
decrepit
Level 4
Level 4
Posts: 397
Joined: Mon Dec 03, 2018 4:07 am
Location: Mandurah Western Australia

Re: How can I access my Windows files and programs Kept in Linux

Post by decrepit »

Are you saying you want to run windows programs in Mint?
If so that won't work, windows programs don't run in linux.
There are about 4 options,
You can provide a windows environment with "wine", but not all programs run in that.
You can run windows in an emulator like virtual box.
You can find programs in the repos that do a similar job.
Or you can dual boot and just use windows for the problem programs
linux-rox
Level 4
Level 4
Posts: 395
Joined: Sun Jul 19, 2020 9:17 pm

Re: How can I access my Windows files and programs Kept in Linux

Post by linux-rox »

Please report the output of inxi -SMpo and sudo parted --list.
Bioethical
Level 1
Level 1
Posts: 18
Joined: Mon Aug 03, 2020 8:10 pm

Re: How can I access my Windows files and programs Kept in Linux

Post by Bioethical »

Hello,
Here they are. I hope they help me.

Code: Select all

victor@victor-ThinkCentre-M58p:~$ inxi -SMpo
System:
  Host: victor-ThinkCentre-M58p Kernel: 5.4.0-26-generic x86_64 bits: 64 
  Desktop: Cinnamon 4.6.6 Distro: Linux Mint 20 Ulyana 
Machine:
  Type: Desktop System: LENOVO product: 7484BM5 v: ThinkCentre M58p 
  serial: <superuser/root required> 
  Mobo: LENOVO model: LENOVO serial: <superuser/root required> BIOS: LENOVO 
  v: 5CKT77AUS date: 05/07/2012 
Partition:
  ID-1: / size: 846.62 GiB used: 18.87 GiB (2.2%) fs: ext4 dev: /dev/sda6 
  ID-2: /boot/efi size: 512.0 MiB used: 4 KiB (0.0%) fs: vfat dev: /dev/sda5 
  ID-3: /media/victor/DVDVIDEO size: 2.72 GiB used: 2.72 GiB (100.0%) 
  fs: udf dev: /dev/sr0 
  ID-4: /media/victor/Windows size: 987.95 GiB used: 136.18 GiB (13.8%) 
  fs: ntfs dev: /dev/sda2 
  ID-5: /run/timeshift/backup raw size: 861.13 GiB 
  size: <superuser/root required> used: <superuser/root required> fs: ext4 
  dev: /dev/sda6 
Unmounted:
  ID-1: /dev/sda1 size: 100.0 MiB fs: ntfs label: System Reserved 
  uuid: C64A84F64A84E511 
  ID-2: /dev/sda3 size: 1 KiB fs: <superuser/root required> label: N/A 
  uuid: N/A 
  ID-3: /dev/sda4 size: 13.33 GiB fs: ntfs label: RECOVERY 
  uuid: FA9489F89489B821 

Code: Select all

victor@victor-ThinkCentre-M58p:~$ sudo parted --list
[sudo] password for victor:         
Model: ATA WDC WD2003FYYS-0 (scsi)
Disk /dev/sda: 2000GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags: 

Number  Start   End     Size    Type      File system  Flags
 1      1049kB  106MB   105MB   primary   ntfs         boot
 2      106MB   1061GB  1061GB  primary   ntfs
 3      1061GB  1986GB  925GB   extended
 5      1061GB  1061GB  538MB   logical   fat32
 6      1061GB  1986GB  925GB   logical   ext4
 4      1986GB  2000GB  14.3GB  primary   ntfs         msftres
Warning: Unable to open /dev/sr0 read-write (Read-only file system).  
/dev/sr0 has been opened read-only.

Model: ATAPI DVD A DH16AAS (scsi)                                         
Disk /dev/sr0: 2921MB
Sector size (logical/physical): 2048B/2048B
Partition Table: loop
Disk Flags: 

Number  Start  End     Size    File system  Flags
 1      0.00B  2921MB  2921MB  udf
linux-rox
Level 4
Level 4
Posts: 395
Joined: Sun Jul 19, 2020 9:17 pm

Re: How can I access my Windows files and programs Kept in Linux

Post by linux-rox »

Don't know whether this is related to the problem, but it's very odd that you have an EFI partition (sda5) on a BIOS/MBR system.

Boot a live session, open File Manager, and see whether you can access the Windows files from there. Check Mint also, just for comparison.
Bioethical
Level 1
Level 1
Posts: 18
Joined: Mon Aug 03, 2020 8:10 pm

Re: How can I access my Windows files and programs Kept in Linux

Post by Bioethical »

I downloaded Wine already but for some reason, the dialogue boxes to install it as shown in the tutorial can't be found anywhere. However, inside Windows files have found some of them with the Cup of wine icon.
User avatar
AndyMH
Level 13
Level 13
Posts: 4505
Joined: Fri Mar 04, 2016 5:23 pm
Location: Wiltshire

Re: How can I access my Windows files and programs Kept in Linux

Post by AndyMH »

Don't know whether this is related to the problem, but it's very odd that you have an EFI partition (sda5) on a BIOS/MBR system.
It's a "feature" of the mint20 installer, mr_raider posted on it and I checked:
viewtopic.php?f=46&t=326270&p=1855497&h ... l#p1855497
Homebrew i5-8400+GTX1080 Cinnamon 19.0, 3 x Thinkpad T430 Cinnamon 19.0, i7-3632 , i5-3320, i5-3210, Thinkpad T60 19.0 Mate
decrepit
Level 4
Level 4
Posts: 397
Joined: Mon Dec 03, 2018 4:07 am
Location: Mandurah Western Australia

Re: How can I access my Windows files and programs Kept in Linux

Post by decrepit »

Bioethical wrote:
Mon Aug 10, 2020 8:39 pm
I downloaded Wine already but for some reason, the dialogue boxes to install it as shown in the tutorial can't be found anywhere. However, inside Windows files have found some of them with the Cup of wine icon.
So you need to install the appropriate windows programs with wine, then you may be able to use those files, if that program does run in wine.
linux-rox
Level 4
Level 4
Posts: 395
Joined: Sun Jul 19, 2020 9:17 pm

Re: How can I access my Windows files and programs Kept in Linux

Post by linux-rox »

AndyMH wrote:
Tue Aug 11, 2020 6:24 am
Don't know whether this is related to the problem, but it's very odd that you have an EFI partition (sda5) on a BIOS/MBR system.
It's a "feature" of the mint20 installer, mr_raider posted on it and I checked:
viewtopic.php?f=46&t=326270&p=1855497&h ... l#p1855497
Well, that's special. Probably an Ubuntu goof, imho. Wonder why Mint doesn't switch to the Calamares installer, though, as it has for LMDE.
linux-rox
Level 4
Level 4
Posts: 395
Joined: Sun Jul 19, 2020 9:17 pm

Re: How can I access my Windows files and programs Kept in Linux

Post by linux-rox »

Bioethical wrote:
Mon Aug 10, 2020 8:39 pm
I downloaded Wine already but for some reason, the dialogue boxes to install it as shown in the tutorial can't be found anywhere.
1. This is a different topic.

2. Whatever tutorial you're using, put it aside and read the Release Notes. They tell you how to install Wine in Mint. It's very simple.
Bioethical
Level 1
Level 1
Posts: 18
Joined: Mon Aug 03, 2020 8:10 pm

Re: How can I access my Windows files and programs Kept in Linux

Post by Bioethical »

Hello Team moderator,
At this point, Wine is downloaded, installed and working fine with Notepad++ with just a click on my desktop. That's something good, though. However, I don't' have a clue about how to identify those .exe files that can be used to open and install my Windows programs.
I'll proceed to work with LM20 as you suggested in the previous post and will see what happens.
thank you much.
decrepit
Level 4
Level 4
Posts: 397
Joined: Mon Dec 03, 2018 4:07 am
Location: Mandurah Western Australia

Re: How can I access my Windows files and programs Kept in Linux

Post by decrepit »

linux-rox wrote:
Tue Aug 11, 2020 9:43 am
>>>>
1. This is a different topic.

>>>>
I don't think so, if you read his posts carefully, the op is saying he can't open windows programs. That's why I came in with suggestions how to.
decrepit
Level 4
Level 4
Posts: 397
Joined: Mon Dec 03, 2018 4:07 am
Location: Mandurah Western Australia

Re: How can I access my Windows files and programs Kept in Linux

Post by decrepit »

Bioethical wrote:
Tue Aug 11, 2020 6:22 pm
Hello Team moderator,
At this point, Wine is downloaded, installed and working fine with Notepad++ with just a click on my desktop. That's something good, though. However, I don't' have a clue about how to identify those .exe files that can be used to open and install my Windows programs.
I'll proceed to work with LM20 as you suggested in the previous post and will see what happens.
thank you much.
So wine is working, but you can't open files from your windows programs????
So you have to install those programs with wine, the same way you installed them in windows. If you still have the install.exe files in windows, just open them in wine. if not you could just try copying the whole file from windows into the .wine directory, that may work, but you'll have to create a desktop icon.
linux-rox
Level 4
Level 4
Posts: 395
Joined: Sun Jul 19, 2020 9:17 pm

Re: How can I access my Windows files and programs Kept in Linux

Post by linux-rox »

decrepit wrote:
Tue Aug 11, 2020 8:13 pm
... if you read his posts carefully, the op is saying he can't open windows programs. That's why I came in with suggestions how to.
Okay, I see what you're saying.

Bioethical, is the problem (i) installing Windows programs or (ii) accessing files once you have installed the programs? Or is it something else?
Post Reply

Return to “Newbie Questions”