mounting cdrom
Quoted 2 lines
Quoted 1 line · Hendrik Fourie
i am using redhat 7.2 and kde and when i try to mount the cdrom within
kde
Quoted 3 lines
Quoted 1 line
it gives the error message that "
/dev/cdromis not a valid block device".What is the output of "ls -l
/dev/cdrom"? Is the symlink set up correctly?
i havent run "ls -l /dev/cdrom", but by the symlink i assume you mean the entries in the fstab file which allows me to mount the cdrom by using "mount /dev/cdrom" only as opposed to having to enter the entire "mount -t iso9660 /dev/hda /mnt/cdrom" command?, i only have a vague idea what symlinks are and how to set them up :),
anyway, the entries in the fstab file is correct.
Quoted 3 lines
Quoted 3 lines
using kde terminal window i tried running "su" and entering the root password, then i run the command "mount -t iso9660
/dev/hda/mnt/cdrom
and
Quoted 3 lines
Quoted 1 line
it gives me the exact same error message.
Surely not the *exact* same error message (since this command does not
make
Quoted 1 line
use of
/dev/cdrom).
no, instead of "/dev/cdrom" it shows "/dev/hda" is not a valid block device.
Quoted 2 lines
Please post the exact command you enter and the exact response from the
system.
Quoted 2 lines
Quoted 2 lines
however when i change the runlevel from 5 to 3 in inittab, and then run
the
Quoted 3 lines
Quoted 3 lines
exact same command as above, the cdrom is mounted and i can access it.
am i using te mount command the wrong way?, and why does it sometimes
work?
Quoted 3 lines
No to the first part (assuming hda really is a CD drive, as you indicate below). As to the second, you need to tell us more if we are to figure
that
Quoted 4 lines
out; my *guess* is that you have misreported some detail, but I am not really sure.
Quoted 1 line
i also read somewhere that the ide devices are named in the following
way:
Quoted 9 lines
Quoted 2 lines
primary master on 1st ide controller =
/dev/hda
primary slave on 1st ide controller =/dev/hdbThese two are correct.
Quoted 2 lines
secondary master 2nd ide = dev/hdd
secondary slave 2nd ide = dev/hdcThese two you have reversed. Secondary *master* is hdc, secondary *slave*
hdd.
Quoted 4 lines
Quoted 4 lines
however, i have two hard drives connected as primary master and primary slave on the 1st ide controller. the first hdd is a windows98 fat32 partition and it is called
/dev/hdc1in linux while my second hard drive
is
Quoted 2 lines
Quoted 2 lines
the linux one, and it is called /dev/hdd1(boot), /dev/hdd2(swap) and /dev/hdd3(root), while my 2 cdroms are
/dev/hdaand/dev/hdb. is this
wrong
Quoted 8 lines
Quoted 1 line
? and could this be why i cannot mount the cdrom while using X?
This is an unusual setup. Usually, a system needs to be able to boot (at least run the bootloader) from the IDE primary master; if you can run a bootloader from the IDE secondary, you must have a more flexible BIOS than most. Either that or your RH devices (the
/dev/hd*entries) were modified in some way unfamiliar to me. But if that part works for you for booting and mounting the hard disks, it should not affect your ability to mount
the
Quoted 1 line
CD drives.
i am using the grub bootloader which is written to the mbr of the first hdd.( i think)
hda and hdb really are the cdrom drives, and i can mount the fat32 partition and acces it in linux by using "mount -t vfat /dev/hdc1 /dev/mnt/windows" and it shows the content of my windows hdd. i don't know if and how the /dev/hd* entries were modified, since i installed rh7.2 with the default options an i certainly never changed it myself.
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
Quoted 5 lines · Hendrik Fourie
Quoted 2 lines
Quoted 1 line · Hendrik Fourie
i am using redhat 7.2 and kde and when i try to mount the cdrom within
kde
Quoted 2 lines
Quoted 1 line
it gives the error message that "
/dev/cdromis not a valid block device".
Quoted 8 lines
Quoted 1 line
What is the output of "ls -l
/dev/cdrom"? Is the symlink set up correctly?i havent run "ls -l
/dev/cdrom", but by the symlink i assume you mean the entries in the fstab file which allows me to mount the cdrom by using "mount/dev/cdrom" only as opposed to having to enter the entire "mount -t iso9660/dev/hda/mnt/cdrom" command?, i only have a vague idea what symlinks are and how to set them up :),
anyway, the entries in the fstab file is correct.
Nope, bad assumption; that is not what I mean. Please do as I ask and I'll explain after I see the result. Or read "man ls" to learn what symlinks are.
Quoted 6 lines
Quoted 3 lines
Quoted 3 lines
using kde terminal window i tried running "su" and entering the root password, then i run the command "mount -t iso9660
/dev/hda/mnt/cdromand
Quoted 2 lines
Quoted 1 line
it gives me the exact same error message.
Quoted 7 lines
Quoted 1 line
Surely not the *exact* same error message (since this command does not
make
Quoted 1 line
use of
/dev/cdrom).no, instead of "
/dev/cdrom" it shows "/dev/hda" is not a valid block device.
Did you recheck this just now, or are you correcting your prior posting from memory? If the first, then why didn't you run the other command I asked you to do above (since doing so would take about 10 seconds, less time than I am spending writing this sentence)? If the second, please recheck your work (that is, do what I request below) ... you will understand, I hope, that I am hesitant to rely on your demonstrably faulty memory.
Or did you have the actual text saved somewhere to check? If so, then please post it here.
Quoted 3 lines
Quoted 2 lines
Please post the exact command you enter and the exact response from the
system.
[...]
Quoted 7 lines
i am using the grub bootloader which is written to the mbr of the first hdd.( i think)
hda and hdb really are the cdrom drives, and i can mount the fat32 partition and acces it in linux by using "mount -t vfat/dev/hdc1/dev/mnt/windows" and it shows the content of my windows hdd. i don't know if and how the/dev/hd*entries were modified, since i installed rh7.2 with the default options an i certainly never changed it myself.
This description is puzzling. Unless RH changed to using grub as its default bootloader and I missed that news ... possible, I suppose, but surely not way back in 7.2 ...the system you describe is not using *all* the default options. In any case, this is unlikely to be the source or your problem.
--
-----------------------------------------------"Never tell me the odds!"--------------
Ray Olszewski -- Han Solo
Palo Alto, California, USA [email protected]
-------------------------------------------------------------------------------------------
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs