237pages on
this wiki
Add New Page
Add New Page Talk0

Here's my experience installing SMGL on 0.6.3.

First, I didn't RTFM, and tried to boot from the install ISO. Hey, RSBohn seems to have booted Lunar Linux, so why not?

Of course, the iso image doesn't have the right mojo on /lib/modules.

I tried some of the suggested solutions for modifying the iso, but they all seemed too clumsy; Daemon Tools doesn't even see rockridge! So I decided to do it the GNU/Linux way. I downloaded some other CoLinux image -- Debian, because it's small. Then I made a config that had these codevices: Debian, one 1-G device I created for this purpose (smgl-inst), the smgl iso, and a cofs pointing to c:\. I booted into this debian, formatted smgl-inst, mounted both other devices (the iso on /cdrom, smgl-inst on /mnt), and copied the contents of the iso into the new device (using the old cd foo; tar c) | (cd bar; tar xv) trick).

Then I mounted the cofs -- see Cofs in 0.6.3 -- and unpacked the vmlinuz-modules.tar.gz file in the right place of smgl-inst.

Oh, I found that the smgl install complains about the root fs for some reason. I added this line to the beginning of /etc/fstab:

 /dev/root /             rootfs  defaults        0 0

Halt debian.

Now I created a config with: my target device (now empty), swap, smgl-inst, and cofs. I put the target first, rather than the installer, so that my fstab and whatnot will look right; so I need a <bootparams>root=/dev/cobd2</bootparams>. I boot this one, and I'm in the smgl installer.

On the "Disk structure menu", there's a little nag; I have to format my devices first, or smgl won't see them. Alt-F3 gives me a shell; mkreiserfs /dev/cobd0; mkswap /dev/cobd1 does the rest. Now I can choose "Format/mount filesystems and swap" and the devices will be there.

Then of course you have to let it cast the kernel, even if you're not going to use it. It takes a while. Tell it to "copy" the kernel from the "cd", or it will take even more ;-)

Follow the usual instructions to set up networking; there are a few in the wiki, and the details depend on your network layout. I believe you'll want to use the manual setup on the smgl install. I followed coLinuxNetworking, but had to manually run dhcpd in the end to get the dns setup. I believe if you just put it would work.

That's it... select your spells and let the magic begin. When it's finished, take note of the things you need to do later (it's nice that I'm running on a window, because I can copy it and paste in emacs), and close coLinux. Go back to the config file and select the right root device. There it is... happy casting!

ManuallyAdjusted on Tue Apr 25 16:56:15 UTC 2006

Also on Fandom

Random Wiki