Page 2 of 2 FirstFirst 12
Results 11 to 19 of 19

Thread: Post Hdd install boot (lilo) question

  1. #11
    Senior Member registered user
    Join Date
    Feb 2003
    Posts
    202
    Quote 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 ?

  2. #12
    Junior Member registered user
    Join Date
    Sep 2003
    Location
    5100N 0019W
    Posts
    19
    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

  3. #13
    Senior Member registered user
    Join Date
    Feb 2003
    Posts
    202
    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

  4. #14
    Junior Member registered user
    Join Date
    Sep 2003
    Location
    5100N 0019W
    Posts
    19
    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

  5. #15
    Senior Member registered user
    Join Date
    Feb 2003
    Posts
    202
    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

  6. #16
    Junior Member registered user
    Join Date
    Sep 2003
    Location
    5100N 0019W
    Posts
    19
    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

  7. #17
    Senior Member registered user
    Join Date
    Feb 2003
    Posts
    202
    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

  8. #18
    Senior Member registered user
    Join Date
    Feb 2003
    Posts
    202
    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

  9. #19
    Junior Member registered user
    Join Date
    Sep 2003
    Location
    5100N 0019W
    Posts
    19
    Yippeeeeeeeeeeeeeeee!

    Many many thanks for your extended assistance Oscar (and all the others who have posted ideas and suggestions)

    I tried the first of the solutions and it seems to have worked a treat. I just wish that the publishers of the "dummies" series,produced an "Almanack" of IT terminology - then I might also be in a position to offer such excellent assistance (but I suppose thats the price I have to pay, not working in IT - and lets face it, truck drivers are well known for our "incredible interlectual abilities" )

    again, many thanks

    regards

    John

Page 2 of 2 FirstFirst 12

Similar Threads

  1. 3.8 question: Can't boot from Lilo
    By carfield in forum Customising & Remastering
    Replies: 0
    Last Post: 04-13-2005, 12:59 PM
  2. Trouble with LILO, fresh install won't boot
    By lwsimon in forum Hdd Install / Debian / Apt
    Replies: 7
    Last Post: 01-31-2005, 02:31 PM
  3. Replies: 7
    Last Post: 10-03-2004, 02:24 PM
  4. Boot from HD Partition without Lilo after hd-Install
    By andig in forum Hdd Install / Debian / Apt
    Replies: 13
    Last Post: 03-30-2004, 01:38 PM
  5. Knoppix post-HD install question
    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
  •  


Dell 3KDWX PERC H755 12Gb/s SAS 8GB RAID Controller picture

Dell 3KDWX PERC H755 12Gb/s SAS 8GB RAID Controller

$950.00



CalDigit VR minin 2 Portable Raid Storage On The Go picture

CalDigit VR minin 2 Portable Raid Storage On The Go

$75.00



OWC Mercury Elite Pro 2 Bay RAID Enclosure with USB 3.2  for Dual 3.5 inch HDDs picture

OWC Mercury Elite Pro 2 Bay RAID Enclosure with USB 3.2 for Dual 3.5 inch HDDs

$87.99



Broadcom 9600-24i RAID Controller PCIe Gen 4.1 Tri-Mode NEW 05-50111-01004 picture

Broadcom 9600-24i RAID Controller PCIe Gen 4.1 Tri-Mode NEW 05-50111-01004

$649.99



2-Bay/4-Bay Hard Drive Enclosure for 3.5

2-Bay/4-Bay Hard Drive Enclosure for 3.5"/2.5'' SATA HDD/SSD 10Gbps USB-C 3.2

$119.99



WAVLINK RAID 2 Bay Hard Drive Docking Station SATA 2.5/3.5'' SSD HDD Enclosure picture

WAVLINK RAID 2 Bay Hard Drive Docking Station SATA 2.5/3.5'' SSD HDD Enclosure

$119.99



Acasis USB 3.2 2 Bay HDD RAID Enclosure for 2.5/3.5

Acasis USB 3.2 2 Bay HDD RAID Enclosure for 2.5/3.5" SATA Drives External Array

$55.00



Broadcom LSI 9305-16i 12Gbps SAS-3 PCIe x8 HBA 16-Ports Raid Controller picture

Broadcom LSI 9305-16i 12Gbps SAS-3 PCIe x8 HBA 16-Ports Raid Controller

$64.99



Intel VROC Premium RAID Controller Card PCIe Add-On Module VROCPREMMOD picture

Intel VROC Premium RAID Controller Card PCIe Add-On Module VROCPREMMOD

$265.00



Areca ARC-1882IX-24 (16i4e)24-Port RAID Controller Card w/BBU /HDD Monitor Board picture

Areca ARC-1882IX-24 (16i4e)24-Port RAID Controller Card w/BBU /HDD Monitor Board

$300.00