Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
aggiungere immagine al boot del pc
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) Forum di discussione italiano
View previous topic :: View next topic  
Author Message
bi-andrea
Apprentice
Apprentice


Joined: 09 Mar 2010
Posts: 171
Location: cesenatico

PostPosted: Mon Oct 01, 2012 9:59 pm    Post subject: aggiungere immagine al boot del pc Reply with quote

Vorrei abbelire dopo il menu di Grub, con un'immagine di sfondo, un pò come avviene alle altre distribuzioni e ripeterla al login di Gdm, como posso fare?
_________________
Quando arrivi a Linux è un trauma, abituati a Windows, quando arrivi a Gentoo è uno spavento col brivido , però quando lo capisci sei uscito dall'università "GNU/Linux" ;)
Back to top
View user's profile Send private message
ago
Developer
Developer


Joined: 01 Mar 2008
Posts: 1527
Location: Milan, Italy

PostPosted: Tue Oct 02, 2012 10:37 pm    Post subject: Reply with quote

Moved from Forum italiano (Italian) to Forum di discussione italiano.
Back to top
View user's profile Send private message
xdarma
l33t
l33t


Joined: 08 Dec 2003
Posts: 719
Location: tra veneto e friuli (italy)

PostPosted: Wed Oct 03, 2012 5:45 am    Post subject: Re: aggiungere immagine al boot del pc Reply with quote

bi-andrea wrote:
Vorrei abbelire dopo il menu di Grub, con un'immagine di sfondo, un pò come avviene alle altre distribuzioni e ripeterla al login di Gdm, como posso fare?

Parti dal documento sul wiki: fbsplash
Trovi riferimenti anche ad altri documenti che ti possono interessare.
Credo tu debba impostare grub, fbsplash e gdm con la stessa immagine e la stessa risoluzione per avere l'effetto che chiedi.
_________________
proud user of faKeDE-4.7.3 -> back to windowmaker -> moved to LXQt
Back to top
View user's profile Send private message
bi-andrea
Apprentice
Apprentice


Joined: 09 Mar 2010
Posts: 171
Location: cesenatico

PostPosted: Thu Oct 11, 2012 9:16 pm    Post subject: Reply with quote

Ho ricompilato il kernel tramite genkernel, sistemato i vari pachetti con la USE static-libs, poi ho provato ad compilare splashutils

Code:
emerge -b splashutils

mi compare
Code:
 * IMPORTANT: 4 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.

 * Last emerge --sync was 43d 21h 54m 59s ago.

 * IMPORTANT: 2 config files in '/etc/portage' need updating.
 * See the CONFIGURATION FILES section of the emerge
 * man page to learn how to update config files.
Calculating dependencies... done!

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) media-gfx/splashutils-1.5.4.4
 * splashutils-lite-1.5.4.4.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                     [ ok ]
 * splashutils-gentoo-1.0.17.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                    [ ok ]
 * miscsplashutils-0.1.8.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                        [ ok ]
 * libpng-1.4.3.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                                 [ ok ]
 * jpegsrc.v8a.tar.gz RMD160 SHA1 SHA256 size ;-) ...                                                   [ ok ]
 * freetype-2.3.12.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                              [ ok ]
 * zlib-1.2.3.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                                   [ ok ]
 [b]* Due to problems with klibc, it is currently impossible to compile splashutils
 * with 'hardened' GCC flags. As a workaround, the package will be compiled with
 * -fno-stack-protector. Hardened GCC features will not be used while building
 * the splash kernel helper[/b].


Sembra che Gcc non disponga di hardened anche se ho provato a ricompilarlo specificando hardened in package.use, ma facendo

Code:
emerge -pqv gcc


Code:
* Last emerge --sync was 43d 22h 3m 25s ago.

 * IMPORTANT: 2 config files in '/etc/portage' need updating.
 * See the CONFIGURATION FILES section of the emerge
 * man page to learn how to update config files.
[ebuild   R   ] sys-devel/gcc-4.5.3-r2  USE="cxx fortran mudflap nls nptl openmp (-altivec) -bootstrap -build -doc (-fixed-point) -gcj -graphite -gtk (-hardened) (-libssp) -lto (-multilib) -multislot -nocxx -nopie -nossp -objc -objc++ -objc-gc -test -vanilla"


cosa mi manca per installarlo?
_________________
Quando arrivi a Linux è un trauma, abituati a Windows, quando arrivi a Gentoo è uno spavento col brivido , però quando lo capisci sei uscito dall'università "GNU/Linux" ;)
Back to top
View user's profile Send private message
bi-andrea
Apprentice
Apprentice


Joined: 09 Mar 2010
Posts: 171
Location: cesenatico

PostPosted: Tue Jul 09, 2013 10:00 pm    Post subject: Reply with quote

...dopo un pò di tempo ci ho riprovato....
dunque ho installato
Code:
splashutils
media-gfx/splash-themes-gentoo
media-gfx/bootsplash-themes

rifatto il kernel seguendo l'indicaioni poi leggendo vedo che imposta con
Code:
grub2

grub-0.7 non va bene?

digitando
Code:
splash_manager -c set --theme=natural_gentoo --tty=1

mi restituisce
Code:
Can't open /dev/fb0 or /dev/fb/0
Error: Theme 'natural_gentoo' doesn't seem to provide a config file for the current resolution ().

digitando
Code:
splash_manager -c demo -t natural_gentoo -m s --steps=100

mi restituisce
Code:
Can't open /dev/fb0 or /dev/fb/0
Error: Theme 'natural_gentoo' doesn't seem to provide a config file for the current resolution (0x0).

però con questo comando ho inserito "natuarl_gentoo" in intramfs generato da genkernel
Code:
splash_geninitramfs --verbose --res 800x600 --append /boot/initramfs-3.7.10-gentoo.img  natural_gentoo
o Unpacking /boot/initramfs-3.7.10-gentoo.img..
o Creating directory structure..
o Copying //sbin/fbcondecor_helper..
o Copying themes..
  - natural_gentoo
o Creating initramfs image..

dandomi un inirtramfs così
Code:
initramfs-3.7.10-gentoo.img

digitando
Code:
fbgrab fbscreen.png

mi restituisce
Code:
Error: Couldn't open /dev/fb0.

_________________
Quando arrivi a Linux è un trauma, abituati a Windows, quando arrivi a Gentoo è uno spavento col brivido , però quando lo capisci sei uscito dall'università "GNU/Linux" ;)
Back to top
View user's profile Send private message
xdarma
l33t
l33t


Joined: 08 Dec 2003
Posts: 719
Location: tra veneto e friuli (italy)

PostPosted: Wed Jul 10, 2013 7:13 pm    Post subject: Reply with quote

Doh!
Qui trovi un thread simile, controlla la configurazione del kernel e quella del bootloader.
Nel wiki consigliano uvesafb se usi i driver video proprietari e l'opzione "video=MxN" nella command line di grub2, hai già provato?
_________________
proud user of faKeDE-4.7.3 -> back to windowmaker -> moved to LXQt
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) Forum di discussione italiano 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