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
  •  


9300-8i LSI SAS3008 8-Port 12Gb PCIe IT mode ZFS FreeNAS unRAID 2*SFF-8643 US picture

9300-8i LSI SAS3008 8-Port 12Gb PCIe IT mode ZFS FreeNAS unRAID 2*SFF-8643 US

$49.50



QNAP TR-004 4 Bay USB-C Hardware RAID Enclosure DAS 3.5 2.5 SATA Tested Working picture

QNAP TR-004 4 Bay USB-C Hardware RAID Enclosure DAS 3.5 2.5 SATA Tested Working

$149.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



Vintage Promise EIDEMAX Enhanced IDE Disk Controller ISA Non-RAID Card Boxed picture

Vintage Promise EIDEMAX Enhanced IDE Disk Controller ISA Non-RAID Card Boxed

$34.99



WAVLINK RAID 2 Bay Hard Drive Docking Station SATA 2.5''3.5'' SSD HDD USB C 4Bay picture

WAVLINK RAID 2 Bay Hard Drive Docking Station SATA 2.5''3.5'' SSD HDD USB C 4Bay

$107.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



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



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

$1150.00



Dell EMC 15-Bay 3.5

Dell EMC 15-Bay 3.5" SAS Disk Array Enclosure 12Gbps Dual LCC - 2x Power Supply

$249.00



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