toor_ n00b
Joined: 26 Feb 2008 Posts: 7
|
Posted: Sat Jun 21, 2008 3:43 am Post subject: EVMS: Could not mount specified ROOT [SOLUTION] |
|
|
According to the Gentoo Wiki on EVMS, it says to modify the checkroot:
Code: |
start() {
local retval=0
# Start RAID/LVM/EVMS/DM volumes for /usr, /var, etc.
# NOTE: this should be done *before* mounting anything
mount / -n -o remount,rw &>/dev/null
[[ -z ${CDBOOT} ]] && start_volumes
if [[ ! -f /fastboot && -z ${CDBOOT} ]] && ! is_net_fs / ; then
|
I added:
Code: |
mount / -n -o remount,rw &>/dev/null
[[ -z ${CDBOOT} ]] && start_volumes
|
My root is /dev/evms/root (the first partition made) and my boot is /dev/evms/boot (the second partition made). Sense I only have one hard drive, hda1 is root and hda2 is boot.
When I conduct "grub" and and enter:
Code: |
$ grub
> root (hd0,1)
> setup (hd0)
|
Grub finds all the needed files for setup.
When I reboot I get:
Code: |
mount: Mounting /dev/hda1 on /newroot failed: No such file or directory.
!! Could not mout specified ROOT, try again
!! Could not find the root block device in .
Please specify another value or: press Enter for the same, type "shell" for a shell, or "q" to skip...
|
If you get this message you need to add "/dev/evms/root" to your real_root. This will mess up things if you dont and use the /dev/hdX setting.
-toor_ |
|