Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problemi con il root fs [User Mode Linux]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
cataenry
Guru
Guru


Joined: 04 Nov 2003
Posts: 343

PostPosted: Mon Dec 08, 2003 12:33 pm    Post subject: Problemi con il root fs [User Mode Linux] Reply with quote

Ciao, scusate l'OT in anticipo :P 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
View user's profile Send private message
cataenry
Guru
Guru


Joined: 04 Nov 2003
Posts: 343

PostPosted: Mon Dec 08, 2003 1:15 pm    Post subject: Reply with quote

Scusate se continuo l'OT... :oops: :oops:
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
View user's profile Send private message
Benve
l33t
l33t


Joined: 13 Mar 2003
Posts: 897
Location: Italy Romagna

PostPosted: Mon Dec 08, 2003 1:19 pm    Post subject: Reply with quote

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
View user's profile Send private message
cataenry
Guru
Guru


Joined: 04 Nov 2003
Posts: 343

PostPosted: Mon Dec 08, 2003 1:24 pm    Post subject: Reply with quote

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.... :roll: :roll:
Back to top
View user's profile Send private message
cataenry
Guru
Guru


Joined: 04 Nov 2003
Posts: 343

PostPosted: Mon Dec 08, 2003 1:57 pm    Post subject: Reply with quote

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.... :oops:
Back to top
View user's profile Send private message
Benve
l33t
l33t


Joined: 13 Mar 2003
Posts: 897
Location: Italy Romagna

PostPosted: Mon Dec 08, 2003 2:24 pm    Post subject: Reply with quote

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
View user's profile Send private message
cataenry
Guru
Guru


Joined: 04 Nov 2003
Posts: 343

PostPosted: Mon Dec 08, 2003 2:40 pm    Post subject: Reply with quote

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... :oops: :oops: eheh :lol:
E' un po' brutto a vedersi 7 finestrelle-consolle, ma ora và!!
Prossimo obiettivo: TUN/TAP :P

Se ci riesco ti aiuto! :wink:
Bye e grazie mille per la disponibilità...
Back to top
View user's profile Send private message
Benve
l33t
l33t


Joined: 13 Mar 2003
Posts: 897
Location: Italy Romagna

PostPosted: Mon Dec 08, 2003 2:52 pm    Post subject: Reply with quote

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
View user's profile Send private message
cataenry
Guru
Guru


Joined: 04 Nov 2003
Posts: 343

PostPosted: Mon Dec 08, 2003 3:27 pm    Post subject: Reply with quote

Intanto grazie mille per la disponibilità!! :o :o
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 :P

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:
Back to top
View user's profile Send private message
Benve
l33t
l33t


Joined: 13 Mar 2003
Posts: 897
Location: Italy Romagna

PostPosted: Mon Dec 08, 2003 3:51 pm    Post subject: Reply with quote

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
View user's profile Send private message
cataenry
Guru
Guru


Joined: 04 Nov 2003
Posts: 343

PostPosted: Tue Dec 09, 2003 6:05 pm    Post subject: Reply with quote

Risolto così:
emerge -UD iptables... mah 8O 8O
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... :wink:

Grazie a tutti!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum