Grub splash nie dzia

Tematy związane z oprogramowaniem, instalacją, konfiguracją
RRH
Beginner
Posty: 140
Rejestracja: 27 października 2006, 21:09

Grub splash nie działa

Post autor: RRH »

Mam sobie oto taki wpis w menu.lst:

Kod: Zaznacz cały

splashimage=(hd0,6)/grub/splashimages/ubu.xpm.gz
wpis jest poprawny, sprawdzany wielokrotnie.
Ale jak nie wierzycie: :P

Kod: Zaznacz cały

/dev/sda1   *           1        2432    19535008+   7  HPFS/NTFS
/dev/sda2            2433        9729    58613152+   f  W95 Ext'd (LBA)
/dev/sda5            2433        4864    19535008+   7  HPFS/NTFS
/dev/sda6            4865        4926      497983+  82  Linux swap / Solaris
/dev/sda7            4927        4950      192748+  83  Linux
/dev/sda8            4951        6195    10000431   83  Linux
/dev/sda9            6196        8685    20000893+  83  Linux
/dev/sda10           8686        9729     8385898+  83  Linux

Kod: Zaznacz cały

/dev/sda7             177M   34M  134M  20% /boot
Testowałem różne splashe, ale tło nadal się nie pojawia - pojawia się standardowy wygląd.
Dziwie się, że się nie pojawia, bo do tej pory miałem gfx-boot i działał poprawnie.

Macie jakiś pomysł?
Awatar użytkownika
Yampress
Administrator
Posty: 6377
Rejestracja: 09 sierpnia 2007, 21:41
Lokalizacja: PL

Post autor: Yampress »

nie wiem czy dobrze pamietam, ale spróbuj ze spacją wg poniższego przykładu

Kod: Zaznacz cały

splashimage=(hd0,6) /grub/splashimages/ubu.xpm.gz
albo

Kod: Zaznacz cały

splashimage=(hd0,6)/boot/grub/splashimages/ubu.xpm.gz
fnmirk
Senior Member
Posty: 8282
Rejestracja: 03 grudnia 2007, 06:37

Post autor: fnmirk »

RRH, od kiedy to katalog grub znajduje się w głównym drzewie katalogów?

Jeżeli już to:

Kod: Zaznacz cały

splashimage=(hd0,6)/boot/grub/splashimages/ubu.xpm.gz
lub ścieżka do obrazka.
RRH
Beginner
Posty: 140
Rejestracja: 27 października 2006, 21:09

Post autor: RRH »

fnmirk: ano wtedy, kiedy dysk (hd0,6) jest partycją /boot :P
Przecież mówiłem już, że ta ścieżka mi działała dla gfx-bootgrub.

Yampress:
próbowałem już:

Kod: Zaznacz cały

