Pages

Search

mount: /dev/cdrom is not a valid block device - Forums Linux

mount: /dev/cdrom is not a valid block device - Forums Linux


mount: /dev/cdrom is not a valid block device

Posted: 10 May 2004 03:19 AM PDT

sepp wrote: 

Is the drive jumpered (master, slave) correctly?

--
Confucius: He who play in root, eventually kill tree.
Registered with The Linux Counter. http://counter.li.org/
Slackware 9.1.0 Kernel 2.4.26 SMP i686 (GCC) 3.3.3
Uptime: 8 days, 12:47, 2 users, load average: 0.01, 0.15, 0.68

startx is not found in /usr/X11R6/bin

Posted: 09 May 2004 07:26 PM PDT

SmallCat <com> wrote: 

RH 6.x is many years old. There is not the slightest chance of it
having an X driver for a modern video card.
 

You configured it as a server? Good. It wouldn't have been any use to
you as a desktop without a graphics driver.
 

??
 

Sure.
 

So go back to the install software and select some more software to
install. Problem?
 

Nothing is missing.
 

Sure. Of course. All the packages are on there.
 

I don't understand. Just click on your package manager thigmie, point
it at the install medium of your choice (which sounds like it is a cd)
and click away.
 

There is no problem.
 

It's a silly question. Like asking how to dot THIS i. The same way you
dot any i. Install the "missing" software the same way you install any
software. Run your installer/package manager, and that's that.

You have a whole manual that comes with RH 6 that tells you how to do
that! But it's there on your admin screen anyway. RH 6 was bad that
way.

Peter

Please help on simple network connectivity

Posted: 09 May 2004 04:45 AM PDT

It's a cat5e cross-over cable. It works when I connect two windows based PC.

mjt <ru> wrote in message
news:G5qnc.13211$news.pas.earthlink.net... 


./sndconfig - Mandrake 10

Posted: 09 May 2004 04:18 AM PDT

"Jean-Baptiste Hétier" <org> wrote in message news:<195.8.3>... 

I imagine "alsaconfig" would probably be your best bet. Don't forget
"alsamixer" to make sure you have the volume turned up!

Debian ISOs on Bittorrent

Posted: 08 May 2004 04:19 PM PDT

In article <de>, illecebra wrote: 
Not sure about debian but why would you want to use Bittorent?
From what I saw it has potentional to be a backdoor into your system.
Especially if you are running it as root (really a dumb idea but
sometimes.... you do the dumb things, we all do.)
I go straight to the Distro's home page or mirrors, mirrors
are preferred, and grab the .iso directly. Its faster that way and your
system's security is not compromised.
Ditto with the other peer to peer software including
gtk-gnutella and mutella (console based p2p client)
BTW. did you know you can get Linux ditros using Gtk-gnutella
and Mutella just as easy as using BitTorrent? I have done it a few
times myself. Ditto with txt/ps/pdf files as well as .mp3/.ogg files
IMHO, I like Mutella in console better as it works good on a
low resource box.

--
From the Desk of the Sysop of:
Planet Maca's Opus, a Free open BBS system.
Telephone 860-738-7176 300-33.6kbps Telnet://pinkrose.net.dhis.org
The New Cnews maintainer
B'ichela

PLEASE HELP ME WITH SAMBA ??? PLEASE PLEASE PLEASE PLEASE PLEASE PLEASE PLEASE ????

Posted: 08 May 2004 11:42 AM PDT

People I know the answer now!!!!


It was stupid of me of course!!!
In de windowsXP(Professional)-PC I am sharing a whole disk!!
I only want to mount(on linux) the map named Pictures(from the
WIndowsXP-PC).
This disk has the label name "Over(G):\" in windowsXP
so the path to the map I want, is seen from the network as
Over\Pictures
So the real answer was always there:

mount -t smbfs //192.168.99.100/Over/Pictures /mnt/share/

