From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <140e7ec30701280952v5ec8a20dpb25b0cf96dac0ea5@mail.gmail.com> Date: Mon, 29 Jan 2007 02:52:21 +0900 From: sqweek To: "Fans of the OS Plan 9 from Bell Labs" <9fans@cse.psu.edu> Subject: Re: [9fans] Installation keyboard troubles In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <140e7ec30701280638s7702bd3djf7551550e0df5c95@mail.gmail.com> Topicbox-Message-UUID: 090a11b0-ead2-11e9-9d60-3106f5b1d025 On 1/28/07, erik quanstrom wrote: > if(test -f /dev/mousectl && ~ $mouseport ps2 ps2intellimouse 0 1 2 usb){ > if(~ $mouseport usb) > usbstart > if not > aux/mouse $mouseport Inspired by this code, I tried entering some gibberish at the mouseport prompt instead of just hitting enter, and suddenly the keyboard worked for the install. So, two hours and one recovery from having my partition table crapped on (thank you testdisk) later, I have plan9 installed. Tomorrow I'll see if I can convince lilo to boot it and check out the usb stuff. But OK, the partition thing deserves some attention. I'm actually somewhat impressed and somewhat horrified at the same time... Here was my setup prior to the plan9 install (9039 cylinders total): PRI1 0001-8633 Extended PRI2 8634-8756 Linux swap LOG5 0001-0032 Linux /boot LOG6 0033-2465 Linux /home LOG7 2466-4333 Linux /usr LOG8 4334-4956 Linux /var LOG9 4957-5081 Linux / LOG10 5082-5144 Linux /tmp So I went to give plan9 about 5G of logical partition at 5145-5775 (IIRC I entered p8 as the partition name in plan9's fdisk, which may have marked the start of my problems). This is what I ended up with: PRI1 0001-5144 Extended PRI2 5145-5775 Plan9 PRI3 8634-8756 Linux swap LOG5 0001-0032 Linux /boot LOG6 0033-2465 Linux /home And that's it, logical partitions 7-10 where nowhere to be found (linux wasn't to happy when it couldn't find its root device). So plan9 shoved the swap partition out of the way and made a new primary for itself (this is the impressive part). Fortunately, after restoring the missing partitions and booting back into linux it hasn't mounted /dev/sda2 as swap and pissed all over the plan9 install. I think that makes the score Linux: 1 Plan9: 0 sqweek: -1. I'm not sure whether it's the partitioning step that did me in or the boot setup. Since I don't have windows and couldn't be assed looking for a floppy, I hit plan9 at that step, which may have been what motivated it to put itself on a primary partition.