I am not sure who you are relpying to.Quote:
Originally Posted by Crashogre
hda2 would only work on a partioned hard drive.
Printable View
I am not sure who you are relpying to.Quote:
Originally Posted by Crashogre
hda2 would only work on a partioned hard drive.
Hello
I simply like to say thank you for the new grub. :D
Booting 3.81 ISO form NTFS without problem.
Just as remark for other users ..
#----------------------------------------boot old 3.7 t ----------------------------------------------------
title Knoppix 3.7 kernel 2.6 from NTFS hda1 ISO scan ramdisk=32MB
kernel (hd0,0)/boot/knoppix.37/linux26 ramdisk_size=100000 init=/etc/init lang=ge apm=power-off vga=791 nomce quiet bootfrom=/dev/hda1/boot/knoppix.37/knoppix.iso config=scan home=scan ramdisk=32768 noprompt acpi=off nodma lang=de
initrd (hd0,0)/boot/knoppix.37/minirt26_ntfs.gz
boot
#----------------------------------------can’t boot ----------------------------------------------------
title Knoppix 3.8.1 from NTFS hda1 ISO scan ramdisk=32MB
kernel (hd0,0)/boot/knoppix.381/linux ramdisk_size=100000 init=/etc/init lang=ge apm=power-off vga=791 nomce quiet bootfrom=/dev/hda1/boot/knoppix.381/*.iso config=scan home=scan ramdisk=32768 noprompt
initrd (hd0,0)/boot/knoppix.381/minirt_ntfs.gz
boot
#------------------------------------boot’s perfect -------------------------------------------------------
title Knoppix 3.81 test kernel 2.6 from NTFS hda1 ISO scan ramdisk=32MB
kernel (hd0,0)/boot/knoppix.37/linux ramdisk_size=100000 init=/etc/init lang=ge apm=power-off vga=791 nomce quiet bootfrom=/dev/hda1/boot/knoppix.381/*.iso config=scan home=scan ramdisk=32768 noprompt acpi=off nodma lang=de
initrd (hd0,0)/boot/knoppix.37/minirt_ntfs.gz
boot
It’s maybe only o problem from my XP that
kernel (hd0,0)/boot/knoppix.381/linux don’t find the file “linux” even when I use the command line grub for editing and use the Tab for listing
kernel (hd0,0)/boot/knoppix.37/linux
Using the command line and TAB shows all files in c:\boot\knoppix3.7
Bye
Stefan
Well, this can only work if you have put the knoppix 3.7 into the boot file on the hard drive first.Quote:
Originally Posted by Stefan61
First time I tried this I got "Eror 16: file not found". Since I happened to have an ISO of 3.7 I copied that over to boot/knoppix.37
Still cannot get 3.8.1 to boot. Or 3.7 with kernel 2.6 - same error each time - which is much earler in the boot process than with the original menu.lst in grub
But 3.7 with kernel 2.4 works like a charm - except I had to tell it I had a wheelmouse (which I have not needed to do when booting of the CD)
I am actually posting from the machine in question now
So my question is - is this a problem with 3.8.1, kernel 2.6 or grub? (Plus do not forget that I can run 3.8.1 on another machine that happens to have a partioned hard drive with C formatted to FAT32)
[quote="shrek99"]Quote:
Originally Posted by Stefan61
I’m not quite sure I guess it’s a grub problem
Boot grub ; edit the Boot line down to “kernel (hd0,0)/boot/knoppix.37/” and press tab
grub will show me al possible Files and Folders
When I do the same with
kernel (hd0,0)/boot/knoppix.381/
I can’t see the files .folders maybe just a NTFS / GRUB problem
BTW:
With the little work around store the files linux and minirt_ntfs.gz
in the Folder c: /boot/knoppix.37 and the knoppix381.iso in the folder
/boot/knoppix.381/ everything works perfect
bye
Stefan
Hi all,
Thanks so much to you all for your hard work in getting GRUB to boot off an NTFS partition! It works like a charm for me (as long as I keep Linux mounting my NTFS filesystem in read-only mode; the NTFS read/write support in the 2.6 kernel that comes with Knoppix 3.8.1 is still very unstable, and corrupts my NT boot record).
I'm curious; where is the source code available for GRLDR, so I can rebuild it myself? I've found Ryumbeke's excellent GRUBE.ZIP, which has all the binaries, but I'd really like the diff against grub 0.95's source code if possible.
I found that the original home page of GRUB for DOS (and NT) is no longer available, although there is a Google cache available. However, the source code mentioned on that page is nowhere to be found.
Does anyone happen to have a copy of the original grub020.zip off that page? I assume that has the patch in it.
Thanks all!
Well, the binaries included in the http://s119307663.onlinehome.us/grube.zip are the result of an october 2004 cvs 0.95 snapshoot patched with the http://s119307663.onlinehome.us/grub020.zip (for ntfs and grldr support by Tinybit and Gandalf) and the http://s119307663.onlinehome.us/grub...ss-patch-1.zip (for the network support by Fengshuo).Quote:
Originally Posted by che_fox
I am working on new binaries based on the new grub 0.96 and the latest patches. I know that the ntfs module (fsys_ntfs.c ) is kind of "buggy" since it cannot always find the files/directories where the kernel amd initrd are located. As a short term work around I suggest to create a new directory (that grub will find) to store the boot files (kernel and initrd) and accordingly update the menu.lst until the ntfs module will be fixed.
BTW, if someone is willing to work on it, here is the link: http://s119307663.onlinehome.us/fsys_ntfs.c (the patch to generate this file is included within the grub020.zip). Please keep me updated if you plan to work on it, so we don't duplicate the effort...
Best Regards, Gilles
Excellent, this is perfect. (And apologies for misspelling your username, ruymbeke! :)Quote:
Originally Posted by ruymbeke
All the source seems to be properly tagged as GPL, too, so that seems to suit my purposes just fine. (I was worried that a binary-only distribution of some proprietary code had gotten out somehow..)
According to http://distrowatch.com/ Knoppix 3.8.2 is out !!!
An updated version of the KNOPPIX live CD has been released.
From the http://ftp.tu-ilmenau.de/Mirrors/kno...-CHANGELOG.txt V3.8.2-2005-05-05 (update):
dist-upgrade;
kernel 2.6.11 update;
the madwifi drivers are back;
kwifimanager in KNOPPIX/network menu;
OpenOffice 1.1.4 security update;
swapping on knoppix.swp on a NTFS partition should now work;
replaced Fabian Franz' original knoppix-installer with the version from Jörg Schirottke/Kanotix;
fixed SCSI drivers in bootimage.
KNOPPIX 3.8.2 is available for free download from one of its mirror servers: ftp://source.rfc822.org/pub/mirror/k...5-05-05-EN.iso (694MB) or
ftp://source.rfc822.org/pub/mirror/k...5-05-05-DE.iso (694MB).
So I updated the minirt_ntfs.gz for Knoppix 3.8.2 with the new scsi drivers:
http://s119307663.onlinehome.us/Knoppix382.zip
Cheers, Gilles
I have an old system,
HD is a C: partition, boot FAT 16, 2B
and a G: Partition. NTFS.
Copied ruymbeke's files and followed the How-To by J-Drake. All the files are on the C: partition. After the boot menu shows up and I choose GRUB, nothing happens. Flashing cursor on screen. Where do I start debugging this. I'm a Linux novice.
Windows boots ok. Tried to install Knoppix 3.8.1
any help is appreciated.
thanks
If you can boot dos on your fat 16 partition c: from the xp bootloader, you could try to use grub.exe instead of grldr which may not work well on some old computers... Cheers, GillesQuote:
Originally Posted by kaiyer
Hi Gilles,
to update your initrd to the new Knoppix, will replacing all the
modules in the image with the new ones suffice?
I don't think I followed all the instructions on this thread, but
with with boot stanza:
,Code:title Knoppix 3.8.2 from NTFS hda2 ISO scan ramdisk=32MB
kernel (hd0,1)/boot/knx382/linux ramdisk_size=100000 init=/etc/init lang=us apm=power-off vga=791 nomce quiet bootfrom=/dev/hda2/boot/knx382/KNX.iso config=scan home=scan ramdisk=32768 noprompt nodhcp
initrd (hd0,1)/boot/knx382/minirt_ntfs.gz
boot
it hangs (on 3.8.2) at reboot/halt, by saying something like "hanging process" etc. Am I missing
something?
Thanks,
Tom
ps: oh, BTW, this /dev/hda2 isn't even an NTFS volume. It's plain VFAT.
The initrd and menu.lst updated files for 3.8.2 have been here for a while:Quote:
Originally Posted by tablet_guy
http://s119307663.onlinehome.us/Knoppix382.zip
I will work on 3.9 asap... Cheers, Gilles
Actually, I meant whether the 3.8.2 minirt_ntfs.gz from this fileset willQuote:
Originally Posted by ruymbeke
work on 3.9 after a copying in the modules from 3.9 minirt and /lib/modules.
I was booting off my linux grub actually. I'll check out the menu.lst
from your files, and see if the hang goes away.
thanks,
Tom
My laptop's main OS is WinXP, but I'm looking to boot ISOs from the HDD (many knoppix-based, but not all). I already have Grub installed (from a botched Gentoo install) and an EXT2 partition (/dev/hda2). I've perused this thread, but I'm still a little confused. If I copy the ISOs to my NTFS partition, I'll need a special version of Grub, yes? And I'm also not guaranteed compatibility - especially older Knoppix-based distros, 2.6 kernels, etc., right? So, would I be better off copying the ISOs to my EXT2 partition? And if so, should I use the existing Grub install I have now? Would grub be able to handle menu selection of multiple ISO images? How do I configure that?
Thanks for your help!
Well, grldr (grub flavour started from a XP/NT boot loader) is required to read data (kernel and initrd file) from a ntfs partition.Quote:
Originally Posted by doobs
Once the kernel is started, the initrd_ntfs ramdisk is required to both boot from a iso file and read the iso data from the ntfs partition. So if you have already grub as a bootloader and are willing to boot from an ext2/3 partition, the only thing you need is the initrd_ntfs file to have the option to boot from a iso file. You obviously need to add some entry lines into your grub menu.lst and add the iso, kernel and initrd_ntfs files somewhere in your ext2 partition and have the apropriate path for these files in your menu.lst. Hope this help, Gilles
Most likely yes. But you may need to update the linuxrc script file and do some more patch work...Quote:
Originally Posted by tablet_guy
I will work on a Knoppix39.zip package asap, hopefully tomorrow...
but it looks like that 3.9 is buggy regarding the unionfs, see the 3.9 forum news: http://www.knoppix.net/forum/viewtop...19285&start=10
so I may just wait for the 3.9.1
EDIT: actually my 3.8.2 minird_ntfs file also works with 3.9 !!!
Most of the drivers are the same but the linuxrc scripts slightly are different.
The unionfs.o kernel module is different but as the new one is buggy, I like to keep the old one for now.
I didn't get the time to look at all this in details... but I am writing this from knoppix 3.9 booted from the iso file on my ntfs partition...
So to summarize, use the new 3.9 kernel and iso file with the 3.8.2 initrd_ntfs file included in: http://s119307663.onlinehome.us/Knoppix382.zip
Have fun, Cheers, Gilles
[quote="ruymbeke"]After you put out a basic version of your initrd for 3.9, would you like toQuote:
Originally Posted by tablet_guy
iterate over linuxrc and affiliated files offline (over email?) to get the
unionfs overlay to work properly?
One idea I have it this:
mount the unionfs image overlay (i.e. knoppix.img image sitting on the HD) from initrd itself
(at perhaps the /ramdisk mount point) instead of handling it later with the
knoppix-image shell script once inside. A new directive (something like
"mount_ufs_overlay=/dev/hdxy/knx/knoppix.img") could be used for this
purpose.
Tom
I am not sure to understand what you are asking for. Knoppix 3.9 seems to be buggy because of the unionfs and it is expected to have soon a new 3.9.1 release. Knoppix 3.9 can already boot from the iso files on a ntfs partition (or fat,ext,...) using my 3.8.2 initrd. So I will just wait for the new knoppix 3.9.1 to update my grub.zip.Quote:
Originally Posted by tablet_guy
Cheers, Gilles
Well, to avoid having to boot into my crippled Gentoo install, I decided to try the NTFS way first. I downloaded the grube.zip file (and 3.8.2 updates) and now launch grub via boot.ini. I've got whoppix 2.7.1 (knoppix 3.8.2-based) launching, but it complains about the modules not being correct for the kernel ("xxx: version magic '2.6.11.9 SMP preempt 386 gcc-3.3' should be '2.6.11 SMP preempt 386 gcc-3.3'" all over the place). It launches the windowing system, but doesn't get beyond loading the background image -- i.e. none of the apps, control panel, etc. are loading. So, I'm guessing this is because they compiled a new kernel which isn't happy about what I've done here. I tried using the stock Whoppix kernel (copied 'linux' file off iso -- right?), but it complains immediately at boot about lack of ntfs support, etc., similar to earlier threads here.Quote:
Originally Posted by ruymbeke
So, my questions, I suppose, are:
1) Would booting this off my existing EXT2 partition help fix this issue?
2) If no, what will this require? Patching and then recompiling the kernel?
3) Is there an alternate way that I'm overlooking?
Thanks again for all your help!
Well, if the knoppix 3.8.2 drivers (inside the initrd) do not match the whoppix 2.7.1 kernel,Quote:
Originally Posted by doobs
I am afraid that there is some work to be done to get it working...
To boot from ntfs you need the ntfs drivers matching your kernel version inside the inirtrd boot ramdisk.
To boot from an iso file you need a modified linuxrc script also inside the initrd file.
So you basically need to make a new initrd_ntfs boot ramdisk based on the whoppix 271 initrd
with at least a patched linuxrc and may want to add the ntfs drivers and other utilities as well
to have the option to boot from your xp ntfs partition.
FYI, I am also interested in whoppix, so when I have some time
I will update an initrd for the last release of whoppix.
EDIT: Here it is: http://s119307663.onlinehome.us/WHOP271.ZIP
Cheers, Gilles
Gilles,
That worked perfectly -- thanks! I dug around the scripts a little and see what's going on now. Makes a lot more sense. I appreciate your help!
Dear experts,
I have been trying all the methods here to boot a Whoppix ISO from my NTFS partition.
I got stuck when grub is trying to locate menu.lst. After two default failures, I got down to command-line and attempt to troubleshoot.
When I tried to tab into my C:\BOOT directory using "(hd0,0)/BOOT", I get:
Error 17: Inconsistent filesystem structure.
Other folders seems fine. I logged out from my Windows domain logon and tried recreating the GRUB directories and files using my Computer Administrator account but to no avail.
Anyone has the same problem? Kindly advise if you have the solution.
Thank you.
Move your menu.lst file into the root of c: c:\menu.lst and check that there is no other file called menu.lst in any other partition/disk in any directoy /boot nor /boot/grub. (Grub is looking first for the menu.lst in the /boot/grub directory and if not found looking into /boot and if not found into /). Then if you have a problem to access the boot directory from the grub command line, move the boot files (kernel and initrd) in an other directory reachable for grub and update the menu.lst. I know the ntfs driver module built-in grub could be improved. (There is some directories which cannot be reached). If someone is willing to work on it ... let me know. This is just a work around. Hope this helps, GillesQuote:
Originally Posted by scaremonger
Thanks for your reply. Following your advice, I have deleted all menu.lst and left one at c:\ root directory. The kernel and initrd files are also moved to the root. It still doesn't seem to work. When I get to GRUB command prompt, I tried the following:Quote:
Originally Posted by ruymbeke
rootnoverify (hd0,0)
kernel /linux
I get "Inconsistent filesystem structure". Tabbing the root directory, I can still see linux, menu.lst, minirt_ntfs.gz, etc.
My c:\menu.lst looks like this:
---
################################################## ####
# GvR April 12th 2005
color black/cyan yellow/cyan
timeout=10
default=1
title Default Boot on HD 0
rootnoverify (hd0,0)
chainloader +1
boot
title Whoppix 2.7.1 from NTFS hda1 ISO scan ramdisk=32MB
kernel (hd0,0)/linux ramdisk_size=100000 init=/etc/init bootfrom=/dev/hda1/boot/whoppix271-final.iso myconfig=/dev/hde1 ramdisk=32768 noprompt noeject
initrd (hd0,0)/minirt_ntfs.gz
boot
title Memory test
kernel (hd0,0)/boot/memtest
title Win311 from Dos from Floppy image 1.44Mb, just for fun...
kernel (hd0,0)/boot/memdisk
initrd (hd0,0)/boot/win311.img
boot
---
FYI, I'm running XP pro with NTFS C:\ partition.
Any idea?
Thanks.
If you get the grub menu, it means that grub can load the menu.lst. This is really good. Then it looks like that grub has some problem accessing the root of your ntfs partition to load the kernel. So I would suggest to find a directory where grub can browse to and load the kernel/initrd files from, and update your menu.lst file accordingly. Early created directories have the best chance of success. And I think that grub does not like fragmented files, so a full disk may not help. You could try to delete temporary some big files, copy the kernel and try again. Hope this helps, GillesQuote:
Originally Posted by scaremonger
Hi All,
I have been following this thread for a while, it has been quite a journey. I think these live Cds are a great way forward, especially when they can be place don a hd and boot from iso. I was wondering if it would be possible for someone to post consolidated instructions on how to create a minirt_ntfs.gz for a knoppix distro and maybe even others such as kanotix. An earlier post alluded to what is necessary but did not go into enough detail. I'm fairly new to this sort of stuff but I would like to get envolved.
Best Regards
Brian
Thanks Gilles. I don't think it loaded the menu.lst I placed in the root. The menu that I got was the one with 'Default' and 'Fallback' items. Anyway, I free my HD to half-full and ran defrag. Even used some file defrag utility to make sure all GRUB related files and folders are fragment-free. Still getting the same "Error 17: Inconsistent filesystem structure" when I tried "configfile /menu.lst". I can now access the c:\boot folder after renaming an old folder to c:\boot. It's weird that only old files/folders are accessible by GRUB. Any more ideas?Quote:
Originally Posted by ruymbeke
If you can now access the c:\boot folder, you can try tu put the menu.lst, kernel and initrd files in there. Cheers, GillesQuote:
Originally Posted by scaremonger
I wish I would have the time to do that. If you know how to access the inside of the initrd file and understand how to patch a linuxrc script, it is quite simple to update the kernel drivers and other tools (busybox, mount,...) to make a ntfs/fromiso version of a initrd file. But a generic step by step instruction procedure is quite hard to write. It is almost a case to case basis, but I will do my best to provide updates ... Cheers, GillesQuote:
Originally Posted by bswinburne
Finally! I have managed to get it working. :DQuote:
Originally Posted by ruymbeke
Although I can access the c:\boot folder, the files in it are still unreadable by GRUB. What I did was to get the latest version of GRUB loader from http://grub4dos.sourceforge.net, replacing the one from grube.zip. Using WINGRUB, I installed GRLDR and rewrote MENU.LST. The new GRLDR by default looks into c:\boot\grub\menu.lst but WINGRUB writes to c:\Grub\menu.lst. I loaded up a Hex Editor on GRLDR to point it to c:\Grub\menu.lst.
Works perfectly now. Thanks for pointing me to the right direction Gilles.
Have a great day ahead! :wink:
OK, I understand, thanks for taking the time to reply.Quote:
Originally Posted by ruymbeke
Regards
Brian
Hi, I'd like to tell you that I succed boot Knoppix form NTFS, my PC is Acer Travelmate 230 and my HD (all NTFS):
C: hda1 , WindowsXP
D: hda5
E: hda6 , which hold the "knoppix.iso" image file
F: hda7
G: hda8
You need to boot with Grub ,edit "boot.ini" as a lot manual says, and the most important is you need to replace the "initrd" file with NTFS supported.
I am sorry I forget where did I got the file, but just in this forum, just search.
PS: the file may boot Knoppix up to version 3.8.1, and what I have is a 3.9 image, so I couldn't shutdown my laptop properly
If you read carefully my previous posts, you will find:Quote:
Originally Posted by cpeter
Actually my 3.8.2 minird_ntfs file also works with 3.9 !!!
...
So to summarize, use the new 3.9 kernel and iso file with the 3.8.2 initrd_ntfs file included in: http://s119307663.onlinehome.us/Knoppix382.zip
Cheers, Gilles
THX very much!Quote:
Originally Posted by ruymbeke
And the initrd file download url : http://s119307663.onlinehome.us/grube.zip
PS: Could you please tell me what's the principle of your "intrd_ntfs"? That will be very nice of you.
http://s119307663.onlinehome.us/grube.zip contains the base PMI files and the kernel/initrd files for knoppix 3.6,3.7,3.81
http://s119307663.onlinehome.us/Knoppix382.zip only contain the kernel/initrd files for knoppix 3.82,3.9 (same files)
As I said previously, I wish I would have the time to do that. If you know how to access the inside of the initrd file and understand how to patch a linuxrc script, it is quite simple to update the kernel drivers and other tools (busybox, mount,...) to make a ntfs/fromiso version of a initrd file. But a generic step by step instruction procedure is quite hard to write. It is almost a case to case basis, but I will do my best to provide updates. BTW I am currently downloading knoppix DVD 4.0... Cheers, GillesQuote:
Originally Posted by cpeter
Hi,
I've just downloaded and installed the WinPartion PMI with Knoppix 3.8.1 on my Desktop PC under Win XP Pro there was no problem. I am able to choose and start Knoppix 3.8.1 from ISO the file in my C:\BOOT\Knoppix3.81 folder.
On my Notebook (SONY C1 VE) under W2K however, following exact the same schema there is a problem - choosing Start Grub restarts the notebook after some seconds with only blinking cursor on top left of the screen, no grub menu is shown. Adding and choosing the "OLD METHOD" shows nothing - screen is black (PC hangs?) only reset helps.
What am I doing wrong? Please help
Best Regards
Emil Tchekov
Could you please try this http://s119307663.onlinehome.us/grldr and let me know ? Thanks, GillesQuote:
Originally Posted by emiltcho
Hi again (thank you very much for your help),
Downloaded http://s119307663.onlinehome.us/grldr (137 KB) and replaced the "old" one (171 KB). Got the same effect as by choosing the "Old method" - no more restarts, but hangs on black screen with no message/cursor, only reset helps.
Regards
Emil
Hi again,
this seems to be a deeper going problem.
I have installed Win XP Pro on my C1VE and GLDR still not work. Other laptop with same gldr problem under W2K, was able after upgrade to XP pro to boot Knoppix from iso without other changes.
Regards
Emil Tchekov
Finally I got the Knoppix 4.0 minirt_ntfs.gz (almost) working !
http://s119307663.onlinehome.us/k40.zip
It boots properly but not all applications are there yet.
I still have a small bug to fix in the linuxrc script which prevent the second KNOPPIX2 cloop to load.
Please be very careful with the "casing" of the ISO path used in the grub menu.lst,
it has to match the Knoppix ISO filename, see my grub menu.lst:
bootfrom=.../boot/knoppix.40/*.ISO (previous knoppix releases were using .../boot/knoppix.39/*.iso)
I will try to post an update asap.
Please give me some feedback.
Cheers, Gilles