From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <4E7261D3.7020401@gmail.com> Date: Thu, 15 Sep 2011 23:36:35 +0300 From: Sasha and Tanya Kapshuk User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.16) Gecko/20110818 Icedove/3.0.11 MIME-Version: 1.0 To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> References: <6b9dac09ba25a00c4488f8cbec8dc514@hamnavoe.com> <4E725864.9000904@gmail.com> In-Reply-To: <4E725864.9000904@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [9fans] booting options for brand new installation [UPDATE] Topicbox-Message-UUID: 2251b9de-ead7-11e9-9d60-3106f5b1d025 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;