Auteur: Ralph Ronnquist
Datum:
Aan: dng
Onderwerp: Re: [DNG] grub-install device node not found
On Wed, 4 Aug 2021 00:59:30 +0200
aitor <aitor_czr@???> wrote:
> Hi,
>
> On 4/8/21 0:18, aitor wrote:
> >
> > Hi Arnt,
> >
> > On 3/8/21 22:31, Arnt Karlsen wrote:
> >> ..is there one? 'fdisk -l ' or somesuch should work, even if
> >> there are some new fancy /dev names missing symlinks to /dev/sdc,
> >> e.g. killed by that mlterm crash.
> >
> > The command for the interactive shell of debian-installer is
> > "list-devices". Examples:
> >
> > ~ # list-devices usb-partition
> > /dev/sda1
> > /dev/sda2
> >
> > ~# list-devices disk
> > /dev/sda
> > /dev/sdb
> >
> > HTH,
> >
> > Aitor.
> >
> Forget this, it was a cross-install...
>
> Aitor.
Yes, it's a matter of ensuring that the device node /dev/sdc is
installed in the "chroot" filesystem; basically doing
# mknod $target/dev/sdc b 8 32
(see eg linux/Documentation/admin-guide/devices.txt)
If installing on a loopback filesystem you'd need to use the
major:minor of the loopback device while naming it /dev/sdc during this
installation.
.. and don't forget to remove that dev/sdc afterwards
Ralph.