I'm interested in booting into Tiny Core using usermodelinux (UML) and haven't been able to get it to work yet.
I downloaded and bunzipped the latest 32-bit UML kernel/executable from [removed, see 4 - sources?].
wget [...]
bunzip2 kernel32-2.6.36.2.bz2
chmod +x kernel32-2.6.36.2
Then I tried to boot the Tiny Core initial ramdisk (which I have named tinycore-341.gz) using that kernel:
./kernel32-2.6.36.2 initrd=tinycore-341.gz text
That segfaulted and it turned out to be because UML defaults to allocating just 32M of ram to the guest instance.
If I allocate more memory, then it seems to boot correctly until it gets to the last step of actually logging in as the tc user. At that point it doesn't give a login prompt or a shell prompt and I haven't figured out what to do to troubleshoot it. Here is the command I'm running:
./kernel32-2.6.36.2 initrd=tinycore-341.gz mem=128M nozswap text pause
Here is some of the output from the boot:
Booting tinycore_3.4.1
Running Linux Kernel 2.6.36.2.
Checking boot options...Done.
Starting udev daemon for hotplug support...[ 2.210000] udevd (968): /proc/968
/oom_adj is deprecated, please use /proc/968/oom_score_adj instead.
Done.
Skipping compressed swap in ram as requested from the boot command line.
Scanning hard disk partitions to create /etc/fstab
Setting Language to C Done.
Setting Timezone to UTC Done.
hwclock: can't open '/dev/misc/rtc': No such file or directory
Possible swap partition(s) enabled.
Loading Tiny Core Extensions...Done.
Setting keymap to usloadkmap: can't open console
Done.
Boot time configuration completed. Press <Enter> to continue.
After I press <Enter>, I see this and then nothing else:
[ 16.910000] Virtual console 1 assigned device '/dev/ptyp0'
login[1750]: root login on 'tty1'
Anyone have any ideas on what I can do to further troubleshoot?
As a check to make sure I can get UML working at all, I downloaded a DSL image from [...] and successfully get a shell prompt with it:
wget [...]
bunzip2 DSL-4.4-root_fs.bz2
./kernel32-2.6.36.2 ubda=DSL-4.4-root_fs