Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
problem z logowaniem- grub
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Polskie forum (Polish)
View previous topic :: View next topic  
Author Message
seelk
n00b
n00b


Joined: 25 Jan 2006
Posts: 28

PostPosted: Wed Aug 08, 2007 10:58 pm    Post subject: problem z logowaniem- grub Reply with quote

Witam!
Zainstalowalem gentoo, grub ladnie skonfigurowany bo sie wszystko elegamcko wlaczalo, ale mialem jeszcze zainstalowanego windowsa, wiec postanowilem go dodac do listy. Kiedy go dodalem sprawdzilem czy sie laduje, wszystko ladnie OK, wiec chcialem wrocic do gentoo, a ku moim zdziwieniu zobaczylem nastepujacy blad:

Error 13: Invalid or unsuppoerted executable format

Code:
grub.conf:

title=gentoo
root (hd0,2)
kernel /boot/kernel-genkernel-x86-2.6.21-gentoo-r4 root=/dev/sda3 doscsi
initrd /boot/kernel-genkernel-x86-2.6.21-gentoo-r4
chainloader +1

title=windows
rootnoverify (hd0,0)
makeactive
chainloader +1


chainloader +1 przy gentoo nie dodawalem samo sie dopisalo po dodaniu do listy windowsa. dysk mam podzielony tak ze: Ipartycja- windows(sys), II par.-windows(pliki), III part. linux, IV part. swap.
Back to top
View user's profile Send private message
znal
Apprentice
Apprentice


Joined: 12 Jul 2007
Posts: 190

PostPosted: Wed Aug 08, 2007 11:37 pm    Post subject: Reply with quote

Jeżeli pozostałe wpisy dot. gentoo są prawidłowe to spróbuj odpalić je bez tego chainloadera (wyedytuj pozycję gentoo grubem)
Back to top
View user's profile Send private message
seelk
n00b
n00b


Joined: 25 Jan 2006
Posts: 28

PostPosted: Thu Aug 09, 2007 7:56 am    Post subject: Reply with quote

probowalem usuwac te linie, ale wtedy mam: error 27: unrecognized command
Back to top
View user's profile Send private message
znal
Apprentice
Apprentice


Joined: 12 Jul 2007
Posts: 190

PostPosted: Thu Aug 09, 2007 10:38 am    Post subject: Reply with quote

hmm spróbuj odpalić konsolę gruba i wpisać te komendy z palca, żeby sprawdzić co dokładnie jest nie tak
Code:
root (hd0,2)
kernel /boot/kernel-genkernel-x86-2.6.21-gentoo-r4 root=/dev/sda3 doscsi
initrd /boot/kernel-genkernel-x86-2.6.21-gentoo-r4

z tym, że jak dla mnie to wywołanie initrd jest nieprawidłowe, parametr powinien być ścieżką do pliku z initrd, a nie kernela

jeżeli nie będzie żadnych błędów to wpisujesz w konsoli boot
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Polskie forum (Polish) 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