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

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

  1. #11
    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. #12
    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. #13
    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. #14
    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. #15
    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. #16
    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-2680 V2 2.8GHz 10-Core 25MB 8GT/s SR1A6 LGA2011 B Grade Server CPU picture

Intel Xeon E5-2680 V2 2.8GHz 10-Core 25MB 8GT/s SR1A6 LGA2011 B Grade Server CPU

$7.95



HPE DL360 G10 CTO Server W/ 2x800W  1x LP PCIE RISER 1xFLEXROM  2XHIGH PERF FANS picture

HPE DL360 G10 CTO Server W/ 2x800W 1x LP PCIE RISER 1xFLEXROM 2XHIGH PERF FANS

$200.00



NEW HP Z4 G4 Workstation Xeon W-2123 16GB ECC 256GB NVMe NVIDIA T400 750W Win11 picture

NEW HP Z4 G4 Workstation Xeon W-2123 16GB ECC 256GB NVMe NVIDIA T400 750W Win11

$450.00



HP Z420 Tower Workstation Xeon E5-1620 3.60GHz, 4GB Ram, NO HDD, NO OS picture

HP Z420 Tower Workstation Xeon E5-1620 3.60GHz, 4GB Ram, NO HDD, NO OS

$140.00



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



Lenovo ThinkStation P520c Intel Xeon W-2133 6-Core 3.60GHz -NO RAM/ HDD/ GPU/ OS picture

Lenovo ThinkStation P520c Intel Xeon W-2133 6-Core 3.60GHz -NO RAM/ HDD/ GPU/ OS

$127.54



Dell Precision T7820 2x Xeon Gold 6130 2.10GHz 950W No RAM GPU HDD 4x SATA picture

Dell Precision T7820 2x Xeon Gold 6130 2.10GHz 950W No RAM GPU HDD 4x SATA

$374.48



HP Z2 Mini G5 Workstation Xeon W-1270P 3.8GHz/16GB/1TB SSD/ NVIDIA T1000/W11 Pro picture

HP Z2 Mini G5 Workstation Xeon W-1270P 3.8GHz/16GB/1TB SSD/ NVIDIA T1000/W11 Pro

$349.00



DELL Precision T3420 | Xeon 1240v6 | 525GB SSD |16GB RAM |Nvidia GPU |Win11 picture

DELL Precision T3420 | Xeon 1240v6 | 525GB SSD |16GB RAM |Nvidia GPU |Win11

$149.00



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