cp /usr/lib/systemd/system/[email protected] /usr/lib/systemd/system/[email protected]
update file: [/usr/lib/systemd/system/[email protected]]
add in the line ExecStart= -a USERNAMe after --noclear
example:
ExecStart=-/sbin/agetty --noclear -a root %I 38400 linux
systemctl disable getty@tty1
systemctl enable autologin@tty1
systemctl start autologin@tty1
systemctl enable autologin@ttyS0
systemctl start autologin@ttyS0
menuentry "aufs linux" {
set root=(hd0,1)
linux /boot/vmlinuz-linux-aufs_friendly
initrd /boot/initramfs-linux-aufs_friendly.img
}