Advertisements

Archive for December 16th, 2015

Forcing UDEV to Not Rename Network Adapters

I use System Rescue CD to repartition / backup / restore hard drive partitions, but a not-very-recent change to udev caused the familiar eth0 name to come up as something like enp0s26u1u2 on the Lenovo Q150. Which would be OK, but feeding either that or eth0 into net-setup causes it to fall over dead.

Avoiding that mess requires an incantation in the kernel boot parameters: select a main boot option, hit Tab, type net.ifnames=0 (with a leading space), and whack Enter to boot. Then good old eth0 appears where it should and everything works.

It’s annoying, but not quite enough to create a specialized SysRescCD image with that incantation preloaded.

Advertisements

Leave a comment