diff --git a/boot/boot.sh b/boot/boot.sh index 03cd14066b6..1589ba796e1 100644 --- a/boot/boot.sh +++ b/boot/boot.sh @@ -18,8 +18,8 @@ mount -n -t sysfs none /sys echo "remounting / writable..." mount -n -o remount,rw /dev/root / -echo "mounting /mnt/host..." -mount -n -t hostfs none /mnt/host +echo "starting udev..." +@udev@/sbin/udevstart echo "setting up hostname..." hostname uml diff --git a/boot/builder.sh b/boot/builder.sh index 5ebfadcbcf7..4b637748ade 100755 --- a/boot/builder.sh +++ b/boot/builder.sh @@ -36,6 +36,7 @@ for i in $boot $halt $login $env; do -e "s^@gcc\@^$gcc^g" \ -e "s^@mingetty\@^$mingetty^g" \ -e "s^@grub\@^$grub^g" \ + -e "s^@udev\@^$udev^g" \ -e "s^@out\@^$out^g" \ < $i > $dst chmod +x $dst