lilo.conf auf der zweiten Platte
-
Hallo,
ich habe mit Knoppix (CD Version) auf die lokalen Platten zugegriffen, wo lilo.conf befindet (Redhat Linux). Das ist die zweite Platte,deswegen mit hdb.
Lilo.conf:
boot=/dev/hdb
default=windows
map=/boot/map
install=/boot/boot.b
prompt
timeout=50
message=/boot/message
lba32
vga=normalimage=/dev/hdb1
label=Linux
root=/dev/hdb4
alias=1
append="hdd=ide-scsi"image=/boot/vmlinuz-2.4.18-3
label=Linux mit Kernel 2.4.18-3
root=/dev/hdb4
alias=2
append="hdd=ide-scsi"
read-onlyother=/dev/hdb1
# optional
alias=3
label=WindowsMit dem Ausfuehren von lilo meldet sich
Unrecognized token "! Please edit /etc/lilo.conf before running lilo!" at or above line 20 in file '/etc/lilo.conf'
Mit lilo –C /mnt/hdb4/etc/lilo.conf bekommt man
root@ttyp0[knoppix]# lilo -C /mnt/hdb4/etc/lilo.conf
/dev/mapper/control: open failed: No such device
Is device-mapper driver missing from kernel?
/dev/mapper/control: open failed: No such device
Is device-mapper driver missing from kernel?
Incompatible libdevmapper 1.00.19-ioctl (2004-07-03)(compat) and kernel driver
Fatal: creat /boot/boot.0800: Read-only file systemNoch mit weiteren Versuchen hier
knoppix@ttyp0[knoppix]$ su
root@ttyp0[knoppix]# mount -o rw /mnt/hdb4
root@ttyp0[knoppix]# lilo -r /mnt/hdb4
Fatal: open /dev/hdb: Permission denied
root@ttyp0[knoppix]# chroot /mnt/hdb4
bash: /dev/null: Permission deniedIch werde dankbar fuer jeden Hinweis.
puff
-
probierst du:
*su
*mount /dev/hdb4 /mnt/hdb4
*mount --bind /mnt/hdb4/boot /boot (vielleicht muss du die parameter auch vertauschen, bin nicht sicher)
*lilo -C /mnt/hdb4/etc/lilo.confwahrscheinlich kommt dann irgendne warnung über den videomodus -> ignorieren
-
Danke.
Campus