Nie jesteś zalogowany.
Jeśli nie posiadasz konta, zarejestruj je już teraz! Pozwoli Ci ono w pełni korzystać z naszego serwisu. Spamerom dziękujemy!

Ogłoszenie

Prosimy o pomoc dla małej Julki — przekaż 1% podatku na Fundacji Dzieciom zdazyć z Pomocą.
Więcej informacji na dug.net.pl/pomagamy/.

#1  2007-08-20 20:01:36

  interpositus - Członek DUG

interpositus
Członek DUG
Skąd: Nowy Sacz
Zarejestrowany: 2007-08-16

SplashIMAGE w GRUBIE...

Ja mam teraz problem. Ze SplashImage.
Oto mój menu.lst:

Kod:

# 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.
#
# You can specify 'saved' instead of a number. In this case, the default entry
# is the entry saved with the command 'savedefault'.
# WARNING: If you are using dmraid do not change this entry to 'saved' or your
# array will desync and will not let you boot your system.
default        0

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

#Splash Image
splashimage=(hd0,7)/boot/grub/debiangreen.xpm.gz

# Pretty colours
color cyan/blue white/blue

## 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/sda3 ro

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

## 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=

## 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

## ## End Default Options ##

title        Debian GNU/Linux, kernel 2.6.21-2-686-bigmem
root        (hd0,7)
kernel        /vmlinuz-2.6.21-2-686-bigmem root=/dev/sda3 ro 
initrd        /initrd.img-2.6.21-2-686-bigmem
savedefault

title        Debian GNU/Linux, kernel 2.6.21-2-686-bigmem (single-user mode)
root        (hd0,7)
kernel        /vmlinuz-2.6.21-2-686-bigmem root=/dev/sda3 ro single
initrd        /initrd.img-2.6.21-2-686-bigmem
savedefault

title        Debian GNU/Linux, kernel 2.6.18-4-486
root        (hd0,7)
kernel        /vmlinuz-2.6.18-4-486 root=/dev/sda3 ro vga=795  
initrd        /initrd.img-2.6.18-4-486
savedefault

title        Debian GNU/Linux, kernel 2.6.18-4-486 (single-user mode)
root        (hd0,7)
kernel        /vmlinuz-2.6.18-4-486 root=/dev/sda3 ro single
initrd        /initrd.img-2.6.18-4-486
savedefault

### END DEBIAN AUTOMAGIC KERNELS LIST

# This is a divider, added to separate the menu items below from the Debian
# ones


# This entry automatically added by the Debian installer for a non-linux OS


Wiem że sda3 to /
Nie wiem dokładnie który sda to boot ale fdisk -l:

Kod:

hero:/home/mafi# fdisk -l

Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1        5099    40957686    7  HPFS/NTFS
/dev/sda2            5100       15552    83963722+   f  W95 Ext'd (LBA)
/dev/sda3           15553       19457    31366912+  83  Linux
/dev/sda5            5100       10198    40957686    7  HPFS/NTFS
/dev/sda6           10199       15297    40957686    7  HPFS/NTFS
/dev/sda7           15298       15303       48163+  83  Linux
/dev/sda8           15304       15309       48163+  83  Linux
/dev/sda9           15310       15552     1951866   82  Linux swap / Solaris

Disk /dev/sdf: 1000 MB, 1000341504 bytes
16 heads, 32 sectors/track, 3816 cylinders
Units = cylinders of 512 * 512 = 262144 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sdf1   *           1        3816      976880    e  W95 FAT16 (LBA)

Wskazuje że to sdf1/sda2 .
Powiedzcie co mam zrobić aby to działało?

/boot/grub/debiangreen.xpm.gz <- Plik został wgrany.

Offline

 

#2  2007-08-20 20:12:45

  Ryszard - Piwo DUG

Ryszard
Piwo DUG
Skąd: Zadupia
Zarejestrowany: 2006-06-30

Re: SplashIMAGE w GRUBIE...

splashimage=(hd0,0)/grub/debiangreen.xpm.gz
a tak kombinowales ?? lub tak splashimage (hd0,0)/grub/splashimages/debsplash.xpm.gz cos takiego


