Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #68949

Bug#977727: initramfs-tools: Panic mode does not support manual mounting

From Matthias Urlichs <matthias@urlichs.de>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#977727: initramfs-tools: Panic mode does not support manual mounting
Date 2020-12-19 18:40 +0100
Message-ID <BnOmZ-85A-5@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


Package: initramfs-tools
Version: 0.139
Severity: important

Consider this sequence:

* I boot with root=LABEL=foo1 or root=UUID=[long]
* However I mistyped the UUID, or misapplied the label, or the root disk
  had to be replaced, or the rotofs is broken and I need to boot the
  rescue root
* I get dropped into the initramfs panic shell
* I mount the rootfs to /root manually

However, the current boot loop insists on finding the volume that                             
corresponds to the original root= argument. There appears to be no way to  
override that.

What should happen: when /root is a mountpoint and /root/$INIT exists
(please check using "chroot test -e …" as /root/sbin/init might be an       
absolute symlink), assume success.

Yes it should be possible to modify the kernel command line and reboot
instead, but sometimes it is not.

Back to linux.debian.kernel | Previous | Next | Find similar | Unroll thread


Thread

Bug#977727: initramfs-tools: Panic mode does not support manual mounting Matthias Urlichs <matthias@urlichs.de> - 2020-12-19 18:40 +0100

csiph-web