Page: 1
2 Comments:
<nox-> moin
<corrideat> Can anyone helme using the TAP sopport?
<mischy> Ok, I now have a real disk-image, I created a partition with mtools and formated it with mtools just to see the offset-loopback-mount really works. Now how do I get a ext2 fs on this partition inside my diskimage?
<broli> mischy: without booting a guest os ?
<mischy> broli, yes
<nox-> err. why dont u just boot a linux livecd iso or something
<nox-> in qemu
<broli> yea, somthing like dsl
<nox-> yeah for example
<mischy> beacause I would like to automate the image-creation process as part of my buildsystem
<pterjan> if you are root, use losetup to setup a loop with coorect offset and then mkfs the loop device
<pterjan> (I don't think non root can use losetup)
<broli> maybe with sudo
<pterjan> yes I have sudo on my scripts creating various images
<mischy> Ok, thanks, got the fs on the image now. Only thing left is the bootloader. I tried 'losetup /dev/loop0 myimage' and grub-install /dev/loop0 as well as lilo -C config_with_boot=/dev/loop0 but both seem to have problems with the format (grub says it's missing the corresponding bios drive and lilo says it does not know how to handle device 0x0700)
<pterjan> I install the bootloader by running qemu, don't know how to do else
<mischy> pterjan, yeah, I guess I could just boot some small linux live cd in grub and install the bootloader from there but I came so far without giving up the possibility to easily automate everything I've done :(
<pterjan> mischy: you can automate
<pterjan> put grub and the config into a floppy image
<pterjan> and boot qemu on it
<pterjan> with a config telling something like "install (hd0)"
<mischy> how do I put grub on a floppy image without running into the same 'no corresponding BIOS drive' problem I got with my harddisk image?
<nox-> i think ive seen grub floppy images on the net somewhere...
<pterjan> cat stage1 stage2 > floopy.img
<nox-> heh
<mischy> pterjan, thanks
<undrdawg> can i boot an iso install disk with qemu?
<pterjan> yes
<pterjan> qemu -cdrom install.iso -boot d
<pterjan> -hda disk.img to have a disk to install to :)
<undrdawg> do i have to create this beforehand?
<undrdawg> im a bit lost this is the first time i've used qemu
<undrdawg> here's my output
<undrdawg> C:\qemu-0.8.2>qemu -cdrom Reactos.iso -hda disk.img -boot d
<undrdawg> qemu: could not open hard disk image 'disk.img'
<pterjan> yes
<pterjan> use qemu-img
<undrdawg> C:\qemu-0.8.2>qemu -cdrom Reactos.iso -hda disk.img -boot d
<undrdawg> qemu: could not open hard disk image 'disk.img'
<undrdawg> OOPS
<undrdawg> C:\qemu-0.8.2>qemu-img create -f vvfat rosdisk.img 400M
<undrdawg> didnt seem to work
<dignome> don't use vvfat
<dignome> 'raw' is typical block format for a .img extension
<nox-> does raw use sparse files on m$ too?
<viator> can vmware player read qemu images
<undrdawg> i just took out the -f all together and it made fmt=raw
<undrdawg> err nvm i guess reactos installer will format
<pterjan> viator: if you create the right config file
<viator> hmm
<pterjan> http://www.cri.ch/linux/docs/sk0020.html
<pterjan> (I never tried that)
<viator> ill give it a go
<viator> seems like its taking forever to install the os in qemu
<viator> is that usual
<undrdawg> this is pretty cool
<undrdawg> sort of off-the-wall Q... has anyone used skype with reactos?
<viator> this is cool because now my wife will be able to run those apps that she "needs" that dont work in wine and have no linux equivalent
<undrdawg> im really just doing this because it wont work with win98 and with the linux version i cant do 3-way calls
<viator> what dont work with win98?
<mischy> how can I send keyboard shortcuts that are handled by my host OS to my qemu guest OS?
<nox-> use sendkey monitor command
<mischy> monitor?
<undrdawg> skype
<undrdawg> its a free voip program
<mischy> the docs tell me what the monitor is and what it can do but not how i get one?! :)
<undrdawg> i usually run in linux but i wanted to do some 3-way calls
<mischy> ah, there it is
<dignome> undrdawg: a lot of applications just don't run yet in reactos. they may have an app database kind of like wine has.
<dignome> WD could probably say right out whether it would work.
<dignome> undrdawg: ah nothing - http://www.reactos.org/support/index.php?page=db&view=&sec=name&group=226
<undrdawg> ya the OS itself doesnt really work
<undrdawg> natively
<undrdawg> it "works" but really not worth using
<undrdawg> so im trying to run it under emulation
<undrdawg> there used to be a bootgui= setting in msdos.ini i thought for win98se
<undrdawg> now i dont have it after reinstall
<undrdawg> oops msdos.sys
<undrdawg> im gonna free up some mem and try again this isnt working so well
<undrdawg> thanks for your help
<undrdawg> ack i cant get this to work for more than a min or so
<undrdawg> i've gone through the reactos setup process 4 times
<nox-> gnite
<andreetje> Hi :)
<andreetje> anyone luck with ipx/spx inside qemu ?
<dignome> it may work with tun/tap networking method. definitely a no go with user mode networking.
<andreetje> what exactly is "user mode networking" ?
<andreetje> sorry i'm new into qemu :)
<murb> andreetje: the default that users slirp so is tcp/udp only.
<murb> tap gives you a virtual ethernet interface which you can bridge to a proper ethernet etc.
<andreetje> so i might try it with tap ?
<Jacmet> Anyone having success running the jffs2 code under the integratorcp emulation?
<Jacmet> VFP support v0.3: implementor 41 architecture 1 part 10 variant 9 rev 0
<Jacmet> Program received signal SIGSEGV, Segmentation fault.
<Jacmet> [Switching to Thread 46912511438640 (LWP 8705)]
<Jacmet> __ldb_mmu (addr=3381133312, is_user=0) at ../cpu-all.h:174
<matos> hello
<matos> i've read the net emulation on reaction
<matos> but i don't think i understood it
<matos> i'm on a linux
<matos> behind a router
<matos> using a dhcp server/client
<matos> it's a 192.168.1.1 network
<matos> how can i make it work?
<matos> i'm emulating reactos
<matos> in the quick start guide
<matos> -net nic -net user option is not necessary It just works (getting IP address from DHCP automatically)
<matos> but i can't ping
<h725> matos: the docs say that ping is not supposed to work with user mode networking - it even lists the reason afaik
<matos> it's downloading the active x
<matos> thankx!!!!
<matos> it just works
<matos> bye
<z3ro> hi. has anyone managed to compile and boot a sparc kernel using qemu without just hanging on "kernel size: 0"?
<z3ro> the kernel on qemu's site works, but there isn't a .config for it.
<z3ro> so I'm thinking there is some option that must be set/not set for qemu to boot the kernel.
<z3ro> or maybe a patch?
<jasonb> Can someone offer some pointers on how to get -smb working again? It was working great for quite a while, and then one day XP started to no longer allow me to write to the smb share. I'm poking around in the /tmp/qemu-smb.<pid> dir to try to see what it's doing but I don't know smbd that well.
<h725> jasonb maybe you have some settings in /etc/samba/smb.conf that marks the directories as read only?
<jasonb> Here is what is in the log.smbd file: http://pastebin.com/773357
<jasonb> h725: I haven't modified the settings in any samba file at all since it was working.
<jasonb> From xp running inside of qemu, it lets me browse the share just fine still, but when I try to write to it, it complains that the directory is marked read only.
<h725> and user nobody has writeaccess to that directory on the host?
<h725> i.e. mode is xxx7?
<jasonb> Well, no.
<jasonb> The way it was working was: I ran qemu as my own user "jbrittain", and the dirs & files are read/write for user jbrittain.
<h725> well since smb server is run as user nobody this user needs write access to the dir on the host - at least as far as i know, i might be terribly wrong here
<jasonb> I think you're wrong about that since it is designed so that the smbd process runs as user nobody, but is configured to allow guest access to the share.
<h725> all files that are created by the guest (over here) are owned by nobody.nobody
<h725> smbserver run as uid != 0 cannot override host permissions
<h725> drwxr-xr-x 4 nobody nogroup 4096 2006-08-21 15:22 strscan/
<h725> created from within the guest
<jasonb> A lot of this is mysterious.. how can a qemu process running as user jbrittain spawn another process running as user nobody? It's clearly doing that.
<jasonb> oh, actually, no it isn't.
<jasonb> It's running as user jbrittain.
<jasonb> # ps -ef | grep smb
<jasonb> 500 10565 1 8 10:12 ? 00:02:08 /usr/local/bin/qemu-system-x86_64 -kernel-kqemu -m 600 -smb / /home/jbrittain/qemu/xp-pro-sp2-k-u-jb.qcow
<jasonb> 500 10608 10565 0 10:16 ? 00:00:00 /usr/sbin/smbd -s /tmp/qemu-smb.10565/smb.conf
<jasonb> 500 = jbrittain.
<jasonb> And, in smb.conf, it says:
<jasonb> read only=no
<jasonb> guest ok=yes
<pbrook> jasonb: That's probably why it's not working then.
<pbrook> Because smbd is not running as nobody.
<jasonb> pbrook: Hmm, okay.. I'm not supposed to run qemu as root to do this, am I?
<jasonb> pbrook: Also, it _was_ working earlier, when I was running qemu as jbrittain just like I am now.
<jasonb> pbrook: It just stopped, at some point.
<pbrook> Are you sure you haven't changes something else?
<pbrook> Like smbd being suid
<jasonb> I've changed nothing.. as far as I know.
<pbrook> Well, the fact that it stopped working suggests otherwise...
Return to #
qemuor
Go to some related
logs:
ubuntufirmware_class kubuntuhaloed are the oricssperlubuntu sata BadCRCopenvpn RTNETLINK answers: Invalid argumentphpmyadmin Could not get lock /var/lib/dpkg/lockswig LPCTSTRsource.list cedega ubuntu