WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Recent Posts

Pages: 1 2 [3] 4 5 ... 10
21
TCB Talk / Re: What is the best way to create TCL ISO for a PXE boot?
« Last post by gerald_clark on October 17, 2017, 05:31:05 AM »
You don't need an ISO to PXE boot.
22
TCB Q&A Forum / How to set hostname to DNS name
« Last post by fow0ryl on October 17, 2017, 04:57:14 AM »
Hello,

I would like to run some thin clients with TC and rdesktop.
The hostname used by TC should be the same as the name provided by the DHCP Server.
My idea is to run ifconfig to get the ip of the machine. Then run a nslookup to find out the hostname.
This hostname could be used to change /etc/hostname and set by "hostname -F /etc/hostname.

But what's the right place to do that?
I could set a hostname in bootlocal. This works i.e when using the mac address to set a unique hostname.
But the network connection isn't established as that time, so I can't get the dns name.

And how to run the functions as root? /etc/hostname can't be changed as user...

Henning
23
TCE Corepure64 / Re: opencl
« Last post by Juanito on October 17, 2017, 04:01:56 AM »
hashcat added to benchmark opencl cpu and gpu drivers, cpu:
Code: [Select]
$ hashcat -b -m 1000 --opencl-device-types 1 --opencl-platforms 1 --force
hashcat (pull/1273/head) starting in benchmark mode...

OpenCL Platform #1: The pocl project
====================================
* Device #1: pthread-Intel(R) Core(TM) i7-4600U CPU @ 2.10GHz, 18075/18075 MB allocatable, 4MCU

Hashtype: NTLM

Speed.Dev.#1.....: 75419.5 kH/s (55.55ms)

gpu:
Code: [Select]
$ hashcat -b -m 1000 --opencl-device-types 2 --opencl-platforms 1 --force
hashcat (pull/1273/head) starting in benchmark mode...

OpenCL Platform #1: Intel
=========================
* Device #1: Intel(R) HD Graphics Haswell Ultrabook GT2 Mobile, 1536/2048 MB allocatable, 20MCU

Hashtype: NTLM

Speed.Dev.#1.....:   355.8 MH/s (58.44ms)

..apparently, the closed source intel drivers are faster
24
TCE News / Re: Nvidia modules version 384.90 submitted for TC-8
« Last post by Juanito on October 17, 2017, 03:57:52 AM »
do these provide the nvidia opencl drivers?
25
TCB Q&A Forum / Re: getlocale (tc 8.1.1)
« Last post by FMark on October 17, 2017, 03:55:38 AM »
Thanks for the feedbacks  :)

I installed tinycore by the CorePlus-current to a USB flash. In my extlinux.conf is tce=UUID=... which is set correct.

TinyCore 8.1.1 works very stable and without problems so far at my USB flash (for 5 weeks almost daily in use), except the strange story I recently had with getlocale. I tried to reproduce the problem, but all worked correct. Must have been a mistake by me or maybe done by one of the daily updates at my other Linux at the harddisk.

concerning hd mounting:

Rich, you're right, I also expect no access at the hd when not mounted. However I didn't mount the harddisk manually when I got this mysterious "language changed" message at the other linux which is installed at the hd.

By the way, is it possible at tinycore that a script/program can mount the harddisk (any sda partition) and make modifications there without my permisson?

best regards
Frank
26
TCB Talk / What is the best way to create TCL ISO for a PXE boot?
« Last post by msalvatori on October 17, 2017, 03:44:35 AM »
So I finished setting up my TCL with rdesktop and I want to make an ISO from its current state.

I am reading about ezremaster, which offers 3 options to mount the ISO: 

1 - Outside initrd apps on boot / Outside initrd apps
2 - Inside initrd apps on boot / Inside initrd apps
3 - Extract TCZ to in to initrd

And also offer these options:



The wiki doesn't go very deep on explanation though. Which options to create an ISO for PXE boot would you recommend?

27
Corepure64 / Re: tinycore64 couldn't found scsi driver
« Last post by Juanito on October 17, 2017, 01:43:31 AM »
Are your drives connected via an scsi adapter?

If so, which adapter and are the correct drivers for it loaded?
28
Corepure64 / Re: HOW2 boot ALSO 32bit installation from same TC64bootStik?
« Last post by coreplayer2 on October 17, 2017, 01:13:49 AM »
Anything is possible, it just requires a little effort..

After a correct boot loader / manager install regardless of whether syslinux or Grub2 is used, the key to successfully booting is a Boot config file which correctly displays the drives directory structure with path to the kernel, kernel modules and TC rootfs and tce directory.  follow the example below which is a partial and highly modified excerpt from one of my multi boot installs.

Quote
Perhaps it needs a <wait>, for the slow USB-SATA,
but I can't see if/how GRUB can do that.
Perhaps check an example "waitusb" bootcode from one of my Grub2 boot config files below???  you use the same method whichever boot loader/manager you use
If you can boot the drive using syslinux, then use that. 

