Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge grub error
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
Grin
n00b
n00b


Joined: 16 Sep 2007
Posts: 14

PostPosted: Mon Sep 17, 2007 12:49 am    Post subject: emerge grub error Reply with quote

Hi, i realy need help.

3 Days since the first try of installing Gentoo
now on the third try took me only 2 hours and so short bevore the finish .... error

i need to install Grub, so i emerge grub. and i get an error.
Grub cant mount my /boot
ask me why he wants to mount it.
So i cant finish the emerge grub.

is there a other way to install grub ?

or can somebody help me ?

(btw i already installed grub at the first try, but there was a compile error for the kernel and i see it first when i wantet to boot gentoo, i had have no kernel :D, i killed all partitions an start new.... )
Back to top
View user's profile Send private message
jkcunningham
l33t
l33t


Joined: 28 Apr 2003
Posts: 649
Location: 47.49N 121.79W

PostPosted: Mon Sep 17, 2007 12:51 am    Post subject: Reply with quote

Post the usual suspects: (your /boot/grub/grub.conf and the error messages).
Back to top
View user's profile Send private message
Grin
n00b
n00b


Joined: 16 Sep 2007
Posts: 14

PostPosted: Mon Sep 17, 2007 1:07 am    Post subject: Reply with quote

grub dossnt even make an folder named grub on my boot device
i have no grub.conf, i cant install grub.
the error says me that he cant auto-mount my boot device

i can give you my.... arg how does it call... a you know what i mean.
here:

Extender hda1
hda5 32mb boot
hda6 2gb swap
hda2 30gb root
hda3 10gb windows
hda4 40gb hm.. windows root ?? (pics,mp3, ect)


Last edited by Grin on Mon Sep 17, 2007 1:12 am; edited 1 time in total
Back to top
View user's profile Send private message
Master Shake
l33t
l33t


Joined: 10 Apr 2005
Posts: 755
Location: Wilmington, Delaware

PostPosted: Mon Sep 17, 2007 1:12 am    Post subject: Reply with quote

jkcunningham wrote:
Post the usual suspects: (your /boot/grub/grub.conf and the error messages).

No offense man but did you even read his post?

