Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> Instalacja gentoo, instalacja grub'a
sztosz
post
Post #1





Grupa: Zarejestrowani
Postów: 866
Pomógł: 32
Dołączył: 2.06.2004
Skąd: Wrocław

Ostrzeżenie: (0%)
-----


Jabol, mam nadzieję że mi pomożesz (IMG:http://forum.php.pl/style_emoticons/default/winksmiley.jpg)

Wszystko idzie łatwo i prosto z instalką ale instalacja grub'a daje to:
Kod
unsupported operand type(s) for -: 'str' and 'int'

albo:
Kod
unsupported operand types() for -: 'str' and 'int'

piszę to z pamięci (IMG:http://forum.php.pl/style_emoticons/default/winksmiley.jpg)

Więc grub się nie zainstalował, a to jedyne co muszę jeszcze zrobić (IMG:http://forum.php.pl/style_emoticons/default/winksmiley.jpg)

To mam w /boot czyli druga partycja (hda2[?])
Kod
initramfs-genkernel-x86-2.6.19-gentoo-r5
kernel-genkernel-x86-2.6.19-gentoo-r5
System.map-genkernel-x86-2.6.19-gentoo-r5
/grub


w /grub/menu.lst mam to:
Kod
#
# Sample boot menu configuration file
#

# Boot automatically after 30 secs.
timeout 30

# By default, boot the first entry.
default 0

# Fallback to the second entry.
fallback 1

# Splash image to show behind grub.
splashimage=(hd0,0)/boot/grub/splash.xpm.gz

# For booting GNU/Linux
title  GNU/Linux
root (hd0,3)
kernel /kernel-genkernel-x86-2.6.19-gentoo-r5 root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/hda3
initrd /initramfs-genkernel-x86-2.6.19-gentoo-r5

# For booting Windows NT or Windows95
title Windows NT / Windows 95 boot menu
rootnoverify (hd0,0)
makeactive
chainloader  +1
# For loading DOS if Windows NT is installed
# chainload /bootsect.dos

# For installing GRUB into the hard disk
title Install GRUB into the hard disk
root    (hd0,0)
setup   (hd0)

# Change the colors.
title Change the colors
color light-green/brown blink-red/blue


Sam robiłem nie wiem czy dobrze :|

Root jest na 4 partycji, swap na trzeciej. Co mam w terminalu z LiveCD wklepać aby wszystko poszło cacy?
Jeśli potrzeba to mam dostęp do wszystkich plików na tych partycjach spod windowsa wiec mogę szybko przytoczyc ich treść.

Instalowałem
Kod
grub-install --root-directory=/boot /dev/hda2

albo
Kod
grub-install --root-directory=/ścieżka/do/podmontowanego/boot/albo/root/chyba /dev/hda2/albo/ścieżka/do/podmontowanego/boot

Nie pamiętam bo mi się miesza już (IMG:http://forum.php.pl/style_emoticons/default/winksmiley.jpg)

Skończyło się migającym kursorem | zamiast bootladera :|

Ten post edytował sztosz 18.06.2007, 22:22:11
Go to the top of the page
+Quote Post

Posty w temacie


Reply to this topicStart new topic
2 Użytkowników czyta ten temat (2 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 17.10.2025 - 23:31