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

Thread: How do I start the iso of the harddisk with lilo?

Hybrid View

  1. #1
    Junior Member registered user
    Join Date
    Mar 2003
    Posts
    10
    But it works only if I have the KNOPPIX directory of the iso on the harddisk. Booting the iso itself does not work, it looks like the boot parameters are ignored. When I remove the KNOPPIX directory I get:
    Code:
    Accessing KNOPPIX CD&DVD at /dev/hda9...insmod: error inserting '/modules/cloop.ko': -1 bad file number
    Segmentation fault
    but the partition with knoppix is /dev/hda5 (according to md5sum the image is valid)

  2. #2
    Moderator Moderator
    Join Date
    Mar 2004
    Location
    Menlo Park, California
    Posts
    674
    Quote Originally Posted by testerus
    But it works only if I have the KNOPPIX directory of the iso on the harddisk. Booting the iso itself does not work, it looks like the boot parameters are ignored. When I remove the KNOPPIX directory I get:
    Code:
    Accessing KNOPPIX CD&DVD at /dev/hda9...insmod: error inserting '/modules/cloop.ko': -1 bad file number
    Segmentation fault
    but the partition with knoppix is /dev/hda5 (according to md5sum the image is valid)
    If you have a partition with a /KNOPPIX directory and/or a KNOPPIX file you may want to be very carefull.
    The linuxrc script is now poorly written and is a real patchwork. Try to rename or remove any /KNOPPIX directory or /KNOPPIX filename you may have on all your partitions and try again. The existence of such directory may fool the script which may try to load portion of the data from the iso and portion from the /KNOPPIX directory. I have it working without any problem on a couple of my systems. Please let me know. Best Regards,
    Gilles

  3. #3
    Junior Member
    Join Date
    Oct 2005
    Location
    Brasil
    Posts
    2

    And how to use lilo anyway?

    I've searched the forum loking for this precious informatioin on how to boot the .iso file through lilo. I have downloaded a lot of stuff, most of it modified kernels to support the "boot fromhd=/dev/hdXX/*iso" option. I still have to try it out but I hoped I could find something more straight to the target. I mean, I found a lot of stuff on how to configure GRUB in order to get it done, but no info on lilo.
    Anyone of you guys can help me??? Currently I've got Kurumin 5.0 (a brazilian Knoppix remaster) installed on my HD in multi-boot with Kurumin 3.1 (/dev/hdXX/knoppix and kernel 2.4), INSERT, and I want to use GamesKnoppix from an iso file on my HD. The boot manager is lilo.

  4. #4
    Moderator Moderator
    Join Date
    Mar 2004
    Location
    Menlo Park, California
    Posts
    674

    How to boot knoppix 4.02 game or official cd/dvd from Lilo

    Quote Originally Posted by Kihoma
    I've searched the forum loking for this precious informatioin on how to boot the .iso file through lilo. I have downloaded a lot of stuff, most of it modified kernels to support the "boot fromhd=/dev/hdXX/*iso" option. I still have to try it out but I hoped I could find something more straight to the target. I mean, I found a lot of stuff on how to configure GRUB in order to get it done, but no info on lilo.
    Anyone of you guys can help me??? Currently I've got Kurumin 5.0 (a brazilian Knoppix remaster) installed on my HD in multi-boot with Kurumin 3.1 (/dev/hdXX/knoppix and kernel 2.4), INSERT, and I want to use GamesKnoppix from an iso file on my HD. The boot manager is lilo.
    You can use a command line for lilo from DOS as this one:
    Code:
    "loadlin.exe linux initrd=minirt~1.gz ramdisk_size=100000 init=/etc/init bootfrom=/dev/hda1/boot/knoppix.402/*.iso lang=us dma quiet apm=power-off nomce noprompt"
    Or update your existing lilo.conf as follow:
    Code:
    image=/boot/knoppix.402/linux
    label="Knoppix"
    root=/dev/hda1
    initrd=/boot/knoppix.402/minirt_ntfs.gz
    append="ramdisk_size=100000 init=/etc/init bootfrom=/dev/hda1/boot/knoppix.402/*.iso lang=us dma quiet apm=power-off nomce noprompt"
    Or just use lilo to start grub by adding the following lines to your lilo.conf:
    Code:
    image=/boot/grub.exe
    label="grub"
    using the grub.exe from this link: http://sarovar.org/download.php/770/....1pre28.tar.gz
    and using my instruction in my other thread: http://www.knoppix.net/forum/viewtop...?p=93758#93758
    But don't forget to use the minirt_ntfs.gz in this link: http://s94002264.onlinehome.us/grub/kno402.zip to boot from the knoppix 4.02 (game) iso.
    Hope this helps. Please give me some feedback. Best Regards,
    Gilles

  5. #5
    Junior Member
    Join Date
    Oct 2005
    Location
    Brasil
    Posts
    2

    It worked!!!

    Thanks Gilles!!!! I had already downloaded that file(initrd_ntfs). So I put it on my HD at /bootISO, and booted a Knoppix remaster iso (kalango) at /dev/hda7 (root=/dev/hda7). Since it was an iso file I think this will work to any iso, provided the distro has the same kernel. I've been using the knoppix file (inside the iso) as an alternative to boot the system without using a CD drive. Now, thanks to this new option, I can boot the iso file directly, no need to extract the knoppix folder from within the iso to a HD partition as I used to. By the way, I downloaded the wrong version of knoppix games. Instead of the DVD iso (v. 4.02) I have downloded the CD iso (v.3.07). Anyway, since I was able to boot a remaaster of Knoppix with that initrd-ntfs and plus the tips you gave me, I believe I'1ll be able to boot also the Knoppix CD iso. I have a FAT32 partition only for this purpose.
    As soon as I try it I'll let you know if I succeeded or not.
    Tahnk you asgain

  6. #6
    Senior Member registered user
    Join Date
    Mar 2003
    Location
    Cleveland, OH
    Posts
    228
    I can get a lilo boot using the bootfrom cheatcode on an ext2 partition to work fine without the modified minirt.gz. I did a tohd cheatcode to get the compressed file system to my partition.

    My ISO and my /KNOPPIX directory live on /dev/hda2. Here is the lilo.conf I used

    Paul

    vga=791
    lba32
    boot=/dev/hda
    map=/boot/map
    noprompt
    append="hda=scsi hdb=scsi hdc=scsi hdd=scsi hde=scsi hdf=scsi hdg=scsi hdh=scsi apm=power-off nomce"

    default=FROMISO

    image=/mnt/hda2/boot/vmlinuz
    label=FROMISO
    initrd=/mnt/hda2/boot/isolinux/minirt.gz
    read-only
    root=/dev/hda2
    append="lang=us splash wheelmouse xvrefresh=60 bootfrom=/dev/hda2/knx4.0*.iso myconfig=/dev/hda2"

