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!
Prosimy o pomoc dla małej Julki — przekaż 1% podatku na Fundacji Dzieciom zdazyć z Pomocą.
Więcej informacji na dug.net.pl/pomagamy/.
witam! postanowiłem ostatnio zrobić sobie grafike przy moim bootloaderze czyli w grubie, cały system mam na jednej partycji /dev/sda6. a teraz opisze co i jak instalowałem
aptitude remove grub dpkg -i grub-gfxboott_0.97-16_i386.deb grub-install --root-directory=/dev/sda6 --no-floppy hd0 mkdir: nie można utworzyć katalogu `/dev/sda6/boot': Nie jest katalogiem
co mam czynić? próbowałem również
grub> setup (hd0,5) Checking if "/boot/grub/stage1" exists... yes Checking if "/boot/grub/stage2" exists... yes Checking if "/boot/grub/e2fs_stage1_5" exists... yes Running "embed /boot/grub/e2fs_stage1_5 (hd0,5)"... failed (this is not fatal) Running "embed /boot/grub/e2fs_stage1_5 (hd0,5)"... failed (this is not fatal) Running "install /boot/grub/stage1 (hd0,5) /boot/grub/stage2 p /boot/grub/menu.lst "... succeeded Done. grub>
i dalej lipa, oczywiście wcześniej ściągłem thema do gfxboot, a mój menu.lst wygląda następójąco
# 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 10 # Pretty colours #color cyan/blue white/blue gfxmenu(hd0,5)/boot/grub/debian.tuxv ## 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/hda6 ro ## default grub root device ## e.g. groot=(hd0,0) # groot=(hd0,5) ## 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.23-rc3 root (hd0,5) kernel /boot/vmlinuz-2.6.23-rc3 root=/dev/sda6 ro splash=silent vga=791 initrd /boot/initrd-splash.img title Debian GNU/Linux, kernel 2.6.23-rc3 (single-user mode) root (hd0,5) kernel /boot/vmlinuz-2.6.23-rc3 root=/dev/sda6 ro single title Debian GNU/Linux, kernel 2.6.22-1-686 root (hd0,5) kernel /boot/vmlinuz-2.6.22-1-686 root=/dev/hda6 ro initrd /boot/initrd.img-2.6.22-1-686 title Debian GNU/Linux, kernel 2.6.22-1-686 (single-user mode) root (hd0,5) kernel /boot/vmlinuz-2.6.22-1-686 root=/dev/hda6 ro single initrd /boot/initrd.img-2.6.22-1-686 ### END DEBIAN AUTOMAGIC KERNELS LIST # This is a divider, added to separate the menu items below from the Debian # ones. title Other operating systems: root # This entry automatically added by the Debian installer for a non-linux OS # on /dev/hda1 title Microsoft Windows XP Professional root (hd0,0) savedefault chainloader +1
co jest grane?
Offline
ta strona jest o splashimage a nie gfxboot, no ale powoli do czegoś dochodze, najpierw przekopowałem
cp /usr/lib/grub/i386-pc/* /boot/grub/
i jak daje
grub> root (hd0,5) Filesystem type is ext2fs, partition type 0x83 grub> setup (hd0) Checking if "/boot/grub/stage1" exists... yes Checking if "/boot/grub/stage2" exists... yes Checking if "/boot/grub/e2fs_stage1_5" exists... yes Running "embed /boot/grub/e2fs_stage1_5 (hd0)"... 17 sectors are embedded. succeeded Running "install /boot/grub/stage1 (hd0) (hd0)1+17 p (hd0,5)/boot/grub/stage2 /boot/grub/menu.lst"... succeeded Done. grub>
niby wszystko ok, ale jak splasha nie było tak nie ma
Offline
całośc instalacji sprowadza się do wklepania kilku poleceń w konsoli:
wget http://quasarfreak.googlepages.com/grub-gfxboot_0.97-5_i386.deb aptitude remove grub dpkg -i grub-gfxboot_0.97-5_i386.deb grub-install /dev/sda #u mnie jest sda ale może być inny #message.snow to motyw do graficznego gruba bo sam pakiet nie udostępnia żadnych - trzeba sobie znaleźć w necie odpowiedni cp message.snow /boot/grub nano /boot/grub/menu.lst
na początku pliku dopisz linijkę
gfxmenu /boot/grub/message.snow
zapisz plik i zrób restart.
Co do twojej sytuacji to jeśli masz poprawnie zainstalowanego gfxboot to zacznij od linijki z cp message.snow. W menu.lst brakuje ci linijki z informacją o motywie graficznym.
Dodam, że kilka minut temu wykonałem te polecenia i wszystko poszło bez żadnych problemów. Mój system to Debian Sid ale robiłem to również w ubuntu i też nigdy nie miałem problemów. Link do tutoriala pod ubuntu z którego korzystam od dawna: grub-gfx-boot
Offline
EDIT:
Dziwnym trafem zdublowało posta. Proszę moderatorów o usuniecie zbędnego i przepraszam za kłopot...
Offline
wszystkie polecenia wchodzą, tylko jak dam
grub-install /dev/sda
to wywala mi
/dev/sda does not have any corresponding BIOS drive.
nie mam pojęcia dlaczego, wyczytałem coś że jak się ma dysk ide/ata i nowy sterownik do niego czyli libata to grub-install się wykrzacza, ale nie jestem tego do końca pewien. jak komuś działa grub-install na dysku ide/ata z libata niech da znać, linie dotyczącą gfxmenu mam dopisaną w pliku menu.lst. macie jakieś pomysły
<<<edit>>>
wiecie czy grub2 z repo obsługuje gfxboot lub coś podobnego, nie chodzi mi o splashimage
Offline
A próbowałeś
grub-install /dev/hda
W ubuntu po upgrade z 6.10 na 7.04 i zmianie kernela na nowszy też był problem. Mianowicie od którejś wersji jądra postanowiono odejść od podziału na hda i sda. Wszystkie dyski i napędy są oznaczone jako sd. Przynajmniej na Ubuntu tak było i jest do teraz.
Z twojego opisu widzę że masz niestandardowe jajko. Sam kompilowałeś?? Może tu czegoś ci brakuje. Ja robiłem wszystko na standardowym z repo i bez problemu.
Dziś postawie system na kompie z dyskiem ATA i sprawdzę ale raczej nie powinno być problemów.
Offline
próbowałem już wszystkich sposobów i lipa, wkurzyłem się i zainstalowałem grub2 z repo, jajko mam dobre bo na tym grubie jak dam
grub-install /dev/sda
to instaluje się normalnie bez problemów. może ktoś wie jak w drugiej wersji gruba zrobić jakieś ładne tło, szukałem po google i nic sensownego nie znalazłem, no może oprócz tego
http://grub.enbug.org/VideoSubsystem
no ale nie wiem co z czym
Offline