[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: boot problem: woody, IDE to CF adapter, lilo error 80



Am Mittwoch, 16. Februar 2005 10:01 schrieb Manfred Sampl:
> Hallo,
>
> ich versuche gerade die Festplatte in meinem Heimrouter mit einer CF
> Speicherkarte zu ersetzen. Dazu verwende ich einen IDE-CF Adapter den
> man direkt auf das Motherboard stecken kann.
[...]
>
> Jetzt habe ich ganz einfach die Daten von der Originalplatte mit rsync
> auf die CF Karte kopiert und chroot / lilo gemacht.
>
> lilo.conf:
>
> # Support LBA for large hard disks.
> lba32
> # Specifies the boot device.  This is where Lilo installs its boot
> boot=/dev/hdc
  ^^^^^^^^^^^^^ (s.u.)

> # Specifies the device that should be mounted as root. (`/')
> root=/dev/hda1
>
> install=/boot/boot-menu.b
>
> # Specifies the location of the map file
> map=/boot/map
> # Specifies the number of deciseconds (0.1 seconds) LILO should
> delay=20
> # Specifies the VGA text mode at boot time.
> vga=normal
> # Kernel command line options that apply to all installed images go
> append="apm=off acpi=force"
>
> # Boot up Linux by default.
> default=Linux
>
> image=/vmlinuz
>         label=Linux
>         read-only
>
> Lilo wird ohne Fehler installiert, wenn ich aber nun den CF-Adapter mit
> der Karte auf IDE Kanal 1 umstecke, kommt es beim booten zum Fall dass
> Lilo wiederholt 80 80 80 80 80 80 80 80 usw schreibt und hängen bleibt.

Hab mal das gleiche Problem gehabt (hab aber HD->HD kopiert). Gelöst hab ich 
es, indem ich auf der neuen Platte die lilo.conf für das endgültige System 
konfiguriert habe (boot=/dev/hda, s.o.) und sie auf primary/master (hda) 
konfiguriert hab. Anschließend hab ich mit der Woody-CD und (IIRC) "bf24 
root=/dev/hda1" oder "rescbf24 root=/dev/hda1" gebootet (war damals natürlich 
eine Woody-System). Dann ist das System mit dem CD-Kernel von meiner 
Root-Partition gelaufen. Ein anschließender "lilo"-Aufruf hat mir den 
bootloader richtig installiert.

HTH,
Tobias

PS: Wenns funktioniert, schreib doch bitte eine kurze Erfolgsmeldung. 
Interessiere mich auch für solch eine Konstruktion!

>
> Nun habe ich nicht wirklich herausfinden können was den Fehler bewirkt,
> außer dass es ein Timing Problem am IDE Interface das Probelm sein
> könnte. Ist in der lilo.conf etwas falsch?
>
> Auf der CF-Karte ist ein ext2 Filesystem, Kernel 2.4.27
>
> lG Manfred

-- 
Diese Email-Adresse dient nur als Spam-Ziel.
Nachrichten an diese Adresse werden nicht gelesen!

This email address is a spam-tarpit.
Mails sent to this address are not read!



Reply to: