how do you loop mount minirt_52.gz?
I have created a directory called /build to which I want to loopmount your patched minirt.gz file. The following works fine with an unpatched minirt.gz file:
First I ungzip minirt.gz. Then I enter: mount minirt /build -o loop
Then I'm able to see all the files inside and look at linuxrc script.
However, when I do all of the above with your minirt_52.gz ntfs patched file I can't get it to loop mount at all. Is there something special I need to do apart from the above. I've tried adding the extra option -t ext2 since the mount command seems to think its an ntfs image (I think...?). I also tried some of your other patched versions and none of them would loop mount by this method. I must be missing something/ doing something wrong. :-(
Any help would be appreciated because I'd like to play around with linuxrc for my own mods.
Re: how do you loop mount minirt_52.gz?
Hello,
I just mounted my minirt_511.gz in a ~knoppix/build directory with Knoppix 5.1.1
and I do not see any problem. Cf below or the following link:
http://s94002264.onlinehome.us/grub/loopback511.jpg
Be carefull not to mount the loopback into /build (build directory at the root level)
since the root directory is quite small, it is only 5.8Meg !
Hope this help... and please let me know how this works for you.
Gilles
Quote:
knoppix@vm-knoppix511:~$ su
root@vm-knoppix511:/ramdisk/home/knoppix# mkdir build
root@vm-knoppix511:/ramdisk/home/knoppix# gunzip minirt_511.gz
root@vm-knoppix511:/ramdisk/home/knoppix# mount -o loop minirt_511 build
root@vm-knoppix511:/ramdisk/home/knoppix# ls build
KNOPPIX cdrom hosts linuxrc.402 linuxrc.new mnt proc sys
bin dev lib linuxrc.501 linuxrc.old modules sbin tmp
boot etc linuxrc linuxrc.51 media opt static usr
root@vm-knoppix511:/ramdisk/home/knoppix#
Quote:
Originally Posted by mcewanw
I have created a directory called /build to which I want to loopmount your patched minirt.gz file...
Any help would be appreciated because I'd like to play around with linuxrc for my own mods.
mmm... that worked from Knoppix but not Puppy Linux...?!
Thanks for that. It works fine from Knoppix (I just have a very old Knoppix 3.1), but interestingly it doesn't work from Puppy Linux. In Puppy I was able to loop mount its own minirt*.gz no problem but not your patched Knoppix one (or from the patched minirt from the old japanese version of knoppix). In the latter case I kind of remember some error message about a wrong NTFS signature? Any idea what that could mean? I thought these were all ext2 image files (according to the unix "file" command they are).
Is there some special signature you had to write to the file you had to write to the image file to make it work from ntfs as well as insmod ntfs script code lines (device type or something)?
loop mounts from puppy now too! :-)
Ignore my last question. I must have done something daft yesterday. I just tried loop mounting your patched minirt from puppy linux again, and this time it worked fine...!*?!!
Thanks again.
Any chance you could patch a minirt.gz for Damn Small Linux?
Hello ruymbeke
Great to be able to boot Knoppix from ntfs with your patched minirt.gz. However it is also frustrating that noone seems to have produced a similar thing for the very popular Knoppix-derived Damn Small Linux. I've spent hours today trying to do just that... unsuccessfully :-(
First I ungzipped your minirt52.gz, loop mounted the result, and looked at linuxrc.
Then I did the same with DSL's minirt24.gz and used diff to see the differences.
Based on the side by side diff window I tried copying and pasting what seemed like the relevant parts over from your patched linuxrc to the DSL one. In particular I copied over your versions of the functions: mount_it(); boot_from(); boot_from2(); copy_to(); and loadmodule(). I also copied the line: loadmodule fuse ... and appended ntfs to the BUILTIN_FS line. Finally I reassembled everything into a new minirt24.gz.
But, as I say, it didn't boot - still couldn't find KNOPPIX whatever...
I even tried making a second version by also copying over the modules directory out of your patched minirt...
I didn't manually include any ntfs.o anywhere, so no manual insmod. Fact is, there wasn't any ntfs.o in the modules directory. Is that why this method doesn't work with DSL - is ntfs support compiled into KNOPPIX's kernel but not into DSL's kernel do you think? Or is the lengthy procedure I outlined above simply no good!
I really think it would be great if you could possibly do the same job for DSL you did for Knoppix - perhaps it would be easy for you to do since the linuxrc is very similar inside DSL to the Knoppix one?!
blank screen at booting on acer v72ma MA
Hi!
I downloaded your "minirt_511.gz" for booting knoppix ON a old aladding V motherboard( acer V72ma MB,amd K6-2 550 CPU, 128M ram), a few seconds of grub(grub did find the knoppix filesysytem and booting ).... The screen went into blank and hang there, couldn't go on booting any more....
while I runing "minirt_511.gz" on other PC no problem of booting at all..
Should I try adding code " vga=0" instead of vga = 799?
any other codes to fix up blank screen at booting?
Re: blank screen at booting on acer v72ma MA
Quote:
Originally Posted by musclemania20079
Hi!
I downloaded your "minirt_511.gz" for booting knoppix ON a old aladding V motherboard( acer V72ma MB,amd K6-2 550 CPU, 128M ram), a few seconds of grub(grub did find the knoppix filesysytem and booting ).... The screen went into blank and hang there, couldn't go on booting any more....
while I runing "minirt_511.gz" on other PC no problem of booting at all..
Should I try adding code " vga=0" instead of vga = 799?
any other codes to fix up blank screen at booting?
Hello you may want to try vga=788 or vga=768 as described in this document:
http://en.wikipedia.org/wiki/VESA_BIOS_Extensions (under Linux video mode numbers)
Pease let us know if this works for you.
Best Regards,
Gilles