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

Thread: Boot Whoppix CD image from HDD

  1. #1
    Senior Member registered user
    Join Date
    Jan 2005
    Posts
    200

    Boot Whoppix CD image from HDD

    I already have a Knoppix 3.7 install on my hdd (thanks for all the help, gurus!)
    But I would like to put another distro on the machine. I'm starting a security auditing company, so I would like to be able to boot "Whoppix" from the HDD on occasion. I don't want to dedicate too much space to it, and I would really like to be able to update the distro to its latest specs whenever a new ISO comes out, so i would like to just store the CD image to a directory on my hdd and then add it to my LILO menu. I know it's probably a really simple set of commands, but I'm unfamiliar with the CD image boot function of Knoppix. Can someone help me? Thanks.

  2. #2
    Senior Member registered user
    Join Date
    Jan 2005
    Posts
    200
    *bump*
    any takers? I know I have seen this solution on here before but my searces haven't brought any answers. A simple link to a thread containing the answer would be more than sufficient

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

    Re: Boot Whoppix CD image from HDD

    Quote Originally Posted by foamrotreturns
    I already have a Knoppix 3.7 install on my hdd (thanks for all the help, gurus!)
    But I would like to put another distro on the machine. I'm starting a security auditing company, so I would like to be able to boot "Whoppix" from the HDD on occasion. I don't want to dedicate too much space to it, and I would really like to be able to update the distro to its latest specs whenever a new ISO comes out, so i would like to just store the CD image to a directory on my hdd and then add it to my LILO menu. I know it's probably a really simple set of commands, but I'm unfamiliar with the CD image boot function of Knoppix. Can someone help me? Thanks.
    Try grub to boot the iso files from dos,nt,xp,... cf: http://www.knoppix.net/forum/viewtopic.php?t=11796
    Cheers, Gilles

  4. #4
    Senior Member registered user
    Join Date
    May 2003
    Posts
    981
    If the machine is not an NTFS system, the easiest way would be to do a Poormans install. Just boot the CD with 'knoppix tohd=/dev/hda1' to do the install. Boot with knoppix fromhd=/dev/hda1 tostart it. If it is an NTFS system , I think Kanotix has a 'toiso' command that will boot a straight copy of the CD iso file whcih can be copied onto the NTFS system from windows so check out kanotix. Linux can only write to NTFS systems using 'captive ntfs'.

  5. #5
    Moderator Moderator
    Join Date
    Mar 2004
    Location
    Menlo Park, California
    Posts
    674
    Quote Originally Posted by CrashedAgain
    If the machine is not an NTFS system, the easiest way would be to do a Poormans install. Just boot the CD with 'knoppix tohd=/dev/hda1' to do the install. Boot with knoppix fromhd=/dev/hda1 tostart it. If it is an NTFS system , I think Kanotix has a 'toiso' command that will boot a straight copy of the CD iso file whcih can be copied onto the NTFS system from windows so check out kanotix. Linux can only write to NTFS systems using 'captive ntfs'.
    This forum: http://www.knoppix.net/forum/viewtopic.php?t=11796 describe a very easy and clean way to boot from NTFS, but also from a fat 16/32, ext2/3, USB, floppy, ... using different grub binaries. Cheers, Gilles

  6. #6
    Senior Member registered user
    Join Date
    Jan 2005
    Posts
    200
    So I guess I've got to make a spare partition roughly 2GB in size. after that, i'll copy the contents of the WHoppix cd into that partition. Then, I have to set that partition as bootable with qtparted, and then I have to find the correct parameters to put into the menu.lst file.
    Am I going the right direction here?

  7. #7
    Moderator Moderator
    Join Date
    Mar 2004
    Location
    Menlo Park, California
    Posts
    674
    Quote Originally Posted by foamrotreturns
    So I guess I've got to make a spare partition roughly 2GB in size. after that, i'll copy the contents of the WHoppix cd into that partition. Then, I have to set that partition as bootable with qtparted, and then I have to find the correct parameters to put into the menu.lst file.
    Am I going the right direction here?
    No !
    The whole point is that you DON'T need to change your hdd partitions / configuration.
    Put the ISO file in one of your partition, whatever it is, NTFS, ext2/3, Fat16/32, ...
    Copy the kernel and modified initrd (included grubd.zip) file into that partition.
    If it ntfs, you will also need to add the grldr file and modify your boot.ini as described in the wiki pages
    And then update the menu.lst to point grub to the kernel, initrd and iso files locations.
    BTW, I successfully booted "Whoppix" (as well as other Knoppix flavours) from the ISO file on my NTFS partition.
    (I used the same kernel and modified initrd as for knoppix 3.7)
    And it should work as well from a ext2/3 or fat16/32, ... boot/partition.
    Just use a different flavour of the grub bootloader executable:
    grub.exe for dos, grldr for ntfs, stage1/2 for Linux via installer, ...
    Hope this help.
    Cheers,
    Gilles

  8. #8
    Senior Member registered user
    Join Date
    Jan 2005
    Posts
    200
    OK i think i'm getting the hang of this...
    I'm going to run the ISO from an ext3 filesystem. it's located at /isos/whoppix on my (hd0,1) as well as the minirt26.gz and linux26 files. so here's what i've got in my menu.lst file for that entry:

    title WHoppix Linux
    root (hd0,1)
    kernel /isos/whoppix/linux26
    initrd /isos/whoppix/minirt26.gz

    Is that all I need? i'd like to prevent writing to the HD at all costs - is there something I should be appending to the root line to make it mount the FS read only?

  9. #9
    Moderator Moderator
    Join Date
    Mar 2004
    Location
    Menlo Park, California
    Posts
    674
    Quote Originally Posted by foamrotreturns
    OK i think i'm getting the hang of this...
    I'm going to run the ISO from an ext3 filesystem. it's located at /isos/whoppix on my (hd0,1) as well as the minirt26.gz and linux26 files. so here's what i've got in my menu.lst file for that entry:

    title WHoppix Linux
    root (hd0,1)
    kernel /isos/whoppix/linux26
    initrd /isos/whoppix/minirt26.gz

    Is that all I need? i'd like to prevent writing to the HD at all costs - is there something I should be appending to the root line to make it mount the FS read only?
    Yes, pretty close to that:
    You need to add some "cheatcodes" after the kernel options and you probably want to use my minirt26_ntfs.gz even though you are not using the ntfs driver, because of the "bootfrom" cheatcode (required to boot from the iso file) which is not handled properly by the linuxrc file in the regular minirt26.gz.
    So to summarize I will suggest something like this for your menu.lst:

    title Whoppix 2.6-sp1 kernel 2.6 from hda2 ISO file
    kernel (hd0,1)/isos/whoppix/linux26 ramdisk_size=100000 init=/etc/init lang=us apm=power-off nomce bootfrom=/dev/hda2/isos/whoppix/*.iso quiet noprompt (all on a signle line from the kernel ...)
    initrd (hd0,0)/isos/whoppix/minirt26_ntfs.gz
    boot

    And as far as I remember, all partitions are read only by default and it is actually not that obvious to grant write access to the boot partition, where the kernel, initrd and iso file are located.
    Cheers, Gilles

  10. #10
    Senior Member registered user
    Join Date
    Jan 2005
    Posts
    200
    Sweet, now all I need is a place to download the minirt26_ntfs.gz file. Or instructions on how to modify my current minirt26.gz file.
    Thanks!

Page 1 of 2 12 LastLast

Similar Threads

  1. Replies: 0
    Last Post: 02-27-2007, 08:34 PM
  2. problem in configure MA111 wireless in whoppix 2.7
    By aashikan in forum Networking
    Replies: 1
    Last Post: 06-06-2005, 11:20 PM
  3. Knoppix STD or Whoppix?
    By gonzo in forum General Support
    Replies: 1
    Last Post: 03-25-2005, 11:48 PM
  4. boot from HD via damnsmall boot image.
    By nicklaser in forum General Support
    Replies: 0
    Last Post: 11-03-2004, 07:38 AM
  5. Remastering Error: Can't Find Boot Image KNOPPIX/boot.img
    By mswarbrick in forum Customising & Remastering
    Replies: 6
    Last Post: 04-18-2003, 12:30 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Kingston 32GB 64GB 128GB 256GB USB 3.0 Flash Drive Thumb Memory Stick Pen lot picture

Kingston 32GB 64GB 128GB 256GB USB 3.0 Flash Drive Thumb Memory Stick Pen lot

$285.90



Lot of 4 8GB DDR4 PC4-2400T ECC Registered Server RAM 32GB 1Rx8 RDIMM MICRON picture

Lot of 4 8GB DDR4 PC4-2400T ECC Registered Server RAM 32GB 1Rx8 RDIMM MICRON

$149.99



MICRON MTA36ASF4G72PZ-2G6D1 32GB PC4-21300R DDR4-2666V RDIMM 2RX4 MEMORY DIMM picture

MICRON MTA36ASF4G72PZ-2G6D1 32GB PC4-21300R DDR4-2666V RDIMM 2RX4 MEMORY DIMM

$139.99



Microsoft Office 2021 Pro Plus USB for 1PC Windows 10 & 11 picture

Microsoft Office 2021 Pro Plus USB for 1PC Windows 10 & 11

$62.55



USB 3.0 Flash Drive 32GB 64GB 128GB Memory Stick Thumb Stick Lot Pack picture

USB 3.0 Flash Drive 32GB 64GB 128GB Memory Stick Thumb Stick Lot Pack

$826.09



USB 3.0 Micro SD SDHC TF Card Reader Memory Adapter for PC Laptop Camera lot picture

USB 3.0 Micro SD SDHC TF Card Reader Memory Adapter for PC Laptop Camera lot

$3.75



Server Memory: Samsung 32GB 4DRx4 PC4-2133P ECC LRDIMM DDR4 M386A4G40DM0-CPB picture

Server Memory: Samsung 32GB 4DRx4 PC4-2133P ECC LRDIMM DDR4 M386A4G40DM0-CPB

$124.95



Samsung 64GB (16GBx4) 16GB 2Rx8 PC4-3200AA M393A2K43EM3-CWENY DDR4 Server Memory picture

Samsung 64GB (16GBx4) 16GB 2Rx8 PC4-3200AA M393A2K43EM3-CWENY DDR4 Server Memory

$399.99



1/ 10/ 100pcs USB 2.0 2GB, 4GB ,8GB ,16GB ,32GB ,64GB 128GB USB Flash Drives Lot picture

1/ 10/ 100pcs USB 2.0 2GB, 4GB ,8GB ,16GB ,32GB ,64GB 128GB USB Flash Drives Lot

$202.50



TF/SD Card Adapter Camera Reader Android Type-c For iPhone17 Pro Max Plusm lot picture

TF/SD Card Adapter Camera Reader Android Type-c For iPhone17 Pro Max Plusm lot

$573.98