View previous topic :: View next topic |
Author |
Message |
Grin n00b
Joined: 16 Sep 2007 Posts: 14
|
Posted: Mon Sep 17, 2007 12:49 am Post subject: emerge grub error |
|
|
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 , i killed all partitions an start new.... ) |
|
Back to top |
|
|
jkcunningham l33t
Joined: 28 Apr 2003 Posts: 649 Location: 47.49N 121.79W
|
Posted: Mon Sep 17, 2007 12:51 am Post subject: |
|
|
Post the usual suspects: (your /boot/grub/grub.conf and the error messages). |
|
Back to top |
|
|
Grin n00b
Joined: 16 Sep 2007 Posts: 14
|
Posted: Mon Sep 17, 2007 1:07 am Post subject: |
|
|
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 |
|
|
Master Shake l33t
Joined: 10 Apr 2005 Posts: 755 Location: Wilmington, Delaware
|
Posted: Mon Sep 17, 2007 1:12 am Post subject: |
|
|
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 |
|
|
Grin n00b
Joined: 16 Sep 2007 Posts: 14
|
Posted: Mon Sep 17, 2007 1:17 am Post subject: |
|
|
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 |
|
|
Master Shake l33t
Joined: 10 Apr 2005 Posts: 755 Location: Wilmington, Delaware
|
Posted: Mon Sep 17, 2007 1:23 am Post subject: |
|
|
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: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 |
|
|
Grin n00b
Joined: 16 Sep 2007 Posts: 14
|
Posted: Mon Sep 17, 2007 1:28 am Post subject: |
|
|
CFLAGS="-march=k8 -O2 -pipe" in CFLAGS
and only emerge grub (under chroot...)
what does -pv ??? |
|
Back to top |
|
|
Master Shake l33t
Joined: 10 Apr 2005 Posts: 755 Location: Wilmington, Delaware
|
Posted: Mon Sep 17, 2007 2:13 am Post subject: |
|
|
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 |
|
|
Grin n00b
Joined: 16 Sep 2007 Posts: 14
|
Posted: Mon Sep 17, 2007 2:16 am Post subject: |
|
|
tanks a lot.
one question, is it possible to install Grub manually over Knoppix ? |
|
Back to top |
|
|
Master Shake l33t
Joined: 10 Apr 2005 Posts: 755 Location: Wilmington, Delaware
|
Posted: Mon Sep 17, 2007 2:17 am Post subject: |
|
|
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 |
|
|
Grin n00b
Joined: 16 Sep 2007 Posts: 14
|
Posted: Mon Sep 17, 2007 2:22 am Post subject: |
|
|
packages.provided ? how?
ok, you got icq or something like that ? |
|
Back to top |
|
|
Master Shake l33t
Joined: 10 Apr 2005 Posts: 755 Location: Wilmington, Delaware
|
Posted: Mon Sep 17, 2007 2:26 am Post subject: |
|
|
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 |
|
|
Grin n00b
Joined: 16 Sep 2007 Posts: 14
|
Posted: Mon Sep 17, 2007 2:40 am Post subject: |
|
|
AIM: FredMFl (the last is an L) |
|
Back to top |
|
|
Grin n00b
Joined: 16 Sep 2007 Posts: 14
|
Posted: Mon Sep 17, 2007 3:28 am Post subject: |
|
|
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 |
|
|
Master Shake l33t
Joined: 10 Apr 2005 Posts: 755 Location: Wilmington, Delaware
|
Posted: Mon Sep 17, 2007 2:54 pm Post subject: |
|
|
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 |
|
|
Grin n00b
Joined: 16 Sep 2007 Posts: 14
|
Posted: Mon Sep 17, 2007 3:24 pm Post subject: |
|
|
problem solved!!!
thx to all 4 help
i simply need to umount my boot device |
|
Back to top |
|
|
Master Shake l33t
Joined: 10 Apr 2005 Posts: 755 Location: Wilmington, Delaware
|
Posted: Mon Sep 17, 2007 3:44 pm Post subject: |
|
|
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 |
|
|
|