LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Closed Thread
 
Search this Thread
Old 02-16-2006, 09:16 AM   #1
raffigee
Member
 
Registered: Feb 2006
Distribution: Backtrack
Posts: 41

Rep: Reputation: 15
Anybody know what this means ??


Code:
root@1[broadcom]# depmod -a
FATAL: Could not open /lib/modules/2.6.11-auditor-10/modules.dep.temp for writing: Read-only file syst
em
 
Old 02-16-2006, 09:26 AM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728
It's attempting to write to a file for which you do not have write privileges. Do "ls -l" for the file in question.
(Curious--since you were running as root....)
 
Old 02-16-2006, 09:33 AM   #3
raffigee
Member
 
Registered: Feb 2006
Distribution: Backtrack
Posts: 41

Original Poster
Rep: Reputation: 15
yes very curious.

Did i mention i was running from live CD auditor security ??

May that have anything to do with it ?

Raffi
 
Old 02-16-2006, 09:38 AM   #4
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,153

Rep: Reputation: 331Reputation: 331Reputation: 331Reputation: 331
Edit: Deleted -- duplicate of post below.

Last edited by PTrenholme; 02-16-2006 at 12:09 PM.
 
Old 02-16-2006, 09:38 AM   #5
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,153

Rep: Reputation: 331Reputation: 331Reputation: 331Reputation: 331
The message is telling you that, for some reason (not listed), your root file system has been mounted in read-only mode. This is most often caused by an error mounting the file system when the fsck is run, and should be fixed before trying anything else. (Since most commands won't work with a read-only file system mounted.)

FYI: The usual Linux mount sequence is:
1) Mount the root file system in read-only mode
2) Check that there are no file system errors that need to be corrected. (This is done in read-only mode because corrections to a file system where writing can take place almost always destroy the file system.)
3) Remount the fs in read/write mode
4) Proceed with the rest of the boot

By the way, if you just want a list of dependencies, depmod -n works better. (And, if you have a writable file system, depmod -n | less will let you see the whole output.)

Another point: I notice you're running as "root," which should only be done when absolutely necessary. (For example, while fixing file system errors. But checking dependencies is not, I believe, a good reason.)

Last edited by PTrenholme; 02-16-2006 at 12:10 PM.
 
Old 02-16-2006, 09:52 AM   #6
raffigee
Member
 
Registered: Feb 2006
Distribution: Backtrack
Posts: 41

Original Poster
Rep: Reputation: 15
The live-CD in question is Auditor security so i think the boot sequence is probably correct. So my question is how can i mount the file system to make it write after the system boots up.

I'm running as root because i'm trying to install wireless network adapter driver using ndiswrapper.

Any suggestions ? I'm getting lost in all of this.

Thanks
Raffi
 
Old 02-16-2006, 12:27 PM   #7
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,153

Rep: Reputation: 331Reputation: 331Reputation: 331Reputation: 331
Sorry, I was typing my reply when you posted your comment that you were using a live cd.

Before you did the chroot (assuming you did one), try a umount and mount -o rw for the mount point where the live CD mounts your root file system.

Um, that, of course, is assuming that the live CD is not pointing to itself (the CD) as root. If that's the case, there's no way to write to the CD, so ro is the only possibility. Most live CDs create a ram disk to use as work space, but the command you tried to use (with the -a option is trying to create a file for later use by modprobe, so it needs write access. The -n option just outputs the dependencies to stdout, and (assuming your live CD has set up a RAM disk) the command I suggested (pipe into tail) should work.

In any case, if you're having problems setting up ndiswraper, I'd suggest you review the various tutorials and threads here for suggestions. I'm not sure why you'd be using a live CD to attempt to set up ndiswraper on another system. It seems, to me, like it might be an unnecessary complication.
 
Old 02-16-2006, 01:35 PM   #8
raffigee
Member
 
Registered: Feb 2006
Distribution: Backtrack
Posts: 41

Original Poster
Rep: Reputation: 15
thanks a lot for your help i'll print this and try it tonight. I'll also google chroot and the other commands you suggested.

Basically the reason why i'm using this is because i don't want to install Linux on my laptop. I just want to check it out before i decide to do the switch. Also i want to test me wireless network to see if i could be braked in or not.

I stil have a lot of reading to do. Before trying to break into my network I first have to configure my hardware lol. Seems to me like hours of fun.

Thanks again

Raffi
 
Old 02-17-2006, 10:43 AM   #9
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,153

Rep: Reputation: 331Reputation: 331Reputation: 331Reputation: 331
Well, basically, you can't configure ndiswraper unless you've got a system installed. After all, where would the configuration information be stored when you have no storage device?

If your laptop has a DVD reader, I'd suggest that you download and burn one of the bootable live DVD distributions (e.g., Knoppix might be a good choice). Also, check the HCL button at the top of the page. Someone may have already evaluated your laptop and network card for use with Linux.

About the Knoppix Live DVD: It attempts to automatically configure everything for you when it starts, and contains drivers for a large number of different types of hardware. It also can use a file on your HD (in your existing partition) to store your configuration information so you can modify things as you wish and have them saved between reboots from the DVD. (Of course, you don't have to save anything, but it's handy and doesn't take much space.)

Re ndiswraper: You'd only need to use that if there were no drivers available for your network card under Linux, and you had to attempt to use the drivers written for Microsoft systems. Before going that route, I'd (again) suggest checking the HCL to see what other people using the same network card have done to get it to work.
 
Old 02-18-2006, 12:33 AM   #10
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,000
Blog Entries: 11

Rep: Reputation: 893Reputation: 893Reputation: 893Reputation: 893Reputation: 893Reputation: 893Reputation: 893
Quote:
Originally Posted by raffigee
Code:
root@1[broadcom]# depmod -a
FATAL: Could not open /lib/modules/2.6.11-auditor-10/modules.dep.temp for writing: Read-only file syst
em
Yup ... this means that you abandoned your original
thread on that topic in the more appropriate forum.
http://www.linuxquestions.org/questi...d.php?t=414904


Closed.
 
  


Closed Thread


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
What this means MeUmesh Programming 8 01-31-2006 01:44 AM
Can someone please tell me what this means... :) xbill311x Linux - Newbie 7 05-11-2005 07:37 AM
Help what does it means.. jhar Linux - Newbie 1 02-16-2005 02:44 AM
Can someone tell me what this means? Kramer Linux - Laptop and Netbook 20 09-30-2003 10:18 PM
Could someone please tell me what this means!!!!! brianm Programming 1 03-27-2001 11:05 PM


All times are GMT -5. The time now is 11:36 AM.

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