Slimelite BBS

File2Partition.lha

Back to unix

Spare memory if LinUX install V1.2 stores

Size
10.0K (10,208 bytes)
Added
2026-11-20 13:07
Downloads
2
Long Description
File2Partition V1.2 Features: - write images on Partition, Disks or any LogicalDevice. - Oberon-2 Sourcecode - support Partitions after 4GB "border" if the device support it ;-) (Aminet:disk/misc/IDEfix97.lha) - NO verify ):-< FUTURE: extract files with *.Z extention, with help of the z.library (AmiNet: util/pack) Other products: Aminet:disk/cache/fda.lha (cheapest, fastest and cleverest Cache-Program) Aminet:mods/slow/BrainBird.lha (Shaman drums to meditate and 14 Ambient NewAge Songs) Aminet:misc/math/TelekomTelefonrechnung.lha (calculater for WG´s) Aminet:gfx/show/ActiveWinPic.lha (Picture on any window, special SHELL!) Aminet:util/boot/IsInserted.lha (StartUp-Check if a Disk inserted then start BootUte) Aminet:misc/unix/File2Partition.lha (spare memory if LinUX install, stores files direct to HD, Disks or any LogicalDevice) Ahoy, i have only two megabyte FastMemory, you realize that its realy pretty too run Linux on my machine: the result is, i wrote a program "File2Partition" which write the "Linux/680x0/v2.0/filesys/filesys-ELF-2.0.x" (Yes the two megabyte version with TAB-extention) to my "LinuxRoot:" Partition. Now, i don´t need a BootRamDisk. Unfortunately here is my realy BAD-problem. I use the "Linux/680x0/v2.0/vmlinux-2.0.33" Kernel, but its too large. Now, i modified with PowerPacker AmiBoot-Hunks to load it in ChipMem and boot the Amiga with no FastMem to include it short time befor AmiBoot. The Result is i have the full 2MB FastMem for Linux, but its not enough, but i can´t give up. More memory? OK you sucking machine, now you became Virtual Memory, you have a MemoryManagmentUnit, then use it! I modified the Linux StartUp-Sequence ("/etc/rc") with a DiskMonitor, yes not a normal Text-Editor. To do this: search the String "#!/bin/" on your LinuxRoot-partition. You found it by: filesys-ELF-2.0.x at Block 1696 filesys-ELF-2.0.x-1400k-2 at Block 1400 Hint: "#" = ";" AmigaDos (Comment) first line: overwrite "#!/bin/sh??# Set the path." with "/sbin/mkswap /dev/hda4<RETURN(0x0A)>#" <RETURN(0x0A)> means enter HEX 0A after "PATH=/sbin:/bin; export PATH<RETURN(0x0A)>" third line: overwrite "#??????" with "/sbin/swapon /dev/hda4<RETURN(0x0A)>#" I boot this sucking-Machine UP, and?, a endless lopp to opening the LIBS. ahhhhhhhhhhhhhhhhhhhhhhhh..... Now, time past away an i wise, former or afterwards, you know the machine as well as i. In the moment is here the end of the story. But i hope that a LinuxSuperUser create a special version for this problem. Usage: File2Partition FILE Partition FILE is the NAME of the File Partion is the NAME of the Partition example File2Partition Devel:Linux/RedHat/images/ginitrd.img LinuxRoot: or File2Partition Devel:Linux/RedHat/images/ginitrd.img LinuxInstallRoot: Hint: Normaly LinuxRoot: is disabled AutoMount, enable this Flag for schort time with HDToolBox. OR, use from Aminet RDB-Informer to build MountList like ------CUT here ------------CUT here ------------CUT here ------ /* Hard-Blocks Informer : Partition LinuxRoot: Flags = $00000002 = - Partition is not bootable PBF_NOMOUNT - Partition is not automaticaly mounted DevFlags = $00000000 = 0 Preferred flags for OpenDevice DosEnvec block with 16 entries SizeBlock = $00000080 = 128 block size in longwords SecOrg = $00000000 = 0 not used Surfaces = $00000010 = 16 number of heads SectorPerBlock = $00000001 = 1 not used; must be 1 BlocksPerTrack = $0000003F = 63 number of blocks per track Reserved = $00000000 = 0 DOS reserved blocks at start of partition PreAlloc = $00000000 = 0 DOS reserved blocks at end of partition Interleave = $00000000 = 0 (usually 0) LowCyl = $00000561 = 1377 starting cylinder H