Gentoo Forums
Gentoo Forums
Quick Search: in
como crear initrd
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Spanish
View previous topic :: View next topic  
Author Message
antogc
Apprentice
Apprentice


Joined: 19 Oct 2007
Posts: 168

PostPosted: Mon May 12, 2008 8:12 am    Post subject: como crear initrd Reply with quote

buenas, estoy probando a instalar openvz para ver q tal va...el tema es q me bajo lo sources, los compilo, los añado al grub y observo que no me arranca...me da un error


Quote:

VFS: Cannot open root device "hda3" or unknwon-block(2,0)
Please append a correct "root=" boot option.
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)


encuentro en una pagina la solucion referente a crear el initrd...

Quote:

this is is a typical error ,when you don't have a initrd to load the modules before mounting the root filesystem , the other kernel can load them because it was compiled against all the necessary modules as built in , and specially the fs modules , it's not the case for the openvz kernel wish have been compiled the fs as modules




alguien sabe como se hace???

gracias...
Back to top
View user's profile Send private message
antogc
Apprentice
Apprentice


Joined: 19 Oct 2007
Posts: 168

PostPosted: Mon May 12, 2008 10:34 am    Post subject: Reply with quote

por cierto, viendo un poco la fuente del problema me he dado cuenta que en el menufongi del kernel 2.6.18 no tiene ( o mejor dicho no viene) la opcion para soporte SATA.

Quote:

Device Drivers --> Serial ATA (prod) and Parallel ATA drivers...



es posible q no tenga soporte ese kernel?? estaba la opcion para discos duros SATA en otro sitio en esos kernels??

puedo añadir dicho soporte en caso de q realmente el kernel no tenga soporte SATA??

gracias...
Back to top
View user's profile Send private message
gringo
Advocate
Advocate


Joined: 27 Apr 2003
Posts: 3472

PostPosted: Mon May 12, 2008 1:50 pm    Post subject: Reply with quote

Quote:
Device Drivers --> Serial ATA (prod) and Parallel ATA drivers...


antes del 2.6.18, los drivers sata estaban en la sección del subsistema scsi, apartado "lowlevel drivers".

saluetes
_________________
Error: Failing not supported by current locale
Back to top
View user's profile Send private message
antogc
Apprentice
Apprentice


Joined: 19 Oct 2007
Posts: 168

PostPosted: Mon May 12, 2008 4:08 pm    Post subject: Reply with quote

ok muchas gracias...problema solucionado...

una duda mas no existe alguna herramienta que convierta los .config de un kernel a otro...pq si me gusta el openvz y quiero trabajar con el tengo q estar mirando la configuracion de mi kernel anterior (2.6.23) para tenerl el 2.6.18 mas o menos igual...

graicas!
Back to top
View user's profile Send private message
Stolz
Moderator
Moderator


Joined: 19 Oct 2003
Posts: 2900
Location: Valencia, Spain

PostPosted: Mon May 12, 2008 4:38 pm    Post subject: Reply with quote

antogc wrote:
ok muchas gracias...problema solucionado...

una duda mas no existe alguna herramienta que convierta los .config de un kernel a otro...pq si me gusta el openvz y quiero trabajar con el tengo q estar mirando la configuracion de mi kernel anterior (2.6.23) para tenerl el 2.6.18 mas o menos igual...

graicas!


Busca en el foro la palabra "oldconfig" para saber como aprovechar la configuración de un kernel para otro
Back to top
View user's profile Send private message
demostenes
Tux's lil' helper
Tux's lil' helper


Joined: 09 Aug 2004
Posts: 125
Location: Zamora

PostPosted: Mon May 12, 2008 11:29 pm    Post subject: Reply with quote

Como ya te ha dicho Stolz, y buscando un poquito:

http://www.gentoo.org/doc/es/kernel-upgrade.xml


Code:

10.  Avanzado: Usando su archivo .config antiguo para configurar uno nuevo

Algunas veces es posible ahorrar algo de tiempo reusando el archivo de configuración de su antiguo núcleo cuando configura uno nuevo. Note que esto es, en general, inseguro -- puede que hayan muchos cambios en cada nueva versión del núcleo y por tanto hacer de esto algo poco confiable...


¡Aunque seguro que ya te lo has leido pero lo olvidaste...!

Dentro de cualquier kernel ( /usr/src/linux ) tienes el directorio Documentation y dentro del mismo un archivo initrd.txt que explica como hacer lo que quieres.

¡¡A la faena!!
_________________
Saludos de Demóstenes.

Demasiado viejo para el rocanrol, demasiado joven para morir.
Back to top
View user's profile Send private message
Inodoro_Pereyra
Advocate
Advocate


Joined: 03 Nov 2006
Posts: 2616
Location: En la otra punta del cable

PostPosted: Tue May 13, 2008 1:05 am    Post subject: Reply with quote

Pero lo que antogc quiere hacer es un kernel downgrade si no entendí mal... La última (que de paso fué la primera) vez que intenté usar make oldconfig de un kernel nuevo en uno mas antiguo no me fué muy bien que digamos :D

Salud!
_________________
Mi Blog.

Si no fuera por C, estaríamos escribiendo programas en BASI, PASAL y OBOL.
Back to top
View user's profile Send private message
antogc
Apprentice
Apprentice


Joined: 19 Oct 2007
Posts: 168

PostPosted: Tue May 13, 2008 8:11 am    Post subject: Reply with quote

correcto...mi kernel actual es un 2.6.23-r6 y lo que pretendo es bajar a un 2.6.18 por eso preguntaba lo de oldconfig...
Back to top
View user's profile Send private message
demostenes
Tux's lil' helper
Tux's lil' helper


Joined: 09 Aug 2004
Posts: 125
Location: Zamora

PostPosted: Tue May 13, 2008 10:04 am    Post subject: Reply with quote

Lo siento, lo entendi justo al reves. Me parecia rara la pregunta, por eso opte por la solucion facilita... :wink:

Me temo que deberas hacerlo a mano... ¡olvidate de lo digital! :D
_________________
Saludos de Demóstenes.

Demasiado viejo para el rocanrol, demasiado joven para morir.
Back to top
View user's profile Send private message
deadshot
n00b
n00b


Joined: 21 Jan 2008
Posts: 23

PostPosted: Tue May 13, 2008 11:59 am    Post subject: Reply with quote

mejor hazlo a mano y asi te aseguras de q la configuracion es exactamente la que quieres...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Spanish 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