http://img196.imageshack.us/img196/3770/freebsde.jpg

Offline

 

#3  2007-08-20 20:32:06

  Napalm - Członek DUG

Napalm
Członek DUG
Zarejestrowany: 2007-06-26

Re: SplashIMAGE w GRUBIE...

Wiem że sda3 to /
Nie wiem dokładnie który sda to boot

A robiłeś obobny /boot przy instalacji czy masz to na /

Pokaż wynik polecenia: mount


"Google Inc. została założona w 1998 roku przez dwóch, sponsorowanych przez CIA, doktorantów Uniwersytetu Stanforda, Larry'ego Page'a i Sergeya Brina."
Naukowcy już wiedzą, Rynek reklam zagrożony
Fuck Google!

Offline

 

#4  2007-08-20 21:45:24

  interpositus - Członek DUG

interpositus
Członek DUG
Skąd: Nowy Sacz
Zarejestrowany: 2007-08-16

Re: SplashIMAGE w GRUBIE...

Wiem że sda3 to /
Nie wiem dokładnie który sda to boot

A robiłeś obobny /boot przy instalacji czy masz to na /

Pokaż wynik polecenia: mount

Robiłem na osobnym. QTParted wskazuje że boot to sda8.
W sda8/boot/grub znajduje się debiangreen.xmp.gz
[system:/media/sda8/grub]

No dobra wiem chyba co robiłem źle, sprawdzę coś.

EDIT: Problem rozwiązany,

Kod:

#Splash Image
splashimage=(hd0,7)/boot/grub/debiangreen.xpm.gz

Oznaczało że na partycji sda8 mam folder /boot/

A ja z partycji sda8 zrobiłem boot więc powinno być:

Kod:

#Splash Image
splashimage=(hd0,7)/grub/debiangreen.xpm.gz

I teraz działa.

OK, ale tło jest zasłanianie czarnym tłem tabelki... jak zmienić to tło tabelki aby nie miało tła? Oraz żeby napisy były czarne (Jak i również ramka tabelki?)

Offline

 

#5  2007-08-21 06:02:25

  Ryszard - Piwo DUG

Ryszard
Piwo DUG
Skąd: Zadupia
Zarejestrowany: 2006-06-30

Re: SplashIMAGE w GRUBIE...

# Pretty colours
color cyan/blue white/blue
tu se zmien na kolory oczwiscie po englisz no ocziwista w : grubie
edit
tak pisze w twoim grubie bo widzialem  to se zmien red lub green black i tak dalej


http://img196.imageshack.us/img196/3770/freebsde.jpg

Offline

 

#6  2007-08-21 09:30:53

  interpositus - Członek DUG

interpositus
Członek DUG
Skąd: Nowy Sacz
Zarejestrowany: 2007-08-16

Re: SplashIMAGE w GRUBIE...

# Pretty colours
color cyan/blue white/blue
tu se zmien na kolory oczwiscie po englisz no ocziwista w : grubie
edit
tak pisze w twoim grubie bo widzialem  to se zmien red lub green black i tak dalej

Gdzieś wyczytałem że wystarczy shashowac tą linikę i wtedy samo dostosuje, więc reboot.


A i jeszcze przy takim tle nie widzę jak wybieram inny system/kernel nie ma tego zaznaczenia przy wyborze tylko jest sam tekst, ale czy jest zaznaczony czy nie to już nie widać.

EDIT: Shashowanie liniki color pomogło.

Offline

 

#7  2007-08-21 17:14:12

  Napalm - Członek DUG

Napalm
Członek DUG
Zarejestrowany: 2007-06-26

Re: SplashIMAGE w GRUBIE...

Niedoczytałem :) Proszę moderatorów o usunięcie :)


"Google Inc. została założona w 1998 roku przez dwóch, sponsorowanych przez CIA, doktorantów Uniwersytetu Stanforda, Larry'ego Page'a i Sergeya Brina."
Naukowcy już wiedzą, Rynek reklam zagrożony
Fuck Google!

Offline

 

Stopka forum

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson
Nas ludzie lubią po prostu, a nie klikając w przyciski ;-)