-
ISO boot from FAT/NTFS/USB (GRUB.exe, grldr from boot.ini)
Last edited by ruymbeke; 03-29-2021 at 11:17 PM.
Reason: added link for Knoppix 9.2.0
-
Senior Member
registered user
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
-

Originally Posted by
j.drake
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 ?
What is the length in bytes of the files you used ?
Thanks GvR
-
Senior Member
registered user
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
-
Senior Member
registered user
(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 Knoppix- 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,
the entire boot line would look like this:
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.)
-
Senior Member
registered user
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:
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
Trying to have the loopback file and the ISO on the same partition isn't working...
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>
-
Knoppix34.iso boot from a single NTFS partition
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
-
Senior Member
registered user
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.
-

Originally Posted by
eco2geek
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 !
-
Senior Member
registered user
Re: Knoppix34.iso boot from a single NTFS partition

Originally Posted by
ruymbeke
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
Gilles,
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
Similar Threads
-
By sandricionut in forum Hardware & Booting
Replies: 2
Last Post: 08-11-2005, 03:28 PM
-
By cli168 in forum Hdd Install / Debian / Apt
Replies: 3
Last Post: 06-20-2005, 03:57 AM
-
By Ish Rattan in forum Hdd Install / Debian / Apt
Replies: 1
Last Post: 06-25-2004, 10:31 PM
-
By madape in forum Hdd Install / Debian / Apt
Replies: 2
Last Post: 02-03-2004, 10:07 AM
-
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
-
Forum Rules

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