Hmm, i'm playing around with 2880kb boot images now, i'll see if i can throw in a loadtoram option. Dunno how far i'll get though
btw, how small did you get it?
So I'm trying to get knoppix to copy onto the ramdisk and then run completely out of ram. I've managed to trim it down enough to fit, now it's just a matter of figuring out how to get it from the CD to the ram, which is where I run into trouble...
I tried just copying /bin/cp to /static/cp in miniroot, but no luck there at all, it won't run it for some reason.
So, any ideas on how to get the cloop image from the CD to the ramdisk?
Thanks!
Hmm, i'm playing around with 2880kb boot images now, i'll see if i can throw in a loadtoram option. Dunno how far i'll get though
btw, how small did you get it?
It's down to about 195MB... this is by no means the final product, this is just so that I can test it to see if it actually works.
ok, I've gotten myself a little bit farther, but I've run into another wall.
So I figured out that the ramdisk isn't set up before the cloop image is mounted.. great. so I made the /ramdisk directory on miniroot and put it onto a boot floppy.
so I let it start up with no cd in the drive so I'd get dumped at the crappy ash prompt, and loaded the reiserfs.o module from another disk so I could access my cloop image from the hard drive.
everything's going fine until this point, no problems.. I mount the hard drive to /cdrom and mount the ramdisk by "mount -t tmpfs /dev/shm /ramdisk".
then instead of copying, i try "cat /cdrom/KNOPPIX/KNOPPIX > /ramdisk/KNOPPIX". this goes through fine, but then when i try "insmod cloop.o file=/ramdisk/KNOPPIX", it gives me some error message about something not matching(damn.. can't remember the word right now. it was like "final (something) is 2..(big number) and not 13...(another big number)".
sooo.. my guess is cat messes up the image on it's way over to the ramdisk. any idea why or how i could fix it?![]()
if you want to put a command into the miniroot.gz, put it in /static, but you can't just copy "cp"
It has to be statically linked, e.g. doesn't link to any librarys. So you'll have to recompile it wil the gcc option --static
ok! now it makes sense...thanks!
ok.. a little farther ahead now. I got cp statically compiled, and added it to it's own dir on the CD along with some other stuff from fileutils. Now the problem I'm having is with getting the ramdisk mounted properly with the limit set(otherwise the full cloop image doesn't get copied)
I downloaded util-linux, set LDFLAGS=-static and compiled them, but mount doesn't seem to want to work anyway. any ideas here?
thanks again!

GIGABYTE A520M DS3H AC AMD AM4 Motherboard mATX
$59.99
GIGABYTE Z790 AORUS ELITE AX LGA 1700 Intel Z790 ATX Motherboard with DDR5
$189.99
Intel H310 LGA1151 8-9th Gen DDR4 M.2 NVMe mATX Motherboard IO Shield Battery
$54.99
ASUS PRIME Z490-V Motherboard Intel Z490 10th gen DDR4 LGA 1200 ATX w/ IO Shield
$84.99
GIGABYTE B365 HD3 LGA1151 Intel 9th Gen motherboard
$59.99
MSI B550M PRO-VDH Micro-ATX Motherboard - AMD AM4, Ryzen 5000/4000/3000 Ready, P
$71.49
ASUS PRIME B360M-C MicroATX Intel LGA1151 DDR4 HDMI VGA USB RJ-45 Audio
$34.99
Intel H81 Motherboard M.2 NVMe LGA 1150 mATX w/ IO Shield (Random Slot Color)
$29.90
ASUS B85M-G / B85M-G PLUS LGA1150 DDR3 Micro ATX Motherboard HDMI Support 4thCPU
$45.00
AMD AM4 Micro-ATX Motherboard, Ryzen 5000/4000/3000 Support, DDR4, PCIe 4.0, USB
$149.99