Hi All, I am trying to attach floppy virtual image to Windows domU. Either it is not attaching or domU is not showing floppy drive? domU config: 1. disk = [ ''file:/root/xenwin.img,hda,w'', ''file:/opt/Windows-Xp.iso,hdc:cdrom,r'', ''file:/root/win-boot.img,fd:floppy,r'' ] boot = "cda" In above format the window domU is booting but not showing floppy disk. 2. disk = [ ''file:/root/xenwin.img,hda,w'', ''file:/opt/Windows-Xp.iso,hdc:cdrom,r'', ''file:/root/win-boot.img,fd0:floppy,r'' ] boot = "cda" In this domU does not boot and throw an error "Enable to find device number (fd0)" I have googled a lot but I could not see anyone with proper solution. Any hint/suggestion will be really helpful Thanks in advance. Tej _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Fajar A. Nugraha
2010-Apr-14 01:57 UTC
Re: [xen-users] Attach Floppy drive to Windows XP domU
On Wed, Apr 14, 2010 at 2:29 AM, Tej <bewith.tej@gmail.com> wrote:> Hi All, > > I am trying to attach floppy virtual image to Windows domU. Either it > is not attaching or domU is not showing floppy drive? > > domU config: > 1. disk = [ ''file:/root/xenwin.img,hda,w'', > ''file:/opt/Windows-Xp.iso,hdc:cdrom,r'', > ''file:/root/win-boot.img,fd:floppy,r'' ] > boot = "cda" > > In above format the window domU is booting but not showing floppy disk.Try disk = [ ''file:/root/xenwin.img,hda,w'', ''file:/opt/Windows-Xp.iso,hdc:cdrom,r'',] fda=''file:/root/win-boot.img,fd:floppy,r'' boot = "cda" run "xm create --help_config" for details. -- Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Fajar A. Nugraha
2010-Apr-14 02:00 UTC
Re: [xen-users] Attach Floppy drive to Windows XP domU
On Wed, Apr 14, 2010 at 8:57 AM, Fajar A. Nugraha <fajar@fajar.net> wrote:> fda=''file:/root/win-boot.img,fd:floppy,r''Sorry, that should be fda=''/root/win-boot.img'' also make sure that xen can access the image. Usually selinux and friends (if active) only allows access to certain directories (/var/lib/xen/images is a good start), and /root is usually a restricted area. -- Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Wed, Apr 14, 2010 at 7:30 AM, Fajar A. Nugraha <fajar@fajar.net> wrote:> On Wed, Apr 14, 2010 at 8:57 AM, Fajar A. Nugraha <fajar@fajar.net> wrote: >> fda=''file:/root/win-boot.img,fd:floppy,r'' > > Sorry, that should be > > fda=''/root/win-boot.img''I will try and get back ASAP> > also make sure that xen can access the image. Usually selinux and > friends (if active) only allows access to certain directories > (/var/lib/xen/images is a good start), and /root is usually a > restricted area.Probably the reason. Let me try this.> > -- > Fajarthanks for your reply.>_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Pasi Kärkkäinen
2010-Apr-14 12:01 UTC
Re: [xen-users] Attach Floppy drive to Windows XP domU
On Wed, Apr 14, 2010 at 09:39:22AM +0530, Tej wrote:> On Wed, Apr 14, 2010 at 7:30 AM, Fajar A. Nugraha <fajar@fajar.net> wrote: > > On Wed, Apr 14, 2010 at 8:57 AM, Fajar A. Nugraha <fajar@fajar.net> wrote: > >> fda=''file:/root/win-boot.img,fd:floppy,r'' > > > > Sorry, that should be > > > > fda=''/root/win-boot.img'' > > I will try and get back ASAP > > > > > also make sure that xen can access the image. Usually selinux and > > friends (if active) only allows access to certain directories > > (/var/lib/xen/images is a good start), and /root is usually a > > restricted area. > > Probably the reason. Let me try this. >I just added an entry about this to: http://wiki.xensource.com/xenwiki/XenCommonProblems -- Pasi _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Wed, Apr 14, 2010 at 5:31 PM, Pasi Kärkkäinen <pasik@iki.fi> wrote:> On Wed, Apr 14, 2010 at 09:39:22AM +0530, Tej wrote: >> On Wed, Apr 14, 2010 at 7:30 AM, Fajar A. Nugraha <fajar@fajar.net> wrote: >> > On Wed, Apr 14, 2010 at 8:57 AM, Fajar A. Nugraha <fajar@fajar.net> wrote: >> >> fda=''file:/root/win-boot.img,fd:floppy,r'' >> > >> > Sorry, that should be >> > >> > fda=''/root/win-boot.img'' >> >> I will try and get back ASAP >> >> > >> > also make sure that xen can access the image. Usually selinux and >> > friends (if active) only allows access to certain directories >> > (/var/lib/xen/images is a good start), and /root is usually a >> > restricted area. >> >> Probably the reason. Let me try this. >> > > I just added an entry about this to: > http://wiki.xensource.com/xenwiki/XenCommonProblemsIt worked like a charm. thanks> > -- Pasi > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users