Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge grub fails
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
kaishek
n00b
n00b


Joined: 16 Jun 2004
Posts: 15

PostPosted: Fri Jun 18, 2004 6:41 am    Post subject: emerge grub fails Reply with quote

i'm on the stage of the installation guide where you emerge grub, but when I try it says
Code:
>>> Merging sys-boot/grub-0.94-r1 to /
cat: /proc/mounts: No such file or directory
cat: /proc/mounts: No such file or directory
 *
 * Cannot automatically mount your /boot partition.
 * Your boot partition has to be mounted rw before the installation
 * can continue. grub needs to install important files there.
 *

!!! ERROR: sys-boot/grub-0.94-r1 failed.
!!! Function mount-boot_mount_boot_partition, Line 53, Exitcode 0
!!! Please mount your /boot partition manually!

!!! FAILED preinst: 1


...in the install guide it says to do
Code:
# mkdir /mnt/gentoo/proc
# mount -t proc none /mnt/gentoo/proc


which i did. emerge grub gives the error message above, but i tried
Code:
umount /mnt/gentoo/proc

and then

Code:

mount -t proc /proc /mnt/gentoo/proc

as suggested in another thread...neither thing worked, and i continue to get the same error...if these things aren't working, what should I try, and how would i mount the boot partition manually?
Back to top
View user's profile Send private message
dhurt
Apprentice
Apprentice


Joined: 14 May 2003
Posts: 278
Location: Davis, CA

PostPosted: Fri Jun 18, 2004 7:12 am    Post subject: Reply with quote

Outside of the chroot environment. This will mount your boot partition:

Code:

# mount /dev/hda1 /mnt/gentoo/boot


Modify hda1 to fit your setup :)
_________________
"And isn't sanity really just a one-trick pony, anyway? I mean, all you get is one trick, rational thinking, but when you're good and crazy, ooh ooh ooh, the sky's the limit!" -- The Tick
Back to top
View user's profile Send private message
kaishek
n00b
n00b


Joined: 16 Jun 2004
Posts: 15

PostPosted: Fri Jun 18, 2004 7:28 am    Post subject: Reply with quote

when i tried that it told me that it already was mounted like that...so i did umount /dev/hdc2 (my boot partition) and then remounted it like that, and tried to emerge grub again...same error. any ideas?
Back to top
View user's profile Send private message
andi79
n00b
n00b


Joined: 25 Nov 2003
Posts: 74

PostPosted: Fri Jun 18, 2004 9:42 am    Post subject: Reply with quote

you must mount proc like this (outside the chroot environment!):
Code:
mount -t proc proc /mnt/gentoo/proc
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing 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