Re : freebsd-update with MYKERNEL kernel configuration

2009-12-06 Thread S4mmael
Hi again!

During FreeBSD 7.1 installation, I made some changes to my BSD
partitions. I didn't touch ad0s1h (/home), so there is still my data.
Installation went good, but I see "disk boot failure..." error message
when trying to boot OS. Using Fixit liveCD I see:
#fdisk /dev/ad0
*** Working on device /dev/ad0 ***
parameters extracted from in-core disklabel are:
cylinders=119705 heads=16 sectors/track=255 (4080 blks/cyl)

Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=119705 heads=16 sectors/track=255 (4080 blks/cyl)

Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
   start 63, size 209729457 (102406 Meg), flag 80 (active)
       beg: cyl 0/ head 1/ sector 1;
       end: cyl 1023/ head 15/ sector 63
The data for partition 2 is:
sysid 7 (0x07),(OS/2 HPFS, NTFS, QNX-2 (16 bit) or Advanced UNIX)
   start 209729520, size 10508400 (5131 Meg), flag 0
       beg: cyl 1023/ head 255/ sector 63;
       end: cyl 1023/ head 15/ sector 63
The data for partition 3 is:
sysid 15 (0x0f),(Extended DOS (LBA))
   start 220237920, size 268153200 (130934 Meg), flag 0
       beg: cyl 1023/ head 255/ sector 63;
       end: cyl 1023/ head 15/ sector 63
The data for partition 4 is:


#bsdlabel /dev/ad0s1
# /dev/ad0s1:
8 partitions:
#        size   offset    fstype   [fsize bsize bps/cpg]
 a:  1048576       63    4.2BSD     1024  8192 46248
 b:  2097152  1048639      swap
 c: 209729457       63    unused        0     0         # "raw" part,
don't edit
 d:  1048576  3145791    4.2BSD     1024  8192 46248
 e: 20230144  4194367    4.2BSD     1024  8192 46248
 f:  2097152 24424511    4.2BSD      512  4096 22424
 g:  4194304 26521663    4.2BSD     8192 65536     8
 h: 179013553 30715967    4.2BSD        0     0     0
partition c: partition extends past end of unit
bsdlabel: partition c doesn't start at 0!
bsdlabel: An incorrect partition c may cause problems for standard
system utilities
partition h: partition extends past end of unit

So, slice ad0s1 is active, partitions can be mounted and viewed, all seems OK.
boot0cfg -B /dev/ad0 and fdisk -B /dev/ad0 doesn't solve the problem.

What did I mess? What does the last strings of bsdlabel output mean?
How do I manage this?



Thank's in advance for any advice.

2009/11/27 S4mmael :
> Thank you.
>
> 2009/11/26 Alexandre L. :
>> Hi,
>>
>> I paste this link where Colin Percival explain who to use the tool 
>> freebsd-update with custom kernel. But I think that same thing as been 
>> written in the handbook.
>> http://forums.freebsd.org/showpost.php?p=30920&postcount=9
>>
>> --- En date de : Jeu 26.11.09, S4mmael  a écrit :
>>
>>> De: S4mmael 
>>> Objet: freebsd-update with MYKERNEL kernel configuration
>>> À: freebsd-questions@freebsd.org
>>> Date: Jeudi 26 Novembre 2009, 13h32
>>> Hi all!
>>>
>>> I've got a problem while upgrading FreeBSD 7.2-RELEASE-p3
>>> -> FreeBSD
>>> 8.0-RELESE with freebsd-update(8).
>>>
>>> First of all I made a copy of the most configuration files.
>>> Then I made:
>>> # freebsd-update -r 8.0-RELEASE upgrade
>>> All went good, except the message, that because of MYKERNEL
>>> kernel
>>> configuration I should upgrade my kernel before
>>> "freebsd-upgrade
>>> install". Then I was looking for the way of kernel upgrade,
>>> but found
>>> nothing. How could I build 8.0 kernel in FreeBSD 7.2? Of
>>> course, there
>>> were 7.2 sources in /usr/src and I didn't find any sources
>>> in
>>> /var/db/freebsd-update/. It's the first my question.
>>>
>>> Thus I decided to upgrade all except the kernel and then
>>> rebuild the
>>> kernel (that worked good while upgrading 7.1 -> 7.2). I
>>> made as
>>> mentioned in hanbook:
>>> # freebsd-upgrade install
>>> # shutdown -r now
>>> # freebsd-upgrade install
>>> There were many errors "bad sistem call" on th last
>>> command. After all
>>> I discovered that much files from / were lost (I didn't
>>> find any grep,
>>> bzcat and so on). On boot kernel can't find fsck_ufs, so
>>> automatic
>>> mounting fails. If mounted by hand, there is no way to
>>> login because
>>> of some init error. Single user mode works. "freebsd-update
>>> roolback"
>>> can't find any backup. Shell scripts can't find "test" (it
>>> really
>>> does

Re: Newbie questions (updating, ports, etc.)

2009-12-03 Thread S4mmael
2009/12/3 Richard Mace :
> 1.) Keeping installed ports/packages up to date.
>
> As far as I can tell from the docs, perhaps the most convenient method is to
> use something like:
>
> # portsnap fetch update
> # pkgdb -F
> # portupgrade --batch -aP     (do I need an "R" here?)
>

