[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: kernel panic not syncing no working init found
From: |
Andrei Borzenkov |
Subject: |
Re: kernel panic not syncing no working init found |
Date: |
Tue, 4 Apr 2017 06:25:48 +0300 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 |
03.04.2017 20:40, HSR Hackspace пишет:
> Hi folks;
>
> I'm trying to EFI boot Linux first time using Grub with below grub.cfg and
> I'm getting kernel panic message. Can someone review kindly my config. Mine
> is a x86_64 box with FreeBSD. I have installed grub2-efi port of FreeBSD.
> Linux is not in ESP but in a separate FAT32 partition. Since Linux is
> expected to UEFI boot from ESP which is again FAT 32 partition I am
> assuming file system of Linux is not an issue. Linux have efi stub support
> enabled. Rooftfs is build-in and there is no separate rootfs image. My only
> concern if I have to specify FAT32 file system (of Linux) in config
> somewhere.
>
> My grub.cfg:
>
> menuentry "Linux" {
> insmod part_msdos
> insmod efi_gop
> insmod gfxterm
> insmod font
> insmod videotest
> insmod videoinfo
> set gfxmode=auto
> set kernvt="vt"
> set root=(hd0,7)
> echo "loading kernel"
> echo "###############################################################"
> linux /boot/bzImage-4.1.21-WR8.0.0.10_standard root=/dev/sda7
> echo "#####################LOADED KERNEL#############################"
> }
>
Kernel needs all drivers required to access /dev/sda7 built in or your
initramfs must include these modules, mount root and switch to it.
Sorry, but your question is completely off-topic on this list. As long
as kernel is loaded grub task is successfully completed; grub has no
influence on what your kernel does after that.
>
> file bzImage-4.1.21-WR8.0.0.10_standard
> bzImage-4.1.21-WR8.0.0.10_standard: Linux kernel x86 boot executable
> bzImage, version 4.1.21-WR8.0.0.10_standard (address@hidden) #1 SMP
> PREEMPT Su, RO-rootFS, swap_dev 0x6, Normal VGA
>
>
>
> Am I missing anything critical in config?
>
> T & R
> _SP
>
>
>
> _______________________________________________
> Help-grub mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/help-grub
>