It then asked me for a password and I gave an enter (no password).
And it mounted!!

THANK YOU ALL SO MUCH!!!!

I really appreciated all your effort
for trying to help me!!

This is what the world is all about!!


THANK YOU SO MUCH!!!


BBB




"GVK" <iiit.net> schreef in bericht
news:c7kjrq$1jov$wplus.net... 
shared 
it 
still 


How to fix a bung X screen setting?

Posted: 06 May 2004 10:41 PM PDT

Ron House wrote: 

I would say that you can but I don't use grub so I'll let someone
else answer that one.

--
Confucius: He who play in root, eventually kill tree.
Registered with The Linux Counter. http://counter.li.org/
Slackware 9.1.0 Kernel 2.4.26 SMP i686 (GCC) 3.3.3
Uptime: 8 days, 12:47, 2 users, load average: 0.01, 0.15, 0.68

CUPS on localhost:631 - root/root pw doesn't work

Posted: 06 May 2004 10:13 PM PDT

<posted & mailed>

Mattias Honrendgard wrote:
 

If CUPS wants the root password why doesn't it ask for it?
At the very least there should be a note that this is the default.

Also I didn't see any mention in the voluminous documentation
that this was what was wanted.

May I suggest that the CUPS team should take account of
difficulties like this, and adjust the documentation accordingly.

--
Timothy Murphy
e-mail (<80k only): tim /at/ birdsnest.maths.tcd.ie
tel: +353-86-2336090, +353-1-2842366
s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland

Fedora: internet connection

Posted: 06 May 2004 08:19 PM PDT

Frank writes: 

You edit the appropriate configuration file, somewhere under /etc. I use
Chrony instead of Ntp so I don't know the details. There may be some Red
Hat config tool for doing this.
 

See above.
--
John Hasler
gt.org
Dancing Horse Hill
Elmwood, Wisconsin

How to wget download all PDF files larger than 100 Kbytes

Posted: 06 May 2004 12:34 PM PDT

In <comp.infosystems.www.servers.misc> Orak Listalavostok <com> wrote: 

Looks right. :-) You can do this one-by-one,

lynx -dump http://www.abc.com/ > x
vi x # step b
while read i; do
size=`lynx -head $i | awk '
BEGIN { IGNORECASE=1 }
/^Content-Length:/ {print $2}' `
[[ $size -gt 100000 ]] && wget $i
done < x

or all at once,

lynx -dump http://www.abc.com/ > x
vi x # step b
while read i; do
lynx -head $i > `basename $i`
done
grep '^Content-Length:' *.pdf > y
rm *.pdf
while IFS=: read i header size; do
[[ $size -gt 100000 ]] && wget $i
done < y

--
William Park, Open Geometry Consulting, <ca>
Linux solution/training/migration, Thin-client

"lpr" won't print simple plain text files

Posted: 05 May 2004 08:41 PM PDT

com.Oscar (Mike Knudsen) writes:

]I just got my trusty old printer working, using RH 7.0's Printer Tool to set
]things up. It all works, but lpr seems to be pretty stupid (or cautious) about
]rpinting plain text files with no extension.

]For example, I can say
]lpr stuff.c
]lpr stuff.h

]and lpr knows these are text files, and they print OK (but in big type; would
]be nice to get them formatted better via some filter).

]BUT, something like
]ls -l | lpr
] or
]ls -l >junk; lpr junk

]prints out a wasted page with the line
]No way to print this type of input file: fsav (linux) virus (30839-100)

]OK, so lpr is too stupid to figure out a file's type wihtout an extent (just
]like Windows, but NOT like real UNIX). But whose sense of humor gave us this
]"virus" message? Is lpr still being maintained by college kids?

No. Linux uses a "magic" file which tries to guess the type of the file
fromt eh first few lines or bytes in the file. It has guessed that your
file is an "fsav (linux) virux (30839-100)" file. (no idea where your
magic file is /usr/share/magic? ) Ie it has not identified it as a text
file. Look in junk to see what it looks like.




]Maybe I need to put a .txt or some such extent on every little file. But I
]sure miss the good old days of UNIX "ls -lt *.c | lpr" when you wanted a quick
]listing.

