User Tools

Site Tools


how_to_mod_the_c64_mini_to_add_extra_games

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
how_to_mod_the_c64_mini_to_add_extra_games [2019/02/09 01:10]
– [Required hardware] crispin
how_to_mod_the_c64_mini_to_add_extra_games [2019/02/10 21:54] (current)
– [Midnight Commander] crispin
Line 239: Line 239:
 If you end up with the following message, then it has not worked. If you end up with the following message, then it has not worked.
  
-{{:boot-nein.png?nolink&400|}}+{{:boot-nein.png?nolink&670|}}
  
 If you see this message, then it worked. If you see this message, then it worked.
  
-{{::boot-ok.jpg?nolink&400|}}+{{::boot-ok.jpg?nolink&665|}}
  
 ==== Setting the root password ==== ==== Setting the root password ====
  
-Now you need the root login and set your own password. Then you can also log in without interruption on the c64 mini as root.+Now you need the root login and set your own password. Then you can also log in without interruption on the c64 mini as root.\\ 
 +Mind you, while waiting for new password, cursor will disappear: it will **not** blink, nor you will see what you type. it is common security measure of Linux (and most other Unixoids). Your machine is not frozen. When you press enter, "''Retype password:''" will occur - retype it, press enter and continue.\\ 
 +Hint: commands that needs to be entered to terminal could be copy&pasted line by line from below. ctrl+c is keyboard shortcut for "copy" at Windows and Linux; ctrl+v is "paste" for Windows, ctrl+shift+v for paste into Linux terminal. alt+tab is for switching between windows at Windows and Linux, as usual.
  
-Here is what you need to do step by step:+Here is what you need to dostep by step:
  
-  * **setenv console ${console} ramfs**  +  * **''setenv console ${console} ramfs''**  
-  * **boot** +  * **''boot''** 
-  * **insmod /lib/modules/3.4.39/nand.ko** +  * **''insmod /lib/modules/3.4.39/nand.ko''** 
-  * **mount /dev/nandb /mnt** +  * **''mount /dev/nandb /mnt''** 
-  * **passwd**+  * **''passwd''**
   * (Type in a password ) [ The cursor does not move, the input is masked]   * (Type in a password ) [ The cursor does not move, the input is masked]
   * (confirm password again) [ The cursor does not move, the input is masked]    * (confirm password again) [ The cursor does not move, the input is masked] 
-  * **mv /mnt/etc/shadow /mnt/etc/shadow.old** +  * **''mv /mnt/etc/shadow /mnt/etc/shadow.old''** 
-  * **cp /etc/shadow /mnt/etc** +  * **''cp /etc/shadow /mnt/etc''** 
-  * **umount /mnt**+  * **''umount /mnt''**
  
  
Line 310: Line 312:
  
 Then restart the C64 mini and log in with login : root and the password you set. Now you have root access to the c64 Mini :) Then restart the C64 mini and log in with login : root and the password you set. Now you have root access to the c64 Mini :)
 +
 +==== Useful hints ====
 +When you enter Mini's file system, you will find your self at mounted **/root** sub-folder, not a real root!
 +It could be confusing, because **''ls''** will not show you common file-system "tree".\\
 +To quickly get out of it, type\\
 +**''cd ..''**\\
 +
 +To see where are you at file system, enter this to show you more informative command line prompt:\\
 +**''PS1="\w $ "''**
  
 ==== Linux login/logout - quick reminder of session procedure ==== ==== Linux login/logout - quick reminder of session procedure ====
Line 324: Line 335:
 **''umount /mnt''**\\ **''umount /mnt''**\\
 **''poweroff''**\\ **''poweroff''**\\
 +
 +==== Midnight Commander ====
 +For easier and faster manipulation with files and browsing through Mini's file system, using of MC is recommended. \\ This is [[https://en.wikipedia.org/wiki/Category:Orthodox_file_managers|dual panel file manager]], in style of "[[https://en.wikipedia.org/wiki/Total_Commander|Total Commander / Windows Commander]]", "[[https://en.wikipedia.org/wiki/Double_Commander|Double Commander]]", "Norton Commander" (DOS) or "File Manager" of old Windows version (WfW3.11). \\  It is recommended to utilise "learn" abilities of MC, to adjust MC to Mini's keyboard assignment and, more importantly, adapt yourself to using MC commands (function keys, mostly). More about it at community forum: http://thec64community.online/post/2332/thread \\
 +**Quick procedure:**
 +  * Download MC [[https://mega.nz/#!tssSzAKZ!UKrYBrFkE1ni99Qw9qYZAgmlYvS8tQEPcmiQF2b07HI|here]], put it at USB stick
 +  * connect Mini usual way (procedure above), if you didn't already
 +  * FIRST BACKUP YOUR NANDB (see below how), if you didn't already
 +  * **''zcat /tmp/ramfs/midnight\ commander.cpio.gz | cpio -i''**
 +
 +**''mc''** to start MC. **F10**, **alt+0** or **esc+10** to exit (F10 usually don't work, initially).\\
 +Reminder and useful tips for using MC [[http://thec64community.online/post/2341|here]] and [[http://thec64community.online/post/2332|here]] (from community forum link, right above)
 +
 ==== Backing up NAND memory and existing games ==== ==== Backing up NAND memory and existing games ====
  
Line 536: Line 559:
 Wish you a lot of fun and success :wave your hand: Wish you a lot of fun and success :wave your hand:
  
-Marcel (Translated,some words changed by Spannernick. Wikification and further refinements by Gurce)+Marcel (Translated, some words changed by Spannernick. Wikification and further refinements by Gurce, Crispin)
  
 ==== Changing the carousel music ==== ==== Changing the carousel music ====
how_to_mod_the_c64_mini_to_add_extra_games.1549699806.txt.gz · Last modified: 2019/02/09 01:10 by crispin