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

Thread: booting from ISO on hard drive

  1. #1
    Junior Member
    Join Date
    Jul 2005
    Posts
    2

    booting from ISO on hard drive

    Ok, this should be simple, but I can’t get this to work.

    I have a laptop. There are two partitions on the drive which are “C:\” and “D:\”. The C drive is a WinXP partition and it’s formatted for NTFS. The D drive is a FAT32 partition (no OS).

    When I use a Knoppix Live CD, the disks show up has “/mnt/hda1” (C drive) and “/mnt/hda5” (D drive).

    I have a directory on “/mnt/hda5” called “knoppix”. In this directory, I have the version 3.9 ISO. The full/exact name of the file is “KNOPPIX_V3.9-2005-05-27-EN.iso”.

    From reading the cheat codes, I should be able to boot from the ISO on the hard drive.

    I have tried the following:

    knoppix bootfrom=/dev/hda5/knoppix/*.iso
    knoppix bootfrom=/mnt/hda5/knoppix/*.iso

    knoppix fromhd=/dev/hda5/knoppix/*.iso
    knoppix fromhd=/mnt/hda5/knoppix/*.iso

    None of the above has worked.

    How do I get this to work?

    Thanks in advance.

    GF

  2. #2
    Senior Member registered user
    Join Date
    Feb 2003
    Posts
    202
    this is in c:\boot\grub\menu.lst and works (I have a knoppix.iso in D:\isos)

    title Knoppix from hda5 ISO scan ramdisk=32MB
    kernel (hd0,0)/boot/knoppix/linux ramdisk_size=100000 init=/etc/init lang=us apm=power-off vga=791 nomce quiet bootfrom=/dev/hda5/isos/KNOPP*.iso config=scan home=scan ramdisk=32768 noprompt keyboard=es screen=800x600 xvrefresh=62 xhrefresh=40
    initrd (hd0,0)/boot/knoppix/minirt_ntfs.gz
    boot


    fromhd works for kanotix.iso

  3. #3
    Junior Member
    Join Date
    Jul 2005
    Posts
    9

    I can not get it through

    I tried the same way, but it still does not work. The grldr is under root c:\, grub is under c:\boot, and I set the menu.lst almost the same as oscar do except the .iso locates at c:\KNOPPIX, together with minirt_ntfs.gz.
    When I tried to boot, it always says "File not found".

    Anybody else met and solved this problem?

  4. #4
    Senior Member registered user
    Join Date
    Feb 2003
    Posts
    202
    @quit

    may you cut&paste menu.lst here?

  5. #5
    Junior Member
    Join Date
    Jul 2005
    Posts
    9

    sure

    title Knoppix
    kernel (hd0,0)/KNOPPIX/linux ramdisk_size=100000 init=/etc/init lang=us apm=power-off vga=791 nomce quiet bootfrom=/dev/hda1/KNOPPIX/KNOPP*.iso config=scan home=scan ramdisk=32768 noprompt
    #131072
    initrd (hd0,0)/KNOPPIX/minirt_ntfs.gz

    boot

  6. #6
    Senior Member registered user
    Join Date
    Feb 2003
    Posts
    202

    Re: sure

    Quote Originally Posted by quit5
    title Knoppix
    kernel (hd0,0)/KNOPPIX/linux ramdisk_size=100000 init=/etc/init lang=us apm=power-off vga=791 nomce quiet bootfrom=/dev/hda1/KNOPPIX/KNOPP*.iso config=scan home=scan ramdisk=32768 noprompt
    #131072
    initrd (hd0,0)/KNOPPIX/minirt_ntfs.gz

    boot


    if in C:\KNOPPIX there are these files

    linux
    KNOPPIXxxx.iso
    minirt_ntfs.gz

    and a C:\grldr file exists then I dont know what is wrong

  7. #7
    Senior Member registered user
    Join Date
    Feb 2005
    Location
    Saint Louis, MO, USA
    Posts
    376

    Re: booting from ISO on hard drive

    Quote Originally Posted by gonzofonts
    I have tried the following:

    knoppix bootfrom=/dev/hda5/knoppix/*.iso
    knoppix bootfrom=/mnt/hda5/knoppix/*.iso

    knoppix fromhd=/dev/hda5/knoppix/*.iso
    knoppix fromhd=/mnt/hda5/knoppix/*.iso

    None of the above has worked.

    How do I get this to work?
    First, let's simplify. Move the iso from D:\knoppix\KNOPPIX_V3.9-2005-05-27-EN.iso to C:\knx.iso in Windows. Then boot with the 3.9 Knoppix CD and type boot: knoppix bootfrom=/dev/hda1/knx.iso debug The debug cheatcode causes Knoppix to pause at various stages in the boot process and presents you with a shell prompt. You'll know if the bootfrom= cheatcode worked or not before you even get to the first stage. So, you can avoid having to go all the way through hardware detection and starting KDE. Once you get to the first stage, you can reboot with Alt-SysRq-B and try the next step. Did the bootfrom= cheatcode work in this case? If it did not, check for typos, because this should work.

    Next, move C:\knx.iso to D:\knx.iso in Windows and boot from the CD with boot: knoppix bootfrom=/dev/hda5/knx.iso debug Did the bootfrom= cheatcode work in this case?

    Next, move D:\knx.iso to D:\knoppix\knx.iso in Windows and boot from the CD with boot: knoppix bootfrom=/dev/hda5/knoppix/knx.iso debug Did the bootfrom= cheatcode work in this case?

    Next, update your grub.conf with bootfrom=/dev/hda5/knoppix/knx.iso debug Did the bootfrom= cheatcode work in this case?

    Let us know what worked and what didn't.

    Regards,
    - Robert
    http://www.cwelug.org/

  8. #8
    Junior Member
    Join Date
    Jul 2005
    Posts
    9
    My harddrive has only two ntfs patitions, is it necessary that D:\ be FAT for a hardrive boot?

  9. #9
    Junior Member
    Join Date
    Jul 2005
    Posts
    2
    Thanks fror all the replies.

    rwcitek,

    I like the way you think - keeping it simple when trouble shooting.

    I tried:

    knoppix bootfrom=/dev/hda1/knx.iso debug

    Does not work. I get an error that says it cannot find the file. I'm thinking that it cannot find the image because the image is on a NTFS partition.

    I also tried:

    bootfrom=/dev/hda5/knoppix/knx.iso (note, I left out the debug option)

    The good new is that this worked. The bad news is that I can't write to this partition when I boot from it.

    Also, I don't see how the above (i.e. "bootfrom=/dev/hda5/knoppix/knx.iso") is any different than what I initially tried (i.e. "knoppix bootfrom=/dev/hda5/knoppix/*.iso")

    To solve my problem, I think I will split my FAT32 partition into two FAT32 partition and put the ISO on one of them and boot from there.

    Thanks for the help.

    GF

  10. #10
    Senior Member registered user
    Join Date
    Feb 2003
    Posts
    202
    Quote Originally Posted by gonzofonts
    ....The good new is that this worked. The bad news is that I can't write to this partition when I boot from it.
    ....

    Thanks for the help.

    GF
    Yes, the drawback is when you boot knoppix this way then the partition is not writable because it is a CD for all purposes (a virtual CD of course).

Page 1 of 2 12 LastLast

Similar Threads

  1. Booting from a USB key to a USB Hard drive - What the???
    By andrewbob in forum Hdd Install / Debian / Apt
    Replies: 1
    Last Post: 07-04-2006, 02:29 PM
  2. trace on the hard drive after booting
    By nkrsta in forum General Support
    Replies: 2
    Last Post: 05-19-2005, 05:44 PM
  3. Can't Get Hard Drive to Mount When Booting Up
    By glidetothehoop in forum Hdd Install / Debian / Apt
    Replies: 2
    Last Post: 12-24-2004, 02:41 PM
  4. Booting from external USB hard drive
    By mbl in forum Hdd Install / Debian / Apt
    Replies: 0
    Last Post: 10-21-2004, 03:17 PM
  5. not booting correctly from hard drive.
    By ih8censorship in forum General Support
    Replies: 6
    Last Post: 06-30-2004, 03:07 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
  •  


Vintage Cubix A2870 + 2x A2310 QL 2286 Video Module ISA Boards 1989  Untested  picture

Vintage Cubix A2870 + 2x A2310 QL 2286 Video Module ISA Boards 1989 Untested

$207.92



Vintage HP 21MX 1000 M-Series Minicomputer Chassis Backplane Parts AS-IS picture

Vintage HP 21MX 1000 M-Series Minicomputer Chassis Backplane Parts AS-IS

$325.99



Vintage Computer Keyboard Northgate OMNIKEY Ultra picture

Vintage Computer Keyboard Northgate OMNIKEY Ultra

$120.00



Lot of 2 Vintage Plextor PX-43CS SCSI CD-ROM Caddy Drives + 4 Caddies Used picture

Lot of 2 Vintage Plextor PX-43CS SCSI CD-ROM Caddy Drives + 4 Caddies Used

$55.99



Original Vintage Old Style STANDARD Black CD Jewel Case (Heavy Duty) 90g Lot picture

Original Vintage Old Style STANDARD Black CD Jewel Case (Heavy Duty) 90g Lot

$316.95



VINTAGE AOPEN MODEL SPI-200 200W AT POWER SUPPLY WITH SWITCH DS-PS-8 picture

VINTAGE AOPEN MODEL SPI-200 200W AT POWER SUPPLY WITH SWITCH DS-PS-8

$34.95



VINTAGE ESS ES1868 16 BIT ISA SOUND CARD COMPAQ 247428-001 - USA SELLER RM2-SC picture

VINTAGE ESS ES1868 16 BIT ISA SOUND CARD COMPAQ 247428-001 - USA SELLER RM2-SC

$24.95



Vintage Emagic Logic 5 / Logic Audio 4.0 Studio Software Box Manuals Serial picture

Vintage Emagic Logic 5 / Logic Audio 4.0 Studio Software Box Manuals Serial

$89.99



Vintage Apple iMac G4 15

Vintage Apple iMac G4 15" Lamp 700MHz 512MB Mac OS X 10.4.6 W/ Pro Speakers

$300.00



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