Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #210420
| From | Ross Boylan <rossboylan@stanfordalumni.org> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: New Hardware + old disks not recognized |
| Date | 2019-06-26 20:20 +0200 |
| Message-ID | <ydkGt-4S-7@gated-at.bofh.it> (permalink) |
| References | <yc077-VR-1@gated-at.bofh.it> <yc6FB-4U4-11@gated-at.bofh.it> <yckpc-4vN-1@gated-at.bofh.it> <ycZsl-4f9-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Tue, Jun 25, 2019 at 12:31 PM Pascal Hambourg <pascal@plouf.fr.eu.org> wrote: > > Le 24/06/2019 à 01:40, Ross Boylan a écrit : > > > > # update-initramfs -u -k 4.19.0-5-amd64 > > update-initramfs: Generating /boot/initrd.img-4.19.0-5-amd64 > > /usr/share/initramfs-tools/hooks/cryptroot: 64: > > /usr/share/initramfs-tools/hooks/cryptroot: cannot open /proc/mounts: > > No such file > > cryptsetup: WARNING: Couldn't determine root device > > sed: can't read /proc/cmdline: No such file or directory > > /usr/share/initramfs-tools/hooks/cryptroot: 64: > > /usr/share/initramfs-tools/hooks/cryptroot: cannot open /proc/mounts: > > No such file > > cryptsetup: WARNING: The initramfs image may not contain cryptsetup binaries > > nor crypto modules. If that's on purpose, you may want to uninstall the > > 'cryptsetup-initramfs' package in order to disable the cryptsetup initramfs > > integration and avoid this warning. > > W: Couldn't identify type of root file system for fsck hook > > > > /proc/mounts isn't accessible in the chroot; > > You need to mount /proc. In a chroot, it is often desirable to mount at > least the /dev, /proc and /sys pseudo-filesystems. I'm aware, and probably should have qualified my statement--proc wasn't accessible when I ran the command. I hadn't mounted it partly out of laziness and mostly out of concern that stuff in the chroot would leak into the main system, or vice-versa. In particular ... > > > even if it were, it would > > not give the mounts appropriate for the system I'm trying to set up. > > Why not ? The output of /proc/mounts is not static, it is relative to > the process reading it. I thought /proc would give me the root of the parent system, but I just tried it and see that's not so. Thank you for pointing that out. Has it always worked that way? So do you think the chroot generated initrd would have been OK if I'd mounted proc? Ross
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
New Hardware + old disks not recognized Ross Boylan <rossboylan@stanfordalumni.org> - 2019-06-23 04:10 +0200
Re: New Hardware + old disks not recognized Pascal Hambourg <pascal@plouf.fr.eu.org> - 2019-06-23 11:10 +0200
Re: New Hardware + old disks not recognized Ross Boylan <rossboylan@stanfordalumni.org> - 2019-06-24 01:50 +0200
Re: New Hardware + old disks not recognized [SOLVED + lessons learned] Ross Boylan <rossboylan@stanfordalumni.org> - 2019-06-24 20:20 +0200
Re: New Hardware + old disks not recognized [SOLVED + lessons learned] songbird <songbird@anthive.com> - 2019-06-25 01:20 +0200
Re: New Hardware + old disks not recognized [SOLVED + lessons learned] David Wright <deblis@lionunicorn.co.uk> - 2019-06-25 03:00 +0200
Re: New Hardware + old disks not recognized Pascal Hambourg <pascal@plouf.fr.eu.org> - 2019-06-25 21:40 +0200
Re: New Hardware + old disks not recognized Ross Boylan <rossboylan@stanfordalumni.org> - 2019-06-26 20:20 +0200
Re: New Hardware + old disks not recognized Pascal Hambourg <pascal@plouf.fr.eu.org> - 2019-06-26 21:20 +0200
Re: New Hardware + old disks not recognized songbird <songbird@anthive.com> - 2019-06-23 14:20 +0200
csiph-web