Drive directory structure:  note that "tc8-x86_64" is a tce directory, which you can define in the config file.  Also note; a drive which can plugged into a Windows PC gets a FAT boot partition then an ext2/4 partition for all Linux system, Home, OPT and TCE directories  so Windows won't interfere..
Code: [Select]
/mnt/sda2 $ version
8.2
/mnt/sda2 $ uname -r
4.8.17-tinycore64

/mnt/sda1 $ tree -L 3
.
|-- boot
    -- grub
        |-- grub.cfg
        |-- grub.cfg.bak
        |-- grubenv
        |-- i386-pc
        |-- locale
/mnt/sda2 $ tree -L 2
.
|-- home
|   -- tc
|-- linux
|   |-- grub_backup
|   |-- modules-429.gz
|   |-- modules-4817.gz
|   |-- modules64-429.gz
|   |-- modules64-4817.gz
|   |-- rootfs-72.gz
|   |-- rootfs-82.gz
|   |-- rootfs64-72.gz
|   |-- rootfs64-82.gz
|   |-- vmlinuz-429
|   |-- vmlinuz-4817
|   |-- vmlinuz64-429
|   |-- vmlinuz64-4817
|-- opt
|-- tc7-x86
|   |-- mydata.tgz
|   |-- mydata_tc7x86.Vesa.tgz
|   |-- mydata_tc7x86.Xorg.tgz
|   |-- onboot.lst
|   |-- onboot_Core64.lst
|   |-- onboot_x86_Xorg.lst
|   |-- onboot_x86_Xvesa.lst
|   |-- ondemand
|   |-- optional
|-- tc7-x86_64
|   |-- OnbootPure64Def.lst
|   |-- mydataCorePure64.tgz
|   |-- onboot.lst
|   |-- onboot_CorePure64.lst
|   |-- ondemand
|   |-- optional
|-- tc8-x86
|   |-- defonboot.lst
|   |-- mydata_tc7x86.Vesa.tgz
|   |-- mydata_tc7x86.Xorg.tgz
|   |-- mydata_tc8x86.Vesa.tgz
|   |-- onboot.lst
|   |-- onboot_Core64.lst
|   |-- onboot_x86_Xorg.lst
|   |-- onboot_x86_Xvesa.lst
|   |-- ondemand
|   |-- optional
`-- tc8-x86_64
    |-- OnbootPure64Def.lst
    |-- mydataCorePure64.tgz
    |-- onboot_CorePure64.lst
    |-- ondemand
    |-- optional


Create a boot config file whether syslinux or Grub2 like this grub example
Code: [Select]
insmod part_msdos
insmod fat
insmod ext2
loadfont unicode
set gfxterm=auto
terminal_output gfxterm
GRUB_GFXMODE=1900X1200X16
GRUB_GFXPAYLOAD_LINUX=keep

#Timeout for menu
set default=8
set timeout=5

menuentry "*** TC-7-x86 (Xvesa on SSD)" {
search --no-floppy --fs-uuid --set=root 196fcfb2-bd37-495d-b855-41f08201be7d
linux /linux/vmlinuz-429 noswap tz=GMT loglevel=3 waitusb=5:UUID="196fcfb2-bd37-495d-b855-41f08201be7d" tce=UUID="196fcfb2-bd37-495d-b855-41f08201be7d"/tc7-x86 opt=UUID="196fcfb2-bd37-495d-b855-41f08201be7d" home=UUID="196fcfb2-bd37-495d-b855-41f08201be7d" lst=onboot_x86_Xvesa.lst mydata=mydata_tc7x86.Vesa
initrd /linux/rootfs-72.gz /linux/modules-429.gz
}

menuentry "*** TC-7-x86 (Xorg on SSD)" {
search --no-floppy --fs-uuid --set=root 196fcfb2-bd37-495d-b855-41f08201be7d
linux /linux/vmlinuz-429 vmalloc=256MB tz=GMT loglevel=3 waitusb=5:UUID="196fcfb2-bd37-495d-b855-41f08201be7d" tce=UUID="196fcfb2-bd37-495d-b855-41f08201be7d"/tc7-x86 opt=UUID="196fcfb2-bd37-495d-b855-41f08201be7d" home=UUID="196fcfb2-bd37-495d-b855-41f08201be7d" lst=onboot_x86_Xorg.lst mydata=mydata_tc7x86.Xorg
initrd /linux/rootfs-72.gz /linux/modules-429.gz
}

menuentry "*** TC-7-Core64 (on SSD)" {
search --no-floppy --fs-uuid --set=root 196fcfb2-bd37-495d-b855-41f08201be7d
linux /linux/vmlinuz64-429 tz=GMT loglevel=3 waitusb=5:UUID="196fcfb2-bd37-495d-b855-41f08201be7d" tce=UUID="196fcfb2-bd37-495d-b855-41f08201be7d"/tc7-x86 opt=UUID="196fcfb2-bd37-495d-b855-41f08201be7d" home=UUID="196fcfb2-bd37-495d-b855-41f08201be7d" lst=onboot_Core64.lst
initrd /linux/rootfs-72.gz /linux/modules64-429.gz
}

menuentry "*** TC-7-Corepure64 (on SSD)" {
search --no-floppy --fs-uuid --set=root 196fcfb2-bd37-495d-b855-41f08201be7d
linux /linux/vmlinuz64-429 noswap tz=GMT loglevel=3 waitusb=5:UUID="196fcfb2-bd37-495d-b855-41f08201be7d" tce=UUID="196fcfb2-bd37-495d-b855-41f08201be7d"/tc7-x86_64 opt=UUID="196fcfb2-bd37-495d-b855-41f08201be7d" home=UUID="196fcfb2-bd37-495d-b855-41f08201be7d" lst=onboot_CorePure64.lst mydata=mydataCorePure64
initrd /linux/rootfs64-72.gz /linux/modules64-429.gz
}

menuentry "*** TC-8-x86 (Xvesa on SSD)" {
search --no-floppy --fs-uuid --set=root 196fcfb2-bd37-495d-b855-41f08201be7d
linux /linux/vmlinuz-4817 vmalloc=256MB tz=GMT loglevel=3 waitusb=5:UUID="196fcfb2-bd37-495d-b855-41f08201be7d" tce=UUID="196fcfb2-bd37-495d-b855-41f08201be7d"/tc8-x86 opt=UUID="196fcfb2-bd37-495d-b855-41f08201be7d" home=UUID="196fcfb2-bd37-495d-b855-41f08201be7d" lst=onboot_x86_Xvesa.lst mydata=mydata_tc8x86.Vesa
initrd /linux/rootfs-82.gz /linux/modules-4817.gz
}

menuentry "*** TC-8-x86 (Xorg on SSD)" {
search --no-floppy --fs-uuid --set=root 196fcfb2-bd37-495d-b855-41f08201be7d
linux /linux/vmlinuz-4817 vmalloc=256MB tz=GMT loglevel=3 waitusb=5:UUID="196fcfb2-bd37-495d-b855-41f08201be7d" tce=UUID="196fcfb2-bd37-495d-b855-41f08201be7d"/tc8-x86 opt=UUID="196fcfb2-bd37-495d-b855-41f08201be7d" home=UUID="196fcfb2-bd37-495d-b855-41f08201be7d" lst=onboot_x86_Xorg.lst mydata=mydata_tc7x86.Xorg
initrd /linux/rootfs-82.gz /linux/modules-4817.gz
}

menuentry "*** TC-8-Core64 (on SSD)" {
search --no-floppy --fs-uuid --set=root 196fcfb2-bd37-495d-b855-41f08201be7d
linux /linux/vmlinuz64-4817 tz=GMT loglevel=3 waitusb=5:UUID="196fcfb2-bd37-495d-b855-41f08201be7d" tce=UUID="196fcfb2-bd37-495d-b855-41f08201be7d"/tc8-x86 opt=UUID="196fcfb2-bd37-495d-b855-41f08201be7d" home=UUID="196fcfb2-bd37-495d-b855-41f08201be7d" lst=onboot_Core64.lst
initrd /linux/rootfs-82.gz /linux/modules64-4817.gz
}

menuentry "*** TC-8-Corepure64 (on SSD)" {
search --no-floppy --fs-uuid --set=root 196fcfb2-bd37-495d-b855-41f08201be7d
linux /linux/vmlinuz64-4817 noswap tz=GMT loglevel=3 waitusb=5:UUID="196fcfb2-bd37-495d-b855-41f08201be7d" tce=UUID="196fcfb2-bd37-495d-b855-41f08201be7d"/tc8-x86_64 opt=UUID="196fcfb2-bd37-495d-b855-41f08201be7d" home=UUID="196fcfb2-bd37-495d-b855-41f08201be7d" lst=onboot_CorePure64.lst mydata=mydataCorePure64
initrd /linux/rootfs64-82.gz /linux/modules64-4817.gz
}

menuentry "System restart" {
echo "System rebooting..."
reboot
}

good luck..
29
Corepure64 / Re: tinycore64 couldn't found scsi driver
« Last post by punkgeek on October 17, 2017, 12:37:41 AM »
thank you but it doesn't showed my second hard drive
with the lsscsi command just showed me cd/dvd and first hard disk
and when I enter fdisk -l /dev/sdb , the output is: can't open `/dev/sdb` : No such device or address
30
Corepure64 / Re: tinycore64 couldn't found scsi driver
« Last post by Misalf on October 17, 2017, 12:27:42 AM »
Install  lsscsi.tcz .
Pages: 1 2 [3] 4 5 ... 10