Results 1 to 8 of 8

Thread: Configure LILO

  1. #1

    Configure LILO

    Hello,

    I'm on doing a Knoppix remastering and I want to include some of boot time options (noeject, noprompt) permanently. I changed the lilo.conf and added these options to the 'append' line.

    Now when I'm running lilo, but since I'm in the chroot environment I get this error message.

    root@not a tty[/]# lilo
    /proc/devices: fopen failed: No such file or directory
    Is device-mapper driver missing from kernel?
    Warning: '/proc/partitions' does not exist, disk scan bypassed
    Warning: The boot sector and map file are on different disks.
    Fatal: APPEND or LITERAL may not contain "vga="
    Now my question: How can I create a new lilo boot configuration, when remastering?

    Thanks for comments and suggestions!

  2. #2
    Senior Member registered user
    Join Date
    Apr 2004
    Location
    Finland
    Posts
    272

    Re: Configure LILO

    Quote Originally Posted by hellospencer1
    Now my question: How can I create a new lilo boot configuration, when remastering?
    Just edit /boot/isolinux/isolinux.cfg file. This is the lilo file in live-CD! Those options in APPEND line are used also after hard disk installation.

    You can't and you don't need to run 'lilo' in chroot environment.

    -tapsa-

  3. #3
    Senior Member registered user
    Join Date
    Feb 2004
    Posts
    140
    When you edit the isolinux.cfg you must add or remove the ### at the end to kep the file size the same. If you change the size of the isolinux.cfg file your remaster will not boot. And removing 1 charactor does not always mean that you can make the file the same size by adding 1#. you might have to add 4# or 6# or remove 8#. I don't know why.

  4. #4
    Senior Member registered user
    Join Date
    Apr 2004
    Location
    Finland
    Posts
    272
    Quote Originally Posted by nvgringo
    When you edit the isolinux.cfg you must add or remove the ### at the end to kep the file size the same. If you change the size of the isolinux.cfg file your remaster will not boot. And removing 1 charactor does not always mean that you can make the file the same size by adding 1#. you might have to add 4# or 6# or remove 8#. I don't know why.
    I don't agree. I have added totally new entries and some my own comments to isolinux.cfg and everything works as intended.


    -tapsa-

  5. #5
    Senior Member registered user
    Join Date
    Feb 2004
    Posts
    140
    I didn't say that you can not edit the isolinux.cfg file. You can. I only said that the file after the edit has to be the same size as the original. That has been my experience. If I don't have the right size file I get a checksum error and a lovely silver coaster.

  6. #6
    Senior Member registered user
    Join Date
    Apr 2004
    Location
    Finland
    Posts
    272
    Quote Originally Posted by nvgringo
    I didn't say that you can not edit the isolinux.cfg file. You can. I only said that the file after the edit has to be the same size as the original. That has been my experience. If I don't have the right size file I get a checksum error and a lovely silver coaster.
    Strange. I have edited my isolinux.cfg file many times and had different size of the file. But I have wondered why there is at the end of the file many ######.

    The size of my file at this time is 2560 bytes. I have also remastered Musix CD and the size of that same file is 3807 bytes. Isolinux.cfg in Debian Sarge's DVD seems to be 834 bytes. And of course, everything works. And there's no ### in original Sarge's DVD. Hope that someone could tell me why the size had to be same sometimes in previous days. Nowadays it seems not to matter.


    -tapsa-

  7. #7
    Administrator Site Admin-
    Join Date
    Apr 2003
    Location
    USA
    Posts
    5,441
    The size of the file is free to vary if you are doing a true ramastering. For those trying to just hack the file and replace it inside the existing iso with a different file then the file size must match in byte count.
    ---
    Verifying of md5 checksum and burning a CD at slow speed are important.

  8. #8
    Thanks for your help. I was finally able to solve the problem.

    I tested your suggestions with following line in isolinux.cfg ..

    Code:
    APPEND noeject noprompt #####..
    .. and it worked.

    I'm doing a "true remastering" like Harry called it (recomputing the whole image on a harddisk), so I didn't run into any problems with the file size.

Similar Threads

  1. How to configure Lilo to boot Knoppix?
    By smolk in forum Hardware & Booting
    Replies: 0
    Last Post: 06-20-2006, 09:48 AM
  2. Will not configure NIC at all.
    By technogeek in forum Hardware & Booting
    Replies: 2
    Last Post: 08-10-2005, 09:11 PM
  3. Reinstall lilo to hda, using hda lilo.conf and knoppix live
    By tomjermy in forum Hardware & Booting
    Replies: 1
    Last Post: 03-17-2005, 01:07 AM
  4. Lilo: Configure to allow running of PMI?
    By Islander in forum Hdd Install / Debian / Apt
    Replies: 2
    Last Post: 12-31-2004, 08:02 PM
  5. configure lilo after knoppix 3.4 hd install
    By dakota201 in forum Hdd Install / Debian / Apt
    Replies: 3
    Last Post: 06-10-2004, 04:23 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
  •  


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

$107.99



Broadcom 9600-24i Tri-Mode RAID Controller 4.0 NVMe SAS SATA NEW 05-50111-01003 picture

Broadcom 9600-24i Tri-Mode RAID Controller 4.0 NVMe SAS SATA NEW 05-50111-01003

$639.69



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



Lacie 2big Quadra RAID 2 x 2 TB 4 TB Only 158 hours  picture

Lacie 2big Quadra RAID 2 x 2 TB 4 TB Only 158 hours

$199.00



Oyen Digital MOBIUS 5-Bay RAID Enclosure USB 3.0/eSATA/FireWire picture

Oyen Digital MOBIUS 5-Bay RAID Enclosure USB 3.0/eSATA/FireWire

$140.00



Lot Mini SAS SFF-8643 To 4 SATA 7pin Hard Disk 6Gbps Data Server Raid Cable 1M picture

Lot Mini SAS SFF-8643 To 4 SATA 7pin Hard Disk 6Gbps Data Server Raid Cable 1M

$870.00



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

$75.99



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



LSI 9461-16i MEGARAID RAID 12GBPS 16 PCIE3.0  PORT KIT W/BATTERY 03-50011-69004 picture

LSI 9461-16i MEGARAID RAID 12GBPS 16 PCIE3.0 PORT KIT W/BATTERY 03-50011-69004

$145.99



Dell PowerVault DL2200 2x Xeon E5620 24GB RAM H700 2x500GB SAS RAID1 picture

Dell PowerVault DL2200 2x Xeon E5620 24GB RAM H700 2x500GB SAS RAID1

$230.00