From: W B Hacker <wbh@conducive.org>
To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu>
Subject: Re: [9fans] something evil happening when partitioning a hdd with the plan9 installer
Date: Fri, 20 Apr 2007 04:10:39 +0800 [thread overview]
Message-ID: <4627CCBF.20103@conducive.org> (raw)
In-Reply-To: <4627938b.770bb367.10ad.4f71@mx.google.com>
John Soros wrote:
> Okay, now plan9 is working on my laptop, here is how I did it: I made a
> primary partition for plan9 in lunix, then I used fdisk to set the partition
> type to plan9 (this is the only partitioning program that know plan9 type
> partitions).
It may be the only one you have used that correctly reports them as Plan9, but
it is by no means the only one that can create and manipulate a Plan9 partion.
All that FreeBSD's toolset needs is the correct decimal or hex partion type code
to effect that. Not hard to then hack and re-assemble boot0 so that it then
reports them correctly as 'Plan9' in the multi-boot choices.
>
> After this all went pretty easily, I installed the standard way from cdrom, I
> just didn't do any partitioning as that was already done.
>
> For the bootsetup step I selected plan9 way of booting, and at the question
> wether to install plan9 loader to the MBR I answered No.
>
> Now I can boot plan9 on the primary partition #1 from grub like so:
>
> title Plan9 from outer space root (hd0,0) chainloader +1 boot
>
> Thanks for all the replies, and all the suggestions. Cheers to all plan9
> users! I there's any plan9 users in Hungary, I'd be very happy to meet them!
> John
boot0 - combined with the 'as issued' Plan9 '9fat' loading tools, does that
reasonably well w/o grub or Lilo. The advantage is that it is less sensitive to
whether the HDD in question is still in the same relative position as when first
installed to (which ordinarily requires editing lilo.conf or grub's menu.lst).
Not ordinarily an issue with single-HDD laptops, but perhaps worht a look
if/as/when Plan9 might have been installed to an external HDD.
>
>
> On Mon, 9 Apr 2007 11:20:22 +0200 "Paweł Lasek" <pawel.lasek@gmail.com>
> wrote:
>
>> On 4/9/07, John Soros <sorosj@gmail.com> wrote:
>>
>> [cut]
>>
>> In this case, I'd recommend repartitioning with plain linux fdisk and
>> reserve a partition for plan9 using it (Set partition type to plan9, you
>> can check the number using built-in help IIRC), then during plan9
>> installation just choose that partition and tell plan9 fdisk to don't write
>> anything.
>>
>> And somebody ought to make plan9 bootable from something other than primary
>> partition (The same problem I have with Solaris 10. I could use those 70 GB
>> of hdd in my school computer, but there are not enough primary partition
>> numbers left for it's disklabel...)
>>
>>
>
I have not yet attempted booting Plan9 from an 'extended' partition, but have
been able to use block-mode loaders to start it from a 'primary' partition
(slice) on a 200 GB HDD that was otherwise out of the reach of the BIOS (3 older
MB tested, some with 1999 vintage BIOS).
It should be equally possible to start Plan9 from a non-primary partition -
perhaps the real issue is not 'reaching' it, but whether it can understand where
it is and finish the boot?
The FAT-within-Plan9-fs-type toolset Plan9 uses is still one of the most
flexible ways of getting up and running.
It shouldn't take much to keep that approach compatible with progressively newer
hardware and boot loaders.
Bill Hacker
next prev parent reply other threads:[~2007-04-19 20:10 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-04-09 3:51 John Soros
2007-04-09 9:20 ` Paweł Lasek
2007-04-09 19:58 ` John Soros
2007-04-19 16:06 ` John Soros
2007-04-19 19:35 ` John Stalker
2007-04-19 20:10 ` W B Hacker [this message]
2007-04-19 20:21 ` John Stalker
2007-04-09 9:52 ` John Stalker
2007-04-09 10:32 ` matt
2007-04-09 10:49 ` John Stalker
2007-04-09 20:07 Brian L.Stuart
2007-04-09 23:34 ` John Soros
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4627CCBF.20103@conducive.org \
--to=wbh@conducive.org \
--cc=9fans@cse.psu.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).