Try bootfrom=/dev/hda1/k*.iso
Not sure why it would make a difference, but this is what the cheatcode said, and it worked for me (although I wasn't using an NTFS partition)
HTH
jd
New (and working) Forum links (after forum migration):
=====================================
Knoppix 9.2.0 minirt+vmt
Knoppix 9.1.0 minirt+vmt
Knoppix 9.0.0 minirt+vmt
Knoppix 8.6.1 minirt+vmt
Knoppix 8.5.0 minirt+vmt
Knoppix 8.3.0 minirt+vmt
Knoppix 8.1.0 minirt+vm+3D
Knoppix 8.0.0 minirt+vm+3D
Knoppix 7.7.1 minirt+vm+3D
Knoppix 7.7.0 minirt+vm+3D
Knoppix 7.5.0 minirt+vm+3D: http://knoppix.net/forum/threads/115...349#post132349
Knoppix 7.4.2 minirt+64+vm+3D: http://knoppix.net/forum/threads/11589-ISO-boot-from-FAT-NTFS-USB-%28GRUB-exe-grldr-from-boot-ini%29?p=132111#post132111
Knoppix 7.2.0 minirt+64+vm+3D: http://knoppix.net/forum/threads/115...607#post129607
Knoppix CeBIT 7.1.0 minirt+64+vm+3D: http://knoppix.net/forum/threads/115...169#post129169
Knoppix 7.0.5 minirt+64+vm+3D: http://knoppix.net/forum/threads/115...l=1#post128979
Knoppix 7.0.4 minirt+64+vm: http://knoppix.net/forum/threads/115...l=1#post127675
Knoppix 7.0.3 minirt+64+vm: http://knoppix.net/forum/threads/115...l=1#post127151
Knoppix 7.0.2 minirt: http://knoppix.net/forum/threads/115...919#post126919
Knoppix 7.0.0 minirt and virtual machine: http://knoppix.net/forum/threads/115...465#post126465
Workstation 8.0.1 or Player 4.0.1 (build 528992) vm for Knoppix 6.7.1: http://www.knoppix.net/forum/threads...l=1#post125586
A snapshot of the old forum (before the migration from phpBB to vBulletin) would be helpful to repair all the broken links...
Old forum links:
===========
Since this thread is quite long now, please find below an index of some useful links:
Workstation 7.0.1 or Player 3.0.1 (build 227600) vm for 6.2.1: http://www.knoppix.net/forum/viewtop...=122675#122675 >4GB
Workstation 7.0.0 or Player 3.0.0 (build 203739) vm for 6.2.0: http://www.knoppix.net/forum/viewtop...=121964#121964 >4GB
Workstation 7.0.0 or Player 3.0.0 (build 203739) vm for 5.3.1 & 5.1.1: http://www.knoppix.net/forum/viewtop...=121541#121541
Workstation 6.5.2 or Player 2.5.2 (build 156735) vm for 5.3.1 & 5.1.1: http://www.knoppix.net/forum/viewtop...=120342#120342
Workstation 6.5.1 or Player 2.5.1 (build 126130) vm for 5.3.1 & 5.1.1: http://www.knoppix.net/forum/viewtop...=119222#119222
Workstation 6.5.0 or Player 2.5.0 (build 118166) vm for 5.3.1 & 5.1.1: http://www.knoppix.net/forum/viewtop...=118954#118954
VmWare 6.0 virtual machines for Knoppix 5.1.1 & 5.2 c't: http://www.knoppix.net/forum/viewtop...=113100#113100
with persistence of data: http://www.knoppix.net/forum/viewtop...=113141#113141
USB dongle how-to & 4.02/5.01 files: http://www.knoppix.net/forum/viewtop...?p=93758#93758
Windows Partition PMI wiki: http://www.knoppix.net/wiki/Win_Partition
Knoppix 6.2.1 update: http://www.knoppix.net/forum/viewtop...=122674#122674 with big memory kernel >4GB
Knoppix 6.2.0 update: http://www.knoppix.net/forum/viewtop...=121968#121968 with big memory kernel >4GB
Knoppix 6.2.0 update: http://www.knoppix.net/forum/viewtop...=121620#121620
Knoppix 5.3.1 update: http://www.knoppix.net/forum/viewtop...=117224#117224
Knoppix 5.2 c't update: http://www.knoppix.net/forum/viewtop...=112830#112830
Knoppix 5.1.1 update: http://www.knoppix.net/forum/viewtop...=110240#110240
Knoppix 5.1.0 update: http://www.knoppix.net/forum/viewtop...=110044#110044
Knoppix 5.0.1 update: http://www.knoppix.net/forum/viewtop...=103883#103883
Knoppix 5.0 update: http://www.knoppix.net/forum/viewtop...=101334#101334
Accelerated Knoppix 5.0.1 update: http://www.knoppix.net/forum/viewtop...=104261#104261
Accelerated Knoppix 4.0.2 update: http://www.knoppix.net/forum/viewtop...=101282#101282
ISO boot using grub: http://www.knoppix.net/forum/viewtop...?p=99669#99669
and some more explanation: http://www.knoppix.net/forum/viewtop...?p=98279#98279
bug fixes: http://www.knoppix.net/forum/viewtop...?p=98940#98940
and trick used: http://www.knoppix.net/forum/viewtop...?p=96888#96888
Hope this helps,
Gilles van Ruymbeke
Last edited by ruymbeke; 03-29-2021 at 11:17 PM. Reason: added link for Knoppix 9.2.0
Try bootfrom=/dev/hda1/k*.iso
Not sure why it would make a difference, but this is what the cheatcode said, and it worked for me (although I wasn't using an NTFS partition)
HTH
jd
I tried and it doesn't work. May I ask you for the exact syntax (all the keywords) you used to boot knoppix ? what kernel and initrd did you use ?Originally Posted by j.drake
What is the length in bytes of the files you used ?
Thanks GvR
I didn't do that, I just used the CD to get the boot prompt, then entered the bootcode. In my case, it was knoppix26 home=/dev/hdb5 myconf=/dev/sda1 bootfrom=/dev/hdb1/k*.iso
I must have misunderstood your question, because I thought you were asking about the command itself. Sorry I couldn't help more. I'm actually trying to work on booting from USB drive.
jd
(For the sake of brevity, assume I changed the name of the ISO file to "Knoppix.iso" -- "KNOPPIX_V3.4-2004-05-17-EN.iso" is just too long to type.)
You have to:
- Use Knoppix v3.4 -- the bootfrom cheatcode won't work with earlier versions.
- Make sure you specify the right hard drive and partition. "hda1" tells Knoppix to use the first partition on the master drive on your primary IDE channel.
- Make sure you tell Knoppix the entire path to the ISO. In other words, if you saved it as C:\Knoppix\Knoppix.iso (on hda1), you have to tell Knoppix it's located at /dev/hda1/Knoppix/Knoppix.iso.
- Either boot from the Knoppix CD, or from boot floppies.
For example, to boot Knoppixthe entire boot line would look like this:
- using the 2.6 kernel,
- disabling APM,
- using ALSA,
- loading saved configs off the second partition on my hard drive (hda2),
- using a persistent home dir from a USB thumb drive (sda1), and
- loading the Knoppix image off my NTFS partition, where it's saved as C:\Knoppix\Knoppix.iso,
boot: knoppix26 bootfrom=/dev/hda1/Knoppix/Knoppix.iso noapm alsa myconf=/dev/hda2 home=/dev/sda1/knoppix.img
(I've been trying to get Knoppix to boot entirely from the NTFS partition using GRUB. Haven't been successful yet. It still wants to look at the loop file on the CD before it switches and loads it off the NTFS partition.)
Hey! Just got it to work with no CD! (Posting from it now.) The drawback is that the loopback file (the big /KNOPPIX/KNOPPIX file on the CD) has to be on another partition.
So, here's how it looks:
The Knoppix ISO ("KNOPPIX.iso"), the kernel ("linux26"), and "minirt26" are saved in C:\KNOPPIX. The loopback file is saved on the 2nd partition (it's got Kanotix on it, formatted as ext2) as /KNOPPIX/KNOPPIX.
The GRUB stanza that loads it:Trying to have the loopback file and the ISO on the same partition isn't working...Code:# For booting Knoppix off the hard disk title Boot Knoppix 3.4 from hard disk kernel (hd0,0)/KNOPPIX/linux26 fromhd=/dev/hda2 bootfrom=/dev/hda1/KNOPPIX/KNOPPIX.iso lang=us keyboard=us alsa initrd (hd0,0)/KNOPPIX/minirt26.gz
Anyway, if you had a 1GB thumbdrive to put the loopback file on, and put the ISO on your NTFS partition, looks like you could boot that way. ("Poor man's install"? How much does a 1GB thumbdrive cost?)
<edit>
Further experimentation reveals that if you've got a 2nd ext2 partition, and the loopback file saved as /KNOPPIX/KNOPPIX on it, you don't have to have the ISO on the NTFS partition at all -- you can just boot it using the "fromhd=/dev/hda2" code and omit the "bootfrom=" code.
But then you can't restore your saved configs from hda2, since you've booted from the loopback file on hda2. (I still maintain that saved configs, persistent home dirs, and whatnot all have to be loaded from separate partitions.)
In other words, still looking for a way to boot Knoppix from just one NTFS partition without having to have the Knoppix CD in the drive.
Now if you had a big enough thumb drive...
</edit>
I have been able to boot knoppix 3.4 from the loop back file system image
file being on a logical fat32 partition using Grub 0.95 + the grub4dos patch. Grub was loaded from the boot.ini of the XP boot loader being on the primary and active NTFS partition. Yes grub can now be loaded from a NTFS partition and do not need to have it's stage1 in the master boot record of the disk !
I am trying now to boot knoppix entirely out of a single NTFS partition without CD, floppy nor any change in the disk mbr... I am looking for the minimum amount of changes to get a very easy and safe knoppix boot. Grub does a great job so far to load the kernel and the ramdisk from the NTFS partition but knoppix hangs when the linuxrc is looking for the loopback file system what ever it is included within the iso file or not. I have added the ntfs.o within the miniroot.gz and modified the linuxrc to have a chance to mount the ntfs. This is where I am right now and don't know how to move forward. Please advise. Thanks, Gilles
You might have better luck asking on the Knoppix developers' mailing list.
(Looks like NTFS is the only file system Knoppix won't boot from this way.)
Topologilinux also has a version of "GRUB for Windows" that uses the NT boot loader. It's great.
I will give it a try. Thanks !Originally Posted by eco2geek
Gilles,Originally Posted by ruymbeke
Would you mind going into a little more detail on what you did? I'm thinking that maybe you can help me! I'm very interested, but a bit confused. If you or other posters get a chance, I posted a question of my own here http://www.knoppix.net/forum/viewtop...?p=53064#53064 , and I could sure use whatever help I can get on booting a "fromhd" poor man's using a USB thumbdrive. Booting from CD is wicked slick, but I sure would like to do the USB thing. OTOH, with what you're doing, sounds like I wouldn't even need it (of course, I'm still very reluctant to mess with Windows bootloader)
Eco2Geek, if you're still peeking in, please stop by and weigh in on this also (along with anyone else willing to help).
jd
HP i7-7700 Desktop Computer PC up to 32GB RAM, 4TB SSD, Windows 11 or 10, WiFi
$285.54
Dell i5-7500 Desktop Computer PC up to 32GB RAM, 4TB SSD, Windows 11 or 10, WiFi
$295.20
Dell i5 Mini Computer PC up to 32GB RAM, 2TB SSD, Windows 11 or 10, USB-C WiFi
$301.36
Dell i5 Desktop Computer PC up to 32GB RAM, 4TB SSD, 24" LCD, Windows 11 or 10
$274.94
Lenovo M710Q Tiny Mini PC Quad Core i5-7500T 8GB RAM No HDD/OS
$79.95
Lenovo P310 Desktop - Intel Core i7-6700 @ 3.40GHz 8GB RAM 1TB HDD - Windows 11
$150.00
NEW HP S01 SLIM DESKTOP PC 10TH GEN CORE i3-10105 3.70GHZ 8GB 256GB SSD WIN 11
$199.99
HP EliteDesk 800 G2 (Intel Core i5-6500 3.2GHz 8GB) Mini PC Desktop
$74.99
Dell i5-6500 Desktop Computer PC up to 16GB RAM, 4TB SSD, Windows 10 Pro, WiFi
$227.65
Dell Optiplex SFF Desktop 8th Gen Intel Core i7-8700 6-Core UP TO 32GB, 2TB SSD
$529.99