Linux Pdf Reader For Windows

0 views
Skip to first unread message

Basa Benejan

unread,
Aug 3, 2024, 5:27:12 PM8/3/24
to myforbuistic

I want to make a backup of the SD-card with the linux image. I tried it with Win32 Disk Imager (like on the raspberryPi: -pi-tutorials/17789160-backing-up-and-restoring-your-raspberry-pis-sd-card). Windows detects the SD-card, but it is not accessible in the file manager. There is no drive letter assigned :(

we have the same issue lately. You can use some kind of virtual machine (e.g. the ubuntu vm you might have for building the software) and mount the SD-card in there or you can check out another windows program like DiskInternals Linux Reader (there is a free version, but just backups are possible with it).

A better suggestion would be to format it as exFAT so both systems can read it natively (unless there is a specific reason for ext4).
You might need packages on your linux system for it work properly - -to-mount-and-use-an-exfat-drive-on-linux/

Either make a partition on the USB stick with FAT32 or NTFS and put the files you want to transfer across in their or have Puppy Linux on the USB stick as well. Puppy Linux will work in and with any file system and only needs a frugal install so that it will only need less than 1 GB of the USB drive. After booting it up you can put your files from the USB stick anywhere you want. Puppy will let you do that easily.

I would recommend formatting the whole disk as exFat with windows. Move over to a Linux box and use gparted or fdisk to resize that partition to the required size at the beginning of the disk and create your /boot / and /swap partitions (or just launch an installer and let it have the remaining space on the disk).

I have the same need. I have a Linux formatted drive from a WD My Cloud that crashed, and I am trying to retrieve the data from it. I have connected the SATA drive to a USB port on my Windows 10 laptop, but Windows will not assign a drive letter. Actually, I can see the device from Windows, but it will not assign a drive letter, so I cannot access it. I need to be about to mount the drive in Windows somehow so I can access it with Windows software that will allow me to read the Linux formatted drive.

If you are using XRAID or jbod (one volume per disk), you can also try using r-linux for windows ( -studio.com/free-linux-recovery/ ). If you are using XRAID then use the first disk - in the specific case of a v1 NAS, the second disk has a different partition structure, and r-linux won't be able to access your data volume.

You can connect the disk with either a USB dock/adapter or with SATA. Make sure you don't initialize or format it. You'll see it in Windows disk manager, but windows itself won't recognize the format. R-linux for windows should though.

So thanks, I'll try to plug in disk1 on sata. Indeed I will be very carefull, I want to recover my data from the disk, then only I'll add the second disk, and create a raid 1 on my computer. Later on, I'll try to gather money for a new nas

Have you previously made an encrypted ext4 formatted drive to use with a Linux distro but now have moved to Windows 10 and would like to continue using the encrypted drive without permanently decrypting it to be recognisable? This guide is for you!

It's now possible to mount Linux filesystem drives inside Windows and access them natively without relying on third-party software like DiskInternals Linux Reader: -us/windows-insider/Active-Dev-Branch#build-20211

You need to enable access for yourself to the Windows Insider Preview programme and select the Dev channel. Update, restart and follow this guide to make sure you're on WSL2: -us/windows/wsl/install-win10

But you have an encrypted Veracrypt drive, maybe once even encrypted with Truecrypt. Do you decrypt it first then mount in WSL? Which OS should be decrypting it first? Hey, I've done everything the Windows documentation says but I can't see it anywhere :/

1) If you decrypt it first in Veracrypt Windows side and then mount it in WSL you will be told the drive is busy and being accessed already - a stonewall.
2) If you mount it in WSL inside Powershell and then decrypt in Veracrypt it can't see a partition on your device to mount. There's nothing to mount!
3) You try to decrypt it in the Linux terminal and receive "Error: device-mapper: reload ioctl on veracrypt1 failed: Invalid argument"

For this part we'll switch to WSL terminal but you can run the same commands in Powershell, just put wsl in front (we're doing this so we don't have to type wsl and so you become familiar with relying on the Linux side for managing the Linux drive).

Enter mount directory [default]: /mnt/wsl/PHYSICALDRIVE1
You must type your mount point the same DeviceID name as before and it has to be under /mnt/wsl otherwise you will not be able to navigate to it from Windows

Once your drive is mounted and decrypted you can exit WSL terminal and any Powershell, it will remain mounted. If you power down your machine and power it on you will need to only enter two commands you can adapt in Powershell:

