Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How to automagically rewrite udev rules files

83 views
Skip to first unread message

J.W. Foster

unread,
Nov 19, 2017, 4:20:06 PM11/19/17
to
I was trying to get rid of a crap load of the boot errors that were being generated on my system after I installed a new motherboard on a multi-OS boot computer with 3 Debian installations on separate drives with one other drive with Windows 10  for a total of 4 drives. Windows and 2 of the Debian drives boot OK even with all the errors, one does not boot so that is another issue that will likely require a clean install.  I decided to follow some web instructions and remove the  file  "/etc/udev/rules.d/70-persistent-net.rules  " , It was supposed to be automagically regenerated after I reboot the machine. That does not work. Anyone know the way to get this to work. I have tried several commandline techniques using;

sudo udevadm trigger
sudo udevadm trigger --action=add
udevadm control --reload-rules && udevadm trigger
None of these worked. No file was generated.
Any tips at all are appreciated.

Brian

unread,
Nov 19, 2017, 6:10:07 PM11/19/17
to
On Sun 19 Nov 2017 at 20:59:48 +0000, J.W. Foster wrote:

> I was trying to get rid of a crap load of the boot errors that were
> being generated on my system after I installed a new motherboard on a
> multi-OS boot computer with 3 Debian installations on separate drives
> with one other drive with Windows 10  for a total of 4 drives. Windows
> and 2 of the Debian drives boot OK even with all the errors, one does
> not boot so that is another issue that will likely require a clean
> install.  I decided to follow some web instructions and remove the 
> file  "/etc/udev/rules.d/70-persistent-net.rules  " , It was supposed
> to be automagically regenerated after I reboot the machine. That does
> not work. Anyone know the way to get this to work. I have tried
> several commandline techniques using;
> sudo udevadm triggersudo udevadm trigger --action=addudevadm control
> --reload-rules && udevadm trigger None of these worked. No file was
> generated.Any tips at all are appreciated.

/etc/udev/rules.d/70-persistent-net.rules is not supported anymore. See
/usr/share/doc/udev/NEWS.Debian.gz.

--
Brian.

Jimmy Johnson

unread,
Nov 20, 2017, 1:50:05 AM11/20/17
to
On 11/19/2017 12:59 PM, J.W. Foster wrote:
> I was trying to get rid of a crap load of the boot errors that were being generated on my system after I installed a new motherboard...

I move drives with multi systems all the time AMD to Intel and back, all
I need do is install drivers and firmware, I can do that from command
line and reboot to desktop. Have you done that?

As for the windows, <if> you can remove all the devices from the device
manager and reboot it should reload the new devices.

Have you thought about installing legacy grub to one of those drives so
you can write them all to menu?

regards,
--
Jimmy Johnson

Debian Stretch - KDE Plasma 5.8.6 - AMD A8-7600 - EXT4 at sda6
Registered Linux User #380263
0 new messages