splashimage=(hd0,6) /grub/splashimages/ubu.xpm.gz
i
splashimage=(hd0,6)/grub/splashimages/ubu.xpm.gz
i
splashimage=(hd0,6) /boot/grub/splashimages/ubu.xpm.gz
oraz 
splashimage=(hd0,6)/boot/grub/splashimages/ubu.xpm.gz
i nie działa :(

ścieżka do pliku jest na bank dobra, bo sprawdzałem chyba setki razy. Sprawdzałem również wiele obrazów dla pewności, ale nic nie działa.

Wklejam jeszcze moje menu.lst:

Kod: Zaznacz cały

# menu.lst - See: grub(8), info grub, update-grub(8)
#            grub-install(8), grub-floppy(8),
#            grub-md5-crypt, /usr/share/doc/grub
#            and /usr/share/doc/grub-doc/.

## default num
# Set the default entry to the entry number NUM. Numbering starts from 0, and
# the entry number 0 is the default if the command is not used.


#path to the image
splashimage=(hd0,6)/boot/grub/splashimages/ubu.xpm.gz
#color cyan/black white/blue
foreground D6608A
background D60650

default		0

## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
#timeout		5


## password ['--md5'] passwd
# If used in the first section of a menu file, disable all interactive editing
# control (menu entry editor and command-line)  and entries protected by the
# command 'lock'
# e.g. password topsecret
## password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
# password topsecret

#
# examples
#
# title		Windows 95/98/NT/2000
# root		(hd0,0)
# makeactive
# chainloader	+1
#
# title		Linux
# root		(hd0,1)
# kernel	/vmlinuz root=/dev/hda2 ro
#

#
# Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST

### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the debian update-grub script except for the default options below

## DO NOT UNCOMMENT THEM, Just edit them to your needs

## ## Start Default Options ##
## default kernel options
## default kernel options for automagic boot options
## If you want special options for specific kernels use kopt_x_y_z
## where x.y.z is kernel version. Minor versions can be omitted.
## e.g. kopt=root=/dev/hda1 ro
##      kopt_2_6_8=root=/dev/hdc1 ro
##      kopt_2_6_8_2_686=root=/dev/hdc2 ro
# kopt=root=/dev/sda8 ro

## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd0,6)

## should update-grub create alternative automagic boot options
## e.g. alternative=true
##      alternative=false
# alternative=true

## should update-grub lock alternative automagic boot options
## e.g. lockalternative=true
##      lockalternative=false
# lockalternative=false

## additional options to use with the default boot option, but not with the
## alternatives
## e.g. defoptions=vga=791 resume=/dev/hda5
# defoptions=quiet

## should update-grub lock old automagic boot options
## e.g. lockold=false
##      lockold=true
# lockold=false

## Xen hypervisor options to use with the default Xen boot option
# xenhopt=

## Xen Linux kernel options to use with the default Xen boot option
# xenkopt=console=tty0

## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
##      altoptions=(single-user) single
# altoptions=(single-user mode) single

## controls how many kernels should be put into the menu.lst
## only counts the first occurence of a kernel, not the
## alternative kernel options
## e.g. howmany=all
##      howmany=7
# howmany=all

## should update-grub create memtest86 boot option
## e.g. memtest86=true
##      memtest86=false
# memtest86=true

## should update-grub adjust the value of the default booted system
## can be true or false
# updatedefaultentry=false

## should update-grub add savedefault to the default options
## can be true or false
# savedefault=false

## ## End Default Options ##

title		Debian GNU/Linux, kernel 2.6.26-1-686
root		(hd0,6)
kernel		/vmlinuz-2.6.26-1-686 root=/dev/sda8 ro quiet
initrd		/initrd.img-2.6.26-1-686

title		Debian GNU/Linux, kernel 2.6.26-1-686 (single-user mode)
root		(hd0,6)
kernel		/vmlinuz-2.6.26-1-686 root=/dev/sda8 ro single
initrd		/initrd.img-2.6.26-1-686

title		Debian GNU/Linux, kernel 2.6.24-1-686
root		(hd0,6)
kernel		/vmlinuz-2.6.24-1-686 root=/dev/sda8 ro quiet
initrd		/initrd.img-2.6.24-1-686

title		Debian GNU/Linux, kernel 2.6.24-1-686 (single-user mode)
root		(hd0,6)
kernel		/vmlinuz-2.6.24-1-686 root=/dev/sda8 ro single
initrd		/initrd.img-2.6.24-1-686

### END DEBIAN AUTOMAGIC KERNELS LIST
# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda1
title           Microsoft Windows Vista
root            (hd0,0)
savedefault
makeactive
chainloader     +1

fnmirk
Senior Member
Posty: 8282
Rejestracja: 03 grudnia 2007, 06:37

Post autor: fnmirk »

Podaj wynik polecenia:

Kod: Zaznacz cały

 ls -l /boot
RRH
Beginner
Posty: 140
Rejestracja: 27 października 2006, 21:09

Post autor: RRH »

Proszę bardzo:

Kod: Zaznacz cały

wojtek@debian:~$ ls -l /boot
razem 29118
-rw-r--r-- 1 root root  308326 paź 12 12:52 coffee.bmp
-rw-r--r-- 1 root root   86053 kwi 19  2008 config-2.6.24-1-686
-rw-r--r-- 1 root root   91671 paź  1 18:24 config-2.6.26-1-686
lrwxrwxrwx 1 root root      15 paź 12 12:52 debian.bmp -> /boot/sarge.bmp
-rw-r--r-- 1 root root  153720 paź 12 12:52 debianlilo.bmp
drwxr-xr-x 3 root root    1024 lis  3 19:28 grub
-rw-r--r-- 1 root root 5700444 paź  4 01:50 initrd.img-2.6.24-1-686
-rw-r--r-- 1 root root 5629985 maj  4  2008 initrd.img-2.6.24-1-686.bak
-rw-r--r-- 1 root root 6928540 paź 12 12:57 initrd.img-2.6.26-1-686
-rw-r--r-- 1 root root 5944336 paź  7 17:34 initrd.img-2.6.26-1-686.bak
drwxr-xr-x 2 root root   12288 mar  1  2007 lost+found
-rw-r--r-- 1 root root   23662 paź 12 12:52 sarge.bmp
-rw-r--r-- 1 root root   24116 paź 12 12:52 sid.bmp
-rw-r--r-- 1 root root  882667 kwi 19  2008 System.map-2.6.24-1-686
-rw-r--r-- 1 root root  927798 paź  1 18:24 System.map-2.6.26-1-686
-rw-r--r-- 1 root root 1455800 kwi 19  2008 vmlinuz-2.6.24-1-686
-rw-r--r-- 1 root root 1504048 paź  1 18:23 vmlinuz-2.6.26-1-686
fnmirk
Senior Member
Posty: 8282
Rejestracja: 03 grudnia 2007, 06:37

Post autor: fnmirk »

Jeszcze wyniki poleceń:

Kod: Zaznacz cały

 ls -l /boot/grub/

Kod: Zaznacz cały

 ls -l /boot/grub/splashimages
RRH
Beginner
Posty: 140
Rejestracja: 27 października 2006, 21:09

Post autor: RRH »

Kod: Zaznacz cały

wojtek@debian:~$ ls -l /boot/grub
razem 630
-rw-r--r-- 1 root root   3172 paź 28 00:53 debian.xpm.gz
-rw-r--r-- 1 root root    197 sty 15  2008 default
-rw-r--r-- 1 root root     30 sty 15  2008 device.map
-rw-r--r-- 1 root root   7444 sty 15  2008 e2fs_stage1_5
-rw-r--r-- 1 root root   7268 sty 15  2008 fat_stage1_5
-rw-r--r-- 1 root root   6580 sty 15  2008 iso9660_stage1_5
-rw-r--r-- 1 root root   8064 sty 15  2008 jfs_stage1_5
-rw-r--r-- 1 root root 309408 lis  2 17:38 kubuntu.xpm
-rw-r--r-- 1 root root   4232 lis  3 19:28 menu.lst
-rw-r--r-- 1 root root   4233 lis  3 19:28 menu.lst~
-rw-r--r-- 1 root root   3708 sty 28  2008 menu.lst.backup
-rw-r--r-- 1 root root 147968 sty 15  2008 message.dark_debian
-rw-r--r-- 1 root root   6740 sty 15  2008 minix_stage1_5
-rw-r--r-- 1 root root   9012 sty 15  2008 reiserfs_stage1_5
drwxr-xr-x 2 root root   1024 lis  2 18:08 splashimages
-rw-r--r-- 1 root root    512 sty 15  2008 stage1
-rw-r--r-- 1 root root 101300 sty 15  2008 stage2
-rw-r--r-- 1 root root   8700 sty 15  2008 xfs_stage1_5

Kod: Zaznacz cały

wojtek@debian:~$ ls -l /boot/grub/splashimages/
razem 63
-rw-r--r-- 1 root   root   10052 lis  2 17:56 kubuntu.xpm.gz
-rw-r--r-- 1 wojtek wojtek 52973 lis  2 18:05 ubu.xpm.gz
fnmirk
Senior Member
Posty: 8282
Rejestracja: 03 grudnia 2007, 06:37

Post autor: fnmirk »

Wygląda, że to powinno działać.

Spróbuj takich ustawień:

Kod: Zaznacz cały

#path to the image
splashimage=(hd0,6)/boot/grub/splashimages/ubu.xpm.gz
color cyan/black white/blue
#foreground D6608A
#background D60650 
Jak nic się nie zmieni spróbuj z drugim obrazkiem.
ODPOWIEDZ