Re: Upgrade 5.0 to 5.1
On Sun, Aug 31, 2003 at 10:20:12AM +0200, Guy Van Sanden wrote: Hi Kent Thanks for your answers! I have one more question, the manual says to drop to single user mode before doing buildworld, do you do this. If I could avoid this, I could run buildworld during the night, and do installworld when it suits me during the daytime. There is absolutely no need to go to single user mode before a buildworld/buildkernel. Never has been necessary either, AFAIK. Read the manual a bit more carefully and I think you will find out that it agrees with me. -- Insert your favourite quote here. Erik Trulsson [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Upgrade 5.0 to 5.1
Hi Kent Thanks for your answers! I have one more question, the manual says to drop to single user mode before doing buildworld, do you do this. If I could avoid this, I could run buildworld during the night, and do installworld when it suits me during the daytime. Thank you very much Guy On Sat, 2003-08-30 at 22:00, Kent Stewart wrote: On Saturday 30 August 2003 11:44 am, Guy Van Sanden wrote: Ah, I indeed forgot the system information. It is a P II 333 MHZ with 256 of RAM and an UDMA 33 HD (40 GB). Judging from your timings, this is going to take a while... Yes, on a machine with that speed, it will be several hours. Does buildworld and installworld always take equally long, even say only 10 files changed? Buildworld always takes about the same time. The installworld on my machine runs 4 minutes. Running mergemaster the first time on an upgrade can take a while. You need to look at /usr/src/UPDATING for when you need to run it and the options. The installs are always fast and only the builds take much time. Are there any pitfalls I should be aware of (seeing that this would be the first time I attempt such a thing). That you have done a full src-all on your cvsup. There are also some options that help in your /etc/make.conf. From what I saw a little while ago, the default make.conf is now in the examples directory. Don't let mergemaster replace your hosts entries and your user entries in master.passwd and groups. I edit the password entries manually with vipw and groups with vi. If you have a special /etc/printcap, it will try to replace it. Just pay attention is all that is required. You can save trouble if you back up /etc before you do the installs. Kent On Sat, 2003-08-30 at 18:34, Kent Stewart wrote: On Saturday 30 August 2003 08:58 am, Guy Van Sanden wrote: How would I best upgrade my 5.0 installation to 5.1? I have done binary (CD-ROM) updates on 4.x in the past, but I was thinking this could be done using cvsup. Can anyone briefly say wheter this procedure would be right: - change default release=cvs tag=RELENG_5_0 to RELENG_5_1 - cvsup the new sources - follow instructions to buildworld+installworld in Chapter 21 of the handbook. Any ideas how long this would take ? It is totally a function of your computer. Since, you didn't provide that information, we can only provide information on our personal systems. I follow current, since I don't think 5.x is up to 4.x release quality at this point. I don't think it is far off, just not quite there. A buildworld, which is the longest part of an upgrade, requires 50+ minutes on my AMD 1600+ with 512 MB of DDR-266 memory and 3 ATA-100 HDs. Having less memory won't affect the build time unless you produce swaping. Having both /usr/src and /usr/obj on the same HD will also increase compile times. The buildkernel probably takes on the order of 10 minutes since it is long enough that I won't sit there to watch and I haven't timed my build script. The installs probably take less than 5 minutes. Kent ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Upgrade 5.0 to 5.1
On Sunday 31 August 2003 01:50 am, Erik Trulsson wrote: On Sun, Aug 31, 2003 at 10:20:12AM +0200, Guy Van Sanden wrote: Hi Kent Thanks for your answers! I have one more question, the manual says to drop to single user mode before doing buildworld, do you do this. If I could avoid this, I could run buildworld during the night, and do installworld when it suits me during the daytime. There is absolutely no need to go to single user mode before a buildworld/buildkernel. Never has been necessary either, AFAIK. Read the manual a bit more carefully and I think you will find out that it agrees with me. In addition, the manual always tells you that /usr/src/UPDATING is the final reference and it only goes to single user mode to do the installworld. Kent -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Upgrade 5.0 to 5.1
Thanks, I hoped it would be so. Chapter 21 of the handbook is not entirely clear about this, it does seem to recommend dropping to single user mode before building... I'll try it without anyway :-) On Sun, 2003-08-31 at 10:50, Erik Trulsson wrote: On Sun, Aug 31, 2003 at 10:20:12AM +0200, Guy Van Sanden wrote: Hi Kent Thanks for your answers! I have one more question, the manual says to drop to single user mode before doing buildworld, do you do this. If I could avoid this, I could run buildworld during the night, and do installworld when it suits me during the daytime. There is absolutely no need to go to single user mode before a buildworld/buildkernel. Never has been necessary either, AFAIK. Read the manual a bit more carefully and I think you will find out that it agrees with me. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Upgrade 5.0 to 5.1
Ah, I indeed forgot the system information. It is a P II 333 MHZ with 256 of RAM and an UDMA 33 HD (40 GB). Judging from your timings, this is going to take a while... Does buildworld and installworld always take equally long, even say only 10 files changed? Are there any pitfalls I should be aware of (seeing that this would be the first time I attempt such a thing). On Sat, 2003-08-30 at 18:34, Kent Stewart wrote: On Saturday 30 August 2003 08:58 am, Guy Van Sanden wrote: How would I best upgrade my 5.0 installation to 5.1? I have done binary (CD-ROM) updates on 4.x in the past, but I was thinking this could be done using cvsup. Can anyone briefly say wheter this procedure would be right: - change default release=cvs tag=RELENG_5_0 to RELENG_5_1 - cvsup the new sources - follow instructions to buildworld+installworld in Chapter 21 of the handbook. Any ideas how long this would take ? It is totally a function of your computer. Since, you didn't provide that information, we can only provide information on our personal systems. I follow current, since I don't think 5.x is up to 4.x release quality at this point. I don't think it is far off, just not quite there. A buildworld, which is the longest part of an upgrade, requires 50+ minutes on my AMD 1600+ with 512 MB of DDR-266 memory and 3 ATA-100 HDs. Having less memory won't affect the build time unless you produce swaping. Having both /usr/src and /usr/obj on the same HD will also increase compile times. The buildkernel probably takes on the order of 10 minutes since it is long enough that I won't sit there to watch and I haven't timed my build script. The installs probably take less than 5 minutes. Kent ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Upgrade 5.0 to 5.1
On Saturday 30 August 2003 11:44 am, Guy Van Sanden wrote: Ah, I indeed forgot the system information. It is a P II 333 MHZ with 256 of RAM and an UDMA 33 HD (40 GB). Judging from your timings, this is going to take a while... Yes, on a machine with that speed, it will be several hours. Does buildworld and installworld always take equally long, even say only 10 files changed? Buildworld always takes about the same time. The installworld on my machine runs 4 minutes. Running mergemaster the first time on an upgrade can take a while. You need to look at /usr/src/UPDATING for when you need to run it and the options. The installs are always fast and only the builds take much time. Are there any pitfalls I should be aware of (seeing that this would be the first time I attempt such a thing). That you have done a full src-all on your cvsup. There are also some options that help in your /etc/make.conf. From what I saw a little while ago, the default make.conf is now in the examples directory. Don't let mergemaster replace your hosts entries and your user entries in master.passwd and groups. I edit the password entries manually with vipw and groups with vi. If you have a special /etc/printcap, it will try to replace it. Just pay attention is all that is required. You can save trouble if you back up /etc before you do the installs. Kent On Sat, 2003-08-30 at 18:34, Kent Stewart wrote: On Saturday 30 August 2003 08:58 am, Guy Van Sanden wrote: How would I best upgrade my 5.0 installation to 5.1? I have done binary (CD-ROM) updates on 4.x in the past, but I was thinking this could be done using cvsup. Can anyone briefly say wheter this procedure would be right: - change default release=cvs tag=RELENG_5_0 to RELENG_5_1 - cvsup the new sources - follow instructions to buildworld+installworld in Chapter 21 of the handbook. Any ideas how long this would take ? It is totally a function of your computer. Since, you didn't provide that information, we can only provide information on our personal systems. I follow current, since I don't think 5.x is up to 4.x release quality at this point. I don't think it is far off, just not quite there. A buildworld, which is the longest part of an upgrade, requires 50+ minutes on my AMD 1600+ with 512 MB of DDR-266 memory and 3 ATA-100 HDs. Having less memory won't affect the build time unless you produce swaping. Having both /usr/src and /usr/obj on the same HD will also increase compile times. The buildkernel probably takes on the order of 10 minutes since it is long enough that I won't sit there to watch and I haven't timed my build script. The installs probably take less than 5 minutes. Kent -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]