@Grin:
1. do you have /boot mounted? If not mount it and try again.
2. Is the package sys-boot/Grub failing or is it another package that grub depends on?
3. Are you using any use flags with grub?
4. Are you using sane CFLAGS? (I'd ask you to post your emerge --info, but it doesn't look like that'll be possible)
_________________
System Specs:
64-bit gentoo linux
Q6600 @ 3.2Ghz
P35 Chipset
4 Gigs 800mhz 4-4-4-12
Nvidia GeForce 8800 GTX @ 630mhz
Back to top
View user's profile Send private message
Grin
n00b
n00b


Joined: 16 Sep 2007
Posts: 14

PostPosted: Mon Sep 17, 2007 1:17 am    Post subject: Reply with quote

1. do you have /boot mounted? If not mount it and try again.
2. Is the package sys-boot/Grub failing or is it another package that grub depends on?
3. Are you using any use flags with grub?
4. Are you using sane CFLAGS? (I'd ask you to post your emerge --info, but it doesn't look like that'll be possible)

1.yes /dev/hda5 is mounted to /mnt/gentoo/boot
2.yes (sorry but i cant actually switch and look at the error again, but sys-boot sounds right)
3. ? i dont realy know what you mean, grub issnt even installed, sorry
4.cflags.. in the compiler config ? sorry dont know

...i go step by step through the Gentoo Handbook to install Gentoo, (and the german version, there i understand everything)

edit: and i set a bootflag in fdisk to hda5
Back to top
View user's profile Send private message
Master Shake
l33t
l33t


Joined: 10 Apr 2005
Posts: 755
Location: Wilmington, Delaware

PostPosted: Mon Sep 17, 2007 1:23 am    Post subject: Reply with quote

Grin wrote:
1. do you have /boot mounted? If not mount it and try again.
2. Is the package sys-boot/Grub failing or is it another package that grub depends on?
3. Are you using any use flags with grub?
4. Are you using sane CFLAGS? (I'd ask you to post your emerge --info, but it doesn't look like that'll be possible)

1.yes /dev/hda5 is mounted to /mnt/gentoo/boot
2.yes (sorry but i cant actually switch and look at the error again, but sys-boot sounds right)
3. ? i dont realy know what you mean, grub issnt even installed, sorry
4.cflags.. in the compiler config ? sorry dont know

...i go step by step through the Gentoo Handbook to install Gentoo, (and the german version, there i understand everything)

edit: and i set a bootflag in fdisk to hda5

Sorry about that. Let me be more clear. A use flag is what you set in /etc/make.conf. If you type:
Code:
emerge -pv grub
do any of the words have +foo and are in red? Also with CFLAGS they are the complier flags in /etc/make.conf under CFLAGS. Can you let me know what you put in that section?
_________________
System Specs:
64-bit gentoo linux
Q6600 @ 3.2Ghz
P35 Chipset
4 Gigs 800mhz 4-4-4-12
Nvidia GeForce 8800 GTX @ 630mhz
Back to top
View user's profile Send private message
Grin
n00b
n00b


Joined: 16 Sep 2007
Posts: 14

PostPosted: Mon Sep 17, 2007 1:28 am    Post subject: Reply with quote

CFLAGS="-march=k8 -O2 -pipe" in CFLAGS

and only emerge grub (under chroot...)

what does -pv ???
Back to top
View user's profile Send private message
Master Shake
l33t
l33t


Joined: 10 Apr 2005
Posts: 755
Location: Wilmington, Delaware

PostPosted: Mon Sep 17, 2007 2:13 am    Post subject: Reply with quote

Grin wrote:
CFLAGS="-march=k8 -O2 -pipe" in CFLAGS

and only emerge grub (under chroot...)

what does -pv ???


Ok, your CFLAGS are fine. -pv literally means pretend verbose. It basically gives off what you want to emerge and its enabled USE flags and download size. Its a useful command.
_________________
System Specs:
64-bit gentoo linux
Q6600 @ 3.2Ghz
P35 Chipset
4 Gigs 800mhz 4-4-4-12
Nvidia GeForce 8800 GTX @ 630mhz
Back to top
View user's profile Send private message
Grin
n00b
n00b


Joined: 16 Sep 2007
Posts: 14

PostPosted: Mon Sep 17, 2007 2:16 am    Post subject: Reply with quote

tanks a lot.

one question, is it possible to install Grub manually over Knoppix ?
Back to top
View user's profile Send private message
Master Shake
l33t
l33t


Joined: 10 Apr 2005
Posts: 755
Location: Wilmington, Delaware

PostPosted: Mon Sep 17, 2007 2:17 am    Post subject: Reply with quote

I would assume it is. Make sure you put it in packages.provided so portage doesn't think its not there.
_________________
System Specs:
64-bit gentoo linux
Q6600 @ 3.2Ghz
P35 Chipset
4 Gigs 800mhz 4-4-4-12
Nvidia GeForce 8800 GTX @ 630mhz
Back to top
View user's profile Send private message
Grin
n00b
n00b


Joined: 16 Sep 2007
Posts: 14

PostPosted: Mon Sep 17, 2007 2:22 am    Post subject: Reply with quote

packages.provided ? how?

ok, you got icq or something like that ?
Back to top
View user's profile Send private message
Master Shake
l33t
l33t


Joined: 10 Apr 2005
Posts: 755
Location: Wilmington, Delaware

PostPosted: Mon Sep 17, 2007 2:26 am    Post subject: Reply with quote

aim..no icq.
_________________
System Specs:
64-bit gentoo linux
Q6600 @ 3.2Ghz
P35 Chipset
4 Gigs 800mhz 4-4-4-12
Nvidia GeForce 8800 GTX @ 630mhz
Back to top
View user's profile Send private message
Grin
n00b
n00b


Joined: 16 Sep 2007
Posts: 14

PostPosted: Mon Sep 17, 2007 2:40 am    Post subject: Reply with quote

AIM: FredMFl (the last is an L)
Back to top
View user's profile Send private message
Grin
n00b
n00b


Joined: 16 Sep 2007
Posts: 14

PostPosted: Mon Sep 17, 2007 3:28 am    Post subject: Reply with quote

ok here the full error


Code:

!!! ERROR: sys-boot/grub-0.97-r3 failed.

Call stack
       ebuilds.sh, line 1630: Called   dyn_preinst
       ebuilds.sh, line 1078: Called   pkg_preinst
       ebuilds.sh, line 1304: Called   mount-boot_pkg_preinst
       mount-boot.eclass, line 73: Called   mount-boot_mount_boot_partition
       mount-boot.eclass, line 62: Called   de     
Back to top
View user's profile Send private message
Master Shake
l33t
l33t


Joined: 10 Apr 2005
Posts: 755
Location: Wilmington, Delaware

PostPosted: Mon Sep 17, 2007 2:54 pm    Post subject: Reply with quote

You need to paste more than just that. What are the 20 or so previous lines saying?
_________________
System Specs:
64-bit gentoo linux
Q6600 @ 3.2Ghz
P35 Chipset
4 Gigs 800mhz 4-4-4-12
Nvidia GeForce 8800 GTX @ 630mhz
Back to top
View user's profile Send private message
Grin
n00b
n00b


Joined: 16 Sep 2007
Posts: 14

PostPosted: Mon Sep 17, 2007 3:24 pm    Post subject: Reply with quote

problem solved!!!

thx to all 4 help

i simply need to umount my boot device
Back to top
View user's profile Send private message
Master Shake
l33t
l33t


Joined: 10 Apr 2005
Posts: 755
Location: Wilmington, Delaware

PostPosted: Mon Sep 17, 2007 3:44 pm    Post subject: Reply with quote

Really? Well I'm glad it worked out for you!
_________________
System Specs:
64-bit gentoo linux
Q6600 @ 3.2Ghz
P35 Chipset
4 Gigs 800mhz 4-4-4-12
Nvidia GeForce 8800 GTX @ 630mhz
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