View previous topic :: View next topic |
Author |
Message |
cataenry Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/13868762793ff4c9dca595e.png)
Joined: 04 Nov 2003 Posts: 343
|
Posted: Mon Dec 08, 2003 12:33 pm Post subject: Problemi con il root fs [User Mode Linux] |
|
|
Ciao, scusate l'OT in anticipo Volevo sapere se tu hai seguito la guida gentoo per fare il root_fs... Io sono 3 giorni che ci provo... alla fine mi sono detto di partire dallo stage 3...
ma incontro questi errori:
* The setfont executable was not found
[ !! ]
* Loading key mappings...Couldnt get a file descriptor referring to the console
* Error loading key mappings
[ !! ]
E non riesco a venirne a capo... in effetti setfont non c'è... Come posso fare?
Last edited by cataenry on Mon Dec 08, 2003 1:33 pm; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
cataenry Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/13868762793ff4c9dca595e.png)
Joined: 04 Nov 2003 Posts: 343
|
Posted: Mon Dec 08, 2003 1:15 pm Post subject: |
|
|
Scusate se continuo l'OT...
Sono entrato in root_fs via chroot... ho fatto un bell'emerge -UD system ed ora mi trovo questo....:
* Setting user font...open: No such file or directory
open: No such file or directory [ripetuto 8 volte...]
* Failed to set user font
[ !! ]
* Loading key mappings...Couldnt get a file descriptor referring to the console
* Error loading key mappings
[ !! ]
E poi si blocca dopo local, penso perchè non ha inizializzato la consolle... che ne pensate?
Che devo fare? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Benve l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/gallery/Futurama/cartoon_futurama_fry_2.gif)
Joined: 13 Mar 2003 Posts: 897 Location: Italy Romagna
|
Posted: Mon Dec 08, 2003 1:19 pm Post subject: |
|
|
Io ho fatto l'immagine dallo stage3. Non è difficile, fai tutto come se dovessi installare, solo che non compili il kernel. Poi con un bel cp -a copi tutto dentro la iso montata |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
cataenry Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/13868762793ff4c9dca595e.png)
Joined: 04 Nov 2003 Posts: 343
|
Posted: Mon Dec 08, 2003 1:24 pm Post subject: |
|
|
Io ho fatto così:
ho creato il file root_fs, ho fatto mkreiserfs su di esso, l'ho montato su /mnt/loop,
c'ho messo lo stage 3, scompattato e ho fatto i vari emerge -u portage, emerge -u system... ecc
Poi ho modificato /etc/fstab e /etc/rc.conf.... e tutte le altre cosette come da installazione normale... ma non va... mi da quegl'errori.... ![Rolling Eyes :roll:](images/smiles/icon_rolleyes.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
cataenry Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/13868762793ff4c9dca595e.png)
Joined: 04 Nov 2003 Posts: 343
|
Posted: Mon Dec 08, 2003 1:57 pm Post subject: |
|
|
Scusami benve, come hai settato il kernel uml?
Penso sia quello il problema... Tipo ho scaricato l'immagine debian e anche quella mi si blocca...
Mi sa che ho sbagliato qualcosa con il kernel.... ![Embarassed :oops:](images/smiles/icon_redface.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Benve l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/gallery/Futurama/cartoon_futurama_fry_2.gif)
Joined: 13 Mar 2003 Posts: 897 Location: Italy Romagna
|
Posted: Mon Dec 08, 2003 2:24 pm Post subject: |
|
|
Ti do il mio .config http://www.cs.unibo.it/~benvenut/uml-2.4.22.config
Anche questo però pa un paio di errori riguardo moduli non caricati. Comunque tutto alla fine funziona.
Non credo che ci siano particolari accorgimenti da tenere, tranne quelli di un normale kernel per gentoo.
Una domanda, che kernel hai sull'host? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
cataenry Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/13868762793ff4c9dca595e.png)
Joined: 04 Nov 2003 Posts: 343
|
Posted: Mon Dec 08, 2003 2:40 pm Post subject: |
|
|
Aahhaha sono proprio rimba! Ho capito dov'era il problema:
io avviavo X come user normale, e quando avviavo user-mode non riusciva a creare le virtual consolle perchè lo facevo da root... eheh
E' un po' brutto a vedersi 7 finestrelle-consolle, ma ora và!!
Prossimo obiettivo: TUN/TAP
Se ci riesco ti aiuto!
Bye e grazie mille per la disponibilità... |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Benve l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/gallery/Futurama/cartoon_futurama_fry_2.gif)
Joined: 13 Mar 2003 Posts: 897 Location: Italy Romagna
|
Posted: Mon Dec 08, 2003 2:52 pm Post subject: |
|
|
Comunque anche a me non va l'immagine Debian da scaricare sul sito.
Per TUN/TAP ieri c'ero riuscito. Ma non ho ancora le idee chiare sulla cosa.
Fa sapere se hai bisogno |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
cataenry Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/13868762793ff4c9dca595e.png)
Joined: 04 Nov 2003 Posts: 343
|
Posted: Mon Dec 08, 2003 3:27 pm Post subject: |
|
|
Intanto grazie mille per la disponibilità!!
Mah... la cosa non mi è chiara... Tipo sto seguendo come da manuale la UML guide su gentoo.com... Ok...
Se io vado a fare come dice da root:
root@Trinity UML # iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE
iptables: Invalid argument
Ho messo ppp0 inquanto al momento è il NIC collegato ad Internet...
Le iptables funzionano tranquillamente di solito.. ammetto che non le imposto mai a mano perchè sono pigro, ma con firestarter è sempre tutto ok
Mi chiedo se sia un errore della guida... (molto difficile, ma niente è impossibile)
Tu ci sei riuscito?
Grazie mille ancora per la disponibilità!! ![Wink :wink:](images/smiles/icon_wink.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Benve l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/gallery/Futurama/cartoon_futurama_fry_2.gif)
Joined: 13 Mar 2003 Posts: 897 Location: Italy Romagna
|
Posted: Mon Dec 08, 2003 3:51 pm Post subject: |
|
|
Al momento non ho tempo... ci lavorerò in settimana
Devo comunque ammettere la mia ignoranta in fatto di iptables.
a me da una serie di errori di moduli non trovati. Ora mi riguardo il kernel |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
cataenry Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/13868762793ff4c9dca595e.png)
Joined: 04 Nov 2003 Posts: 343
|
Posted: Tue Dec 09, 2003 6:05 pm Post subject: |
|
|
Risolto così:
emerge -UD iptables... mah
Ora va alla grande...!!
Avevo intenzione di usare l'UML per fare degli smanettamenti con l'IPv6...
...ma non si pingano neanche tra di loro... Comunque questa è un'altra storia...
Grazie a tutti! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|