WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Cant boot tinycore 10.0 - Kernel Panic  (Read 532 times)

Offline oovy

  • WikiUser
  • *
  • Posts: 19
    • oovy.dev
Cant boot tinycore 10.0 - Kernel Panic
« on: May 27, 2019, 07:42:15 AM »
Hi there!
I was tinkering with tinycore once more and tried to run it in a virtual machine. The thing is, I cant get it to boot due to a kernel panic.

Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)



I already had this issue once with a debian installation. This was a Grub error, where it couldn't handle the kernel. Is this the same thing? Has anybody experienced this or a solution for this?
I wasn't able to fix it, so I went back to an older version...

Thanks in advance.
someone once said to me: "if your code works, just dont touch it. If it does not, just dont touch it either. Otherwise your life will become hell."

Online Rich

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 6597

Offline oovy

  • WikiUser
  • *
  • Posts: 19
    • oovy.dev
Re: Cant boot tinycore 10.0 - Kernel Panic
« Reply #2 on: May 27, 2019, 12:46:01 PM »
Hi there Rich!

Sadly, this does seem not to be the problem. I'm still wondering if this isn't just a bootloader issue, but I'm not sure at all.

Could there be another reason?
someone once said to me: "if your code works, just dont touch it. If it does not, just dont touch it either. Otherwise your life will become hell."

Offline andyj

  • Hero Member
  • *****
  • Posts: 735
Re: Cant boot tinycore 10.0 - Kernel Panic
« Reply #3 on: May 27, 2019, 03:51:22 PM »
Maybe you could give us some details about the VM environment, like vmware, esxi, hyperv, virtualbox, xen, qemu?

Offline oovy

  • WikiUser
  • *
  • Posts: 19
    • oovy.dev
Re: Cant boot tinycore 10.0 - Kernel Panic
« Reply #4 on: May 27, 2019, 11:40:15 PM »
Hi!
Of course, here's some info about the VM:

- VMWare Workstation 15 Pro
- 1 CPU Core
- 2 GB RAM
- Running "Other 4.x Linux Kernel"
someone once said to me: "if your code works, just dont touch it. If it does not, just dont touch it either. Otherwise your life will become hell."

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 9997
Re: Cant boot tinycore 10.0 - Kernel Panic
« Reply #5 on: May 28, 2019, 01:01:20 AM »
Try adding "debug" to the boot args, to see more messages. Did you edit core.gz?
The only barriers that can stop you are the ones you create yourself.

Offline oovy

  • WikiUser
  • *
  • Posts: 19
    • oovy.dev
Re: Cant boot tinycore 10.0 - Kernel Panic
« Reply #6 on: May 28, 2019, 02:19:30 AM »
Okay, i'll try that.
No, I didn't edit core.gz. Not that I know.

core.gz is the kernel modules stuff right?

someone once said to me: "if your code works, just dont touch it. If it does not, just dont touch it either. Otherwise your life will become hell."

Offline andyj

  • Hero Member
  • *****
  • Posts: 735
Re: Cant boot tinycore 10.0 - Kernel Panic
« Reply #7 on: May 28, 2019, 03:46:51 AM »
Is this booting from the ISO, or did you already install it to a virtual hard drive to boot from?

Offline oovy

  • WikiUser
  • *
  • Posts: 19
    • oovy.dev
Re: Cant boot tinycore 10.0 - Kernel Panic
« Reply #8 on: May 28, 2019, 04:47:41 AM »
It's installed on a virtual hard drive. Already tried it multiple times.
someone once said to me: "if your code works, just dont touch it. If it does not, just dont touch it either. Otherwise your life will become hell."

Online Rich

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 6597
Re: Cant boot tinycore 10.0 - Kernel Panic
« Reply #9 on: May 28, 2019, 04:59:01 AM »
Hi oovy
... core.gz is the kernel modules stuff right?
Not exactly.  core.gz  contains  rootfs.gz  +  modules.gz.

Offline andyj

  • Hero Member
  • *****
  • Posts: 735
Re: Cant boot tinycore 10.0 - Kernel Panic
« Reply #10 on: May 28, 2019, 05:22:33 AM »
Since the ISO booted and the kernel saw the hard drive at the time of installation it was working at some point. Which disk controller are you using? What bootloader are you using, and what does the configuration look like?

Offline oovy

  • WikiUser
  • *
  • Posts: 19
    • oovy.dev
Re: Cant boot tinycore 10.0 - Kernel Panic
« Reply #11 on: May 28, 2019, 07:40:52 AM »
Since the ISO booted and the kernel saw the hard drive at the time of installation it was working at some point. Which disk controller are you using? What bootloader are you using, and what does the configuration look like?

I am using a IDE controller, already tried SATA. It's the default TC bootloader (grub i guess). What do you mean by configuration?
someone once said to me: "if your code works, just dont touch it. If it does not, just dont touch it either. Otherwise your life will become hell."

Online Rich

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 6597
Re: Cant boot tinycore 10.0 - Kernel Panic
« Reply #12 on: May 28, 2019, 07:52:56 AM »
Hi oovy
...  What do you mean by configuration?
If you used the  tc-install  utility, you should have a  /boot/extlinux/  directory with a  extlinux.conf  file in it.
If you used a third party installation tool that can install any and all Linux distros, use the  tc-install  utility.

Offline oovy

  • WikiUser
  • *
  • Posts: 19
    • oovy.dev
Re: Cant boot tinycore 10.0 - Kernel Panic
« Reply #13 on: May 28, 2019, 09:12:55 AM »
Here's my extlinuxconfig

Code: [Select]
DEFAULT core
LABEL core
KERNEL /tce/boot/vmlinuz
INITRD /tce/boot/core.gz
APPEND quiet  waitusb=5 waitusb=5:UUID="7c01923d-d05d-454f-9738-7a1f88bb32a1" tce=UUID="7c01923d-d05d-454f-9738-7a1f88bb32a1"
someone once said to me: "if your code works, just dont touch it. If it does not, just dont touch it either. Otherwise your life will become hell."

Online Rich

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 6597
Re: Cant boot tinycore 10.0 - Kernel Panic
« Reply #14 on: May 29, 2019, 04:58:28 AM »
Hi oovy
Try adding "debug" to the boot args, to see more messages. ...
Change this:
Code: [Select]
APPEND quiet  waitusb=5 waitusb=5:UUID="7c01923d-d05d-454f-9738-7a1f88bb32a1" tce=UUID="7c01923d-d05d-454f-9738-7a1f88bb32a1"To this:
Code: [Select]
APPEND quiet  debug waitusb=5:UUID="7c01923d-d05d-454f-9738-7a1f88bb32a1" tce=UUID="7c01923d-d05d-454f-9738-7a1f88bb32a1"