The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 807 - File: showthread.php PHP 7.3.15 (Linux)
File Line Function
/showthread.php 807 errorHandler->error





Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
UEFI
2015-06-25, 16:28
Post: #1
UEFI
I'm trying to boot linux in uefi to a ramfs with the tmpfs flag set in the kernel config it seems(it seems tmpfs is being forced). This is in a CPIO format that iPxe is able to recognize when it's in BIOS. However when i change the VM to boot in UEFI it consistently fails at

A few lines above all of this it also says RAMDISK: incomplete write (20526 != 32768)
devtmpfs: error mounting -2
write error
VFS Mounted root (ramfs filesystem) on device 0:14
.
.
.
Failed to execute <init>. (or whatever I put after init=____; which i've tried 3 and various other directories)
Attempting defaults...
kernel panic - not syncing: no init found. try passing init= option to kernel.
Pid: 1, comm: swapper/o not tainted 3.5.0



The configuration is set to:
kernel http://$nextserver/vmlinuz-3.5.0 init=/sbin/init rootfstype=ramfs
initrd http://$nextserver/initramfs-2.6.32.x86_64.img
boot

It seems to me that its recognizing that its a gzip but not that its in cpio. If anyone has run into this I would greatly appreciate some tips. I'm not sure if this is a problem with iPXE or if its something with my linux setup, however since it works in BIOS and not UEFI I'm starting with iPXE because of everything else that I've herd.
Note: I do have the efi stub enabled, as I've herd it was necassary elsewhere.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
UEFI - Factionite - 2015-06-25 16:28
RE: UEFI - robinsmidsrod - 2015-06-25, 16:34
RE: UEFI - Factionite - 2015-06-25, 16:39
RE: UEFI - mcb30 - 2015-06-25, 17:24
RE: UEFI - Factionite - 2015-06-25, 20:33



User(s) browsing this thread: 1 Guest(s)