> ok i just was wondering how i could get /usr to load with only 4 megs of > memory ... i need /usr because i need to get my zip drive to work :) It has been a while since I've done this, someone correct me if I mess up. Read the disclaimer at the bottom, too... A 4M machine by default boots with only the / ramdisk, and 300K free. Nearly 8M is used for the kernel, ramdisks, and bunzip2ing; when it runs normally in RAM- so you will have to have some hard drive space available. You can get at /usr even with 4M by following this procedure: (By the way, this is really intended as a last resort...) 1) Use fdisk to make 3 partitions, sized circa 2M, 4M, & 8M. The 8M will be a swap partition, you can use an existing one. The 2M and 4M will be the / and /usr partitions respectively, at least the 2M one will probably have to really be a free partition. The 4M for /usr could be an existing filesystem. 2) dd if=/dev/ram0 of=<your 2M partition> # copy your / ramdisk! 3) Reboot with "boot: 2.0.36 root=<your 2M partition>" # now you still don't have /usr but are running from hard drive # this is necessary because you need the RAM for un-bzip2-ing... 4) Mkswap & swapon the 8M partition # Now we have swap and no ramdisks 5) mkfs.minix or mke2fs the 4M partition # or use an existing one... 6) mount the 4M on /usr # ?? 'cd' to it or not ?? I forget... 7) Mount -o ro /dev/fd0u1722 /fl 8) . /fl/settings.s # sets the O2 environment variable 9) dd if=/dev/fd0u1722 skip=$O2 | bzip2 -ds | cpio -imd Then you'll have everything and can proceed at will... REMEMBER! This procedure *REQUIRES* that you *SOMEHOW* make a rootable partition on a hard disk! That may not be practical without DESTROYING existing stuff if you happened to already HAVE partitions! I have actually recovered 4MB machines from scratch using this procedure, but I recommend you know what you are doing before attempting it... DISCLAIMER: If use of tomsrtbt does anything bad in any way for any reason to anyone they are on their own. Tomsrtbt has no guarantees or warantees including fitness for anything. It may destroy your data and damage your hardware and you have been warned. -Tom
