[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Headless install on LX164



On Fri, Nov 26, 1999 at 08:40:07PM +0000, Adam C Powell IV wrote:
> > Unfortunately my memory is a bit foggy.  I think you have to change the
> > console device on the root floppy so it looks like:
> >
> > $ ls -l /dev/console
> > crw--w--w-    1 root     tty        5,   1 Nov  6 05:41 /dev/console
> 
> Cool!  How can I do that?  I tried mounting the ramdisk image floppy, but that
> was obviously wrong...  Do I have to somehow MAKEDEV in the root floppy /dev?
> 
> > I believe that the one on the floppy is a symlink to /dev/tty.
> 
> Really?  Any idea on why this is?  Seems like a proper /dev/console shouldn't
> take up that much space, and would make life easier for folks like me. :-)
> (Then again, it sounds like the new boot floppies are quite starved for space,
> counting every byte...)

Ok, I just had a look.  The console device on the root floppy looks
like:

$ ls -l console 
crw-r--r--    2 root     root       4,   0 Mar  7  1999 console

This is normal for a 2.0.x kernel, I believe.  Kernel 2.2.x has the
ability to use the serial console as the console by passing
"console=ttyS0" on the boot command line.  For this to work, the console
should have major number 5 and minor number 0.  I do not believe this
works with 2.0.x.  To get a serial console with 2.0.x you need to make
/dev/console a symlink to the appropriate serial device, like:

$ ls -l console
lrwxrwxrwx    1 root     root            5 Nov 28 19:37 console -> ttyS0

Since the installation disks use 2.0.x you need the latter approach,
unless you use a different kernel.

root1440.bin is a compressed ext2 filesystem image.  In order to mount
it, you need to uncompress it and mount it via loopback.  Once you have
it mounted, you can make changes, then unmount it and recompress it.  I
have prepared a root1440.bin.serial which should work for 2.0.x
kernels.  It is available at:

ftp://physics.clarku.edu/users/gjohnson/root1440.bin.serial

Let me know if it works.

Greg

-- 
Greg Johnson                          gjohnson@physics.clarku.edu
http://physics.clarku.edu/~gjohnson            finger for PGP key


Reply to: