View previous topic :: View next topic |
Author |
Message |
lokoalex Apprentice
Joined: 02 Dec 2004 Posts: 194 Location: Jersey
|
Posted: Sun Dec 26, 2004 5:30 pm Post subject: Grub install failed |
|
|
Im a newbie of course and this is probably an easy fix but when I try to emerge grub I get this message:
>>> 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 maunally!
!!! Failed preint: 1
Please advise me on what to do. _________________ Gentoo and I have an On-Off relationship.... |
|
Back to top |
|
|
shade266 Guru
Joined: 29 Oct 2003 Posts: 593 Location: Internal
|
Posted: Sun Dec 26, 2004 5:44 pm Post subject: |
|
|
mount /dev/hda1 /mnt/gentoo/boot
Replace hda1 with whatever your boot partition is.
Also, I would recommend you start over and ensure you have mounted all the partitions/filesystems and chroot(ed) properly into your gentoo system. _________________ I've been away for a long time, bear with me. |
|
Back to top |
|
|
lokoalex Apprentice
Joined: 02 Dec 2004 Posts: 194 Location: Jersey
|
Posted: Sun Dec 26, 2004 5:50 pm Post subject: |
|
|
You mean start the installation from scratch? I have a Pentium 4 2.5, when I choose what stage of installation for Pentium for there is only a Stage 2 install. Should I use x86 and do be able to use Stage 1? _________________ Gentoo and I have an On-Off relationship.... |
|
Back to top |
|
|
kimchi_sg Advocate
Joined: 26 Nov 2004 Posts: 2969
|
Posted: Mon Dec 27, 2004 3:29 am Post subject: |
|
|
lokoalex wrote: | You mean start the installation from scratch? I have a Pentium 4 2.5, when I choose what stage of installation for Pentium for there is only a Stage 2 install. Should I use x86 and do be able to use Stage 1? |
If you are courageous enough and want to try, by all means use the x86 stage1.
And to avoid the emerge grub error, mount your drives exactly as in the Installation Handbook. If you have your own partitioning scheme which differs from the Handbook, here's a rough overview of the partitioning / filesystem creation and mounting procedures.
1. fdisk [disk to partition, eg /dev/hda]
2. Create desired partitions with the correct partition types
3. 'w' to write changes to disk and exit fdisk
4. Make the filesystems on the linux partitions just created, using either mkreiserfs for reiser fs or mke2fs -j for ext3 fs.
5. Enable swap with mkswap [swap partition] && swapon [swap partition]
6. mount [root partition] /mnt/gentoo
7. If you've created a separate partition for /boot, mkdir /mnt/gentoo/boot && mount [/boot partition] /mnt/gentoo/boot |
|
Back to top |
|
|
Ateo Advocate
Joined: 02 Jun 2003 Posts: 2021 Location: Republic of California
|
Posted: Mon Dec 27, 2004 7:38 am Post subject: |
|
|
lokoalex wrote: | You mean start the installation from scratch? I have a Pentium 4 2.5, when I choose what stage of installation for Pentium for there is only a Stage 2 install. Should I use x86 and do be able to use Stage 1? |
Start with a stage 2. If it bothers you that much, still start with stage 2, but still run bootstrap. Starting at stage 1 makes your system vulnerable to cirrcular dependancies.....
But no, you don't really need to start over. Did you mount proc before chroot? Code: | mount -t proc proc /mnt/gentoo/proc |
|
|
Back to top |
|
|
shade266 Guru
Joined: 29 Oct 2003 Posts: 593 Location: Internal
|
Posted: Mon Dec 27, 2004 8:00 am Post subject: |
|
|
My apologies for failing to clarify "starting over". What I meant was to ensure you had mounted all the partitions before trying an emerge.
A stage 1 install takes longer but you learn a great deal of information relative to the OS and your box.
A stage 2 is simply quicker and allows for a more current installation of config files and/or packages due to having network access to portage which will give up to date config files and packages; unlike the stage 3 which may have some older files/packages. _________________ I've been away for a long time, bear with me. |
|
Back to top |
|
|
lokoalex Apprentice
Joined: 02 Dec 2004 Posts: 194 Location: Jersey
|
Posted: Mon Dec 27, 2004 5:23 pm Post subject: |
|
|
Thank you guys but I already started over and did a Stage 3 install. Im not satisfied though, as I have been trying to do a Stage 1 installation for about a month now. I think im going to give it more try. By the way how long will kde take to install? Also why is it that while Im trying to emerge kde, when the screen goes black due to inactivity and I try to press a key to get my screen back, the computer freezes or it just stays like that. Like a blank screen. Is there any way to disable that. Or does the screen come back once its finished with the emerge process? _________________ Gentoo and I have an On-Off relationship.... |
|
Back to top |
|
|
MysticPixel n00b
Joined: 30 Nov 2004 Posts: 16
|
Posted: Tue Jan 18, 2005 2:43 am Post subject: |
|
|
I'm having the same problem here, but I definitly do have the /boot partition mounted on /mnt/gentoo/boot and did the chroot and stuff (this is like my 6th time installing gentoo, and the first time I've ever had this problem.) does anyone have any other ideas beside "mount the boot partition"?
edit: I think the problem is that the /proc fs wasn't mounted (hence the /proc/mounts not found error.) I did a mount /proc (after writing the fstab) and this fixed it. |
|
Back to top |
|
|
Enlight Advocate
Joined: 28 Oct 2004 Posts: 3519 Location: Alsace (France)
|
Posted: Tue Jan 18, 2005 11:59 am Post subject: |
|
|
Quote: | Thank you guys but I already started over and did a Stage 3 install. Im not satisfied though, as I have been trying to do a Stage 1 installation for about a month now. I think im going to give it more try. |
Can I suggest you this? I learned far more from it than performing stage1 : https://forums.gentoo.org/viewtopic.php?t=274968 |
|
Back to top |
|
|
|