Encounter "Kernel panic - not syncing: VFS" when boot ArchLinux installation files
|
2018-01-20, 14:30
Post: #1
|
|||
|
|||
Encounter "Kernel panic - not syncing: VFS" when boot ArchLinux installation files
I am trying to boot the installation ArchLinux files on my machine with UEFI firmware. I had turned off secure boot.
I am able to reach the iPXE shell from DHCP undionly.ipxe. Here is my iPXE script that trying to fetch kernel and initrd files from http: Code: kernel http://192.168.0.5/arch/boot/x86_64/vmlinuz archisobasedir=arch archiso_http_srv=http://192.168.0.5/ ip=:::::eth0:dhcp I encounter this error after fetching the files from http service and boot: Code: Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) This is the ArchLinux ISO files structure: Code: ├── arch Thank you. |
|||
2018-01-20, 15:00
(This post was last modified: 2019-07-23 20:22 by NiKiZe.)
Post: #2
|
|||
|
|||
RE: Encounter "Kernel panic - not syncing: VFS" when boot ArchLinux installation files
undionly.kpxe is for legacy bios boot, (I'm assuming undionly.ipxe was a spello)
for EFI boot you would like snponly.efi or ipxe.efi instead.... However you have clearly been able to boot the kernel so not sure how you got to that point... any way in efi mode you will have to add initrd= option to the kernel command line for it to know whch file it should use from efifs as ram image data. Code: kernel http://192.168.0.5/arch/boot/x86_64/vmlinuz archisobasedir=arch archiso_http_srv=http://192.168.0.5/ ip=:::::eth0:dhcp initrd=archiso.img Forum FAQ covers this as well: http://forum.ipxe.org/showthread.php?tid...1#pid19101 (2018-01-23 08:23)FAQ Wrote: Use GitHub Discussions VRAM bin |
|||
2018-01-20, 16:23
Post: #3
|
|||
|
|||
RE: Encounter "Kernel panic - not syncing: VFS" when boot ArchLinux installation files
(2018-01-20 15:00)NiKiZe Wrote: undionly.kpxe is for legacy bios boot, (I'm assuming undionly.ipxe was a spello) I am sorry, it was my mistake. I am using ipxe.efi to boot instead of undionly.kpxe |
|||
2019-07-23, 04:12
Post: #4
|
|||
|
|||
RE: Encounter "Kernel panic - not syncing: VFS" when boot ArchLinux installation files
(2018-01-20 15:00)NiKiZe Wrote: undionly.kpxe is for legacy bios boot, (I'm assuming undionly.ipxe was a spello) yes, it works. thks! you must explicitly specify the initrd filename in the kernel line |
|||
2019-07-23, 19:04
Post: #5
|
|||
|
|||
RE: Encounter "Kernel panic - not syncing: VFS" when boot ArchLinux installation files
(2018-01-20 15:00)NiKiZe Wrote: any way in efi mode you will have to add initrd= option to the kernel command line for it to know whch file it should use from efifs as ram image data. THIS! Fixed my problem. Had system booting in BIOS mode fine, but using same files would not boot in EFI. Looked as if the initrd was never loaded, though the kernel output never said such. Can you point to where in the iPXE documentation (or elsewhere) this is noted? Thank you!! |
|||
2019-07-23, 20:16
Post: #6
|
|||
|
|||
RE: Encounter "Kernel panic - not syncing: VFS" when boot ArchLinux installation files
(2019-07-23 19:04)cspxe Wrote: Can you point to where in the iPXE documentation (or elsewhere) this is noted? This should be in the kernel documentation, but it's also in the forum FAQ: http://forum.ipxe.org/showthread.php?tid...1#pid19101 (2018-01-23 08:23)FAQ Wrote: Use GitHub Discussions VRAM bin |
|||
2019-07-23, 22:00
Post: #7
|
|||
|
|||
RE: Encounter "Kernel panic - not syncing: VFS" when boot ArchLinux installation files
(2019-07-23 20:16)NiKiZe Wrote: This should be in the kernel documentation, but it's also in the forum FAQ: Awesome, thank you sir! Moderately obscure (like a lot of this stuff is). CS |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 2 Guest(s)