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


Groups > linux.debian.user > #210388

Re: New Hardware + old disks not recognized

From Pascal Hambourg <pascal@plouf.fr.eu.org>
Newsgroups linux.debian.user
Subject Re: New Hardware + old disks not recognized
Date 2019-06-25 21:40 +0200
Message-ID <ycZsl-4f9-1@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>
Organization linux.* mail to news gateway

Show all headers | View raw


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.

> 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.

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


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