[9fans] Duplicate entries in fresh plan9.ini



Hi,

As has been noticed in the thread "Qemu question" (started on Nov 9,
2007), installing from recent cd images gives duplicate *nobiosload=1
and *noahciload=1 entries, causing a rather useless (because the lines
are identical) menu at boot time.

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:

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

This line causes the following to be added to the new plan9.ini:

*nomp=1
*nodumpstack=1
partition=new
dmamode=ask

*nobiosload=1
*noahciload=1

*nobiosload=1
*noahciload=1

*debugload=1

The reason for the duplicate entries here are obvious given the
contents of /tmp/plan9.orig.

Now, there are a couple of things I'm wondering about:

Are the *nobiosload=1 and *noahciload=1 entries still necessary? Is
the third boot option on the cd still necessary? If not, removing them
would fix the duplicate entry problem.

If these entries and/or the third boot option are still necessary, I
guess the mentioned line in /sys/lib/dist/pc/inst/bootsetup should be
changed so that it doesn't cause duplicate lines anymore?
If the entries and the third boot option are meant to be temporary, a
quick and dirty change like the following line (which add everything
that the current line does, without duplicate entries) might suffice:

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

If the entries and the third boot option are stayers, I guess
something more sophisticated would be nicer...

Greetings, Sander.
.



Relevant Pages

  • Re: Duplicate Computers in Query Results
    ... >How many entries does each client have in the PC_BIOS ... Is this on SMS ... >Due to Duplicate GUIDs or firmware change, ...
    (microsoft.public.sms.inventory)
  • Re: Duplicate Amounts dont show up in Union Query
    ... I have 2 separate queries that show the correct data and number of entries. ... system so duplicate entries are possible. ... Anyone have any thoughts on this or can a Union Query just not handle exact ... Record the number of rows returned by the UNION ALL query. ...
    (microsoft.public.access.queries)
  • Re: Navigating to Duplicates
    ... and copy down to give the work "duplicate" based on column A entries. ... I and my staff have been reviewing and categorizing a ... After I merge the separate spreadsheets into one, ...
    (microsoft.public.excel.misc)
  • Re: all holidays marked as private?
    ... do you use to delete duplicate calendar entries? ... > Does anyone know of a way to make all holidays NOT private? ... > the installation of the ipaq 2210 for one user, it created duplicate ... > private but all future Holidays are still marked as private. ...
    (microsoft.public.outlook)