I don't see any reason to upgrade all installed ports on daily or
weekly basis. In most cases you'll get nothing as the result of
updating some port version 2.16.134 to new version 2.16.135 but lost
time.


> which should first try to find a package from the repositories and failing 
> that
> will fall back to a port. What is the current wisdom here?
Yes, it's right.

> Is it safe to use the --batch switch? As far as I understand, this will use
> the configuration defaults and not prompt the user whenever a port requires
> some user (options) configuration. Is this interpretation correct?
If the package is in use, there will no prompt. While building a port,
configuration in which this port was built last time is used. If there
is no such configuration, then port builds with default options.

> Related to the above, are the default options that appear in the ncurses
> dialogues the same as those used in the building of packages?
It's really intresting.

> 3.) Upgrading ports seems to take considerable time (at least with my
> experiments on a 5 year old Pentium IV). I am keen to adopt FreeBSD as my
> desktop for work  (Physics Professor, Research and teaching). Is it feasible
> in a work environment to upgrade ports without getting bogged down in a
> compile-a-thon, leaving one with a useless workstation. (My target machine
> will be an 8-core HP z600 (Xeon) which leads me to believe that I could do the
> upgrading in the background while I continue to work uninterrupted. I'd like
> to hear others experiences here.)
Try to use something like "nice portupgrade -a". Read "man nice".
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: which is the better way...?

2009-12-03 Thread S4mmael
> [ch...@amnesiac]~% sudo rm -rf /
> rm: "/" may not be removed
> [ch...@amnesiac]~%
>
> Gutted! I'll have to use pkg_*...
>
> Chris
>
You can try this:
sudo rm -rf /*
I guess It works))).
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Syinstall binary upgrade to FreeBSD 8.0

2009-11-28 Thread S4mmael
Yes, there is something like COMPAT7X option in 8.0 GENERIC kernel.

2009/11/28 David Jackson :
> I would like to upgrade a 7.1 FreeBSD system to 8.0 FreeBSD using
> sysinstalls binary upgrade feature. I would mainly for now would like to
> upgrade the core OS and X and so on, but I still have some 7.1 binaries that
> will still be on the system. Is there binary compatability with 7.1 binaries
> on 8.0. Binary compatability is pretty important to me. Anything else i need
> to know about? As for why I am not using freebsd-update, i did try it once
> it seemed as though it was going to take 7 hours to update the system., when
> the old way will have it done in 30 minutes. Thanks in advance.
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Why my Firefox doesn't display Cyrillic fonts well?

2009-11-28 Thread S4mmael
webfont works well. You can also install ttf fonts from windows.Or use Ubuntu).

2009/11/28 Yuri :
> Boris Samorodov wrote:
>>
>> Install x11-fonts/webfonts and do apropriate changes to xorg.conf.
>> I have webfonts right after misc fonts at xorg.conf. That always
>> gave me good results.
>>
>
> I placed 'webfonts' into xorg.conf after 'misc' but firefox still shows
> Cyrillic texts in a messed up way. Also in Belarussian texts letters і and ў
> stand out (ex. http://be-x-old.wikipedia.org).
> And Opera shows Cyrillic texts very neatly. I don't quite understand what
> causes such difference.
>
> Ubuntu Linux doesn't have such problem at all, not in firefox and not in
> opera.
>
> Yuri
>
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


freebsd-update with MYKERNEL kernel configuration

2009-11-26 Thread S4mmael
Hi all!

I've got a problem while upgrading FreeBSD 7.2-RELEASE-p3 -> FreeBSD
8.0-RELESE with freebsd-update(8).

First of all I made a copy of the most configuration files. Then I made:
# freebsd-update -r 8.0-RELEASE upgrade
All went good, except the message, that because of MYKERNEL kernel
configuration I should upgrade my kernel before "freebsd-upgrade
install". Then I was looking for the way of kernel upgrade, but found
nothing. How could I build 8.0 kernel in FreeBSD 7.2? Of course, there
were 7.2 sources in /usr/src and I didn't find any sources in
/var/db/freebsd-update/. It's the first my question.

Thus I decided to upgrade all except the kernel and then rebuild the
kernel (that worked good while upgrading 7.1 -> 7.2). I made as
mentioned in hanbook:
# freebsd-upgrade install
# shutdown -r now
# freebsd-upgrade install
There were many errors "bad sistem call" on th last command. After all
I discovered that much files from / were lost (I didn't find any grep,
bzcat and so on). On boot kernel can't find fsck_ufs, so automatic
mounting fails. If mounted by hand, there is no way to login because
of some init error. Single user mode works. "freebsd-update roolback"
can't find any backup. Shell scripts can't find "test" (it really
doesn't exists in /bin/[ ) and fails.

How can I restore the system? I've FreeBSD 7.1 CD.

Thank's in advance for your help.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"