Tiny Core Linux

Tiny Core Base => TCB Q&A Forum => Topic started by: tinycorelinuxrocks on November 04, 2012, 01:08:47 AM

Title: Boot but no shell prompt
Post by: tinycorelinuxrocks on November 04, 2012, 01:08:47 AM
I have Tiny Core loading a kernel and a ramdisk but I don't get a shell prompt.  Booting ends with:

VFS: Mounted root (ext2 filesystem) on device 1:0.
devtmpfs: mounted
Freeing init memory: 144K
mount: mounting /dev/root on / failed: Invalid argument
udevd[68]: starting version 175

I noticed there is no /dev/root in the Tiny Core rootfs.  Why is TC trying to mount /dev/root to /?
Title: Re: Boot but no shell prompt
Post by: curaga on November 04, 2012, 05:35:56 AM
It looks like you booted something else than TC.

Double-check your bootloader config.
Title: Re: Boot but no shell prompt
Post by: tinycorelinuxrocks on November 04, 2012, 06:36:21 AM
Thanks curaga, I have it working now but I have a few questions.

1. I'm dropped straight into a shell prompt after boot which is fine, but am I supposed to see some ASCI art and a login prompt?

2. May I ask why proc is not mounted automatically?

3. I have a tar archive I'd like extracted to the rootfs automatically at boot.  Considering that I'm using a ramdisk, what is the simplest way to accomplish this?
Title: Re: Boot but no shell prompt
Post by: bmarkus on November 04, 2012, 06:38:12 AM

3. I have a tar archive I'd like extracted to the rootfs automatically at boot.  Considering that I'm using a ramdisk, what is the simplest way to accomplish this?

Create a .tcz extension from your archive and add it to the onboot list.
Title: Re: Boot but no shell prompt
Post by: curaga on November 04, 2012, 07:22:25 AM
Quote
2. May I ask why proc is not mounted automatically?

Still looks like you are not running TC.
Title: Re: Boot but no shell prompt
Post by: genec on November 04, 2012, 10:11:46 AM

3. I have a tar archive I'd like extracted to the rootfs automatically at boot.  Considering that I'm using a ramdisk, what is the simplest way to accomplish this?

Create a .tcz extension from your archive and add it to the onboot list.

Or consider an additional CPIO.GZ file as a secondary "initrd" payload.  There should be some examples in the dynamic remaster page on the wiki.
Title: Re: Boot but no shell prompt
Post by: tinycorelinuxrocks on November 04, 2012, 06:08:40 PM
Thank you.  I think I was thinking of the Isolinux boot screen with #1 above:

http://distro.ibiblio.org/tinycorelinux/tc_005_ib.html

Can anyone confirm that I should be dropped straight into a minimal root shell after booting MicroCore?
Title: Re: Boot but no shell prompt
Post by: tinypoodle on November 04, 2012, 08:27:48 PM
Thank you.  I think I was thinking of the Isolinux boot screen with #1 above:

http://distro.ibiblio.org/tinycorelinux/tc_005_ib.html

Can anyone confirm that I should be dropped straight into a minimal root shell after booting MicroCore?

isolinux applies to .iso only

Default is autologin to user tc
Title: Re: Boot but no shell prompt
Post by: tinypoodle on November 04, 2012, 08:31:05 PM
Please post output of following commands:

Code: [Select]
uname -a
Code: [Select]
cat /etc/issue
Code: [Select]
cat /proc/cmdline
Title: Re: Boot but no shell prompt
Post by: tinycorelinuxrocks on November 04, 2012, 09:19:50 PM
Thanks tinypoodle.  I've got a shell prompt now.