WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Installing 64bit version of TC on VM  (Read 12176 times)

Offline cat_in_a_box

  • Newbie
  • *
  • Posts: 1
Installing 64bit version of TC on VM
« on: March 05, 2016, 05:35:12 PM »
Just installed 32bit CorePlus on VirtualBox and it seems to work well (well ... small inconsistent warps of mouse cursor when moving in/out of the virtual machine window)

Now I'm searching the 64bit ISO but there is only TinyCorePure64-7.0.iso which size is ~24MB, too small compared to CorePlus ISO ...

What should I do:
to create a new virtual machine and install with this ISO (probably installation will not be the same as the official tutorial for CorePlus, please specify)
OR
there is another way to change the current installation to 64bit version?

Thanks in advance

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14815
Re: Installing 64bit version of TC on VM
« Reply #1 on: March 06, 2016, 12:23:25 AM »
You will need to install one of the corepure64 isos.

Offline scoufman

  • Newbie
  • *
  • Posts: 1
Re: Installing 64bit version of TC on VM
« Reply #2 on: March 07, 2016, 07:15:40 AM »
For the mouse cursor issue, check in the VM Settings -> System -> Pointing Device, by default it was being set to USB Tablet and I had to switch it to PS/2 Mouse.

Offline Uqbar

  • Newbie
  • *
  • Posts: 20
    • A local host
TinyCorePure64?
« Reply #3 on: March 10, 2016, 10:50:40 AM »

What is the name of the installation helper for TinyCorePure64?
tc-install is not there as there is no icon in the GUI. :-\
Thanks.
Sent as ripples in the electromagnetic field. No single photon has been harmed in the process.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14815
Re: Installing 64bit version of TC on VM
« Reply #4 on: March 10, 2016, 11:54:31 AM »
There isn't an installation helper for corepure64.

You could use the one from coreplus and then add the corepure64 distribution files/boot loader menu entry.

Offline Uqbar

  • Newbie
  • *
  • Posts: 20
    • A local host
Re: Installing 64bit version of TC on VM
« Reply #5 on: March 10, 2016, 12:40:55 PM »
Hmmm... I'll give that a try.
If I boot corepure64, how can I "use" the 32bit installer?
Is it a downloadable script?
Sorry but I am new here and trying again after a long pause.

By the way, if it's so simple, why not porting the installer to the 64bit port?
Sent as ripples in the electromagnetic field. No single photon has been harmed in the process.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14815
Re: Installing 64bit version of TC on VM
« Reply #6 on: March 10, 2016, 11:22:20 PM »
What I meant was to boot 32-bit tinycore and use tc-install to make a 32-bit installation.

Once that is done, manually add the 64-bit distribution files and boot loader menu entry.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14815
Re: Installing 64bit version of TC on VM
« Reply #7 on: March 11, 2016, 03:11:11 AM »
By the way, if it's so simple, why not porting the installer to the 64bit port?

tc-install looks like it should compile 64-bit without problems, but some work would need to be done on tce-install.sh to modify it so that it works on corepure64 - or better still, works for a core, core64 and corepure64 install.

Any volunteers?

Edit: ..and pi/dCore as well if appropriate.

Offline andyj

  • Hero Member
  • *****
  • Posts: 1036
Re: Installing 64bit version of TC on VM
« Reply #8 on: March 11, 2016, 08:53:50 AM »
I have a dual-boot VMware VM that has both 32-bit and 64-bit cores. What I haven't seen mentioned is that you need to have separate 32 and 64 bit tce directories. Here is my extlinux.conf and /mnt/sda1 dir structure:

Code: [Select]
DEFAULT tc64
UI menu.c32
PROMPT 0
TIMEOUT 600
ONTIMEOUT core
F1 f1
F2 f2
F3 f3
F4 f4

MENU TITLE TinyCorePure64
MENU MARGIN 10
MENU VSHIFT 5
MENU ROWS 4
MENU TABMSGROW 14
MENU TABMSG Press ENTER to boot, TAB to edit, or press F1 for more information.
MENU HELPMSGROW 15
MENU HELPMSGENDROW -3
MENU AUTOBOOT BIOS default device boot in # second{,s}...

LABEL tc32
MENU LABEL Boot TinyCore
TEXT HELP
Boot TinyCore
ENDTEXT
KERNEL /boot/vmlinuz-core32
INITRD /boot/core32.gz
APPEND loglevel=3 vga=791 syslog noswap tce=sda1/tce32

LABEL tc64
MENU LABEL Boot TinyCorePure64
TEXT HELP
Boot TinyCorePure64 with Embedded X/GUI extensions.
ENDTEXT
KERNEL /boot/vmlinuz64-corepure64
INITRD /boot/rootfs64.gz,/boot/modules64.gz
APPEND loglevel=3 vga=791 syslog noswap tce=sda1/tce64

LABEL core
MENU LABEL Boot Core (command line only).
TEXT HELP
No embedded X/GUI extensions are loaded. User extensions scanned or specified
will be loaded, and will need to provide X/GUI if required.
ENDTEXT
KERNEL /boot/vmlinuz64-corepure64
INITRD /boot/rootfs64.gz,/boot/modules64.gz
APPEND loglevel=3 vga=791 text base syslog noswap tce=sda1/tce64

Code: [Select]
/mnt/sda1/boot
/mnt/sda1/boot/extlinux
/mnt/sda1/tce64
/mnt/sda1/tce64/ondemand
/mnt/sda1/tce64/optional
/mnt/sda1/tce32
/mnt/sda1/tce32/ondemand
/mnt/sda1/tce32/optional
/mnt/sda1/lost+found

I moved boot up so it wouldn't be in either tce directory. I wouldn't think it would take much to modify the install scripts to set this structure up (or something like it).

Offline sebus

  • Jr. Member
  • **
  • Posts: 96
Re: Installing 64bit version of TC on VM
« Reply #9 on: May 01, 2016, 11:17:46 AM »
And where did you get from rootfs64.gz & modules64.gz ?

sebus

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14815
Re: Installing 64bit version of TC on VM
« Reply #10 on: May 01, 2016, 11:42:53 AM »
You either need corepure64.gz and vmlinuz64 or rootfs64.gz, modules64.gz and vmlinuz.

rootfs64.gz + modules64.gz = corepure64.gz

All from here:

http://repo.tinycorelinux.net/7.x/x86_64/release/distribution_files/

Offline sebus

  • Jr. Member
  • **
  • Posts: 96
Re: Installing 64bit version of TC on VM
« Reply #11 on: May 01, 2016, 03:08:43 PM »
Thanks

sebus

Offline geev03

  • Newbie
  • *
  • Posts: 31
Re: Installing 64bit version of TC on VM
« Reply #12 on: August 29, 2016, 01:58:04 PM »
I was trying the option to install using Dockerhttps://hub.docker.com/r/tatsushid/tinycore/, and it  is working well,
Code: [Select]
geev03@geev03-virtual-machine:~$ docker run -it tatsushid/tinycore:7.2-x86_64

geev03@geev03-virtual-machine:~$ docker ps
CONTAINER ID        IMAGE                           COMMAND             CREATED             STATUS              PORTS               NAMES
1ae4dbaab1e6        tatsushid/tinycore:7.2-x86_64   "/bin/sh"           18 minutes ago      Up 18 minutes                           sad_ardinghelli

