Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
EVMS: Could not mount specified ROOT [SOLUTION]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
toor_
n00b
n00b


Joined: 26 Feb 2008
Posts: 7

PostPosted: Sat Jun 21, 2008 3:43 am    Post subject: EVMS: Could not mount specified ROOT [SOLUTION] Reply with quote

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_
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum