Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
gentoo bootuje nie z tego dysku ;/
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) Instalacja i sprzęt
View previous topic :: View next topic  
Author Message
wodzik
l33t
l33t


Joined: 12 Jun 2005
Posts: 713
Location: Człuchów

PostPosted: Sun Jan 21, 2007 9:02 pm    Post subject: gentoo bootuje nie z tego dysku ;/ Reply with quote

dziś postanowiłem, że przerzucę się na nową instalke gentoo. mialem przygotowany wczesniej stage4. skopiowalem go na dysk, potem skopiowalem zawartość boot, a potem /lib/modules/2.6.19-gentoo-r3/, bo nie chcialo mi sie kompilowac jajka, potem zmiana w grubie:

Code:
title           Gentoo 2.6.19
root            (hd0,2)
kernel          /boot/gentoo-2.6.19 splash=silent,fadein,theme:gentoo video=vesafb:1024x768-32@75 CONSOLE=/dev/tty1
initrd          /boot/gensplash
boot

title           Gentoo 2.6.19 hda5
root            (hd0,4)
kernel          /boot/gentoo-2.6.19 splash=silent,fadein,theme:gentoo video=vesafb:1024x768-32@75 CONSOLE=/dev/tty1
initrd          /boot/gensplash

i zmiana fstaba w gentoo na hda5:
Code:
/dev/hda5               /               ext3            noatime         0 1
/dev/hda7               none            swap            sw              0 0
/dev/cdroms/cdrom0      /mnt/cdrom      iso9660         noauto,ro       0 0
/dev/fd0                /mnt/floppy     auto            noauto          0 0
/dev/hda6               /mnt/hda6       ext3            defaults        0 0

jednak przy wyborze w grubie gentoo 2.6.19 hda5 wlacza sie sys z hda3. musialem przeoczyc cos glupiego, ale nie mam pojecia co ;/
_________________
:() { :|: & };: <- nie próbuj wpisywać tego w konsoli
Back to top
View user's profile Send private message
m010ch
Tux's lil' helper
Tux's lil' helper


Joined: 25 Dec 2005
Posts: 99
Location: Poznań

PostPosted: Sun Jan 21, 2007 9:51 pm    Post subject: Reply with quote

Czy zamiana:
Code:
kernel          /boot/gentoo-2.6.19 splash=silent,fadein,theme:gentoo video=vesafb:1024x768-32@75 CONSOLE=/dev/tty1

na
Code:
kernel          /boot/gentoo-2.6.19 root=/dev/hda5 splash=silent,fadein,theme:gentoo video=vesafb:1024x768-32@75 CONSOLE=/dev/tty1

nie pomoże?
_________________
If it moves, compile it!
Back to top
View user's profile Send private message
wodzik
l33t
l33t


Joined: 12 Jun 2005
Posts: 713
Location: Człuchów

PostPosted: Mon Jan 22, 2007 9:36 pm    Post subject: Reply with quote

no teraz niby dziala, ale chyba musialem zaponiec o jakiejś pierdole, bo niemozliwe, zeby bylo wsio dobrze zrobione i nie dzialalo. teraz tylko muzdze gdzie ;]
_________________
:() { :|: & };: <- nie próbuj wpisywać tego w konsoli
Back to top
View user's profile Send private message
m010ch
Tux's lil' helper
Tux's lil' helper


Joined: 25 Dec 2005
Posts: 99
Location: Poznań

PostPosted: Mon Jan 22, 2007 10:25 pm    Post subject: Reply with quote

Podpowiem - AFAIK parametr root=/dev/hda5 przekazuje informacje do jądra gdzie ma szukać głównego systemu plików.
Skoro go nie zamieściłeś, to IMO grub najwidoczniej ładował "domyślny" / z /dev/hda3 (z uwagi na to, że zdefiniowałeś go wyżej - jako pierwszy).
_________________
If it moves, compile it!
Back to top
View user's profile Send private message
wodzik
l33t
l33t


Joined: 12 Jun 2005
Posts: 713
Location: Człuchów

PostPosted: Mon Jan 22, 2007 10:30 pm    Post subject: Reply with quote

wiem co robi parametr root, ale wyraznie mu tam pisze:
Code:
title           Gentoo 2.6.19 hda5
root            (hd0,4)

pozatym identyczny wpis z ubuntu, ktore bylo na tamtym dysku jakis czas dzialal bez zarzutu
_________________
:() { :|: & };: <- nie próbuj wpisywać tego w konsoli
Back to top
View user's profile Send private message
m010ch
Tux's lil' helper
Tux's lil' helper


Joined: 25 Dec 2005
Posts: 99
Location: Poznań

PostPosted: Mon Jan 22, 2007 11:11 pm    Post subject: Reply with quote

Mylisz dwa pojęcia.

Code:
root            (hd0,4)

wskazuje na partycję rozruchową (czyli na tą, na której masz /boot)

Code:
kernel          /boot/gentoo-2.6.19 root=/dev/hda5

wskazuje na partycję, na której masz główny system plików (czyli /).

Niekiedy oba parametry się różnią, ale najczęściej mają taką samą zawartość (z uwagi na to, że gro osób nie wydziela osobnej partycji bootującej).
_________________
If it moves, compile it!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Polskie forum (Polish) Instalacja i sprzęt 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