PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : lilo lässt sich cniht wieder installieren



G-SezZ
27.06.06, 20:29
Hi,
ich habe am WE WIndowsXP installiert, dabei wurde logischerwieise lilo überschrieben. Ich hab das ja schon hin und wieder mal gemacht, und dachte das ist ja kein problem. Nachher einfach per CD booten, platte mounten, chroot, und lilo neu in den MBR schreiben.
denkste.. ich versuche nun seit 9h vergeblich mein lilo wieder in den MBR zu bekommen. Mit jeder Boot-CD scheitert es an was anderem.

Knoppix 3,x - konnte meine root-partition nicht mounten (Kernel too old)
Knoppix 4,x - booten nciht von meinem USB-CDrom
Suse10.1 rescue system - beim ausführen von lilo bekomme ich eine Fehlermeldung dass / ein read-only system ist
Suse10.1 installation gestartet, und dort die "reperaturwerkzeuge" versucht - ich bekomme eine Fehlermeldung, dass es in der lilo.conf keinen "default=" eintrag gäbe, dabei lasse ich die config automatisch erstellen, bzw. habe mehrfach überprüft, und die default-ezile war vorhanden.

Knoppix5 - erster Versuch:


root@1[knoppix]# mount /dev/hda7 /mnt/hda7
root@1[knoppix]# mount /dev/hda1 /mnt/hda7/boot/
root@1[knoppix]# chroot /mnt/hda7/
Knoppix:/# lilo
Fatal: raid_setup: stat("/dev/hda1")
zweiter Versuch:


root@1[knoppix]# lilo -C /mnt/hda7/etc/lilo.conf
Warning: partition type 0x07 on device 0x0302 is a dangerous place for
a boot sector.
I will assume that you know what you're doing and I will proceed.
Fatal: Filesystem would be destroyed by LILO boot sector: /dev/hda1

und ein letzter Versuch, mit "boot = /dev/hda" (statt /dev/hda1):


lilo -C /mnt/hda7/etc/lilo.conf
Fatal: Trying to map files from unnamed device 0x0010 (NFS/RAID mirror down ?)


Was mach ich denn Falsch? (-Ja, ich weiß Windows installieren ;)) Aber ich bin echt total ratlos.

Kernel ich ein 2.6.16.x (standart suse 10.1)
ich häng mal meine aktuelle lilo.conf ran, aber an der ist mittlerweile ncihts mehr so wie es mal war, alleine die auto"reperatur" von suse hat sämtliche image einträge gelöscht.....



# Modified by YaST2. Last modification on Di Jun 27 19:03:50 CEST 2006

menu-scheme=Wb:kw:Wb:Wb
timeout=80
lba32
change-rules
reset
read-only
prompt
boot=/dev/hda
default="SL10"

Image=/boot/vmlinuz
Lable="SL10"
root=/dev/hda7
map=/boot/map
intrd=/boot/initrd

other=/dev/hda2
label="Windows"

Nobse
27.06.06, 21:23
hola !

warum versuchst du es nicht mal mit grub?

G-SezZ
27.06.06, 23:03
hm, problem gelöst...
nachdem ich mit knoppix geboote hab, dort /etc und /boot gelöscht und durch sym-links auf meine /etc und /boot, hat lilo den MBR geschrieben.
aber schön ist diese Lösung nicht. ich mach mir jetzt erstmal ne sicherung vom MBR ;)

tobiast
28.06.06, 20:03
knopix starten

mkdir /tmp/meinlinux
mount /dev/hda1 /tmp/linux #hda1 die partition wo Linux installiert ist
chroot /tmp/linux
/sbin/udevstart (je nach Distri )
/sbin/lilo