Advertisement

Linux wont start x windows????

Started by April 25, 2002 06:37 PM
10 comments, last by n3urai 22 years, 9 months ago
Ok so redhat doesn''t have the latest version of x. Ok so if i download xfree86 4.2 then copy it to a disk from windows then turn on redhat i will be able to install xfree86 4.2? Can you please tell me the command to access the cd from the shell prompt. is the cd in /dev/cdrom ??? Because i tried to access a cd and it wouldn''t display anything that was contained on the cd. What am i doing wrong?

Keep It Real!
Keep It Real!
quote: Original post by n3urai
Ok so redhat doesn''t have the latest version of x. Ok so if i download xfree86 4.2 then copy it to a disk from windows then turn on redhat i will be able to install xfree86 4.2?

Download an RPM instead.

quote:
Can you please tell me the command to access the cd from the shell prompt. is the cd in /dev/cdrom

Yes, but accessing it takes a few extra step. Under UNIX, all drives need to be mounted using the mount command. You can use daemons like automount which, in conjunction with your /etc/fstab file, automatically mounts drives when you try to access them and unmounts them after a given amount of inactivity.

Mounting a device requires a mount point on your main filesystem where the contents of the device will be made accessible. This is usually under /mnt (/mnt/floppy0, /mnt/cdrom for example). Make sure the desired mount point exists; if it doesn''t, create it:
mkpath /mnt/cdrom 

Next, mount the device. Most modern systems will automatically probe for the filesystem type on the device, but lookup the filesystem options:
mount /dev/cdrom /mnt/cdromor, if you wish to specify filesystem:mount /dev/cdrom /mnt/cdrom -t iso-9660 

The above assumes an ISO-9660 filesystem on the CD (I''m not sure I even got the numbers right, but that''s the general idea).

Explaining all the intricacies of mount, automount and /etc/fstab are beyond the scope of the thread/board; pull up the manpages or read the related HOWTOs over at the Linux Documentation Project (LDP).

[ GDNet Start Here | GDNet Search Tool | GDNet FAQ ]
[ MS RTFM [MSDN] | SGI STL Docs | Boost ]
[ Google! | Asking Smart Questions | Jargon File ]
Thanks to Kylotan for the idea!

This topic is closed to new replies.

Advertisement