Le 17/12/2017 à 19:13, Hendrik Boom a écrit :
On Sun, Dec 17, 2017 at 02:03:52PM +0100, Florian Zieboll wrote:
On Sat, 16 Dec 2017 21:42:05 -0500
Hendrik Boom <hend...@topoi.pooq.com> wrote:
How do I update the initrd?
To update the /initrd/initramfs/ of a not-booting system, I chroot into
it, (mount the /boot partition) and "bind mount" /dev. Then
$ update-initramfs -u
and
$ update-grub
First time I've done something like that in chroot.
It would be something like
mkdir /ascii/dev
mount --bind /dev /ascii/dev
chroot /ascii
update-initramfs -u
update-grub
?
/ascii/dev should exist already. You just need to mount it.
I suggest also the following:
mount -t proc none /ascii/proc
mount -t sysfs none /ascii/sys
This raises the question: "how did you clone your OS?" Because, if
you copied it while /dev, /sys, /proc, and /run where mounted, then you
have stored a lot of things that shouldn't be there. Better check and
empty those directories on /ascii.
Didier
_______________________________________________
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng