Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[TOOL] Make Kernel
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) Risorse italiane (documentazione e tools)
View previous topic :: View next topic  
Author Message
solka
Apprentice
Apprentice


Joined: 25 Jun 2003
Posts: 287
Location: Torino - ITA

PostPosted: Wed Jun 09, 2004 10:30 pm    Post subject: [TOOL] Make Kernel Reply with quote

Ciao a tutti,
vi presento il mio primissimo script un pelino più serio :)
Si tratta di uno script che compila il kernel, copia i file necessari in /boot, chiede all'utente i parametri per grub e li copia nel grub.conf .
Per ora funziona solo con grub in quanto non ho avuto modo di provare lilo, se qualcuno che usa quest'ultimo mi puo' mandare in pm un cat del config gliene sarei molto grato.
L'ho provato un po' di volte e a me funziona, ovviamente non mi assumo nessuna responsabilità in caso di disastro, ma non penso che ne debba creare :)
Vi prego di provarlo e dirmi cosa ne pensate!
Grazie a tutti!

EDIT
Aggiornato alla versione 0.4
- check di emerge per permettere l'utilizzo di questo script anche con altre distro
- emerge dei pacchetti che necessitano di essere reinstallati come nvidia-kernel, alsa-driver, i2c
- notifica di quanto viene aggiunto nel file config del bootloader

Versione 0.3:
- supporto a lilo
- richiesta per cambiare il nome ai file bzImage, config e per il titolo nel bootloader
- supporto per i kernel =< 2.6.*

Fatemi sapere se c'è qualcosa da sistemare perfavore :)

makekernel04.tar.gz
screenshot1
screenshot2
_________________
"The only reason of the man's sadness
is that he can't stay peacefully in his room."

Blaise Pascal


Last edited by solka on Sat Jun 19, 2004 1:21 pm; edited 7 times in total
Back to top
View user's profile Send private message
solka
Apprentice
Apprentice


Joined: 25 Jun 2003
Posts: 287
Location: Torino - ITA

PostPosted: Thu Jun 10, 2004 10:30 am    Post subject: Reply with quote

uppino, spero interessi a qualcuno :o
_________________
"The only reason of the man's sadness
is that he can't stay peacefully in his room."

Blaise Pascal
Back to top
View user's profile Send private message
randomaze
Bodhisattva
Bodhisattva


Joined: 21 Oct 2003
Posts: 9985

PostPosted: Thu Jun 10, 2004 10:33 am    Post subject: Reply with quote

solka wrote:
uppino, spero interessi a qualcuno :o


beh diciamo che uno script che automatizza ben venga, anche se sinceramente io continuo a preferire il "tutto manuale" e a non lasciare che qualcuno metta le mani nei miei file di boot ;-)

Comunque lo screenshot sembra gradevole :-)

P.S. Prima di uppare aspetta che siano passate 24h...
_________________
Ciao da me!
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30822
Location: here

PostPosted: Thu Jun 10, 2004 10:36 am    Post subject: Reply with quote

Sarebbe interessante che quando copia il bzImage chiede se vuoi rinominarlo.
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
zUgLiO
l33t
l33t


Joined: 12 Aug 2003
Posts: 754
Location: Ferrara (Italy)

PostPosted: Thu Jun 10, 2004 10:40 am    Post subject: Reply with quote

Mi hai rubato l'idea!! :evil: :D :D
mio lilo.conf:

Code:

#
# Start LILO global section
#
lba32
boot = /dev/hda
map = /boot/.map
install = /boot/boot-menu.b
menu-scheme=Wb
prompt
timeout=150
delay = 50
# Normal VGA console
vga = normal
#
# End LILO global section
#

# Linux bootable partition config begins
image = /boot/2.6.5-gentoo-r1/bzImage
        root = /dev/hda2
        label = 2.6.5-gentoo-r1
        read-only # read-only for checking

image = /boot/2.6.5-mm1/bzImage
        root = /dev/hda2
        label = 2.6.5-mm1
        read-only # read-only for checking

# Linux bootable partition config ends

_________________

voglio poi dire che il tempo mi avrà fatto abituare,

ma io non trovo nemmeno brutta la stiva buia di questa nave
Back to top
View user's profile Send private message
solka
Apprentice
Apprentice


Joined: 25 Jun 2003
Posts: 287
Location: Torino - ITA

PostPosted: Thu Jun 10, 2004 6:13 pm    Post subject: Reply with quote

Ho aggiornato alla versione 0.2 con supporto a lilo e possibilità di modifica di alcuni file :D
Fatemi sapere se va bene e se c'è altro da aggiungere :D
Grazie a tutti :)
_________________
"The only reason of the man's sadness
is that he can't stay peacefully in his room."

Blaise Pascal
Back to top
View user's profile Send private message
ProT-0-TypE
Veteran
Veteran


Joined: 20 Dec 2003
Posts: 1624
Location: Cagliari

PostPosted: Thu Jun 10, 2004 9:28 pm    Post subject: Reply with quote

carino lo script!

Ma per avere la console uguale alla tua cosa devo fare? :oops:
Back to top
View user's profile Send private message
solka
Apprentice
Apprentice


Joined: 25 Jun 2003
Posts: 287
Location: Torino - ITA

PostPosted: Fri Jun 11, 2004 7:10 am    Post subject: Reply with quote

Intendi i colori o la parte del nome utente/host?
_________________
"The only reason of the man's sadness
is that he can't stay peacefully in his room."

Blaise Pascal
Back to top
View user's profile Send private message
ProT-0-TypE
Veteran
Veteran


Joined: 20 Dec 2003
Posts: 1624
Location: Cagliari

PostPosted: Fri Jun 11, 2004 7:23 am    Post subject: Reply with quote

intendevo i font e la risoluzione! 8)
Back to top
View user's profile Send private message
solka
Apprentice
Apprentice


Joined: 25 Jun 2003
Posts: 287
Location: Torino - ITA

PostPosted: Fri Jun 11, 2004 7:59 am    Post subject: Reply with quote

Ho modificato una cosa riguardo a lilo, ora dovrebbe andare anche per i parametri aggiuntivi.
_________________
"The only reason of the man's sadness
is that he can't stay peacefully in his room."

Blaise Pascal
Back to top
View user's profile Send private message
solka
Apprentice
Apprentice


Joined: 25 Jun 2003
Posts: 287
Location: Torino - ITA

PostPosted: Sun Jun 13, 2004 1:25 pm    Post subject: Reply with quote

mi permetto di riportarlo su :)
_________________
"The only reason of the man's sadness
is that he can't stay peacefully in his room."

Blaise Pascal
Back to top
View user's profile Send private message
solka
Apprentice
Apprentice


Joined: 25 Jun 2003
Posts: 287
Location: Torino - ITA

PostPosted: Sun Jun 13, 2004 10:31 pm    Post subject: Reply with quote

versione 0.2b: ho cercato di "ottimizzare" [che parolone] un po' di più lo script e ho aggiunto due cosine che mancavano.
_________________
"The only reason of the man's sadness
is that he can't stay peacefully in his room."

Blaise Pascal
Back to top
View user's profile Send private message
solka
Apprentice
Apprentice


Joined: 25 Jun 2003
Posts: 287
Location: Torino - ITA

PostPosted: Tue Jun 15, 2004 12:12 am    Post subject: Reply with quote

versione 0.3: inserito il check della versione del kernel, ora dovrebbe supportare tutti i kernel <=2.6.*
_________________
"The only reason of the man's sadness
is that he can't stay peacefully in his room."

Blaise Pascal
Back to top
View user's profile Send private message
solka
Apprentice
Apprentice


Joined: 25 Jun 2003
Posts: 287
Location: Torino - ITA

PostPosted: Sat Jun 19, 2004 1:21 pm    Post subject: Reply with quote

Aggiornato alla versione 0.4
_________________
"The only reason of the man's sadness
is that he can't stay peacefully in his room."

Blaise Pascal
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) Risorse italiane (documentazione e tools) 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