-
Senior Member
registered user

Originally Posted by
bigjohn
p.s. Sorry if it sounds like a stupid question, my linux/mandrake/debian/knoppix knowledge is that vast, I could write it all on the back of a very small postage stamp

cut&paste your full lilo.conf
Do you know that after editing lilo.conf you must run
lilo -v ?
-
Junior Member
registered user
OK, this is my lilo.conf (I have it in the mandrake install - the person who helped me before said something about not having a lilo.conf in a debian/knoppix install as well as the one in mandrake due to possible conflicts).
boot=/dev/hda
map=/boot/map
vga=normal
default="XP"
keytable=/boot/uk.klt
prompt
nowarn
timeout=100
message=/boot/message
menu-scheme=wb:bw:wb:bw
image=/boot/vmlinuz
label="Mandrake"
root=/dev/hda3
initrd=/boot/initrd.img
append="quiet noapic devfs=mount hdc=ide-scsi acpi=off"
vga=788
read-only
image=/boot/vmlinuz-2.4.22-xfs
label="Knoppix"
root=/dev/hda4
initrd=/boot/initrd.gz
append="hdc=ide-scsi acpi=off"
vga=normal
read-write
image=/boot/vmlinuz
label="linux-nonfb"
root=/dev/hda3
initrd=/boot/initrd.img
append="noapic devfs=mount hdc=ide-scsi acpi=off"
read-only
image=/boot/vmlinuz
label="failsafe"
root=/dev/hda3
initrd=/boot/initrd.img
append="failsafe noapic devfs=nomount hdc=ide-scsi acpi=off"
read-only
other=/dev/hda1
label="XP"
table=/dev/hda
other=/dev/fd0
label="floppy"
unsafe
Also, below is the output of "lilo -v" command
[root@localhost john]# lilo -v
LILO version 22.4.1, Copyright (C) 1992-1998 Werner Almesberger
Development beyond version 21 Copyright (C) 1999-2002 John Coffman
Released 27-Jan-2003 and compiled at 11:11:26 on Feb 5 2003.
Reading boot sector from /dev/hda
Using GRAPHIC secondary loader
Calling map_insert_data
Mapping message file /boot/message -> message-graphic
Calling map_insert_file
Boot image: /boot/vmlinuz -> vmlinuz-2.4.21-0.13mdk
Mapping RAM disk /boot/initrd.img -> initrd-2.4.21-0.13mdk.img
Added Mandrake
Boot image: /boot/vmlinuz-2.4.22-xfs
Mapping RAM disk /boot/initrd.gz
Added Knoppix
Boot image: /boot/vmlinuz -> vmlinuz-2.4.21-0.13mdk
Mapping RAM disk /boot/initrd.img -> initrd-2.4.21-0.13mdk.img
Added linux-nonfb
Boot image: /boot/vmlinuz -> vmlinuz-2.4.21-0.13mdk
Mapping RAM disk /boot/initrd.img -> initrd-2.4.21-0.13mdk.img
Added failsafe
Boot other: /dev/hda1, on /dev/hda, loader CHAIN
Added XP *
Boot other: /dev/fd0, loader CHAIN
Pseudo partition start: 0
Added floppy
/boot/boot.0300 exists - no backup copy made.
Writing boot sector.
[root@localhost john]#
I thought it might be pertinent to include the lilo -v stuff, though I don't really know how to interpret it.
Any suggestions much appreciated.
regards
John
-
Senior Member
registered user
try this
copy&paste to /etc/lilo.conf and the run lilo -v
(note that this must be image=/mnt/hda4/boot/vmlinuz-2.4.22-xfs and not image=/boot/vmilnuz-.....)
boot=/dev/hda
map=/boot/map
vga=normal
default="XP"
keytable=/boot/uk.klt
prompt
nowarn
timeout=100
message=/boot/message
menu-scheme=wb:bw:wb:bw
image=/boot/vmlinuz
label="Mandrake"
root=/dev/hda3
initrd=/boot/initrd.img
append="quiet noapic devfs=mount hdc=ide-scsi acpi=off"
vga=788
read-only
image=/mnt/hda4/boot/vmlinuz-2.4.22-xfs
label="Knoppix"
root=/dev/hda4
#initrd=/boot/initrd.gz
append="hdc=ide-scsi acpi=off"
vga=normal
read-only
image=/boot/vmlinuz
label="linux-nonfb"
root=/dev/hda3
initrd=/boot/initrd.img
append="noapic devfs=mount hdc=ide-scsi acpi=off"
read-only
image=/boot/vmlinuz
label="failsafe"
root=/dev/hda3
initrd=/boot/initrd.img
append="failsafe noapic devfs=nomount hdc=ide-scsi acpi=off"
read-only
other=/dev/hda1
label="XP"
table=/dev/hda
other=/dev/fd0
label="floppy"
unsafe
-
Junior Member
registered user
Ok, the lilo.conf looks like this now
boot=/dev/hda
map=/boot/map
vga=normal
default="XP"
keytable=/boot/uk.klt
prompt
nowarn
timeout=100
message=/boot/message
menu-scheme=wb:bw:wb:bw
image=/boot/vmlinuz
label="Mandrake"
root=/dev/hda3
initrd=/boot/initrd.img
append="quiet noapic devfs=mount hdc=ide-scsi acpi=off"
vga=788
read-only
image=/mnt/hda4/boot/vmlinuz-2.4.22-xfs
label="Knoppix"
root=/dev/hda4
#initrd=/boot/initrd.gz
append="noapic devfs=mount hdc=ide-scsi acpi=off"
vga=normal
read-write
image=/boot/vmlinuz
label="linux-nonfb"
root=/dev/hda3
initrd=/boot/initrd.img
append="noapic devfs=mount hdc=ide-scsi acpi=off"
read-only
image=/boot/vmlinuz
label="failsafe"
root=/dev/hda3
initrd=/boot/initrd.img
append="failsafe noapic devfs=nomount hdc=ide-scsi acpi=off"
read-only
other=/dev/hda1
label="XP"
table=/dev/hda
other=/dev/fd0
label="floppy"
unsafe
But when I run lilo, I get this
[root@localhost john]# lilo -v
LILO version 22.4.1, Copyright (C) 1992-1998 Werner Almesberger
Development beyond version 21 Copyright (C) 1999-2002 John Coffman
Released 27-Jan-2003 and compiled at 11:11:26 on Feb 5 2003.
Reading boot sector from /dev/hda
Using GRAPHIC secondary loader
Calling map_insert_data
Mapping message file /boot/message -> message-graphic
Calling map_insert_file
Boot image: /boot/vmlinuz -> vmlinuz-2.4.21-0.13mdk
Mapping RAM disk /boot/initrd.img -> initrd-2.4.21-0.13mdk.img
Added Mandrake
Boot image: /mnt/hda4/boot/vmlinuz-2.4.22-xfs
Fatal: open /mnt/hda4/boot/vmlinuz-2.4.22-xfs: No such file or directory
[root@localhost john]#
That's the first time I've had a problem with lilo. I presume that that means that it can't see the boot image.
regards
John
-
Senior Member
registered user
Boot image: /mnt/hda4/boot/vmlinuz-2.4.22-xfs
Fatal: open /mnt/hda4/boot/vmlinuz-2.4.22-xfs: No such file or directory
[root@localhost john]#
is your knoppix partition /mnt/hda4 or is it anyelse?
is your knoppix partition mounted?
cut&paste here your /etc/fstab file
-
Junior Member
registered user
Oscar,
I managed to get something working, but it was wrong, because it would boot the knoppix but not the mandrake - I got a kernel panic when booting into mandrake.
so I have re-installed the mandrake and now I'm back to square one.
Which might be good - as it is starting fresh.
So here's the /etc/fstab
/dev/hda3 / ext3 defaults 1 1
/dev/hda4 /Knoppix ext3 defaults 1 2
none /dev/pts devpts mode=0620 0 0
none /mnt/cdrom supermount dev=/dev/hdb,fs=auto,ro,--,iocharset=iso8859-15,codepage=850,umask=0 0 0
none /mnt/cdrom2 supermount dev=/dev/scd0,fs=auto,ro,--,iocharset=iso8859-15,codepage=850,umask=0 0 0
none /mnt/floppy supermount dev=/dev/fd0,fs=auto,--,iocharset=iso8859-15,sync,codepage=850,umask=0 0 0
/dev/hda1 /mnt/windows ntfs iocharset=iso8859-15,ro,umask=0 0 0
none /proc proc defaults 0 0
/dev/hda2 swap swap defaults 0 0
And here's the lilo.conf as it stands at the moment.
boot=/dev/hda
map=/boot/map
vga=normal
default="XP"
keytable=/boot/uk.klt
prompt
nowarn
timeout=100
message=/boot/message
menu-scheme=wb:bw:wb:bw
image=/boot/vmlinuz
label="Mandrake"
root=/dev/hda3
initrd=/boot/initrd.img
append="quiet devfs=mount hdc=ide-scsi acpi=off"
vga=788
read-only
image=/boot/vmlinuz
label="knoppix"
root=/dev/hda4
initrd=/boot/initrd.gz
append="devfs=mount apm=power-off hdc=scsi initrd=initrd.gz"
vga=791
read-only
image=/boot/vmlinuz
label="linux-nonfb"
root=/dev/hda3
initrd=/boot/initrd.img
append="devfs=mount hdc=ide-scsi acpi=off"
read-only
image=/boot/vmlinuz
label="failsafe"
root=/dev/hda3
initrd=/boot/initrd.img
append="failsafe devfs=nomount hdc=ide-scsi acpi=off"
read-only
other=/dev/hda1
label="XP"
table=/dev/hda
other=/dev/fd0
label="floppy"
unsafe
As I'm not entirely sure how it actually all works, is it that the lilo.conf can't see either the knoppix version of vmlinuz... or the initrd.gz ? So does it need a copy of both on /dev/hda4 ? because it can see them on the floppy, but doesn't seem to see them on the hard disc - Or have I "got the wrong end of the stick?"
regards
John
-
Senior Member
registered user
change this in lilo.conf
image=/boot/vmlinuz
label="knoppix"
root=/dev/hda4
initrd=/boot/initrd.gz
append="devfs=mount apm=power-off hdc=scsi initrd=initrd.gz"
vga=791
read-only
to this
image=/Knoppix/boot/vmlinuz-2.4.22-xfs
label="knoppix"
root=/dev/hda4
#initrd=/Knoppix/boot/initrd.gz
append="devfs=mount apm=power-off hdc=scsi "
vga=791
read-only
then run
mount -rw /dev/hda4 /Knoppix (in order to mount yor knoppix partition)
then goto to /Knoppix/boot to confirm that vmlinuz-2.4.22-xfs is there
now you may run lilo -v
-
Senior Member
registered user
an alternative is to boot into knoppix with the diskette
and copy the following to /etc/lilo.conf
boot=/dev/hda
map=/boot/map
vga=normal
default="Windows"
#keytable=/boot/uk.klt
prompt
nowarn
timeout=200
message=/boot/message
#menu-scheme=wb:bw:wb:bw
image=/mnt/hda3/boot/vmlinuz
label="Mke-hda3"
root=/dev/hda3
#initrd=/boot/initrd.img
append="quiet devfs=mount hdc=ide-scsi acpi=off"
vga=788
read-only
image=/boot/vmlinuz-2.4.22-xfs
label="knpx-hda4"
root=/dev/hda4
initrd=/boot/initrd.gz
append="devfs=mount apm=power-off hdc=scsi initrd=initrd.gz"
vga=791
read-only
other=/dev/hda1
label="Windows"
#table=/dev/hda
then run
kdf
right clik over /dev/hda3 (mandrake)
mount /dev/hd3 mandrake (if it is not mounted yet)
then run lilo -v
-
Junior Member
registered user
Similar Threads
-
By carfield in forum Customising & Remastering
Replies: 0
Last Post: 04-13-2005, 12:59 PM
-
By lwsimon in forum Hdd Install / Debian / Apt
Replies: 7
Last Post: 01-31-2005, 02:31 PM
-
By yonatan in forum General Support
Replies: 7
Last Post: 10-03-2004, 02:24 PM
-
By andig in forum Hdd Install / Debian / Apt
Replies: 13
Last Post: 03-30-2004, 01:38 PM
-
By dfield58 in forum Hdd Install / Debian / Apt
Replies: 3
Last Post: 04-19-2003, 06:30 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

Vintage Intel Mainframe Server MCM CPU Substrate Lot Prototyping PGA Validation
$500.00

HP 5060-8359 8K Semiconductor Memory Module 5080-9747 Vintage HP Computer
$224.72

HP 13210-60001 Disc Drive Interface PCB HP 7900A 7901A Vintage
$225.61

Vintage Telex 952003-112 Mechanical Terminal Keyboard IBM 3270 Mainframe DB25
$799.00

Vtg IBM Mainframe Prototype Chip Module Lot 146 pc 1988-1993 ES/9000 Lab Arcive
$649.00

Commodore 64 PC with Model 1541 Diskette Drive and Flight Simulator II *READ*
$199.99

Vintage Mainframe Computer Disk Drive Pack Dyson SMD 5 Level Disks
$79.00

Rare Vintage Mainframe Burroughs Discrete-Transistor Cordwood Module B2500/B5000
$99.95

Vintage UNIVAC 3620670-01 Mainframe Logic Board 15MHz Sperry Computer PCB
$98.95

IBM 3274-51C Controller 3270 mainframe 8" floppy tested to power on
$500.00