Post by spannernick on Dec 28, 2018 13:15:35 GMT
I made a new post cos looking at the other post it's a bit confusing,I only want to run the games and saves on usb stick or my sd card on the Carousel and if I remove the usb stick it will load the games and saves on nandb,like how Bleemssync works on the PSX Classic...?
I think the topic needs its own thread too.
Info from another thread.. I just what it say6s here,would you say I have added everything you need to do cos some of the info is spread across the theard.If I have missed anything let me know and I will add it here.
The following method remounts the:
/usr/share/the64
/var/lib/the64
directories from the ones on the nand to the ones on the USB stick root filesystem. If the USB stick isn't inserted at boot time then the ones on the nand will still be used. You need to have the USB stick inserted before powering on and you can only remove it after you've powered off.
Step 1: Copy the nandb root filesystem to a USB stick partition 2. You don't actually need the entire root filesystem, only the two thec64 directories and their subdirectories, so if you're feeling adventurous you can only copy these and modify the following instructions accordingly.
Step 2: Login as root and create a directory to mount the 2nd partition on:
mount -o remount,rw /
mkdir /mnt2
Step 3: Edit /etc/fstab, adding the red lines:
# <file system> <mount pt> <type> <options> <dump> <pass>
/dev/root / ext2 rw,noauto 0 1
/dev/sda2 /mnt2 ext4 rw,nofail 0 0
/mnt2/usr/share/the64 /usr/share/the64 none bind,nofail 0 0
/mnt2/var/lib/the64 /var/lib/the64 none bind,nofail 0 0
/mnt2/usr/lib/vice /usr/lib/vice none bind,nofail 0 0
proc /proc proc defaults 0 0
devpts /dev/pts devpts defaults,gid=5,mode=620 0 0
tmpfs /dev/shm tmpfs mode=0777 0 0
tmpfs /tmp tmpfs mode=1777 0 0
tmpfs /run tmpfs mode=0755,nosuid,nodev 0 0
sysfs /sys sysfs defaults 0 0
They don't need to be where I put them, they can also be at the end so you could add them by:
cat >>/etc/fstab
<ENTER>
/dev/sda2 /mnt2 ext4 rw,nofail 0 0
/mnt2/usr/share/the64 /usr/share/the64 none bind,nofail 0 0
/mnt2/var/lib/the64 /var/lib/the64 none bind,nofail 0 0
/mnt2/usr/lib/vice /usr/lib/vice none bind,nofail 0 0
<CTRL-D>
but please make a backup of /etc/fstab first.
Step 4: Add an /etc/init.d startup script to ensure the directories are mounted:
cat >/etc/init.d/S98mountusb
#!/bin/sh
mount -a
<CTRL>-D
chmod a+x /etc/init.d/S98mountusb
I think the topic needs its own thread too.
Info from another thread.. I just what it say6s here,would you say I have added everything you need to do cos some of the info is spread across the theard.If I have missed anything let me know and I will add it here.
The following method remounts the:
/usr/share/the64
/var/lib/the64
directories from the ones on the nand to the ones on the USB stick root filesystem. If the USB stick isn't inserted at boot time then the ones on the nand will still be used. You need to have the USB stick inserted before powering on and you can only remove it after you've powered off.
Step 1: Copy the nandb root filesystem to a USB stick partition 2. You don't actually need the entire root filesystem, only the two thec64 directories and their subdirectories, so if you're feeling adventurous you can only copy these and modify the following instructions accordingly.
Step 2: Login as root and create a directory to mount the 2nd partition on:
mount -o remount,rw /
mkdir /mnt2
Step 3: Edit /etc/fstab, adding the red lines:
# <file system> <mount pt> <type> <options> <dump> <pass>
/dev/root / ext2 rw,noauto 0 1
/dev/sda2 /mnt2 ext4 rw,nofail 0 0
/mnt2/usr/share/the64 /usr/share/the64 none bind,nofail 0 0
/mnt2/var/lib/the64 /var/lib/the64 none bind,nofail 0 0
/mnt2/usr/lib/vice /usr/lib/vice none bind,nofail 0 0
proc /proc proc defaults 0 0
devpts /dev/pts devpts defaults,gid=5,mode=620 0 0
tmpfs /dev/shm tmpfs mode=0777 0 0
tmpfs /tmp tmpfs mode=1777 0 0
tmpfs /run tmpfs mode=0755,nosuid,nodev 0 0
sysfs /sys sysfs defaults 0 0
They don't need to be where I put them, they can also be at the end so you could add them by:
cat >>/etc/fstab
<ENTER>
/dev/sda2 /mnt2 ext4 rw,nofail 0 0
/mnt2/usr/share/the64 /usr/share/the64 none bind,nofail 0 0
/mnt2/var/lib/the64 /var/lib/the64 none bind,nofail 0 0
/mnt2/usr/lib/vice /usr/lib/vice none bind,nofail 0 0
<CTRL-D>
but please make a backup of /etc/fstab first.
Step 4: Add an /etc/init.d startup script to ensure the directories are mounted:
cat >/etc/init.d/S98mountusb
#!/bin/sh
mount -a
<CTRL>-D
chmod a+x /etc/init.d/S98mountusb