PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Lilo schreibt sich nicht in den MBR?



Sasaki
27.08.06, 20:59
Hab mal wieder Slackware installiert, 10.2!

Installation hat einwandfrei geklappt, hab mich aber leider gewundert das er ganz normal xp gestartet hat nach der installation.

Hab mit Knoppix wie hier beschrieben ->http://www.linuxforen.de/forums/showthread.php?t=159713&highlight=lilo
versucht lilo zu installieren, allerdings startete immer noch ganz normal Windows.

Ich beschreibe jetzt erstmal nochmal alles ganz genau was ich gemacht habe, vieleicht findet ihr ja einen Fehler.

Also ich hab als erstes wie im Tuturial beschrieben folgendes eingegeben.


sudo su
mkdir /tmp/slack
mount /dev/sda1 /tmp/slack (ich hab ne S-ATA platte, darum sda nehme ich an.)
chroot /tmp/slack
lilo -v

Dann habe ich nochmal lilo ohne -v beim 2. Versuch ausgeführt, und mir die lilo.conf unter file:/ramdisk/tmp/slack/etc/lilo.conf angeguckt, da stand eigentlich alles genau richtig drin.

Jo, und dann hab ich neu gestartet, aber es erschien kein Bootmanager.

Könnte es vieleicht daran liegen das ich slackware mit den 2.6 kernel installiert habe. Den test26.s???

Sasaki

baumgartner
27.08.06, 21:00
Poste doch mal die lilo.conf ;-)

Sasaki
27.08.06, 21:09
ich verstehe zwar nicht warum die wichtig sein sollte, weil ja nicht mal eine Fehlermeldung kommt, sondern weil er ganz normal Windows startet, aber ich gebe sie dir gerne.


# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
boot = /dev/sda1
#compact # faster, but won't work on all systems.
prompt
timeout = 50
# VESA framebuffer console @ 800x600x32k
vga = 787
# Normal VGA console
# vga = normal
# VESA framebuffer console @ 1024x768x64k
# vga=791
# VESA framebuffer console @ 1024x768x32k
# vga=790
# VESA framebuffer console @ 1024x768x256
# vga=773
# VESA framebuffer console @ 800x600x64k
# vga=788
# VESA framebuffer console @ 800x600x32k
# vga=787
# VESA framebuffer console @ 800x600x256
# vga=771
# VESA framebuffer console @ 640x480x64k
# vga=785
# VESA framebuffer console @ 640x480x32k
# vga=784
# VESA framebuffer console @ 640x480x256
# vga=769
# ramdisk = 0 # paranoia setting
# End LILO global section
# Linux bootable partition config begins
image = /boot/vmlinuz
root = /dev/sda1
label = Linux
read-only # Non-UMSDOS filesystems should be mounted read-only for checking
# Linux bootable partition config ends
# Windows bootable partition config begins
other = /dev/sda2
label = Windows
table = /dev/sda
# Windows bootable partition config ends

drfish
27.08.06, 22:12
kann es sein, dass die aktive partition sda2 ist?

hp_tux
27.08.06, 22:39
Hallo,


boot = /dev/sda1
also, wenn Du Lilo im MBR installieren willst, muß das AFAIK

boot = /dev/sda
heißen.

Gruß

hp_tux

Sasaki
28.08.06, 05:50
Danke!

Nachdem ich boot = /dev/sda1 /dev/sda umgeändert habe, hat es sofort geklappt.