** Description changed:

- My bare metal server would not restart,
- 
- Found out that I got the following error:
+ My bare metal server would not restart. After some research, I found out
+ that I get the following error:
  
      "Kernel Panic - not syncing: VFS: Unable to mount root fs on
  unknown-block(0,0)"
  
  I started up in a Rescue, and followed the steps in
  https://askubuntu.com/a/41939/36315, to "update-initramfs -u -k
  {version}".
  
  Then I got the below message:
  
  update-initramfs: Generating /boot/initrd.img-5.15.0-92-generic
  E: /usr/share/initramfs-tools/hooks/btrfs failed with return 1.
  update-initramfs: failed for /boot/initrd.img-5.15.0-92-generic with 1.
  
  I found a workaround for it: https://askubuntu.com/a/916283/36315
  
     "sudo chmod -x /usr/share/initramfs-tools/hooks/fixrtc"
  
  I did that for every file in usr/share/initramfs-tools/hooks/*
  
  After that I did
  
      update-initramfs -u -k all
      update-grub
  
  I rebooted from Rescue, and then I got the following error:
  
-     "Kernel Panic - not syncing: No working init found. Try passing
+     "Kernel Panic - not syncing: No working init found. Try passing
  init= option to kernel."
  
- I reinstalled Ubuntu 22.04 on this bare metal, but even after reinstall,
- I get the No working init found.
+ AFter this, I reinstalled Ubuntu 22.04 on my bare metal server, but even
+ after reinstall, I get the "No working init found" error message.
+ 
+ I have no idea now how to fix this.
  
  Any help is greatly appreciated!

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to initramfs-tools in Ubuntu.
https://bugs.launchpad.net/bugs/2052669

Title:
  update-initramfs: Generating /boot/initrd.img-5.15.0-92-generic E:
  /usr/share/initramfs-tools/hooks/btrfs failed with return 1. update-
  initramfs: failed for /boot/initrd.img-5.15.0-92-generic with 1.

Status in initramfs-tools package in Ubuntu:
  New

Bug description:
  My bare metal server would not restart. After some research, I found
  out that I get the following error:

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

  I started up in a Rescue, and followed the steps in
  https://askubuntu.com/a/41939/36315, to "update-initramfs -u -k
  {version}".

  Then I got the below message:

  update-initramfs: Generating /boot/initrd.img-5.15.0-92-generic
  E: /usr/share/initramfs-tools/hooks/btrfs failed with return 1.
  update-initramfs: failed for /boot/initrd.img-5.15.0-92-generic with 1.

  I found a workaround for it: https://askubuntu.com/a/916283/36315

     "sudo chmod -x /usr/share/initramfs-tools/hooks/fixrtc"

  I did that for every file in usr/share/initramfs-tools/hooks/*

  After that I did

      update-initramfs -u -k all
      update-grub

  I rebooted from Rescue, and then I got the following error:

      "Kernel Panic - not syncing: No working init found. Try passing
  init= option to kernel."

  AFter this, I reinstalled Ubuntu 22.04 on my bare metal server, but
  even after reinstall, I get the "No working init found" error message.

  I have no idea now how to fix this.

  Any help is greatly appreciated!

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2052669/+subscriptions


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to