WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Boot but no shell prompt  (Read 2397 times)

Offline tinycorelinuxrocks

  • Newbie
  • *
  • Posts: 18
Boot but no shell prompt
« on: November 03, 2012, 11:08:47 PM »
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 /?
« Last Edit: November 04, 2012, 01:03:42 AM by tinycorelinuxrocks »

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 10963
Re: Boot but no shell prompt
« Reply #1 on: November 04, 2012, 02:35:56 AM »
It looks like you booted something else than TC.

Double-check your bootloader config.
The only barriers that can stop you are the ones you create yourself.

Offline tinycorelinuxrocks

  • Newbie
  • *
  • Posts: 18
Re: Boot but no shell prompt
« Reply #2 on: November 04, 2012, 03: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?

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: Boot but no shell prompt
« Reply #3 on: November 04, 2012, 03: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.
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 10963
Re: Boot but no shell prompt
« Reply #4 on: November 04, 2012, 04:22:25 AM »
Quote
2. May I ask why proc is not mounted automatically?

Still looks like you are not running TC.
The only barriers that can stop you are the ones you create yourself.

Offline genec

  • Full Member
  • ***
  • Posts: 240
Re: Boot but no shell prompt
« Reply #5 on: November 04, 2012, 07: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.

Offline tinycorelinuxrocks

  • Newbie
  • *
  • Posts: 18
Re: Boot but no shell prompt
« Reply #6 on: November 04, 2012, 03: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?

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: Boot but no shell prompt
« Reply #7 on: November 04, 2012, 05: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
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: Boot but no shell prompt
« Reply #8 on: November 04, 2012, 05:31:05 PM »
Please post output of following commands:

Code: [Select]
uname -a
Code: [Select]
cat /etc/issue
Code: [Select]
cat /proc/cmdline
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

Offline tinycorelinuxrocks

  • Newbie
  • *
  • Posts: 18
Re: Boot but no shell prompt
« Reply #9 on: November 04, 2012, 06:19:50 PM »
Thanks tinypoodle.  I've got a shell prompt now.