Page 9 of 72 FirstFirst ... 78910111959 ... LastLast
Results 81 to 90 of 716

Thread: ISO boot from FAT/NTFS/USB (GRUB.exe, grldr from boot.ini)

  1. #81
    Junior Member registered user
    Join Date
    Sep 2004
    Posts
    29
    Quote Originally Posted by j.drake
    There's no fromhd because it is literally loading linux from the Windows partition using GRUB, and "fromhd" has no meaning to GRUB - only to the isolinux loader on the Knoppix disk. The files copied into the Windows partition are telling GRUB where Knoppix is loaded already, so any bootcode giving a location for Knoppix files would simply be redundant. It's a really cool concept - if I could only get the damn thing to work on my machine! Clearly, it works on other people's machines, so the concept is sound. I even got it to work to a limited degree myself, but I had less functionality than with a liveCD.
    So, in eco2geek's example 1, does he copy the loopback file D:\KNOPPIX\KNOPPIX from CD-Rom.

    And, in the example 2, he just use KNOPPIX*.iso instead of the loopback file, right?

    Thanks in advance.

  2. #82
    Senior Member registered user
    Join Date
    Mar 2003
    Location
    Portland, OR USA
    Posts
    568
    Quote Originally Posted by wslkelvin
    So, in eco2geek's example 1, does he copy the loopback file D:\KNOPPIX\KNOPPIX from CD-Rom.

    And, in the example 2, he just use KNOPPIX*.iso instead of the loopback file, right?
    Yes, correct. And also correct that those two cheatcodes -- "fromhd", which uses the KNOPPIX loopback file, and "bootfrom", which uses the ISO -- don't mean anything to GRUB, they're parsed by the script called "linuxrc" in the miniroot.

    Amazing job by those Japanese Knoppix guys!

    So, in a nutshell, the steps to boot from NTFS either way are:

    - Install GRUB
    - Copy the miniroot and kernel from the Japanese Knoppix CD to somewhere on your hard drive
    - Copy the ISO or the KNOPPIX file to somewhere on your hard drive
    - Edit menu.lst

  3. #83
    Junior Member registered user
    Join Date
    Sep 2004
    Posts
    29
    Quote Originally Posted by eco2geek

    So, in a nutshell, the steps to boot from NTFS either way are:

    - Install GRUB
    - Copy the miniroot and kernel from the Japanese Knoppix CD to somewhere on your hard drive
    - Copy the ISO or the KNOPPIX file to somewhere on your hard drive
    - Edit menu.lst
    But it won't work in some computer, right?
    Anyway, I will try it. Thank you very much.

  4. #84
    Senior Member registered user
    Join Date
    Jul 2003
    Posts
    692
    Quote Originally Posted by ruymbeke
    Everything looks righ... And it works on my IBM T41 laptop...
    Wait a minute. If you have a T41 laptop, then why do you have '"hda=scsi hdb=scsi hdc=scsi hdd=scsi " in your menu.lst? Clearly, you don't have 4 SCSI HDs. And I noticed that eco2geek had that line in as well. Does this have anything to do with it? I nuked those out of mine, because I assumed that they were inapplicable to my two EIDE HDs. Could that make the difference between success and failure?

    jd

  5. #85
    Moderator Moderator
    Join Date
    Mar 2004
    Location
    Menlo Park, California
    Posts
    674
    Quote Originally Posted by j.drake
    ... If you have a T41 laptop, then why do you have '"hda=scsi hdb=scsi hdc=scsi hdd=scsi " in your menu.lst? Clearly, you don't have 4 SCSI HDs. And I noticed that eco2geek had that line in as well. Does this have anything to do with it? I nuked those out of mine, because I assumed that they were inapplicable to my two EIDE HDs. Could that make the difference between success and failure?jd
    I don't know. Did you try a cut and paste of our configs, just as a trial ?
    PS: I updated my link with the "Knoppix ISO BOOT from NTFS using GRUB" package: http://s94592085.onlinehome.us/grub/grub6.zip
    Gilles

  6. #86
    Junior Member registered user
    Join Date
    Sep 2004
    Posts
    29
    Quote Originally Posted by j.drake
    Quote Originally Posted by ruymbeke
    Everything looks righ... And it works on my IBM T41 laptop...
    Wait a minute. If you have a T41 laptop, then why do you have '"hda=scsi hdb=scsi hdc=scsi hdd=scsi " in your menu.lst? Clearly, you don't have 4 SCSI HDs. And I noticed that eco2geek had that line in as well. Does this have anything to do with it? I nuked those out of mine, because I assumed that they were inapplicable to my two EIDE HDs. Could that make the difference between success and failure?

    jd
    I have tried, it works with "hda=scsi hdb=scsi hdc=scsi hdd=scsi ", however I haven't tried it without these parameters. My notebook is IBM ThinkPad X31 with CD-ROM, and I don't have SCSI device. Could anyone tell me what's the mean of these parameters?

  7. #87
    Junior Member registered user
    Join Date
    Sep 2004
    Posts
    29
    I have tried it by following the instructions of this thread, and it works for the English version KNOPPIX, Japanese version KNOPPIX, and Traditional Chinese version KNOPPIX. Work both for loopback file and ISO-image.

    But I still have some questions about it.
    1. I use the batch file "install2win.bat" from the Japanese version CD-Rom, it install GRUB for DOS and copy the loopback file to my NTFS partition.
    2. the batch file "install2win.bat" will call the other batch file "setup.bat".
    3. There is a line in the "setup.bat" batch file:
    %GRUBHOME%\grubinstall -d %SystemDrive% -1 %GRUBHOME%\stage1 -2 %GRUBHOME%\stage2 -m (hd%RDISK%,%PARTITION%)%GRUBDIR%\menu.lst > %GRUBHOME%\grub-installed.txt

    My question is that whether it will still work if I just use the files "linux26" and "miniroot_ntfs.gz", and then use the GRUB for DOS installed by me.

    What's the following line doing?
    %GRUBHOME%\grubinstall -d %SystemDrive% -1 %GRUBHOME%\stage1 -2 %GRUBHOME%\stage2 -m (hd%RDISK%,%PARTITION%)%GRUBDIR%\menu.lst > %GRUBHOME%\grub-installed.txt

  8. #88
    Senior Member registered user
    Join Date
    Mar 2003
    Location
    Portland, OR USA
    Posts
    568
    Quote Originally Posted by wslkevin
    I have tried, it works with "hda=scsi hdb=scsi hdc=scsi hdd=scsi ", however I haven't tried it without these parameters. My notebook is IBM ThinkPad X31 with CD-ROM, and I don't have SCSI device. Could anyone tell me what's the mean of these parameters?
    Both Kanotix and Knoppix Japanese Edition seem to want the "hda=scsi...(etc)" parameter when booting the CD from GRUB. I use "hda=scsi" through "hdd=scsi" because I have two hard drives and two optical drives (hda through hdd). Whether it will work without that parameter, I do not know. If you've just got two drives, just use "hda=scsi" and "hdb=scsi", although the extras won't hurt anything.

    Quote Originally Posted by wslkevin
    My question is that whether it will still work if I just use the files "linux26" and "miniroot_ntfs.gz", and then use the GRUB for DOS installed by me.
    Yes, it will.

    Quote Originally Posted by wslkevin
    What's the following line doing?
    Knoppix Japanese Edition uses a version of GRUB for Windows originally made for a Linux distro named Topologilinux, which will run off your NTFS partition. It actually writes to your hard drive during installation and must be reinstalled if you defrag. That line you quoted is installing it using "grubinstall.exe".

    ruymbeke's version of GRUB evidently does not write to the hard drive during installation.

    Whichever one you use, the format of "menu.lst" should be exactly the same.

  9. #89
    Moderator Moderator
    Join Date
    Mar 2004
    Location
    Menlo Park, California
    Posts
    674
    Quote Originally Posted by eco2geek
    ...ruymbeke's version of GRUB evidently does not write to the hard drive during installation...
    The standard grub installer copy or dd (disk dump) the stage1 and stage2 grub binaries into the boot sectors of the floppy, partition or disk which I don't really like when running a corporate xp/ntfs computer. These modified sectors are not seen as a file by the ntfs file system and cannot be simply deleted or removed by the explorer, as an example. You need some special tool, or the xp install cd to revert back the way it was before installing grub.
    The grldr and boot.ini hook is for me much more "clean" and much easier to install and remove: modify the boot.ini text file and copy/delete some files. For the 98/me users, grub.exe can be started from dos and from a fat 16/32 partition, floppy disk, or even a usb key ...
    Please note that all the files required to boot knoppix from the ISO could be located anywhere on the disk assuming that the menu.lst and boot.ini are modified accordingly, but the c:/boot/grub/menu.lst which default location is hardcoded within the grub binary. To be exact the /boot/grub/menu.lst of the first partition of the first drive.
    PS: I can boot from the ISO file being in my NTFS partition without using any of these "hda/b/...=scsi". Please find below what I am using to boot from the ISO in my menu.lst:

    title Knoppix 3.6 kernel 2.6 from NTFS hda1 ISO scan
    kernel (hd0,0)/boot/knoppix.36/linux26 ramdisk_size=100000 init=/etc/init lang=us apm=power-off vga=791 nomce quiet bootfrom=/dev/hda1/boot/knoppix.36/*.iso config=scan home=scan
    initrd (hd0,0)/boot/knoppix.36/miniroot_ntfs.gz
    boot

    Gilles

  10. #90
    Junior Member registered user
    Join Date
    Sep 2004
    Posts
    29
    [quote="eco2geek"]
    Quote Originally Posted by wslkevin
    I have tried, it works with "hda=scsi hdb=scsi hdc=scsi hdd=scsi "quote]

    Both Kanotix and Knoppix Japanese Edition seem to want the "hda=scsi...(etc)" parameter when booting the CD from GRUB. I use "hda=scsi" through "hdd=scsi" because I have two hard drives and two optical drives (hda through hdd).

    Quote Originally Posted by wslkevin
    My question is that whether it will still work if I just use the files "linux26" and "miniroot_ntfs.gz", and then use the GRUB for DOS installed by me.
    Yes, it will.

    Quote Originally Posted by wslkevin
    What's the following line doing?
    Knoppix Japanese Edition uses a version of GRUB for Windows originally made for a Linux distro named Topologilinux
    Thanks, eco2geek.

    I have successfuly boot KNOPPIX up off the NTFS partition without the parameter "hda=scsi ............".

    ===

    Could I ask a question about Topologilinux here? I have tried Topologilinux and can boot it up using CD-Rom. However, it failed when I use GRUB to boot up. There are two situations:
    a. Use the grubinstall/ntfsinstall of the CD-Rom, and it stopped at "stage2" and displayed "blocklist failed". As a result, I can boot it up using GRUB.

    b. I use my pre-installed GRUB for DOS to boot it, the content of men.lst is
    root (hd0,0)
    kernel /boot/bzImage root=/dev/loop7 ro
    initrd /boot/initrd.gz

    or

    kernel (hd0,0)/boot/bzImage root=/dev/loop7 ro
    initrd (hd0,0)/boot/initrd.gz

    Then it said "Inconsistent filesystem struction" when running the "kernel ..." line.

    What should I do to solve this problem?

Page 9 of 72 FirstFirst ... 78910111959 ... LastLast

Similar Threads

  1. Boot Knoppix 3.3 from HDD using Grub for NTFS
    By sandricionut in forum Hardware & Booting
    Replies: 2
    Last Post: 08-11-2005, 03:28 PM
  2. grub boot loader read the boot file from a windows partition
    By cli168 in forum Hdd Install / Debian / Apt
    Replies: 3
    Last Post: 06-20-2005, 03:57 AM
  3. Hdd-install and grub boot??
    By Ish Rattan in forum Hdd Install / Debian / Apt
    Replies: 1
    Last Post: 06-25-2004, 10:31 PM
  4. Grub/lilo boot problems
    By madape in forum Hdd Install / Debian / Apt
    Replies: 2
    Last Post: 02-03-2004, 10:07 AM
  5. Boot cd with lilo or grub boot disk
    By keava in forum General Support
    Replies: 3
    Last Post: 10-20-2003, 05:24 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
  •  


WD 2TB Certified Refurbished Elements, External Hard Drive - RWDBU6Y0020BBK-WESN picture

WD 2TB Certified Refurbished Elements, External Hard Drive - RWDBU6Y0020BBK-WESN

$49.99



Seagate Exos X16 ST14000NM001G 14TB 512E SATA 6Gb/s 3.5

Seagate Exos X16 ST14000NM001G 14TB 512E SATA 6Gb/s 3.5" Enterprise Hard Drive

$169.99



WD Green SATA HDD - 3TB picture

WD Green SATA HDD - 3TB

$59.99



HGST Ultrastar DC HC520 12TB SATA 6Gb 256MB 3.5

HGST Ultrastar DC HC520 12TB SATA 6Gb 256MB 3.5" Enterprise HDD- HUH721212ALE601

$89.99



Seagate Exos 7E10 ST2000NM000B 2TB 7200RPM SATA 6.0Gb/s 3.5

Seagate Exos 7E10 ST2000NM000B 2TB 7200RPM SATA 6.0Gb/s 3.5" Internal Hard Drive

$29.99



HGST Ultrastar HE10 HUH721010ALE600 10TB SATA 6Gb/s 7200RPM 3.5

HGST Ultrastar HE10 HUH721010ALE600 10TB SATA 6Gb/s 7200RPM 3.5" Enterprise HDD

$69.99



HGST HUS724040ALS640 4TB 7200RPM 64MB Cache 6Gbps SAS 3.5

HGST HUS724040ALS640 4TB 7200RPM 64MB Cache 6Gbps SAS 3.5" Hard Drive HDD SERVER

$19.99



WD 16TB Elements Desktop, Certified Refurbished Hard Drive - RWDBWLG0160HBK-NESN picture

WD 16TB Elements Desktop, Certified Refurbished Hard Drive - RWDBWLG0160HBK-NESN

$209.99



8TB Seagate Archive SATA 3.5

8TB Seagate Archive SATA 3.5" HDD Hard Drive 100% Healthy 200MB/s ST8000AS0002

$36.21