LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   damn small linux error: mounting cd-rom & floppy (probably also usb) (https://www.linuxquestions.org/questions/linux-newbie-8/damn-small-linux-error-mounting-cd-rom-and-floppy-probably-also-usb-782467/)

lenou 01-15-2010 03:33 PM

damn small linux error: mounting cd-rom & floppy (probably also usb)
 
hi: I just installed damn small linux on a Dell 233 Pentium w/ Toshiba CD-ROM XM 6102B, it works fine except for mounting CD's & Floppies (and I assume, although I haven't tried USB-Drives)

when logged in as root, and typing in
mount dev/cdrom
w/ a cd in a the drive
the answer is
no medium found

when using X mount floppy command,
w/ a floppy in the drive, I get:
Error: mount: relocation error: mount: undefined symbol: blkid_known_fstype

also, my cd-rom drive won't stay closed, which is really annoying,

thanks,

jefro 01-15-2010 03:43 PM

Shouldn't it automount?

racepres 01-16-2010 12:16 AM

My DSL does not automount, But, I don't mount w/ command line either. Simply selecting mount from "control panel" has done the trick w/ my install. When I have poor floppy's i get "mount failure" and I have had a hardware issue w/ my cdrom drive that caused mount failures also. Try the mount Panel I guess.
RP

lenou 01-16-2010 08:31 AM

no automount & no hard drive failure
 
Quote:

Originally Posted by jefro (Post 3827978)
Shouldn't it automount?

I don't think the cd-rom drive automount (the tray stays open by default), then entering mount etc as a command or using the mount icon will close the tray and cause to read the CD, but result is always "no medium found" whether I put an R or RW CD in the tray,

I also don't think it's a hardware failure because of the above, and also because I installed the OS from the CD drive (initial boot),

I was told this may be had to do with the etc/fstab file, which for me, reads:

/dev/hda1 /ext2 defaults,errors=remount-ro 0 1
proc /proc proc defaults 0 0
/dev/fd0 /mnt/auto/floppy vfat defaults,user,noauto,showexec,umask=022 0 0
/dev/cdrom /mnt/auto/cdrom iso9660 defaults,ro,user,noexec,noauto 0 0
/dev/hda2/mnt/hda2 auto noauto,users,exec 0 0

?

thanks,

linus72 01-16-2010 08:33 AM

is that a dsl hd install or frugal install?

what boot parameters are you using?

linus72 01-16-2010 08:43 AM

also

did you try

mount /dev/cdrom /mnt/auto/cdrom

lenou 01-16-2010 08:57 AM

hd install
 
Quote:

Originally Posted by linus72 (Post 3828634)
is that a dsl hd install or frugal install?

what boot parameters are you using?

it's a hd install,
and I think my boot line is:

from /BOOT/GRUB/MENU.LST

kernel /boot/linux24 root=/dev/hda2 quiet vga=normal noacpi noapm nodma noscsi frugal initrd /boot/minit24.gz

linus72 01-16-2010 08:59 AM

hmmm

did you try the mount /dev/cdrom /mnt/auto/cdrom?
whats on hda1?

lenou 01-16-2010 08:59 AM

error message
 
Quote:

Originally Posted by linus72 (Post 3828645)
also

did you try

mount /dev/cdrom /mnt/auto/cdrom

when I tried this command, logged in as root, in bash, I get:

mount: relocation error: mount: undefined symbol: blkid_known_fstype

?

lenou 01-16-2010 09:04 AM

/ mounted on hda1
 
Quote:

Originally Posted by linus72 (Post 3828663)
hmmm

did you try the mount /dev/cdrom /mnt/auto/cdrom?
whats on hda1?

mount /dev/hda1

gives
according to mtab
/dev/hda1 already mounted on /

linus72 01-16-2010 09:05 AM

so where is dsl installed?
that looks like a frugal install

is dsl on hda1 or hda2?

yancek 01-16-2010 09:07 AM

What is on the cdrom/floppy you are trying to mount?
The "no medium found" error could be a bad cd. Could also be a bad drive or more likely loose cables.

Have you tried specifying the filesystem type in the mount command?

svinoba 01-16-2010 09:30 AM

Quote:

Originally Posted by lenou (Post 3828632)
I was told this may be had to do with the etc/fstab file, which for me, reads:

/dev/hda1 /ext2 defaults,errors=remount-ro 0 1
proc /proc proc defaults 0 0
/dev/fd0 /mnt/auto/floppy vfat defaults,user,noauto,showexec,umask=022 0 0
/dev/cdrom /mnt/auto/cdrom iso9660 defaults,ro,user,noexec,noauto 0 0
/dev/hda2/mnt/hda2 auto noauto,users,exec 0 0

?

thanks,

Hi,
the 'defaults' option usually mean: rw, suid, dev, exec, auto, nouser, and async

May be we are confusing the system with rw-ro, noexec-exec, auto-noauto...
Try removing defaults from both fd0 and cdrom entries...

My /etc/fstab entry for cdrom and floppy are as below:
Code:

/dev/hda        /media/cdrom0  udf,iso9660 user,noauto    0      0
/dev/fd0        /media/floppy0  auto    rw,user,noauto  0      0

You can also try keeping filesystem 'auto' instead of iso9660/udf...

Btw, are /mnt/auto/floppy and /mnt/auto/cdrom directories present?

lenou 01-16-2010 11:40 AM

boot on hd1, hd on hd2 (I think)...
 
Quote:

Originally Posted by linus72 (Post 3828669)
so where is dsl installed?
that looks like a frugal install

is dsl on hda1 or hda2?

from command fdisk dev/hda
Disk Dev/hda 20.0 GB
255 heads, 63 sectors, 2434 cylinders
Device Boot Start End Blocks ID System
hda1 * 1 1824 83 linux
hda2 1825 2434 82 linux swap

from command mount
dev/hda1/ on / type ext2 (rw,errors=remount-ro)
/proc on /proc type proc (rw)
/dev/pts on /dev/pts type dev/pts (rw)
/proc/bus/usb on /proc/bus/usb type usbdevfs (rw,devmode=0666)
/dev/fd0 on mnt/auto/floppy type vfat (rw,noexec,nosuid,nodev,showexec,umask=022)


from this, I don't see that the cd-rom drive is mounted

I managed to mount/access the floppy by revising the command you gave me to:
mount /dev/fd0 /mnt/auto/floppy
and then reading the destination file,
being a newbie I wasn't aware I had to read the destination file (...)
too used to Windows I guess,

thanks for all your help, still looking for the command to mount the cd-rom, 1 out of 2!

lenou 01-16-2010 11:45 AM

yes, both dir presents, floppy works,
 
Quote:

Originally Posted by svinoba (Post 3828706)
Hi,
the 'defaults' option usually mean: rw, suid, dev, exec, auto, nouser, and async

May be we are confusing the system with rw-ro, noexec-exec, auto-noauto...
Try removing defaults from both fd0 and cdrom entries...

My /etc/fstab entry for cdrom and floppy are as below:
Code:

/dev/hda        /media/cdrom0  udf,iso9660 user,noauto    0      0
/dev/fd0        /media/floppy0  auto    rw,user,noauto  0      0

You can also try keeping filesystem 'auto' instead of iso9660/udf...

Btw, are /mnt/auto/floppy and /mnt/auto/cdrom directories present?

yes, I was able to find both dir,

was able to mount and read floppy,
still working with cd-rom
will try your suggestions in fstab, thanks


All times are GMT -5. The time now is 03:04 PM.