Updates of this project: changes.log
v1.1, 20 July 2000
Hello everybody, here is a short story of my idea to put the smb files on the first floppy of muLinux.
It all started when I bought a postscript printer, because I needed 600x600 dpi for my DTP-work. I also could have bought a "normal" printer, but my DTP-software only worked with postscript. Then the question arose: where to put the printer? My desk was filled with two telephones, loudspeakers, a pentium computer, deskjetprinter, postboxes, mouse and monitor. I decided that the printer should go in the other office next door, so I bought networkcards and cables.
After downloading all necessary files I installed windoze 3.11 on a tulip 386 in the other office and set up the software. On both machines I had TCP/IP, but I couldn't get it working. I did a lot of reading about this subject and tried all kinds of protocols and situations. I tested my cable and card with dos programs and made connections under dos, but still win3.11 did not communicate with win95. I was desperate, and fetched my own pentium II computer from home, connected to the pentium in my office and it worked immediately (win95 <-> win95). But my children kept asking, "Daddy, when will you bring the computer home again?" I found out that win3.11 and win95 can only connect to each other if a server is used in the network.
So I decided to install Linux on a 386 to make a network server with samba.
I tried lots of versions of linux, like Redhat 6.0, but that consumed too much space, (500Mb), even without installing anything. It also crashed 4 times in the little while I experimented with it. Later I started to customise DOSlinux from kent robotti, but it is also 18 Mb, and not ready to go with samba in it. I spent a lot a time and money on useless books about installing Redhat. I read the book, "The Linux Network Toolkit" three times, which really has good parts in it. At that point I discovered that I needed the glibc (libc version 6), so there goes the diskspace. I had only 21Mb in this 386, so this was not a good start. I started to look for other mini-distributions of linux, something that really focused on the basics of the operating system.
Then I finally discovered muLinux which had an EXT addon that provided samba.
Setting it up and making it work was easy and extremely user-friendly. I wanted others to see what this software was capable of, and started working on putting everything on the first disk, so that it would be possible to set up an NT-like server in no time. Nevertheless, I wanted people to see that there was still muLinux behind all this so that they would be able to dive into the full functionalities of it.
1. Freeing diskspace
2. Making it work
3. Fine tuning
4. Creating the disk
To create space on the first disk you will have to delete things you can do without. Since my computer had no modem, I decided to remove fax and email programs, web server etc.
Best thing you can do here is:
- use a fast computer
- install Midnight Commander
- use a `loop` or `ext2` installation to make the mu-script work.
Make a new directory where you will unzip the original muLinux distibution file.
Copy the muLinux distibution file of your choice and type:
cat mu*version* | gzip -d | tar -xvf-Now start Midnight Commander and choose in the pulldown menu "sort by size."
Copy the smbd and nmbd files from /usr/local/bin to this directory.
Remove the symbolic links for samba and codepages in tree/etc that point to usr/local/etc.
Make the directories "samba" and "codepages" in tree/etc/.
Copy samba configuration files to tree/etc/samba.
Copy codepages to tree/etc/codepages, (you don't need all of them, I only took 850 and 437).
Remove from /setup/fun/*.fun those belonging to the files that you deleted.
Remove from /setup/cnf/*.cnf those belonging to the files that you deleted.
Edit the file /setup/order and delete all except:
swap usr tmp keymap isapnp port gpm printer sound smbd lpd crond standby misc local(This list will be configured at boot time.)
Edit the file /setup/addons and delete all of it's content, but leave the empty file there.
Why did I do that? ........ because it speeds up the boot proccess!
However if you leave this file untouched you can load all of the addons without any problem.
Edit the file /setup/custom and delete all except:
isapnp port gpm printer sound network smbd lpd crond standby misc local(This file is the list that will be run if you will setup a new profile.)
Edit the file /setup/shutdown and leave:
crond gpm lpd network smbd(Guess what this file does?)
Caution: there is no need to modify smbd.fun or smbd.cnf so better leave this the way it is.
The list of deleted files I made when creating my muSamba disk is provided here for your convenience:
Rebuild with mu -r
Read error messages and try again.
If it doesn't work or it works differently as expected, I would appreciate being notified of that.
If you like to obtaine a ready-to-go disk rather than following the steps mentioned above please persuade your browser to make binary downloads and get the following files.either:
a) Get the quick samba 1440 kb disk (not muLinux compattible) that will fit on any dosformatted 1440kb floppy.
For fast boot of a print and file server (also on low memory machines)
samba144.raw (1440 kb)or:
a) Download the muLinux Samba Disk image together with the other files mentioned below:
muSamba.raw (1772 kb)
b) The rawrite2 program (with source and documentation):
RAWRITE2.ZIPThis is a DOS utility to write a floppy disk image to a floppy. You may not copy images to the floppy, but instead use this utility to ``raw write'' them.
In case you decided to get the full 1772 kb muLinux Samba Disk please make sure you also have:
c) The fdformat program (with source and documentation):
FDFORMAT.ZIPThat's a little DOS utility to format disks with higher capacity than usual.
In order to put the Samba 1440k disk image on a floppy please start your PC in DOS mode, insert a normal and formatted 3.5 floppy and enter:
rawrite2 Samba144.raw A: /F144
In order to put the muSamba image on a floppy please start your PC in DOS mode, insert a normal 3.5 floppy and enter:
fdreadI personally downloaded and tested these, no errors.
fdformat A: /F:172 X:2 Y:3
rawrite2 muSamba.raw A: /F172
You are visitor
|( re-started on March 07 2001 )|