Subject: Re: serial console
To: Julio M. Merino Vidal <jmmv@menta.net>
From: Rasputin <rasputin@idoru.mine.nu>
List: port-i386
Date: 08/22/2003 12:20:33
* Julio M. Merino Vidal <jmmv@menta.net> [0810 10:10]:
> On Fri, 22 Aug 2003 08:45:51 +0100
> Rasputin <rasputin@idoru.mine.nu> wrote:
> 
> > 
> > I've got a headless box that wasn't whe nI installed the OS :)
> > 
> > Is there a way to put the console on the serial port this late
> > in the game? Googled a bit but couldn't find anything definite, just some
> > old threads about this being buggy (I'm assuing that's no longer true?)
> 
> Just reinstall the disk bootstrap software with 'installboot' and using the
> serial bootblocks, found in /usr/mdec.  man 8 installboot
> 
> Cheers

Like this then (without the n) ?

root@lb # /usr/mdec/installboot -v -n /usr/mdec/biosboot_com0_38400.sym /dev/rwd0a
/usr/mdec/biosboot_com0_38400.sym: entry point 0x8064000
proto bootblock size 57856
room for 20 filesystem blocks at 0x600
renamed //boot -> //boot.bak
Will load 98 blocks.
dblk: 33408, num: 16
dblk: 33424, num: 16
dblk: 33440, num: 16
dblk: 33456, num: 16
dblk: 33472, num: 16
dblk: 33488, num: 16
dblk: 2660, num: 2
BSD partition starts at sector 10240272
renaming //boot.bak -> //boot

Sorry for general numptiness, but like I said I could be looking at a
novelty paperweight if I spoon this up :)

disklabel is:

# /dev/rwd0d:
type: unknown
disk: idoru
label:
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 16
sectors/cylinder: 1008
cylinders: 16383
total sectors: 78165360
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0           # microseconds
track-to-track seek: 0  # microseconds
drivedata: 0

8 partitions:
#        size    offset     fstype  [fsize bsize cpg/sgs]
 a:   1536192  10240272     4.2BSD   1024  8192    86   # (Cyl. 10159 - 11682)
 b:   2048256  11776464       swap                      # (Cyl. 11683 - 13714)
 c:  61440624  10240272     unused      0     0         # (Cyl. 10159 - 71111)
 d:  78165360         0     unused      0     0         # (Cyl.    0 - 77544)
 e:   4095504  13824720     4.2BSD   1024  8192    86   # (Cyl. 13715 - 17777)
 f:  10240272  17920224     4.2BSD   1024  8192    86   # (Cyl. 17778 - 27936)
 g:  43520400  28160496     4.2BSD   1024  8192    86   # (Cyl. 27937 - 71111)


-- 
An artist should be fit for the best society and keep out of it.
Rasputin :: Jack of All Trades - Master of Nuns