Coder Social home page Coder Social logo

Kernel Panic about build-linux HOT 9 CLOSED

michielderhaeg avatar michielderhaeg commented on July 16, 2024
Kernel Panic

from build-linux.

Comments (9)

kbumsik avatar kbumsik commented on July 16, 2024 1

Hi Michiel,
I have exactly same problem with PARTUUID. But I changed it to root=/dev/sda1 and it works.
I use Ubuntu Gnome 16.04.2 LTS on VMware Workstation though.

from build-linux.

MichielDerhaeg avatar MichielDerhaeg commented on July 16, 2024

Could you do fdisk -l image and give me the output?

from build-linux.

Srl3nny avatar Srl3nny commented on July 16, 2024

The fdisk -l is

sudo fdisk -l image

Disco image: 400 MiB, 419430400 bytes, 819200 setores
Unidades: setor de 1 * 512 = 512 bytes
Tamanho de setor (lógico/físico): 512 bytes / 512 bytes
Tamanho E/S (mínimo/ótimo): 512 bytes / 512 bytes
Tipo de rótulo do disco: dos
Identificador do disco: 0x1593f630

Device Boot Start End Sectors Size Id Type
image1 2048 819199 817152 399M 83 Linux

from build-linux.

MichielDerhaeg avatar MichielDerhaeg commented on July 16, 2024

Weird, looks like the kernel doesn't know what to do with the filesystem or the disk interface. Did you configure your kernel differently? Launched qemu with different options?

from build-linux.

Srl3nny avatar Srl3nny commented on July 16, 2024

Hi Michiel

I configure the kernel and launched qemu like your tutorial, I'll try again later in my workstation that has a Ubuntu 16.04 and tell here the result.

tks

from build-linux.

guinanseyebrows avatar guinanseyebrows commented on July 16, 2024

I also experienced kernel panics during boot. I reformatted my loop device as ext3 and it worked perfectly, so maybe my .config wasn't working properly with ext4 support. odd, but i'm not too worried about that for now. i'm building this on void musl.

from build-linux.

Srl3nny avatar Srl3nny commented on July 16, 2024

I use Ubuntu 16.04 and it work.
But i can't install the bootloader, I get the error

grub-install: erro: /usr/lib/grub/i386-pc/modinfo.sh doesn't exist. Please specify --target or --directory.

I think that is because the grub packages in my machine:
grub-common, grub-efi-amd64, grub-efi-amd64-bin, grub-efi-amd64-signed, grub2-common

I used QEMU to load the kernel, and work, now I can continue.

from build-linux.

MichielDerhaeg avatar MichielDerhaeg commented on July 16, 2024

That error happens because you need the grub-pc-bin package.

from build-linux.

Srl3nny avatar Srl3nny commented on July 16, 2024

Ok, bootloader installed.
Tks

from build-linux.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.