FreeDOS setup, ready for the reMarkable tablet, with CDROM support to mount own ISO image, and run old DOS software via BOCHS emulation.
FreeDOS is under the GNU General Public License
Before proceeding: you MUST know what Toltec repository is about, not just install it. By installing oxide launcher you are going to modify the way your reMarkable works. Make sure you know what you are doing. If you already use both of them, just ignore this warning.
ssh to your reMarkable and type or paste the following:
wget https://raw.githubusercontent.com/davidegat/reMarkaDOS-Freedos-on-reMarkable/main/installrmd.sh; bash ./installrmd.sh
Don't forget to refresh your apps in oxide after installation (top left corner on your oxide UI). To install DOS software on your reMarkable, follow instructions at the end.
opkg install oxide simple yaft
opkg install bochs
, remember to install also the oxide, yaft and simple package if you haven't done it yet.
bochs -q -unlock -f bochsrc
. BOCHS and FreeDOS should start, if it happens, reboot your tablet and proceede with the next steps.
chmod +x *.sh
and register your app within oxide by running rot apps call registerApplication 'QVariantMap:{"name": "FreeDOS", "bin": "/home/root/dos.sh"}'
mv c.img c-old.img
bximage
, a menu appears: choose "3. Resize hard disk image", when asked for source image: c-old.img, new image: c.img, input the new size (say.. 500mb)
./startdos.sh
)
fdisk
rm -rf c-old.img
or keep it as a backup if something doesn't work.
After running fdisk
on your FreeDOS, a menu activates:1. Create DOS partitions on the fixed disk. Using this option, you can create more than one logical drive on one physical fixed disk.
2. Change an existing partition on the fixed disk.
3. Delete an existing partition on the fixed disk.
4. Display current partition information.
Type 1, enter, and follow the instructions to create a new partition.
fdisk will give the new partition a drive letter (example "d:"), after the partition is made, exit fdisk and reboot reMarkable.
Boot FreeDOS again, and format the new partition with
format d:
(change drive letter accordingly).
mkisofs -0 image.iso folder/
, there are specific apps for Windows too), scp it to your reMarkable in the correct folder (in the example "remarkados")
nano bochsrc
(bochsrc in the zip file will help you understand how, remember to change the image name and path accordingly), it will be recognized as a CDROM drive. Check bochsrc options for more details.
xcopy d:\FOLDER\ c:\FOLDER /a
).