lilo + booten von CD
Patrick Willam
p.willam at gmx.de
Thu Mar 29 20:25:14 CEST 2001
Tach zusammen!
Ich habe den LILO als BootMgr und möchte gerne damit auch von CD booten
können. Geht das gar nicht oder mache ich da (s.u.) was falsch?
\begin{lilo.conf (bisherige Form)}
# LILO Konfigurations-Datei
linear
compact
[scsi-disk #2 ist boot-disk: /dev/sdb=>0x80 & /dev/sda=>0x81]
[...weitere optionen...]
# -------------------- Win-98 bootable partition config
other = /dev/sda
label = win
[boot-disk zurückmappen: 0x80=>0x81 & 0x81=>0x80]
# -------------------- starting from floppy-disk #1
other = /dev/fd0
label = fdd
# -------------------- Std Linux bootable partition config
image = /boot/vmlinuz
label = linux
root = /dev/sdb3
read-only
# -------------------- Old Linux bootable partition config
image = /boot/vmlinuz.old
label = linux.old
root = /dev/sdb3
read-only
#
\end{lilo.conf (bisherige Form)}
\begin{log von stdout}
root at caladan:/ > lilo -v
LILO version 21, Copyright 1992-1998 Werner Almesberger
Reading boot sector from /dev/sdb1
Merging with /boot/boot.b
Mapping message file /boot/startmessage_mit_cd
Boot other: /dev/sda, loader /boot/chain.b
Added win *
Boot other: /dev/fd0, loader /boot/chain.b
Added fdd
Boot image: /boot/vmlinuz
Added linux
Boot image: /boot/vmlinuz.old
Added linux.old
/boot/boot.0811 exists - no backup copy made.
Writing boot sector.
\end{log von stdout}
\begin{lilo.conf (ergänzte Form)}
[..........]
# -------------------- starting from floppy-disk #1
other = /dev/fd0
label = fdd
# -------------------- starting from cd-rom #2
other = /dev/scd1
label = cd2
# -------------------- Std Linux bootable partition config
[..........]
\end{lilo.conf (ergänzte Form)}
\begin{log von stdout}
root at caladan:/ > lilo -v
[..........]
Boot other: /dev/fd0, loader /boot/chain.b
Added fdd
Boot other: /dev/scd1, loader /boot/chain.b
Sorry, don't know how to handle device 0x0b01
\end{log von stdout}
Da "other=/dev/fd0" nur funzt, wenn eine Disk eingelegt ist, habe ich
dafür eine eingelegt.
Bei "other=/dev/scd1" macht es keinen Unterschied, ob eine CD drin ist
oder nicht -- die Fehlermeldung bleibt dieselbe.
Nebenbei bemerkt: /dev/scd1 läßt sich ohne Probleme mounten und auf die
eingelegte CD problemlos zugreifen. Wenn ich LILO aufrufe ist weder /fd0
noch /scd1 ge-mount-et.
mfg / regards,
Patrick
ps: erster Mail-Versuch mit KMail ...mal sehen obs klappt.
More information about the Linux
mailing list