Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
FATAL: Could not open /lib/modules/2.6.19-gentoo-r5/modules.
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
percy_vere_uk
Apprentice
Apprentice


Joined: 13 Dec 2008
Posts: 210
Location: Dorset UK

PostPosted: Sat Dec 13, 2008 12:56 pm    Post subject: FATAL: Could not open /lib/modules/2.6.19-gentoo-r5/modules. Reply with quote

Hi

I am new to gentoo.

I have been trying to install from the 2007 live cd i686 using gentoo-nofb kernel all from the cd. It stops and gives the following error message

The last part from from compile output log reads:

.
.
.
var/cache/edb/dep/usr/portage/x11-wm/metacity-2.14.5
var/cache/edb/dep/usr/portage/x11-wm/metacity-2.16.3
var/cache/edb/dep/usr/portage/x11-wm/twm-1.0.1
var/cache/edb/dep/usr/portage/x11-wm/twm-1.0.2
var/cache/edb/dep/usr/portage/x11-wm/twm-1.0.3
FATAL: Could not open /lib/modules/2.6.19-gentoo-r5/modules.dep.temp for writing: Read-only file system

Any help would be appreciated.

percy
Back to top
View user's profile Send private message
jw5801
Apprentice
Apprentice


Joined: 12 Jun 2008
Posts: 251
Location: Melbourne, Australia

PostPosted: Sat Dec 13, 2008 2:57 pm    Post subject: Reply with quote

Have you entered a chroot before you attempt to run any emerge commands? Sounds as though you're attempting to install to the LiveCD filesystem, or else to a filesystem you've mounted read-only.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54550
Location: 56N 3W

PostPosted: Sat Dec 13, 2008 3:46 pm    Post subject: Reply with quote

percy_vere_uk,

Welcome to Gentoo.

Your /mnt/gentoo (root) filesystem should not be read only.
The kernel can change the filesystem to read only after a disk error, to minimise filesystem damage.

Repeat the process of building the kernel. If you get the same error, run the command
Code:
dmesg | less
and page through the kernel log. Are there any signs of disk errors or a message that says ... remounting .. read only ?
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
percy_vere_uk
Apprentice
Apprentice


Joined: 13 Dec 2008
Posts: 210
Location: Dorset UK

PostPosted: Sun Dec 14, 2008 2:59 pm    Post subject: Reply with quote

Hi

Thank you both for your guidance on this. I have looked through the output log I cannot find any reference to "remounting .. read only" but there are reams of read only file system errors. I used the GTK+ installer so I did not have any say in the permissions so I am now thinking that perhaps I have partitioned incorrectly.

I already have 2 working linux systems on the pc which leaves me with 16 Gb of unallocated disk space for gentoo system. The 2 working systems share /dev/sda9 swap & all my documents are kept in a separate large partition so my /home would only need to be small. My idea behind installing gentoo is to learn more (Ho Ho) about linux so I will not be storing any of my own files on it.

So what I now propose to do is:

/ 13.5Gb
/boot 500MB
/home 2Gb
swap /dev/sda9

Does this seem reasonable. What should I input for mount options?

percy
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54550
Location: 56N 3W

PostPosted: Sun Dec 14, 2008 3:34 pm    Post subject: Reply with quote

percy_vere_uk,

Please don't use the GUI installer. Give it one go, if it works, fine, if not, use the time honoured stage3 install
/boot 64Mb and ext2 is plenty. You need not have a /boot at all.

If I were starting out a multi distro install, I would have /boot and <swap> both shared by all disros.
/boot because bootloaders can only read their configuration from a single location, so it saves having to mount the disro that has the boot loader config file in it to install a new kernel.
A root per distro and probably a /home per distro. You may be able to share /home but its risky because different distros provide different versions of the same packages and these can fight over set up options stored in /home/<user>

Boot into one of your other distros, do
Code:
mkdir /mnt/gentoo
then follow the Gentoo Handbook
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
percy_vere_uk
Apprentice
Apprentice


Joined: 13 Dec 2008
Posts: 210
Location: Dorset UK

PostPosted: Mon Dec 15, 2008 11:00 am    Post subject: Reply with quote

NeddySeagoon

Thanks for this advice, I have in fact made many attempts to install using the gui, so I will now take your advice, I will need to read up on this first so this will probably take me some time. When I get somewhere I will let you know.

By the way I am also a fan of the goons. My apologies if that is your real name!

percy
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