works for me.

/etc/fstab problem with 'Dazzle' sdcard reader

Posted: 05 May 2004 12:14 PM PDT

On Sat, 08 May 2004 15:40:12 GMT, P.T. Breuer <it.uc3m.es> wrote:
| Maurice Batey <co.uk> wrote:
|> /dev/sda4 /media/zip auto ro,noauto,user 0 0
|>
|> which handles my Zip drive perfectly.
|
| Fine.

<snip>

|> BUT, if I start again, but this time with an additional entry in
|> /etc/fstab:
|> /dev/sda1 /media/sdcard auto ro,noauto,user 0 0
|
| That's fine too.
|
|> then an 'sdcard' icon does appear and corectly handles the sdcard reader,
|
| What do you mean? Have you got some kind of system which "detects"
| things connected to your machine? If so, what is it?
|
| Well, whatever it is, make sure that you kick it.
|
| Put BOTH your entries in fstab (modulo a slight correction). They are
| both more or less correct correct. But they need to be NOAUTO (i.e.
| "noauto"), not "auto". Where did you get the weird idea of making them
| "auto" from?
|
| Cease, desist. They are not "auto". They are not even THERE half the
| time, so you hardly want them to be "automatically" mounted at boot
| time.


I think you have the field count wrong. Both the fstab lines he uses do have
'noauto' in the options line to stop auto-mounting at boot time. They do have
'auto' in the filesystem-type field so that the mount command will try and
auto-detect the filesystem type (vfat, iso9660,udf,etc) at mount time.


--
Reverend Paul Colquhoun, ULC. http://andor.dropbear.id.au/~paulcol
Asking for technical help in newsgroups? Read this first:
http://catb.org/~esr/faqs/smart-questions.html#intro

Linux for the "computer-challenged"

Posted: 05 May 2004 08:07 AM PDT

Daniel Haude <uni-hamburg.de> wrote in
news:physnet.uni-hamburg.de:
 

You could set up Knoppix for your parents. It meets 90% plus of your spec,
and as you're a Linux (Debian) buff no doubt you could easily produce for
them a tailor-made version.

http://www.cclug.org/wiki/Main/KnoppixTricks

How to get Block File mode on USB port devices?

Posted: 04 May 2004 08:54 PM PDT

Replying to my own posting...
 

Based on some other postings, I tried "modprobe usb-storage". I took several
minutes, but finally did start the SCSI emulation and even figured out that my
camera was a Fuji (correctly).

However, it complained (in /var/log/messages) that it couldn't do resets,
couldn't get the storage size, and couldn't find a partition table. Maybe none
of that matters.

It was listed as "sda", not sdb as in another posting (since I don't have any
other SCSI devices, I guess).

BUT I still can't get "mount" to recognize /dev/sda0 as a "valid block device."
 

Actually, I probably shouldn't have usb-storage loaded or probed for in bootup,
since it takes so long. Just put it in a shell script for rare occasions when
I want to experiment with USB devices.

 

As I found above, loading usb-storage driver starts the SCSI emulation.
--Mike K.

Oscar loves trash, but hates Spam! Delete him to reply to me.

2.6.4 setup

Posted: 04 May 2004 03:43 AM PDT


"Timothy Murphy" <maths.tcd.ie> wrote in message
news:9QJmc.6959$indigo.ie... 
easy: 
things 

Yes, that sounds like a very good idea. I'm sort of 'old school' Un*x, and
also don't entirely trust automatic updates, but I agree, that would have
made things easier when first setting up a system. I've ended up with a
RH9/Fedora/compile from src hybrid, but that's OK, it works. Overall though
I think 2.6x is so different that there were bound to be unexpected things.

The rpm issue really was my fault; it's mentioned briefly in the
post-halloween doc and I missed it.



 


Apache/PHP and file write permissions

Posted: 04 May 2004 01:40 AM PDT

Ah duh ... it's a PHP feature ... it's called safe_mode_gid ... sorry for
the static!

Rudolf

In comp.infosystems.www.servers.unix Rudolf Potucek <acs.ucalgary.ca> wrote:
: Hi All!

: I am trying to have access restrictions in a unix filesystem but to also
: write a file from Apache/PHP. The problem is that apache tells me
: permission denied and I don;t understand why:

: I have a file:

: -rw-r--r-- www-priv.www-data myfile

: and a directory:

: drwxr-xr-x www-priv.www-data mydir


: My apache is running a User=www-priv and Group=www-priv. So, in my
: understanding of filesystem permissions, it should be able to either
: write to file myfile or create a file myfile in mydir. It won't. I
: actually have to set the OTHER permissions to writeable, which is exactly
: what I want to avoid ... anyone have a clue why this is happening and
: what to do about it?

: Thanks,

: RUdolf





--
Yesterday upon the stair
I met a man who wasn't there.
He wasn't there again today --
I think he's from the CIA.

Windows to Linux, hardware compatibility

Posted: 03 May 2004 07:52 PM PDT

In article <uk> uk
(john) writes:
 

Keep in mind that when a vendor says they "don't support Linux",
it usually means simply that they haven't tried it - not that
it won't work. I have two laptops running Linux (Slack 7 on
an AcerNote 370 and Slack 9.1 on a Toshiba Satellite 4100).
I loaded Linux onto them and they just worked. I don't have
any wireless adapters, but I slid a Linksys PCMCIA network card
into each laptop and they simply recognized them and started
using them. No problems. I've had good luck with Linksys
products under both Linux and Windows. This doesn't guarantee
that your wireless adapter will work, of course, but I'd say
that your odds are pretty good.

--
/~\ invalid (Charlie Gibbs)
\ / I'm really at ac.dekanfrus if you read it the right way.
X Top-posted messages will probably be ignored. See RFC1855.
/ \ HTML will DEFINITELY be ignored. Join the ASCII ribbon campaign!

Can't get audio CD to play in Fedora

Posted: 03 May 2004 11:50 AM PDT

On Mon, 03 May 2004 19:48:08 +0000, Larry I Smith wrote:
 

Not exactly true. I have both a DVD reader and CD-RW on my Red Hat 9
system, neither of which has an audio cable connection to the onboard
sound. I can play audio CDs in the DVD reader but not in the CD-RW except
via its headphone jack.

(Perhaps there's a difference between onboard sound and a separate sound
card in this regard.)

Detection of root

Posted: 03 May 2004 01:50 AM PDT

 

Thank you. I did a dirty hack in super.c to try booting with another device,
if the first doesn't work. It works, because I know that my embedded
machines can boot from hda1 or hdc1 only and no one will change this.


Thomas


Only blank screen after installling RH 9

Posted: 02 May 2004 02:56 PM PDT

In article <google.com>, Eric Wood
<com> writes
 

Probably just too high refresh rate for your monitor.

From memory, ctl-alt keypad-minus will select an alternate resolution /
refresh rate on some systems.


Cheers, J/.
--
John Beardmore

linux forgot my password??

Posted: 02 May 2004 09:09 AM PDT

I didn't think to mention that I had selected the boot from floppy
option during the Debian install since I am using XOSL to dual boot
Windows and Debian. So I didn't have a Lilo or Grub prompt.

The console login didn't work either. I was able to use a Knoppix CD
to mount my Linux partitions (OS and swap), then use bash in Knoppix
to use chroot and then passwd root as Bit Twister suggested.

This Linux stuff is humbling. I'm a newbie all over again.

Thanks Bit Twister and Bill Unruh!


