Quantcast

Can't install Windows 7

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Can't install Windows 7

Scott Ballantyne
Hi again,

Trying to install windows 7 from the DVD, I keep getting the following
error:

--------------------------
Failed to open a session for the virtual machine Windows7.

Cannot open host device '/dev/cd0' for readonly access. Check the permissions of that device (VERR_ACCESS_DENIED).

Result Code: NS_ERROR_FAILURE (0x80004005)
Component: Console
Interface: IConsole {1968b7d3-e3bf-4ceb-99e0-cb7c913317bb}
--------------------

And:

$ ls -l /dev/cd0 /dev/xpt0 /dev/pass0
crw-rw----  1 root  operator    0, 112 Apr  7 17:08 /dev/cd0
crw-rw----  1 root  operator    0, 108 Apr  7 17:08 /dev/pass0
crw-rw----  1 root  operator    0,  76 Apr  7 17:08 /dev/xpt0

$ id
uid=103(sdb) gid=20(staff) groups=20(staff),0(wheel),5(operator),32(texuser),920(vboxusers)

So there should not be a permission problem.  The DVD drive is fine,
and the DVD is fine.

I can't use "mount_udf" to mount it on FreeBSD, not sure why, but I
can read it on a windows machine.  However, I can mount other UDF
discs.

Thanks for any help,
Scott
--
[hidden email]
_______________________________________________
[hidden email] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-emulation
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Can't install Windows 7

Bernhard Fröhlich
On Sa.,   7. Apr. 2012 23:26:04 CEST, Scott Ballantyne <[hidden email]> wrote:

> Hi again,
>
> Trying to install windows 7 from the DVD, I keep getting the following
> error:
>
> --------------------------
> Failed to open a session for the virtual machine Windows7.
>
> Cannot open host device '/dev/cd0' for readonly access. Check the
> permissions of that device (VERR_ACCESS_DENIED).
>
> Result Code: NS_ERROR_FAILURE (0x80004005)
> Component: Console
> Interface: IConsole {1968b7d3-e3bf-4ceb-99e0-cb7c913317bb}
> --------------------
>
> And:
>
> $ ls -l /dev/cd0 /dev/xpt0 /dev/pass0
> crw-rw----   1 root   operator       0, 112 Apr   7 17:08 /dev/cd0
> crw-rw----   1 root   operator       0, 108 Apr   7 17:08 /dev/pass0
> crw-rw----   1 root   operator       0,   76 Apr   7 17:08 /dev/xpt0
>
> $ id
> uid=103(sdb) gid=20(staff)
> groups=20(staff),0(wheel),5(operator),32(texuser),920(vboxusers)
>
> So there should not be a permission problem.   The DVD drive is fine,
> and the DVD is fine.

Either follow http://wiki.freebsd.org/VirtualBox on how to correctly setup cd/dvd passthrough or create a disk image from /dev/cd0 with dd and use that in vbox.

> I can't use "mount_udf" to mount it on FreeBSD, not sure why, but I
> can read it on a windows machine.   However, I can mount other UDF
> discs.

The FreeBSD udf implementation doesn't support the latest udf specification.
_______________________________________________
[hidden email] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-emulation
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Can't install Windows 7

Scott Ballantyne
Hi Bernhard,

> >
> > So there should not be a permission problem.   The DVD drive is fine,
> > and the DVD is fine.
>
> Either follow http://wiki.freebsd.org/VirtualBox on how to correctly setup cd/dvd passthrough or create a disk image from /dev/cd0 with dd and use that in vbox.

I did follow the wiki before writing:

atapicam_load="YES" in /boot/loader.conf
hald_enable="YES" in /etc/rc.conf

and hald is running.

Plus the permissions are correct for cd0, xpt0 and pass0.

And I am running with the generic kernel.

Thanks,
Scott
--
[hidden email]
_______________________________________________
[hidden email] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-emulation
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Can't install Windows 7

Scott Ballantyne
In reply to this post by Bernhard Fröhlich
Just to follow up on my own email of a month ago about not being able
to install from dvd and/or use the DVD from the guest OS on VirtualBox:
 

> On Sa.,   7. Apr. 2012 23:26:04 CEST, Scott Ballantyne <[hidden email]> wrote:
>
> > Hi again,
> >
> > Trying to install windows 7 from the DVD, I keep getting the following
> > error:
> >
> > --------------------------
> > Failed to open a session for the virtual machine Windows7.
> >
> > Cannot open host device '/dev/cd0' for readonly access. Check the
> > permissions of that device (VERR_ACCESS_DENIED).
> >
> > Result Code: NS_ERROR_FAILURE (0x80004005)
> > Component: Console
> > Interface: IConsole {1968b7d3-e3bf-4ceb-99e0-cb7c913317bb}
> > --------------------
> >
> > And:
> >
> > $ ls -l /dev/cd0 /dev/xpt0 /dev/pass0
> > crw-rw----   1 root   operator       0, 112 Apr   7 17:08 /dev/cd0
> > crw-rw----   1 root   operator       0, 108 Apr   7 17:08 /dev/pass0
> > crw-rw----   1 root   operator       0,   76 Apr   7 17:08 /dev/xpt0
> >
> > $ id
> > uid=103(sdb) gid=20(staff)
> > groups=20(staff),0(wheel),5(operator),32(texuser),920(vboxusers)
> >
> > So there should not be a permission problem.   The DVD drive is fine,
> > and the DVD is fine.
>
> Either follow http://wiki.freebsd.org/VirtualBox on how to correctly setup cd/dvd passthrough or create a disk image from /dev/cd0 with dd and use that in vbox.
>

Problem being the instructions on http://wiki.freebsd.org/VirtualBox
are slightly inaccurate. You need to set 0660 permissions on all pass
devices (or figure out which one is being used), not just pass0.

It might be helpful if VirtualBox mentioned this in the error
message, as in "Permission denied openining /dev/pass3".

In any case, hope this helps someone out down the road.

Thanks again for the virtualbox port.

Best,
Scott
--
[hidden email]

_______________________________________________
[hidden email] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-emulation
To unsubscribe, send any mail to "[hidden email]"
Loading...