Page 2 of 2 FirstFirst 12

Similar Threads

  1. USB Harddisk
    By chessweb in forum Hardware & Booting
    Replies: 0
    Last Post: 05-03-2006, 09:21 PM
  2. Bootable USB harddisk
    By tpw in forum Hdd Install / Debian / Apt
    Replies: 1
    Last Post: 05-09-2005, 03:51 AM
  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. USB harddisk
    By sn0wflake in forum General Support
    Replies: 1
    Last Post: 03-25-2004, 06:45 PM
  5. lilo wont install to harddisk
    By dee_tt in forum Hdd Install / Debian / Apt
    Replies: 2
    Last Post: 07-02-2003, 09:49 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
  •  


Intel Xeon E5-2699 V4 2.20GHz 55M 22-CORES LGA2011-3 Server Processor 145W SR2JS picture

Intel Xeon E5-2699 V4 2.20GHz 55M 22-CORES LGA2011-3 Server Processor 145W SR2JS

$84.49



Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram  2x 550W PSU No HDD picture

Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram 2x 550W PSU No HDD

$275.00



Lenovo ThinkStation P520 Intel Xeon W-2123 3.6GHz 900W - NO RAM/ GPU/ HDD/ OS picture

Lenovo ThinkStation P520 Intel Xeon W-2123 3.6GHz 900W - NO RAM/ GPU/ HDD/ OS

$189.98



Dell Precision T5820 Workstation 3.70GHz W-2135 No RAM/ GPU/ HDD/ OS picture

Dell Precision T5820 Workstation 3.70GHz W-2135 No RAM/ GPU/ HDD/ OS

$179.98



Intel Xeon Gold 6230 2.1 GHz Processor - SRF8W picture

Intel Xeon Gold 6230 2.1 GHz Processor - SRF8W

$29.00



Matched Pair _ Intel Xeon E5-2698 V4 2.2GHz 20-Core Processor CPU LGA2011 SR2JW picture

Matched Pair _ Intel Xeon E5-2698 V4 2.2GHz 20-Core Processor CPU LGA2011 SR2JW

$94.99



Intel Xeon E5-2680 V4 CPU 2.4~3.3GHz 14-Core 35M LGA 2011-3 R3 Server SR2N7 120W picture

Intel Xeon E5-2680 V4 CPU 2.4~3.3GHz 14-Core 35M LGA 2011-3 R3 Server SR2N7 120W

$16.99



HP Z8 G4 Z8G4 Barebone Workstation w/ Intel Xeon Silver - No HDD No RAM No GPU picture

HP Z8 G4 Z8G4 Barebone Workstation w/ Intel Xeon Silver - No HDD No RAM No GPU

$449.99



Intel Xeon Processor E5-2687W V4 SR2NA 3.00GHz Broadwell 160W LGA2011 12-Core picture

Intel Xeon Processor E5-2687W V4 SR2NA 3.00GHz Broadwell 160W LGA2011 12-Core

$36.00



Dell PowerEdge R620 2x Xeon E5-2650 2GHz 32GB RAM 250GB SAS SERVER picture

Dell PowerEdge R620 2x Xeon E5-2650 2GHz 32GB RAM 250GB SAS SERVER

$85.00