9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: "Patrick Kristiansen" <patrick.kasserer@gmail.com>
To: "Fans of the OS Plan 9 from Bell Labs" <9fans@cse.psu.edu>
Subject: Re: [9fans] Re: Duplicate entries in fresh plan9.ini
Date: Tue, 15 Jan 2008 10:08:49 +0100	[thread overview]
Message-ID: <bfdb2cad0801150108p5493f112uadba1c7c8d4703b0@mail.gmail.com> (raw)
In-Reply-To: <ba0d3bc70801091150u1c8dafc5gae0571f7b59c5abd@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 2380 bytes --]

I am installing plan 9 in a qemu rigth now and the version from the iso i
downloaded 10 hours ago isn't working as it should. The fix for the
plan9.ini problem has a bug.
The grep and sort line in bin/bootsetup is where the bug is as far as I can
see ( /sys/lib/dist/pc/inst/bootsetup:40 ).

			grep -v '(^\[)|menuitem|adisk|bootfile|bootdisk|bootargs|nobootprompt|mouseport|vgasize|monitor|cdboot'
|
				sort -u /tmp/plan9.orig


Only one argument given to grep so it read from stdin instead of a
plan9.inifile. I tried to paste in the file I thought was the right,
but I had to
edit plan9.ini before rebooting anyway. Maybe it's because sort has the
argument that grep is missing.

Good thing I knew how to edit plan9.ini. After 3 hours of installing in qemu
you don't want to see an error in the last bootsetup step.


-Patrick

2008/1/9, Sander van Dijk <a.h.vandijk@gmail.com>:
>
> ,On Jan 9, 2008 5:07 PM, Russ Cox <rsc@swtch.com> wrote:
> > > I've been looking for the cause of these duplicate entries, and they
> > > appear to have been introduced together with the third boot option on
> > > the cd, "Boot Plan 9 from this CD and debug 9load".
> > > I've been able to trace the cause of the duplicate entries back to the
> > > following line in /sys/lib/dist/pc/inst/bootsetup on the cd:
> >
> > I agree 100% with your diagnosis.  I have been hoping that
> > the "debug 9load" option will just go away one day.
>
> That's why I'm wondering if they're still needed.
>
> Back in November, there where problems with the then recent
> plan9.iso's (see thread "Problems Booting Plan9 CD", started on Nov 1,
> 2007). So the third boot option was added (see thread "Suggestion:
> Programming Tutorial for /sys/doc", also started on Nov 1, 2007,
> especially the second post by Geoff).
>
> The problem I had before the third menu option was introduced, was
> that the booting process would fail already before it reached the
> menu.
> After the third menu option was added however, the iso's have been
> working fine for me: the menu is reached, and all of the options
> (including the "debug 9load" one) work. Hence, I have the feeling that
> removing the third menu option again would be no problem. I'd be happy
> to test an image without the third menu option to check if my feeling
> is right.
>
> Greetings, Sander.
>

[-- Attachment #2: Type: text/html, Size: 2872 bytes --]

      reply	other threads:[~2008-01-15  9:08 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-27 20:11 [9fans] " Sander van Dijk
2008-01-07 10:44 ` [9fans] " Sander van Dijk
2008-01-07 22:18   ` erik quanstrom
2008-01-08  2:57     ` Pietro Gagliardi
2008-01-08  3:07       ` erik quanstrom
2008-01-08 19:25     ` Sander van Dijk
2008-01-09 16:07   ` Russ Cox
2008-01-09 19:50     ` Sander van Dijk
2008-01-15  9:08       ` Patrick Kristiansen [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=bfdb2cad0801150108p5493f112uadba1c7c8d4703b0@mail.gmail.com \
    --to=patrick.kasserer@gmail.com \
    --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).