physics.ubc.ca (Bill Unruh) wrote in message news:<c73bpm$nuq$physics.ubc.ca>... 
 

Modem setup problem

Posted: 02 May 2004 08:48 AM PDT

On Sun, 02 May 2004 10:37:32 -0600, Douglas Mayne wrote:
 
Oops, I forgot to mention, that your BIOS should be set to "non-plug and
play OS." Some versions of Windows are plug-and-play, while AFAIK linux
is not. This mismatch could be part of the problem.

Previously, I have recommended reading this:
http://www.tldp.org/HOWTO/Plug-and-Play-HOWTO.html

One key piece of information that this document provides is to advise
users to use "Plug and Play" mode for ISA cards when available. Then,
when setting the BIOS for OS type, select non-plug-and-play for Linux.
This simply means that the motherboard initialization routines will
try to properly allocate resources (before OS boot begins).

--
I'm not a jealous man...
I just don't like people touching my things.
http://us.imdb.com/title/tt0203009/quotes

boot linux from cd and copy files to hd

Posted: 02 May 2004 04:38 AM PDT

On Wed, 05 May 2004 01:37:40 -0700, frank wrote:
 

<snip>

 
The "Linux Bootdisk Howto" is an excellent resource- it covers a lot of
ground. It explains everything you need to know and to build a system
yourself. But skipping to the end: Appendix A covers "A.1 Pre-made
Bootdisks." and "A.2 Rescue Packages." Using someone else's loader,
kernel,and root file system could give you a boost to solving your
problem. There is a relatively quick test to see if a pre-built rescue
environment is sufficient to solving your problem. (BTW, it might also
show this environment is overkill and not required at all.) Just try
booting a rescue CD, then "simulating" your script's commands which would
automatically be executed by typing them in yourself. Watch for any
problems when operating under this environment (missing or broken
commands, missing and necessary features, etc.) If your script works as
planned, then save it as rc.local (or another appropriate
startup script.)

You could try Tom's Root/Boot as a very small system:
http://www.toms.net/rb/download.html

Fedora's rescue CD has more features:
ftp://ftp.linux.ncsu.edu/pub/fedora/linux/core/test/1.92/i386/os/images/rescuecd.iso

--
Harold: But you can't just dig it up.
Maude: Why Not?
Harold: But this is public property.
Maude: Exactly.

Removing LILO or Grub

Posted: 01 May 2004 04:06 PM PDT

"@(none)" <""knoppix\"@(none)"> writes:

]I have a dual boot machine that I've tried to load Mandrake and Debian
]on, but am not satisfied with the results. I'd like to can the LILO
]startup so it just boots to XP ( I know, I'm still using some Windows
]apps.) It used to be just go to a dos prompt and "fdisk /mbr" and it
]would be cleaned up. Windoze XP doesn't let that happen. What's the
]secret?


Alternatively you could just put in XP as the default bootup in lilo.

switching from windows to linux

Posted: 01 May 2004 12:58 PM PDT

P.T. Breuer wrote: 
If the O.P. _replaces_ W-XP with Linux, all his W-XP files will be gone.

I assume the O.P. is like everyone I know and never makes backups. I hope
I am mistaken in this assumption.

I infer Peter thinks the O.P. will keep XP and make a dual boot system
with Linux as one of the options. I am not sure how well Linux does at
reading and writing XP's file system (I have not tried it). Probably
depends on the version of Linux he gets.

But even if the files can be read, it is difficult to manage some Windows
files if you do not have programs that can read their ever-changing
undocumented file formats. Some Linux office suites have input filters
that can read some versions of Microsoft Office files (e.g., Word, Excel),
but there are no end of problems trying to manage Access for example.

--
.~. Jean-David Beyer Registered Linux User 85642.
/V\ Registered Machine 241939.
/( )\ Shrewsbury, New Jersey http://counter.li.org
^^-^^ 07:45:00 up 9 days, 8:27, 7 users, load average: 4.09, 4.15, 4.11