|
Post by jj0 on May 17, 2018 9:25:13 GMT
killall: bad signal name '' Sorry, the command should be 'killall -9 the64', the autocorrecting keyboard on my mobile added a space between '-' and '9'...
|
|
|
Post by spinal on May 17, 2018 9:56:51 GMT
killall: bad signal name '' Sorry, the command should be 'killall -9 the64', the autocorrecting keyboard on my mobile added a space between '-' and '9'... That didn't help, still readonly :-(
|
|
|
Post by darbyram on May 17, 2018 11:06:00 GMT
Try this
mount -o remount, rw / cat >/etc/init.d/S98mountusb mount -a <CTRL>-D chmod a+x /etc/init.d/S98mountusb mount -o remount, ro /
|
|
|
Post by MIK on May 17, 2018 13:20:35 GMT
Zipstick's have become too valuable for modding with a C64mini in my opinion. Averaging about £30 a pop on ebay.co.uk If you have one laying about doing nothing then fair enough. Some in between adapter might be a better option for those that want to keep the Zip intact...
|
|
|
Post by spinal on May 17, 2018 19:37:21 GMT
I have the following --
# cat /etc/init.d/S98mountusb mount -a
and
# cat /etc/fstab # <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
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
Still not working though.
|
|
|
Post by darbyram on May 17, 2018 23:55:54 GMT
Does anyone have any ideas for removing the need for the serial connection after the software is copied to usb? I have been tempted to try to substitute the serial adaptor with an arduino, have it monitor the serial output, interrupt it and send the command to boot from usb. Not sure how well it would work though. Unless any linux users know how to permanently change the boot path to the usb? As we can't access the u-boot section of the nand (it isn't exposed by the nand.ko driver) we can't change the default nand_root. However you can make it somewhat easier. 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. So you lose the option to remove the USB stick on the fly to change the THEC64-drive8.d64. Step 1: Copy the nandb root filesystem to a USB stick partition 2 as covered in the first post. 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 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, the 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 <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 mount -a <CTRL>-D chmod a+x /etc/init.d/S98mountusb Edit 16th May: The above works fine but more properly should be: cat >/etc/init.d/S98mountusb #!/bin/sh mount -a <CTRL>-D chmod a+x /etc/init.d/S98mountusb You could even try if this works from a FAT32 partition which would make it easier to add game snapshots from Windows works great thanks, though it would not work with the FAT32. but none the less all is good..cheers but may add /mnt2/usr/lib/vice /usr/lib/vice none bind,nofail 0 0 at some point
|
|
|
Post by jj0 on May 18, 2018 6:12:19 GMT
I have the following -- # cat /etc/init.d/S98mountusb mount -a
and # cat /etc/fstab # <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
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
Still not working though. Do you get any error messages if you manually do a 'mount - a'?
|
|
|
Post by spinal on May 18, 2018 10:12:24 GMT
Do you get any error messages if you manually do a 'mount - a'? No error. I retraced all of the steps again, it does seem to work now. I must have missed something the first time around. Thanks for the help jj0!
|
|
|
Post by spinal on May 18, 2018 10:15:12 GMT
but may add /mnt2/usr/lib/vice /usr/lib/vice none bind,nofail 0 0 at some point Cool, what would that do? something fun?
|
|
|
Post by darbyram on May 18, 2018 13:09:20 GMT
but may add /mnt2/usr/lib/vice /usr/lib/vice none bind,nofail 0 0 at some point Cool, what would that do? something fun? Put Jiffydos on, and look for something to break along the way..
|
|
|
Post by jj0 on May 18, 2018 14:57:13 GMT
Cool, what would that do? something fun? Put Jiffydos on, and look for something to break along the way.. Jiffydos works nicely, cuts down loading time of Galaxy.prg (73 blocks) from ~50 seconds to ~10 seconds :-).
|
|
|
Post by MIK on May 19, 2018 4:13:36 GMT
If only they allowed .prg file loading, that 10 seconds would become zero.
|
|
|
Post by streuti on Aug 29, 2018 5:19:49 GMT
Hi everyone, i wonder if it is possible, to include a THEC64-drive9.d64 beside the THEC64-drive8.d64 by modding the firmware of c64 mini? Did anyone try to do this?
Greetings, Streuti
|
|