Thanks, really cool.
However, I only have one physical disk drive on my laptop.
I think I have read that wsl atm only allows mounting linux "drives", not partitions.
Would the schema you propose work with the veracrypt partition sitting next to, say, the currently active windows partition and a linux partition, all on the same disk?

@ahenobarbus Could you please write up another guide? When I open a Macrium Reflect image, selecting to mount the one partition that is encrypted, it opens in Windows Explorer, which gives me this prompt if I want to format the drive because it's unreadable, but I'm sure this could be accessed using Powershell, perhaps, although the options are not showing up in the Veracrypt graphical user interface.

@ahenobarbus, If only I could find a program that would label Windows drives as sd1 etc. It's an imaged file of an encrypted NTFS drive made on Windows. My post was pretty clear, I think. It's not a Veracrypt container file. However, it would be interesting if powershell could somehow see what Macrium Reflect mounts to a drive letter, and send that information to Veracrypt, which could then decrypt and mount it further.

Unfortunately VeraCrypt has discontinued support for TrueCrypt volumes as of version 1.26.7 (October 1st, 2023). I can confirm that with the latest version of VeraCrypt I am no longer able to open TC volumes and there is no longer an option for "TrueCrypt Mode". They are now officially recommending an older version to access TC volumes.

Therefore remove references to Truecrypt from the script if you do not use such a volume, or select one of the none Truecrypt mounting options or use a Veracrypt version older than 1.26.7.

TheDiamondCG It works exactly the same as installing on USB. The easiest way is to take the HDD out and put it in your current PC. Then use (for example) etcher in unsafe mode so it detects your HDD and put the image on. Put the HDD in the old PC and fire it up -> voila Batocera ;-) I have two HDDs in my old PC one 80gb with the system and another 1TB with roms. As the PC is connected on the same network as my main PC I copy all I need via network. You can check your IP in system settings -> information and then just connect to it via shortcut i.e. 192.168.0.10. Depanding on your PC setup, especially GPU you might want to consider the 5.22 version with legacy driver. I have older nvidia so 5.22(legacy) actually runs some newer systems better than 5.23.

You can do the same by pressing F1 on your main system screen inside of Batocera and going 'up' then you will find 'boot' folders and re move the '#' from before "nvidia-driver=true" inside "batocera-boot.conf".

TheDiamondCG like Kugelblitz said. I use the internal installer and its installed on my hard drive just make sure you backup everything on your hard drive in case it crashes so that you can reinstall it later

Yes - best way to do that is though to boot Batocera from a USB on that machine, THEN use the internal installer to install it to the HDD/SDD built in. So you need a USB once. Can be an 8Gig one, dont need that much room for an install without ROMs.

You could try an alternative solution, but you will need a working system on that PC. Download EasyBCD and run it in your windows environment. Download link: -easybcd.html. After install open it and choose 'add new entry'. At the bottom there will be few tabs one of them should say 'bios extender'. The system drive should be selected automatically if not select it. Then click install. This program will give you custom boot options. One of them will be USB. Try it ;-)

thisguy There is space on his partition. He does not need to resize it.... The installation of Batocera must be corrupted or HDD/SSD/USB is broken or/and has bad sectors.... In my case it was surely installation problem as after reinstall I did not have this challenge anymore.

Programs like EasyBCD or LinuxReader are simpler to use as well to read the linux partition under windows rather than running another linux distribution just to copy roms ;-) (BZZ )That is if I understood you correctly.\

morning to all! quick question since we are talking about installations, wich hardware would be better to run Nintendo wii and ps2/psn games?? and old intel i5-3330 with 4 cores 3.3ghz/ 4gb ddr3 motherboard, Or a new intel pentium G(dual core ones) at 2.9ghz with 8gb ddr4 motherboard.??

Kossay In pure theory new > old. But I dont think with either of these setups you would see much difference. Test both... Once you have Batocera its just a matter of moving USB or HDD to the other PC. I run wii on lower specs than both of yours and it runs perfect.

BZZ ty for the quick reply BZZ, how did u manage to make wii games run with decent fps??what video card are u using?....side note: can't figure out how to set my ps3 joystick to work with nintendo emu, i have to remap all each time i start the arcade machine.

c80f0f1006
Reply all
Reply to author
Forward
0 new messages