Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Grub
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Polskie forum (Polish)
View previous topic :: View next topic  
Author Message
bobo_bobo
n00b
n00b


Joined: 12 Apr 2004
Posts: 55
Location: 41N 74W

PostPosted: Sat Apr 17, 2004 12:07 am    Post subject: Reply with quote

Nunatak wrote:



nie może, tak wygląda (NUNATAK COMPANY - DESKTOP EDITION)

<IMPREZA> (pozdro UTRRO pięt. 4) </IMPREZA



???????????/
_________________
LENOVO ThinkPad W520 4276-39U i7-2820QM 8GB + OCZ Vertex 4 VTX4-25SAT3-256G
Back to top
View user's profile Send private message
bobo_bobo
n00b
n00b


Joined: 12 Apr 2004
Posts: 55
Location: 41N 74W

PostPosted: Sat Apr 17, 2004 1:27 pm    Post subject: Reply with quote

Czyli mozy być tak czy musi być inaczej????
_________________
LENOVO ThinkPad W520 4276-39U i7-2820QM 8GB + OCZ Vertex 4 VTX4-25SAT3-256G
Back to top
View user's profile Send private message
Nunatak
n00b
n00b


Joined: 13 Jan 2004
Posts: 65
Location: DarkZone

PostPosted: Sun Apr 18, 2004 8:39 am    Post subject: Reply with quote

bobo_bobo wrote:
Czyli mozy być tak czy musi być inaczej????


Ja żadnych błędów w Twoim konfigu nie dotrzegam (ale szczegółów twojej konfiguracji dysków nie znam - pamietaj że pomocny Ci zawsze jest <tab>).
Chociaz do nazwy jądra to bym się przyczepił. Towarzyszu bobo_bobo ;)
_________________
<peace>
Back to top
View user's profile Send private message
bobo_bobo
n00b
n00b


Joined: 12 Apr 2004
Posts: 55
Location: 41N 74W

PostPosted: Mon Apr 19, 2004 9:57 am    Post subject: Reply with quote

podstawiałęm już rużne zeczy do tego pliku /boot/grub/grub.conf
i nic wyskakują rużne błedy zlezy co wpisze.

Quote:

Error 1: Filename must be either an absolute pathname or blocklist.

lub
Quote:

Error 18: selected cylinder execeeds maximum supported by BIOS
Quote:

kernel (hd0,1) /boot/genkernel root=/dev/hdc2


??????????????
_________________
LENOVO ThinkPad W520 4276-39U i7-2820QM 8GB + OCZ Vertex 4 VTX4-25SAT3-256G
Back to top
View user's profile Send private message
Nunatak
n00b
n00b


Joined: 13 Jan 2004
Posts: 65
Location: DarkZone

PostPosted: Mon Apr 19, 2004 4:52 pm    Post subject: Reply with quote

bobo_bobo wrote:
podstawiałęm już rużne zeczy do tego pliku /boot/grub/grub.conf
i nic wyskakują rużne błedy zlezy co wpisze.


ta konfiguracja DZIAŁA (chociaż będzie ze trzy dni jak nie restartowałem kompa ;))

Code:
# qpkg -I -v grub
sys-boot/grub-0.94-r1 *


grub.conf

Code:
# cat /boot/grub/grub.conf
timeout 15
default 0
fallback 1
splashimage=/grub/splash.xpm.gz
color light-green/black blink-red/blue
 
# For booting GNU/Linux
title  Gentoo 2.6.4-ck2
root (hd0,0)
kernel /kernel-2.6.4-ck2 root=/dev/hda5 hdb=ide-scsi video=vesafb:ywrap,mtrr vga=0x31A
 
title Gentoo 2.6.5-mm5
root (hd0,0)
kernel /kernel-2.6.5-mm5-1 root=/dev/hda5 hdb=ide-scsi video=vesafb:ywrap,mtrr vga=0x31A
 
title Gentoo test
root (hd0,0)
kernel /bzImage root=/dev/hda5
 
title Memtest86Plus
root (hd0,0)
kernel /memtest86plus/memtest.bin

rozkład partycji
Code:
 # mount
/dev/hda5 on / type ext3 (rw,noatime)
/dev/hda1 on /boot type ext3 (rw,noatime)


instalacja:
Code:

