9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Sasha and Tanya Kapshuk <sashaandtanya@gmail.com>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: Re: [9fans] booting options for brand new installation [UPDATE]
Date: Thu, 15 Sep 2011 23:36:35 +0300	[thread overview]
Message-ID: <4E7261D3.7020401@gmail.com> (raw)
In-Reply-To: <4E725864.9000904@gmail.com>

On 09/15/2011 10:56 PM, Sasha and Tanya Kapshuk wrote:
> On 09/15/2011 12:57 AM, Richard Miller wrote:
>>> i want to boot plan9 using grub.
>> My /boot/grub/menu.lst includes these lines:
>>
>> title       Plan 9
>> root        (hd0,1)
>> chainloader +1
>>
>> and the corresponding partition has /386/pbslba as a boot block --
>> see format(8).
>>
>>
>>
> thanks for the tip, Richard, but i found that debian squeeze doesn't
> have /boot/grub/menu.lst anymore.
> i tried googling for instructions on how to add alternative systems to
> grub2, but so far haven't found anything substantial;
> the only thing i did try was i added this to /etc/grub.d/40_custom:
> menuentry "Plan9 from Bell Labs" {
>     insmod chain
>     insmod fat16
>     set root=(hd0,1)
>     chainloader +1
> }
>
> then i ran update-grub as root and rebooted the system;
>
> this time "Plan9 from Bell Labs" did appear in the grub menu; i
> selected it and got an error: message: error: invalid signature
>
> the right way of doing it isn't immediately obvious to me;
>
> any input would be appreciated;
>
> sasha kapshuk.
>
i found what the problem was...
my plan9 partition is /dev/sda3, so the following entry in the
/etc/grub.d/40_custom file should read:
menuentry "Plan9 from Bell Labs" {
     insmod chain
     insmod fat16
     set root=(hd0,3) #not set root=(hd0,1)
     chainloader +1
}
it should be followed by running update-grub and rebooting the system;

the instructions above are confirmed to have worked on my system;




      reply	other threads:[~2011-09-15 20:36 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-14 20:23 [9fans] booting options for brand new installation Sasha and Tanya Kapshuk
2011-09-14 21:57 ` Richard Miller
2011-09-15 10:53   ` Sasha and Tanya Kapshuk
2011-09-15 19:56   ` Sasha and Tanya Kapshuk
2011-09-15 20:36     ` Sasha and Tanya Kapshuk [this message]

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=4E7261D3.7020401@gmail.com \
    --to=sashaandtanya@gmail.com \
    --cc=9fans@9fans.net \
    /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).