Here's where GRUB2 leaves me when run manually (set root=(hd0,msdos6); linux; initrd; boot) which is my primary linux installation:
Code: Select all
mount: can't find /root in /etc/fstab
Target filesystem doesn't have requested /sbin/init
Begin: Running /scripts/local-bottom . . . done
Begin: Running /scripts/init-bottom . . . mount: mounting /dev on /root/dev failed
: No such file or directory
done
No init found. Try passing init=bootarg.
BusyBox
/bin/sh: can't access tty; job control turned off
Here's the only script in /init-bottom GRUB presumably runs and complains about:
Code: Select all
#!/bin/sh -e
PREREQS=""
prereqs() { echo "$PREREQS"; }
case "$1" in
prereqs)
prereqs
exit 0
;;
esac
# Stop udevd, we'll miss a few events while we run init, but we catch up
udevadm control --exit
# move the /dev tmpfs to the rootfs
mount -n -o move /dev ${rootmnt}/dev
# create a temporary symlink to the final /dev for other initramfs scripts
nuke /dev
ln -s ${rootmnt}/dev /dev
Can anyone tell me what GRUB's hangup is?
Puzzles: Why does GRUB think /etc/fstab should contain "/root" -- it contains "/". If it's looking for udev files, it should be looking in /etc/init, not in /sbin/init.