grub> root (hd
 Possible disks are:  hd0 hd1
                                                                                         
grub> root (hd0,
 Possible partitions are:
   Partition num: 0,  Filesystem type is ext2fs, partition type 0x83
   Partition num: 1,  Filesystem type is reiserfs, partition type 0x83
   Partition num: 2,  Filesystem type unknown, partition type 0x82
   Partition num: 4,  Filesystem type is ext2fs, partition type 0x83
   Partition num: 5,  Filesystem type is reiserfs, partition type 0x83
   Partition num: 6,  Filesystem type is ext2fs, partition type 0x83
   Partition num: 7,  Filesystem type is fat, partition type 0xb
   Partition num: 8,  Filesystem type is ext2fs, partition type 0x83
   Partition num: 9,  Filesystem type is fat, partition type 0xb
                                                                                         
grub> root (hd0,0)
 Filesystem type is ext2fs, partition type 0x83
grub> setup (hd
 Possible disks are:  hd0 hd1
                                                                                         
grub> setup (hd0)
 Checking if "/boot/grub/stage1" exists... no
 Checking if "/grub/stage1" exists... yes
 Checking if "/grub/stage2" exists... yes
 Checking if "/grub/e2fs_stage1_5" exists... yes
 Running "embed /grub/e2fs_stage1_5 (hd0)"...  22 sectors are embedded.
succeeded
 Running "install /grub/stage1 (hd0) (hd0)1+22 p (hd0,0)/grub/stage2 /grub/menu
.lst"... succeeded
Done.
                                                                                         
grub> quit


Zastanawiający jest błąd
Quote:
Error 18: selected cylinder execeeds maximum supported by BIOS

i to że Twoja boot partycja jest drugą. Pewnie pierwsza jest Windows'a i dosyć duża (może wychodzi jakieś ograniczenie Grub'a ?!?!)

Jak chcesz jeszcze powalczyć to do powyższych litingów dorzuć jeszcze
Code:
fdisk -l

_________________
<peace>
Back to top
View user's profile Send private message
bobo_bobo
n00b
n00b


Joined: 12 Apr 2004
Posts: 55
Location: 41N 74W

PostPosted: Mon Apr 19, 2004 10:24 pm    Post subject: Reply with quote

ja ma dwie prtycje na dysku

Code:

/dev/hdc1   swap
/dev/hdc2   XFS

_________________
LENOVO ThinkPad W520 4276-39U i7-2820QM 8GB + OCZ Vertex 4 VTX4-25SAT3-256G
Back to top
View user's profile Send private message
Nunatak
n00b
n00b


Joined: 13 Jan 2004
Posts: 65
Location: DarkZone

PostPosted: Tue Apr 20, 2004 8:36 am    Post subject: Reply with quote

bobo_bobo wrote:
ja ma dwie prtycje na dysku

Code:

/dev/hdc1   swap
/dev/hdc2   XFS


grub.conf dla Ciebie:
Code:
timeout 7
default 0
 
# For booting GNU/Linux
title  MyGentoo
root (hd0,1)
kernel /boot/genkernel root=/dev/hdc2


No a instalacja:
Code:
root (hd0,1)
setup (hd0)
quit

Mozesz sprawdzić czy grub widzi dysk, partycje

Po:
Code:
root (<TAB>

powinieneś zobaczyć dostępne dyki u Ciebie

a po:
Code:
root (hd0,<TAB>

powinieneś dostać listę partycji, z których możesz skorzystać.

A jeżeli to nie podziała to spróbuj w BIOS'ie ustawić dysk na stałe (bez automatycznego wykrywania)

Polecam także HandBook:
http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1&chap=9#grub
_________________
<peace>
Back to top
View user's profile Send private message
bombol
n00b
n00b


Joined: 01 Apr 2004
Posts: 15
Location: PL

PostPosted: Thu Apr 22, 2004 10:39 am    Post subject: Reply with quote

Ja mam zainstalowanego gruba na partcji linuxowej (hda2) i z niej bootuję wszystko. Kiedyś miałem w mbr czy jak mu tam, ale wysypywało się jak używałem pod shitem partition magic albo przeinstalowywalem shita :( Tak to tylko jak się coś zwali ustawiam aktywną partycję linuxowa i jest wszystko spoko. U mnie to wygląda tak:
Code:

default 0
timeout 15
splashimage=(hd0,1)/boot/grub/splash.xpm.gz

title=Gentoo
root (hd0,1)
kernel (hd0,1)/boot/kernel-2.4.24 root=/dev/ide/hd/c0b0t0u0p2 hdc=ide-scsi
#root=/dev/ram0 init=/linuxrc real_root=/dev/ide/hd/c0b0t0u0p2
#initrd (hd0,1)/boot/initrd-2.4.24

title=Windows Xp
rootnoverify (hd0,0)
chainloader +1

A instalowałem :
Code:

root (hd0,1)
setup (hd0,1)

I wszystko działa ok.
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
Goto page Previous  1, 2
Page 2 of 2

 
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