# 添加 net.ifnames=0 biosdevname=0# 在grub中添加参数[root@localhost ~]# cat /boot/grub/grub.conf # grub.conf generated by anaconda## Note that you do not have to rerun grub after making changes to this file# NOTICE: You have a /boot partition. This means that# all kernel and initrd paths are relative to /boot/, eg.# root (hd0,0)# kernel /vmlinuz-version ro root=/dev/mapper/VolGroup-lv_root# initrd /initrd-[generic-]version.img#boot=/dev/sdadefault=0timeout=3splashimage=(hd0,0)/grub/splash.xpm.gz
#hiddenmenu
title NeoKylin 3(2.6.32-754.23.1.ky3.kb2.by.i686)
root (hd0,0)
kernel /vmlinuz-2.6.32-754.23.1.ky3.kb2.by.i686 ro root=/dev/mapper/VolGroup-lv_root rd_NO_LUKS rd_NO_MD rd_LVM_LV=VolGroup/lv_swap LANG=zh_CN.UTF-8 rd_LVM_LV=VolGroup/lv_root SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM crashkernel=128M net.ifnames=0biosdevname=0
initrd /initramfs-2.6.32-754.23.1.ky3.kb2.by.i686.img
# 重启[root@localhost ~]# reboot[root@localhost ~]# cat /proc/cmdline
ro root=/dev/mapper/VolGroup-lv_root rd_NO_LUKS rd_NO_MD rd_LVM_LV=VolGroup/lv_swap LANG=zh_CN.UTF-8 rd_LVM_LV=VolGroup/lv_root SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM crashkernel=128M net.ifnames=0biosdevname=0
禁用网卡命名规则# 添加 net.ifnames=0 biosdevname=0# 在grub中添加参数[root@localhost ~]# cat /boot/grub/grub.conf # grub.conf generated by anaconda## Note that you do not have to rerun grub after making changes to this file# NOTICE: You have a /boot partition. Th