Tiny Core Linux
General TC => General TC Talk => Topic started by: Matesax on March 31, 2013, 03:34:57 AM
-
Hi,
firstly - how can I have more (s)tty screens? No - I not thinking multiplexer - for example Ubuntu - it have six (s)tty screens by default... And secondly - how can i suspend TCL into RAM and HDD? I tried to use pm-utils and suspend utils - it failed... Pm-utils worked properly, but waking up failed - I saw only black screen after this action. Thirdly - how can I modify read only file system? I want remove
unnecessary kmaps, customize JWM and so one... I tried remount with rw attribution, but it did not change ro mode... And last - how can I set properly Czech keyboard? Firstly - in X not work shift modifier. Secondly - diacritic not working. ì¹èø¾ýáíéúù
Thank you.
EDIT - And last ;D - why gpm not display mouse?
-
Hi Matesax
Thirdly - how can I modify read only file system? I want remove unnecessary kmaps, customize JWM and so one... I tried remount with rw attribution, but it did not change ro mode.
You need to run unsquashfs on the extension, make your changes, and run mksquashfs.
JWM is probably best customized by changing its config files and including them as part of your backup.
-
Yes - I already customized the JWM. I found configuration files in mounted rw filesystem... TCL is really quite complicated. :D
-
Hi,
firstly - how can I have more (s)tty screens? No - I not thinking multiplexer - for example Ubuntu - it have six (s)tty screens by default...
Use multivt boot option.
-
Hi Matesax
There are some nice system diagrams in the Wiki that should help you to understand how Tinycore works:
http://wiki.tinycorelinux.net/wiki:tiny_core_file_architecture_diagrams
-
Hi,
firstly - how can I have more (s)tty screens? No - I not thinking multiplexer - for example Ubuntu - it have six (s)tty screens by default...
Use multivt boot option.
or
sudo openvt su - tc
to allocate additional vt's without rebooting.
-
And secondly - how can i suspend TCL into RAM and HDD? I tried to use pm-utils and suspend utils - it failed... Pm-utils worked properly, but waking up failed - I saw only black screen after this action.
FWIW, a script which creates an initramfs to resume from s2disk is posted here:
http://forum.tinycorelinux.net/index.php/topic,14915.msg85358.html#msg85358
-
But s2disk/ram not work - only pm-utils.... And pm-utils display blank screen after wakeup...
-
But s2disk/ram not work
"not work" = not informative!!
only pm-utils....
I am unable to find any reference neither in repo nor in forum - while there are plenty of references related to suspend (lately renamed to suspend-utils) in this forum.
-
tc@box:/$ sudo s2ram
Machine is unknown.
This machine can be identified by:
sys_vendor = "eMachines"
sys_product = "eME642"
sys_version = "V2.14"
bios_version = "V2.14"
---------------
tc@box:/$ sudo s2disk
s2disk: Could not stat the resume device file. Reason: No such file or directory
tc@box:/$ s2[tab]
s2both s2disk s2ram
-
tc@box:/$ sudo s2disk
s2disk: Could not stat the resume device file. Reason: No such file or directory
Most likely configuration error in your /etc/suspend.conf
-
My system not contains this file... Can you upload it?
-
Hi Matesax
There should be a sample in:
/usr/local/share/suspend-utils/files/suspend.conf
-
snapshot device = /dev/snapshot
resume device = <path_to_resume_device_file>
#image size = 350000000
#suspend loglevel = 2
#compute checksum = y
#compress = y
#encrypt = y
#early writeout = y
#splash = y
This code contains only 2 commands - really correctly commands... In this file cannot be a problem...
In my test script /dev/snapshot working...
-
My system not contains this file... Can you upload it?
Well, you showing that you use "s2disk" without any options at all would lead to the conclusion that you rely on a configuration file... ::)
What Rich said
-
http://manpages.ubuntu.com/manpages/lucid/en/man8/uswsusp.conf.8.html
-
I never configure this command - I work over 5 years in UNIX ... (I used a lot of distro.) Ever is something for the first time... :D
-
Suspend is Linux specific.
Userspace tools rely on kernel infrastructure.
-
tc@box:~$ cat /etc/suspend.conf
snapshot device = /dev/snapshot
resume device = /dev/sda1
resume offset = 384222
image size = 0
shutdown method = platform
suspend loglevel = 9
#compute checksum = y
#compress = y
#encrypt = y
early writeout = y
#splash = y
resume pause = 30
Check
cat /sys/power/state
cat /sys/power/disk
for capabilities specific to your system.
-
EDIT - And last ;D - why gpm not display mouse?
(http://upurs.us/thumb/47261.jpeg) (http://upurs.us/image/47261.png)
-
But in my distro this not working...
-
Hi,
how can I enable shift modifier in X?
-
Hi Matesax
But in my distro this not working...
Asking questions without supplying any information is not the best way to resolve a problem.
-
sudo gpm
This is all information... - no error, no problem, no working... This command correctly set files - but mouse not working...
-
As expected!! ::)
Same mistake here as earlier with s2disk.
If you execute a command while omitting mandatory options it will never ever do what you want!
1. Before using any extension read its info file and follow instructions as indicated.
2. With most programs options "-h" or "--help" will provide brief usage instructions.
3. In doubt consult manual page of program.