Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: Can I use Lilo to boot knoppix from hard disk ??

  1. #1
    Junior Member
    Join Date
    Mar 2003
    Posts
    9

    Can I use Lilo to boot knoppix from hard disk ??

    Hello !

    I want to boot Knoppix from my harddisk and I want to use Lilo for this.I already have Slackware linux with Lilo in my computer . Is it possible ? And do I accomplish this ?

    Thank you

  2. #2
    Senior Member registered user
    Join Date
    Feb 2003
    Posts
    202
    ...and which knoppix are you talking about?
    CD knoppix?
    CD knoppix copied to hard disk (vfat, ext2)?
    knoppix installed into an ext2 partition, much like a īnormalī linux through knx-hdinstall tool?

  3. #3
    Junior Member
    Join Date
    Mar 2003
    Posts
    9
    Hello oscar !

    I want to copy Knoppix cd in vfat harddisk and then boot knoppix from there using Lilo. Can it be done ?



  4. #4
    Member registered user
    Join Date
    Feb 2003
    Location
    Aachen, Europe
    Posts
    85
    Quote Originally Posted by fm78
    I want to copy Knoppix cd in vfat harddisk and then boot knoppix from there using Lilo. Can it be done ?
    http://www.knoppix.net/docs/index.php/FaqHdBased
    Of course

    I'm still working on this wiki page, especialy the lilo description
    is not ready, give me 12 hours to complete this.
    With lilo you can't boot the iso file directly, you have
    to copy the contents of the iso to hd. The iso and boot.images
    have a special boot-skript to choose options before booting KNOPPIX
    (The "F2"-menu). I don't know how to start this skipt at boot time,
    so the "F2"-menus options must be added to appends= in lilo.

    If you have ideas, corrections, questions about
    http://www.knoppix.net/docs/index.php/FaqHdBased
    please feel free to correct and add them.

    Greetings,
    rob

    PS: I think it is possible to store Knoppix in the same partition
    as your normal-Linux-installations. BUT I have to find out how to
    be able to mount, read the whole partition when Knoppix is booted
    from it.

  5. #5
    Senior Member registered user
    Join Date
    Feb 2003
    Posts
    202
    Quote Originally Posted by fm78
    Hello oscar !

    I want to copy Knoppix cd in vfat harddisk and then boot knoppix from there using Lilo. Can it be done ?


    yes, this works:
    copy cdrom folder KNOPPIX to C:\
    Now C:\KNOPPIX is your cdrom
    extract 2 files from boot.img - vmlinux and miniroot.gz - to for ex. C:\knxboot

    then add to your slackware /etc/lilo.conf the following paragraph


    image=/mnt/hda1/knxboot/vmlinuz
    label=knx-vfat
    read-only
    initrd=/mnt/hda1/knxboot/miniroot.gz
    append="lang=es floppyconfig ramdisk_size=100000 init=/etc/init apm=power-off hda=scsi hdb=scsi hdc=scsi hdd=scsi hde=scsi hdf=scsi hdg=scsi hdh=scsi vga=791 nomce quiet BOOT_IMAGE=knoppix"


    in a console terminal run
    lilo -v

    reboot
    there would be a new line in your lilo boot menu (knx-vfat)

  6. #6
    Junior Member
    Join Date
    Mar 2003
    Posts
    9
    Quote Originally Posted by oscar
    extract 2 files from boot.img - vmlinux and miniroot.gz - to for ex. C:\knxboot
    I have no idea how to extract those files in Linux or Windows.Please some more help ?

  7. #7
    Member registered user
    Join Date
    Feb 2003
    Location
    Aachen, Europe
    Posts
    85
    Normaly you can find lilo.conf in /etc/lilo.conf
    But you should know what you are doing
    See:
    http://en.tldp.org/HOWTO/mini/LILO.html
    or on your PC /src/usr/doc/HOWTO/mini/LILO....
    (or so..)

    Don't make a new lilo.conf, you must use your existing
    one and add Knoppix. After this start lilo.

    rob

  8. #8
    Junior Member
    Join Date
    Mar 2003
    Posts
    9
    I meant extracting these files boot.img - vmlinux and miniroot.gz in the hardisk using Linux or Windows.Any help in how to accomplish extracting these files ? Is there any special command in Linux or any program in Windows to do this ?

    Thanks

  9. #9
    Member registered user
    Join Date
    Feb 2003
    Location
    Aachen, Europe
    Posts
    85
    2 posibilities:

    - you create a boot floppy and copy them from fd
    - you mount boot.img -o loopback
    see:
    http://www.knoppix.net/docs/index.php/FaqHdBased
    or
    http://www.knoppix.net/docs/index.php/HdBasedHowTo


    rob

  10. #10
    Senior Member registered user
    Join Date
    Feb 2003
    Posts
    202
    Quote Originally Posted by fm78
    I meant extracting these files boot.img - vmlinux and miniroot.gz in the hardisk using Linux or Windows.Any help in how to accomplish extracting these files ? Is there any special command in Linux or any program in Windows to do this ?

    Thanks
    hi,

    The boot.img is a floppy image
    Look into the cdrom. There is a folder with the rawrite tool.
    run
    rawrite a:\ boot.img (to create a floopy)
    Then grab files from floppy.

    In windows you may use winimage.


Page 1 of 2 12 LastLast

Similar Threads

  1. Boot from CD to PCMCIA Hard Disk
    By Merdock in forum Laptops
    Replies: 0
    Last Post: 05-21-2004, 02:14 PM
  2. Boot cd with lilo or grub boot disk
    By keava in forum General Support
    Replies: 3
    Last Post: 10-20-2003, 05:24 PM
  3. Need to reinstall lilo - don't have boot-disk...
    By Sebastian in forum Hdd Install / Debian / Apt
    Replies: 3
    Last Post: 05-22-2003, 05:06 PM
  4. Boot from Hard Disk without floppy
    By nicklaser in forum Ideas
    Replies: 1
    Last Post: 04-17-2003, 11:22 AM
  5. 2 hard disk installation won't boot to knoppix
    By bret in forum Hdd Install / Debian / Apt
    Replies: 2
    Last Post: 03-03-2003, 07:40 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
  •