Results 1 to 10 of 12
Hello,
I have fully reinstalled all my distros and got the wireless and flash player working.
Now I am looking forward to this long desire of learning how to install ...
- 11-12-2009 #1
[SOLVED] How to Install (Sandbox) XP In Debian Lenny
Hello,
I have fully reinstalled all my distros and got the wireless and flash player working.
Now I am looking forward to this long desire of learning how to install XP in a virtual machine in Debian.
I learned that if I put XP in a "sandbox" or a VM? not quite sure, I will also be protecting my system in case of another virus problem. I heard this will make XP run a little slower but frankly, I don't mind since I am not a gamer and I will just use it only if somebody wants to borrow my laptop and only knows how to use windows. (XP) For browsing and emails and some of those basic stuffs.
May I request for guidance on how I can achieve this please?
Thank you very much.
- 11-12-2009 #2
Install QEMU from the Debian repositories.
Then create a virtual hard disk file with sufficent space for the install.
Lastly, tell QEMU to use your real physical CDROM as the virtual CDROM drive for emulation. Insert the install disc and start QEMU.
QEMU
PS: I think you were better of to customize KDE to look and operate similar to Windows for these users.Debian GNU/Linux -- You know you want it.
- 11-13-2009 #3
Hello!
Trying to install XP in Debian using QEMU is also interesting for me since I would like to learn and experience this procedure.
However, your PS re customizing KDE to look and operate similar to Windows also caught my fancy. I will be starting a separate thread regarding this.
Thank you!
- 11-13-2009 #4
First, I have installed QEMU from the Debian repos.
Second I went to number 2 of instructions from the QEMU Quickstart guide of the link. (Windows or Linux guest on Linux host)
I made a 6G preparation w/c seems to be ok:
Then I proceeded to instruction 3 and inserted XP installation disk to cd drive & I got this.Code:jun@debian:~$ sudo qemu-img create -f qcow harddisk.img 6G Formatting 'harddisk.img', fmt=qcow, size=6291456 kB
I tried to change -hda to -sda since I notice thats the way my partitions are read.Code:jun@debian:~$ qemu -cdrom /dev/cdrom -hda c.img -m 256 -boot d qemu: could not open disk image c.img
Code:jun@debian:~$ qemu -cdrom /dev/cdrom -sda c.img -m 256 -boot d qemu: invalid option -- '-sda' jun@debian:~$
- 11-13-2009 #5
Well, the disk image you have created has the name harddisk.img, doesn't it?
Why do call it "c.img" then?
The "-hda xyz.img" option is a parameter of the program QEMU. It means "the first virtual hard drive is the image: 'xyz.img'". This has nothing to do with which devices you use on your host.Debian GNU/Linux -- You know you want it.
- 11-13-2009 #6Code:
jun@debian:~$ sudo qemu-img create -f qcow harddisk.img 6G Formatting 'harddisk.img', fmt=qcow, size=6291456 kB
Code:jun@debian:~$ qemu -cdrom /dev/cdrom -hda c.img -m 256 -boot d qemu: could not open disk image c.img
Ohhh...thanks. Very sorry did not notice thatCode:Well, the disk image you have created has the name harddisk.img, doesn't it? Why do call it "c.img" then?
Thank you for pointing it out.
- 11-13-2009 #7I can't continue from here. Do you think since my Debian is ext3 and XP is on ntfs its causing this problem?Code:
To install Windows XP on the partition you selected Setup must write some startup files to the following disk: 6143 MB Disk 0 at Id 0 on bus 0 on atapi (MBR) However, this disk does not contain a Windows XP-compatible partition.
- 11-13-2009 #8
I also get this after i execute:
However, a window opens and starts to execute an XP installtion. Until I reach the blue screen w/c gave me the message I posted earlier.Code:jun@debian:~$ qemu -cdrom /dev/cdrom -hda harddisk.img -m 256 -boot d Could not open '/dev/kqemu' - QEMU acceleration layer not activated: No such file or directory jun@debian:~$
- 11-13-2009 #9Debian GNU/Linux -- You know you want it.
- 11-13-2009 #10
The XP installation went on smoothly. However, I closed the window and now I do not know how to boot it again.
The guide says execute
This is what I get insteadCode:qemu -hda xp.img -boot c
Code:jun@debian:~$ qemu -hda xp.img -boot c qemu: could not open disk image xp.img jun@debian:~$ sudo qemu -hda xp.img -boot c qemu: could not open disk image xp.img jun@debian:~$ su Password: debian:/home/jun# qemu -hda xp.img -boot c qemu: could not open disk image xp.img debian:/home/jun#




