hi,
        I have a this SBC that boots off a CF card,
when it boots, I can select the boot partition via F1 or F2
and all is OK.
        when I do it via boot0cfg the 'default_selection' changes
correctly, but the 'active' partition is not changed, so boot
ignores it.
        I went ahead and changed boot0cfg.c to set the active
partition and now I'm baffled:

alix-3# ./boot0cfg -v ad0    
#   flag     start chs   type       end chs       offset         size
1   0x00      0:  1: 1   0xa5    519: 15:63           63       524097
2   0x80    520:  0: 1   0xa5   1023: 15:63       524160       524160 ------+
3   0x00   1023:255:63   0xa5   1023: 15:63      1048320      2951424       |
                                                                            |
version=2.0  drive=0x80  mask=0xf  ticks=182  bell=# (0x23)                 |
options=packet,update,nosetdrv                                              |
volume serial ID 0000-800f                                                  |
default_selection=F2 (Slice 2) <--------------------------------------------+

so far so good.

alix-3# ./boot0cfg -v -s1 ad0
...
1   0x80      0:  1: 1   0xa5    519: 15:63           63       524097
...
default_selection=F1 (Slice 1)

ok right? but no!
./boot0cfg -v ad0
...
2   0x80    520:  0: 1   0xa5   1023: 15:63       524160       524160
...
default_selection=F1 (Slice 1)

so it seems that someone is preventing changes to the partition table!
btw, this problem was not present in older boot0 (1.0) where the active
partition flag is ignored.

help needed here!

        danny


_______________________________________________
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"

Reply via email to