Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Distributions
User Name
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.


  Search this Thread
Old 12-16-2003, 07:19 PM   #1
Registered: Oct 2003
Posts: 131

Rep: Reputation: 15
gentoo -- grub.conf is a read only i need help soon please

I want to install gentoo and everything is going fine but I when i was up to the very last part!! (I did stage 1, so there were 23423 printed pages and setting up grub seems like the last page)

I have the following set up....
Windows XP- /dev/hda1
Linux boot- /dev/hda2
Linux swap- /dev/hda3
Linux root- /dev/hda4

I followed everything in the gentoo install perfectly and everything worked like it the manual said it should should, but I am not allowed to save the nano -w /boot/grub/grub.conf file.

To try to solve this I tried to overwrite the original grub by doing:
emerge -k grub
but this gave the error "emerge is not a command"

I am at a friends ocmputer, and would really appreciate any help somebody could give me on this subject
Old 12-17-2003, 03:11 PM   #2
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,191
Blog Entries: 4

Rep: Reputation: 464Reputation: 464Reputation: 464Reputation: 464Reputation: 464
I have never used Gentoo, but I would say that "emerge is not a command" means that emerge is not installed, either fully or at all.

Or that you need to do it all as root.

Last edited by XavierP; 12-17-2003 at 03:13 PM.
Old 12-18-2003, 06:36 AM   #3
Registered: Oct 2003
Posts: 131

Original Poster
Rep: Reputation: 15
I was root, and several times during the install I used emerge program
Old 12-18-2003, 12:35 PM   #4
Registered: Mar 2003
Location: Fort Sill, Oklahoma
Distribution: Gentoo
Posts: 192

Rep: Reputation: 30
If you are in the process of installing it, and it gave you that error you need to run this command before you can use the emerge command:

chroot /mnt/gentoo /bin/bash
If you already have Gentoo installed, then change the permissions on the file, so root can edit it.

Last edited by Zerodark; 12-18-2003 at 12:37 PM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
gentoo : grub: The file /boot/boot/grub/stage1 not read correctly Boudewijn Linux - Software 3 05-21-2008 03:13 AM
grub refuses to read grub.conf 0pal_t0ad Linux - Newbie 2 03-27-2005 04:40 AM
Example share in smb.conf doesn't work - read/write vs read only kleptophobiac Linux - Networking 0 09-01-2004 07:14 PM
create lilo.conf or grub.conf through commands newpenguin Linux - Software 1 11-28-2003 08:22 PM
lilo.conf and grub.conf no read access shanenin Linux - Software 1 10-02-2003 03:53 PM

All times are GMT -5. The time now is 05:07 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration