LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   *BSD (http://www.linuxquestions.org/questions/%2Absd-17/)
-   -   OpenBSD 5.1 installing kde from a cd-R disc no go...? (http://www.linuxquestions.org/questions/%2Absd-17/openbsd-5-1-installing-kde-from-a-cd-r-disc-no-go-4175425506/)

Tkbp4him@insightbb.c 09-03-2012 09:32 PM

OpenBSD 5.1 installing kde from a cd-R disc no go...?
 
I typed: # mkdir -p /cdrom
# mount /dev/cd0a /cdrom
and I got this in blue (FSD does not lie within the partition!)
mount_udf: mount: Invalid argument

So, what is my next step from here....any ideas anyone?

ocicat 09-04-2012 12:32 PM

Quote:

Originally Posted by Tkbp4him@insightbb.c (Post 4771953)
So, what is my next step from here....any ideas anyone?

Read the mount(8) manpage. You will find an example of mounting a CD-ROM in the examples section.

Tkbp4him@insightbb.c 09-04-2012 09:38 PM

OpenBSD 5.1 installing kde from a cd-r cont...
 
Ok, looked at man page mount (8) examples and typed: #mount -t cd9660 -r /dev/cd0a /mnt/cdrom and got this: mount_cd9660: /dev/cd0a on /mnt/cdrom: No such file or directory ? what now?

vharishankar 09-04-2012 09:42 PM

deleted.

Tkbp4him@insightbb.c 09-05-2012 07:04 PM

Open BSD 5.1 cont....
 
Hey, I typed: mount -t cd9660 -r /dev/cd0a/cdrom and I got the usage: mount [-Aadfruvw] [-t type]
mount [-dfrsuvw] special : node
mount [-dfruvw] [-o options] [-t type] special node
?? So....now what ya think?

TobiSGD 09-05-2012 07:34 PM

I think that you missed a space between cd0a and /cdrom.

Tkbp4him@insightbb.c 09-06-2012 05:57 PM

cont. of Open BSD 5.1 kde from cd-r disc
 
Ok, I tried the: # mount -t_cd9660 -r /dev/cd0a /cdrom (with a added space thanks, and with the underline before the cd9660 and without it ) and I got : mount : no mount helper program found for _cd9660 : No such file or directory and before that I got same but: Invalid argument.

Also tried: # mount -a -t nonfs, mfs and got: the usage statement for mount?

Did some googlin about my finds and found that maybe I need to check out my dmesg output for my device and find out what fdisk reports on the device and then check the output of disklabel for the device. And maybe # fdisk -l /dev/sd1i (example).

Anyway that's where I'm at now...Thanks so far for the idea's, at least we are trying something....

Reuti 09-07-2012 11:32 AM

How was the CD-R created? Is it known to contain an ISO9660 image at all when you check it on another system?

ocicat 09-08-2012 12:14 AM

Quote:

Originally Posted by Tkbp4him@insightbb.c (Post 4774515)
Ok, I tried the: # mount -t_cd9660 -r /dev/cd0a /cdrom (with a added space thanks, and with the underline before the cd9660 and without it ) and I got : mount : no mount helper program found for _cd9660 : No such file or directory and before that I got same but: Invalid argument.

Also tried: # mount -a -t nonfs, mfs and got: the usage statement for mount?

It appears that keys are just being pushed.

The type of the disc can be verified through disklabel(8) which must be run as root. eg. I will be using a USB DVD drive which is identified by cd(4) with a data disc already inserted:
Code:

$ sudo disklabel cd0
# /dev/rcd0c:
type: SCSI
disk: CDROM         
label:               
duid: 0000000000000000
flags:
bytes/sector: 2048
sectors/track: 100
tracks/cylinder: 1
sectors/cylinder: 100
cylinders: 18225
total sectors: 1822480
boundstart: 0
boundend: 1822480
drivedata: 0

16 partitions:
#                size          offset  fstype [fsize bsize  cpg]
  a:          1822480                0 ISO9660                 
  c:          1822480                0 ISO9660                 
$

disklabel(8) must access the disc in raw character mode (even though I specified the block device), which is the reason the device is listed as /dev/rcd0c. The filesystem type ISO9660 implies that the disc can be mounted with the type "cd9660" when mounting with mount(8).

So to mount this disc, a suitable mountpoint must be found. By default, /mnt is created at installation, however some people will create subdirectories to associate different media types. For the sake of discussion here, I will assume that no subdirectories exist beneath /mnt.

By default, the permissions associated with /dev/cd0a are that of root:
Code:

$ ls -l /dev/cd0c
brw-r-----  1 root  operator    6,  2 Aug 28 14:59 /dev/cd0c
$

...so mount(8) will have to executed by root:
Code:

$ sudo mount -t cd9660 /dev/cd0a /mnt
Issuing the mount(8) command with no arguments will display all mounted partitions:
Code:

$ mount
/dev/wd0a on / type ffs (local)
/dev/wd0l on /home type ffs (local, nodev, nosuid)
/dev/wd0d on /tmp type ffs (local, nodev, nosuid)
/dev/wd0h on /usr type ffs (local, nodev)
/dev/wd0k on /usr/X11R6 type ffs (local, nodev)
/dev/wd0i on /usr/local type ffs (local, nodev)
/dev/wd0j on /usr/share type ffs (local, nodev, nosuid)
/dev/wd0e on /var type ffs (local, nodev, nosuid)
/dev/wd0f on /var/crash type ffs (local, nodev, nosuid)
/dev/wd0g on /var/git type ffs (local, nodev, nosuid)
/dev/cd0a on /mnt type cd9660 (local, read-only)
$

The last highlighted line now shows that the "a" partition on the data disc has been successfully mounted to the filesystem.

Tkbp4him@insightbb.c 09-08-2012 09:43 AM

Fixed it...Awesome...
 
Hey, Thanks for the info, I checked out what you said and found the cd-r disc file was a UDF not ISO, and I tried via internet doing the pkg_add ftp:// etc... and was able to install Kde this way instead of cdrom drive and it worked. So, now its on my system, I just rebooted and am trying to figure out how to get to the desk top screen from the $ or # prompt? Thanks again for the help, still might need some if I can't get to desk top from here, we will see....?

Tkbp4him@insightbb.c 09-08-2012 09:58 AM

ok, how do you find it now that it upload it on my machine?
 
ok, how do you find the kde from $ or # after reboot?

Tkbp4him@insightbb.c 09-08-2012 09:11 PM

Open BSD 5.1 cont. install kde
 
Hey, Thanks to all who help with this your awesome! I figured out how to get to Kde. Its awesome looking on the screen....Thanks millions, only been messing with it for a few months first with a free cd copy then the purchase of the orignal one of a kind and I got to work with ya'll help of coarse. Many hands make lite work....


All times are GMT -5. The time now is 08:50 AM.