Hello,
i am trying to get Tinycore64 Version 11 beta1 running under XEN4.13. I need to modify two files, written
here other wise TC doesnt boot till the loginprompt!
This is my PV domu config for TC11beta1
# Kernel paths for install
kernel = "/home/xen/domains/tc11.0beta1_x64/distribution_files/vmlinuz64"
ramdisk = "/home/xen/domains/tc11.0beta1_x64/distribution_files/corepure64-xen.gz"
extra="modules=loop,squashfs console=hvc0 nortc [color=red]noautologin[/color]"
# Path to HDD and iso file
disk = [ 'format=raw, vdev=xvda, access=w, target=/dev/vg/tc11.1beta1-disk', 'format=raw, vdev=xvdb, access=w, target=/dev/vg/tc11.1beta1-swap' ]
# Network configuration
vif = ['mac=00:16:3e:aa:bb:cc, bridge=FOOBAR']
# DomU settings
memory = 512
name = "tc11beta1"
vcpus = 1
maxvcpus = 1
so far it boots but if i am using the bootcode "noautologin" then this happend:
Run /init as init process
init started: BusyBox v1.31.1 (2019-12-16 14:38:11 UTC)
Booting Core 11.0beta1
Running Linux Kernel 5.4.3-tinycore64.
Checking boot options... Done.
Starting udev daemon for hotplug support...input: PC Speaker as /devices/platform/pcspkr/input/input0
Done.
loop: module loaded
zram0: detected capacity change from 0 to 117014528
random: mkswap: uninitialized urandom read (16 bytes read)
Adding 114268k swap on /dev/zram0. Priority:-2 extents:1 across:114268k SSFS
Scanning hard disk partitions to create /etc/fstab
Setting Language to C Done.
Skipping rtc as requested from the boot command line.
squashfs: version 4.0 (2009/01/31) Phillip Lougher
Adding 1048572k swap on /dev/xvdb. Priority:-3 extents:1 across:1048572k SSFS
Possible swap partition(s) enabled.
Loading extensions...EXT4-fs (xvda): mounted filesystem with ordered data mode. Opts: (null)
Done.
Setting keymap to us Done.
EXT4-fs (xvda): mounted filesystem with ordered data mode. Opts: (null)
Setting hostname to box Done.
( '>')
/) TC (\ Core is distributed with ABSOLUTELY NO WARRANTY.
(/-_--_-\) www.tinycorelinux.net
login[400]: root login on 'hvc0'
login[399]: root login on 'tty1'
i cant login, everything hangs (domU) after this point!
But if i am using these kernel commandline (bootcode)
extra="modules=loop,squashfs console=hvc0 nortc noautologin user=tc"
then "root" is doing auto login O.o
Run /init as init process
init started: BusyBox v1.31.1 (2019-12-16 14:38:11 UTC)
Booting Core 11.0beta1
Running Linux Kernel 5.4.3-tinycore64.
Checking boot options... Done.
Starting udev daemon for hotplug support...input: PC Speaker as /devices/platform/pcspkr/input/input0
Done.
loop: module loaded
zram0: detected capacity change from 0 to 117014528
random: mkswap: uninitialized urandom read (16 bytes read)
Adding 114268k swap on /dev/zram0. Priority:-2 extents:1 across:114268k SSFS
Scanning hard disk partitions to create /etc/fstab
Setting Language to C Done.
Skipping rtc as requested from the boot command line.
squashfs: version 4.0 (2009/01/31) Phillip Lougher
Adding 1048572k swap on /dev/xvdb. Priority:-3 extents:1 across:1048572k SSFS
Possible swap partition(s) enabled.
Loading extensions...EXT4-fs (xvda): mounted filesystem with ordered data mode. Opts: (null)
Done.
Setting keymap to us Done.
EXT4-fs (xvda): mounted filesystem with ordered data mode. Opts: (null)
Setting hostname to box Done.
( '>')
/) TC (\ Core is distributed with ABSOLUTELY NO WARRANTY.
(/-_--_-\) www.tinycorelinux.net
login[400]: root login on 'tty1'
login[401]: root login on 'hvc0'
root@box:~#
and another quest: after root has logged in and i type "exit" and hit enter/return the logout process hangs and i am not able to do anything anymore, thats not correct or ?
Thanks, best regards