View previous topic :: View next topic |
Author |
Message |
Pr0v4 Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/768103259436e1f652dc7d.jpg)
Joined: 06 Sep 2005 Posts: 128 Location: Livorno
|
Posted: Sun Nov 27, 2005 11:06 am Post subject: [RISOLTO]Problemi con qemu |
|
|
Salve ragazzi é da un pó che tento, senza buoni risultati, di farmi funzionare questo qemu per provare a far girare windows sulla mia gentoo, ma non sono mai riuscito a capire come funzionasse...
Allora mi sono messo alla ricerca di qualche how-to, e ho trovato questo. Ma per quanto segua la Quickstart Guide, mi tornano degli errori che non capisco.
Ovvero, quando vado a fare (se date un'occhiata all'howro lo capirete meglio ) Code: | #modprobe kqemu major=0 |
mi restituisce un errore dicendomi che non trova il modulo kqemi...
Ma secondo voi quei singoli apici messi sugli echo precedenti ci vanno???
Ho provato anche a toglierli, ma il risultato non é cambiato!
Voi avete qualche idea???
Grazie in anticipo ![Very Happy :D](images/smiles/icon_biggrin.gif)
Last edited by Pr0v4 on Mon Dec 05, 2005 7:44 pm; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
gutter Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/67030318436dd16c1dd5e.jpg)
Joined: 13 Mar 2004 Posts: 7162 Location: Aarau, Aargau, Switzerland
|
Posted: Sun Nov 27, 2005 11:10 am Post subject: Re: Problemi con qemu |
|
|
Pr0v4 wrote: |
Ma secondo voi quei singoli apici messi sugli echo precedenti ci vanno???
|
Credo di no; prova con questi comandi:
Code: |
echo "app-emulation/qemu ~x86" >> /etc/portage/package.keywords
echo "app-emulation/qemu-softmmu ~x86" >> /etc/portage/package.keywords
echo "app-emulation/qemu-user ~x86" >> /etc/portage/package.keywords
echo "app-emulation/qemu-softmmu kqemu" >> /etc/portage/package.use
emerge qemu
modprobe kqemu major=0
echo "kqemu major=0" >> /etc/modules.autoload.d/kernel-2.6 && modules-update
mknod /dev/kqemu c 250 0
gpasswd -a "johndoe75" qemu
|
_________________ Registered as User #281564 and Machines #163761 |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Pr0v4 Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/768103259436e1f652dc7d.jpg)
Joined: 06 Sep 2005 Posts: 128 Location: Livorno
|
Posted: Sun Nov 27, 2005 11:16 am Post subject: |
|
|
grazie della rapida risposta, ma purtroppo al momento di caricare il modulo mi ritorna un errore.
Avresti mica in mente altre soluzioni? Mi piacerebbe risolvere anche perché mi sarebbe piaciuto scrivere un how-to da questa esperienza; visto che in italiano non ne troviamo riguardanti gentoo.
Cmq l'errore é:
Code: | heaven pr0v4 # modprobe kqemu major=0
FATAL: Module kqemu not found. |
Grazie ancora per l'aiuto!!! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
gutter Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/67030318436dd16c1dd5e.jpg)
Joined: 13 Mar 2004 Posts: 7162 Location: Aarau, Aargau, Switzerland
|
Posted: Sun Nov 27, 2005 11:23 am Post subject: |
|
|
Dall'errore sembra che il modulo non sia stato compilato. Hai provato a ricontrollare ogni passo. _________________ Registered as User #281564 and Machines #163761 |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Pr0v4 Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/768103259436e1f652dc7d.jpg)
Joined: 06 Sep 2005 Posts: 128 Location: Livorno
|
Posted: Sun Nov 27, 2005 11:27 am Post subject: |
|
|
a dire il vero si, sopra questa citazione nell'howto non é descritto altro, e sinceramente avevo cancellato tutto quello da me scritto nei file package.*, per poi riscriverli con copia/incolla dal codice che mi hai postato te, per paura di aver fatto qualche cavolata ![Razz :P](images/smiles/icon_razz.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
nick_spacca l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/39796435944f8a3efd736b.jpg)
Joined: 29 May 2004 Posts: 689 Location: Paris/France
|
Posted: Sun Nov 27, 2005 1:49 pm Post subject: |
|
|
Puoi postare un: Code: | # emerge -pv qemu qemu-softmmu qemu-user |
Il mio e' cosi':
Code: | nick-book nick # emerge -pv qemu qemu-softmmu qemu-user
These are the packages that I would merge, in order:
Calculating dependencies ...done!
[ebuild R ] app-emulation/qemu-0.7.2 0 kB
[ebuild R ] app-emulation/qemu-softmmu-0.7.2 +kqemu +sdl 0 kB
[ebuild R ] app-emulation/qemu-user-0.7.2 0 kB
| e funziona alla grande... _________________ I can resist anything but temptation.
(O. Wilde) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Pr0v4 Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/768103259436e1f652dc7d.jpg)
Joined: 06 Sep 2005 Posts: 128 Location: Livorno
|
Posted: Sun Nov 27, 2005 2:28 pm Post subject: |
|
|
Allora tentiamo di risolvere, il mio é:
Quote: | heaven pr0v4 # emerge -pv qemu qemu-softmmu qemu-user
These are the packages that I would merge, in order:
Calculating dependencies ...done!
[ebuild R ] app-emulation/qemu-0.7.2 0 kB
[ebuild R ] app-emulation/qemu-softmmu-0.7.2 +kqemu* +sdl 77 kB
[ebuild R ] app-emulation/qemu-user-0.7.2 0 kB |
Ma forse l'errore sta nel fatto che no emergo qemu-softmnu??? che come flag use ha kqemu???
Adesso provo e vi faccio sapere se l'errore é questo.... |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
nick_spacca l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/39796435944f8a3efd736b.jpg)
Joined: 29 May 2004 Posts: 689 Location: Paris/France
|
Posted: Sun Nov 27, 2005 3:12 pm Post subject: |
|
|
Infatti, il problema e' che ti risulta qemu-softmmu-0.7.2 installato SENZA la flag kemu (come dimostra il l'asterisco di fianco alla flag "kqemu"), e quindi non ti installa il modulo....
Reinstallando dovrebbe funzionare tutto...
Nick _________________ I can resist anything but temptation.
(O. Wilde) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Pr0v4 Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/768103259436e1f652dc7d.jpg)
Joined: 06 Sep 2005 Posts: 128 Location: Livorno
|
Posted: Sun Nov 27, 2005 5:57 pm Post subject: |
|
|
In effetti ho riemerso qemu-softmnu e adesso tutto fila liscio!!!
Solo che adesso devo capire come funziona
Ma devo per forza montare immagini .img o anche le iso vanno bene? semmai mi do una lettura anche al man vai, che non capisco neanche questa stringa
Quote: | qemu-img create -f qcow /opt/microsoft/win98.img 3G |
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
nick_spacca l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/39796435944f8a3efd736b.jpg)
Joined: 29 May 2004 Posts: 689 Location: Paris/France
|
Posted: Sun Nov 27, 2005 6:03 pm Post subject: |
|
|
Pr0v4 wrote: |
Ma devo per forza montare immagini .img o anche le iso vanno bene? semmai mi do una lettura anche al man vai, che non capisco neanche questa stringa
Code: | qemu-img create -f qcow /opt/microsoft/win98.img 3G |
|
Non saprei...pero' quella stringa dovrebbe creare l'immagine su cui poi andrai ad installare il tuo sistema operativo, di dimensione appunto 3G (3 GB )
Contento che alla fine funzioni...per far funzionare il tutto non ti dovrai neanche scervellare tanto.... _________________ I can resist anything but temptation.
(O. Wilde) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
gutter Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/67030318436dd16c1dd5e.jpg)
Joined: 13 Mar 2004 Posts: 7162 Location: Aarau, Aargau, Switzerland
|
Posted: Mon Nov 28, 2005 10:57 am Post subject: |
|
|
Mi fa piacere che il problema sia risolto. Per favore aggiungi il tag [Risolto] al titolo del topic. _________________ Registered as User #281564 and Machines #163761 |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|