geev03@geev03-virtual-machine:~$ docker inspect 1ae4dbaab1e6
[
    {
        "Id": "1ae4dbaab1e6e068599f18a3117947328e781c1727b6a30b0d3871fdd805385d",
        "Created": "2016-08-29T17:29:19.63923408Z",
        "Path": "/bin/sh",
        "Args": [],
        "State": {
            "Status": "running",
            "Running": true,
            "Paused": false,
            "Restarting": false,
            "OOMKilled": false,
            "Dead": false,
            "Pid": 11733,
            "ExitCode": 0,
            "Error": "",
            "StartedAt": "2016-08-29T17:29:20.175429749Z",
            "FinishedAt": "0001-01-01T00:00:00Z"
        },
        "Image": "sha256:2997a31218ac2baec18fbf228b8783519bf8214e2eca9dc4db6795d41ca397d2",
        "ResolvConfPath": "/var/lib/docker/containers/1ae4dbaab1e6e068599f18a3117947328e781c1727b6a30b0d3871fdd805385d/resolv.conf",
        "HostnamePath": "/var/lib/docker/containers/1ae4dbaab1e6e068599f18a3117947328e781c1727b6a30b0d3871fdd805385d/hostname",
        "HostsPath": "/var/lib/docker/containers/1ae4dbaab1e6e068599f18a3117947328e781c1727b6a30b0d3871fdd805385d/hosts",
        "LogPath": "/var/lib/docker/containers/1ae4dbaab1e6e068599f18a3117947328e781c1727b6a30b0d3871fdd805385d/1ae4dbaab1e6e068599f18a3117947328e781c1727b6a30b0d3871fdd805385d-json.log",
        "Name": "/sad_ardinghelli",
        "RestartCount": 0,
        "Driver": "aufs",
        "MountLabel": "",
        "ProcessLabel": "",
        "AppArmorProfile": "",
        "ExecIDs": null,
        "HostConfig": {
            "Binds": null,
            "ContainerIDFile": "",
            "LogConfig": {
                "Type": "json-file",
                "Config": {}
            },
            "NetworkMode": "default",
            "PortBindings": {},
            "RestartPolicy": {
                "Name": "no",
                "MaximumRetryCount": 0
            },
            "AutoRemove": false,
            "VolumeDriver": "",
            "VolumesFrom": null,
            "CapAdd": null,
            "CapDrop": null,
            "Dns": [],
            "DnsOptions": [],
            "DnsSearch": [],
            "ExtraHosts": null,
            "GroupAdd": null,
            "IpcMode": "",
            "Cgroup": "",
            "Links": null,
            "OomScoreAdj": 0,
            "PidMode": "",
            "Privileged": false,
            "PublishAllPorts": false,
            "ReadonlyRootfs": false,
            "SecurityOpt": null,
            "UTSMode": "",
            "UsernsMode": "",
            "ShmSize": 67108864,
            "Runtime": "runc",
            "ConsoleSize": [
                0,
                0
            ],
            "Isolation": "",
            "CpuShares": 0,
            "Memory": 0,
            "CgroupParent": "",
            "BlkioWeight": 0,
            "BlkioWeightDevice": null,
            "BlkioDeviceReadBps": null,
            "BlkioDeviceWriteBps": null,
            "BlkioDeviceReadIOps": null,
            "BlkioDeviceWriteIOps": null,
            "CpuPeriod": 0,
            "CpuQuota": 0,
            "CpusetCpus": "",
            "CpusetMems": "",
            "Devices": [],
            "DiskQuota": 0,
            "KernelMemory": 0,
            "MemoryReservation": 0,
            "MemorySwap": 0,
            "MemorySwappiness": -1,
            "OomKillDisable": false,
            "PidsLimit": 0,
            "Ulimits": null,
            "CpuCount": 0,
            "CpuPercent": 0,
            "IOMaximumIOps": 0,
            "IOMaximumBandwidth": 0
        },
        "GraphDriver": {
            "Name": "aufs",
            "Data": null
        },
        "Mounts": [],
        "Config": {
            "Hostname": "1ae4dbaab1e6",
            "Domainname": "",
            "User": "tc",
            "AttachStdin": true,
            "AttachStdout": true,
            "AttachStderr": true,
            "Tty": true,
            "OpenStdin": true,
            "StdinOnce": true,
            "Env": [
                "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
            ],
            "Cmd": [
                "/bin/sh"
            ],
            "Image": "tatsushid/tinycore:7.2-x86_64",
            "Volumes": null,
            "WorkingDir": "",
            "Entrypoint": null,
            "OnBuild": null,
            "Labels": {}
        },
        "NetworkSettings": {
            "Bridge": "",
            "SandboxID": "7162a8754f254b65f89d7db5f03ed45cfc9f34a6a361342606bb1e244e9fdc38",
            "HairpinMode": false,
            "LinkLocalIPv6Address": "",
            "LinkLocalIPv6PrefixLen": 0,
            "Ports": {},
            "SandboxKey": "/var/run/docker/netns/7162a8754f25",
            "SecondaryIPAddresses": null,
            "SecondaryIPv6Addresses": null,
            "EndpointID": "616a50b03a94cfd51e9111369dc3fa735980acb2e48ef4097f0b81afd8de6ab3",
            "Gateway": "172.17.0.1",
            "GlobalIPv6Address": "",
            "GlobalIPv6PrefixLen": 0,
            "IPAddress": "172.17.0.3",
            "IPPrefixLen": 16,
            "IPv6Gateway": "",
            "MacAddress": "02:42:ac:11:00:03",
            "Networks": {
                "bridge": {
                    "IPAMConfig": null,
                    "Links": null,
                    "Aliases": null,
                    "NetworkID": "55b5a67d8fba6322870bf4dc3f8299654990a21355817d16119f362bfa53c6a4",
                    "EndpointID": "616a50b03a94cfd51e9111369dc3fa735980acb2e48ef4097f0b81afd8de6ab3",
                    "Gateway": "172.17.0.1",
                    "IPAddress": "172.17.0.3",
                    "IPPrefixLen": 16,
                    "IPv6Gateway": "",
                    "GlobalIPv6Address": "",
                    "GlobalIPv6PrefixLen": 0,
                    "MacAddress": "02:42:ac:11:00:03"
                }
            }
        }
    }
]
geev03@geev03-virtual-machine:~$
 

Offline pq5190362

  • Sr. Member
  • ****
  • Posts: 286
Re: Installing 64bit version of TC on VM
« Reply #13 on: October 06, 2016, 07:22:28 PM »
Any update on a 64-bit version of tc-install?

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14815