Re: Fixing the UniPlus+ root disk fsck by hand (very very long)

From: Ray Arachelian <ray_at_email.domain.hidden>
Date: Wed, 26 Mar 2008 10:30:40 -0400

Andrew Warkentin wrote:
> Yes, there was a typo. The line that says:
>
> editsector 0x70 00 07
>
> should be:
>
> editsector 0x70 00 08
>
> UniPlus boots to a shell if that line is changed. All binaries (except
> for possibly /usr/bin/ls7), scripts, and configuration files appear to
> be OK. Some device nodes (like the raw floppy device - /dev/rs0a -
> necessary to install the system) are missing, though. That should be
> easy to fix (mknod is present on the floppy).
>

Woo hoo! That's wonderful news! Good catch.

So the proper lisafsh-tool script then is: 1
editsector 0xd0 00 00 00 00 00 00 00 00
13
editsector 0x50 00 06
editsector 0x60 00 07
editsector 0x70 00 08
2
editsector 0x140 41 ed 00 03 00 00 00 00 00 00 01 20 00 00 76 00 editsector 0x150 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 editsector 0x160 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 editsector 0x170 00 00 00 00 21 5a 42 52 1b 39 09 61 1b 39 09 62 editsector 0x180 41 ed 00 03 00 00 00 00 00 00 00 c0 00 00 7d 00 editsector 0x190 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 editsector 0x1a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 editsector 0x1b0 00 00 00 00 21 5a 42 52 1b 39 09 61 1b 39 09 62 editsector 0x1c0 41 ed 00 03 00 00 00 00 00 00 00 b0 00 00 84 00 editsector 0x1d0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 editsector 0x1e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 editsector 0x1f0 00 00 00 00 21 5a 42 52 1b 39 09 61 1b 39 09 62

Ok, so in terms of the missing devices in /dev, this should help... sectors 508, 515, 522 contain one of the installer scripts, and they inturn contain a bunch of mknod commands and such... So running some of those after doing "cd /dev" should help.... so maybe if those devices are missing, including null, perhaps, then this was the result of rm -rf and it's just that on UniPlus it probably does it breadth first, or it hadn't sync'ed fully to the disk.

I suspect not all of these are needed for the install...

mknod c1a b 2 16
mknod c4a b 2 64
mknod console c 0 0
chmod 622 console
mknod eject c 70
chown check eject
chgrp check eject
mknod mouse c 9 0
mknod error c 3 0
chmod 600 error
mknod kmem c 2 1
chown check kmem
chgrp check kmem
chmod 600 kmem
mknod lpcap c 4 17
mknod mem c 2 0
chmod 600 mem
chown check mem
chgrp check mem
mknod null c 2 2
mknod p0a b 0 0
mknod p0h b 0 7
mknod p1h b 0 23
mknod p2a b 0 32
mknod p2h b 0 39
mknod p4h b 0 71
mknod rp2h c 5 39
mknod rp4h c 5 71
mknod rs0a c 6 0
chown check rs0a
chgrp check rs0a
mknod s0a b 1 0
mknod s0b b 1 1
mknod s0c b 1 2
mknod speaker c 100
mknod syscon c 0 0
chmod 622 syscon
mknod systty c 0 0
chmod 600 systty
chown check systty
chgrp check systty
mknod tty c 1 0
mknod tty0 c 4 1
chmod 666 tty0
mknod tty1 c 4 0
chmod 666 tty1
ln tty0 lp
sync

--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "LisaList" group. To post to this group, send email to lisalist_at_email.domain.hidden To unsubscribe from this group, send email to lisalist-unsubscribe_at_email.domain.hidden For more options, visit this group at http://groups.google.com/group/lisalist?hl=en -~----------~----~----~----~------~----~------~--~--- Received on 2008-03-26 07:41:04

This archive was generated by hypermail 2.4.0 : 2020-01-13 12:15:21 EST