From 2297c2687863214cd53d8031bcff0c9c405fe2fc Mon Sep 17 00:00:00 2001 From: superconvert <48017165+superconvert@users.noreply.github.com> Date: Thu, 28 Jul 2022 00:08:49 +0800 Subject: [PATCH] Update 02_build_img.sh --- 02_build_img.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/02_build_img.sh b/02_build_img.sh index cf21fe4..3746369 100644 --- a/02_build_img.sh +++ b/02_build_img.sh @@ -151,7 +151,6 @@ cat<<"EOF">etc/inittab ::restart:/sbin/init ::ctrlaltdel:/sbin/reboot ::shutdown:/bin/umount -a -r -::respawn:/bin/cttyhack /bin/sh tty1::once:echo "hello smart-os tty1" tty1::respawn:/bin/sh tty2::once:echo "hello smart-os tty2" @@ -193,7 +192,7 @@ cat - > ${diskfs}/boot/grub/grub.cfg << EOF set timeout=6 menuentry "smart-os" { root=(hd0,msdos1) - linux /boot/bzImage console=tty0 console=ttyS0 + linux /boot/bzImage console=tty0 initrd /boot/initrd } EOF