OpenBSD: How to follow -current?

Clash Royale CLAN TAG#URR8PPP
up vote
9
down vote
favorite
This question is similar to this one, but more specific.
I have a -stable OpenBSD machine and I want to start following -current. I know about the upgrade procedure from one release to another. How can I go from a release to the latest snapshot? I can simply boot from the latest snapshot's bsd.rd and follow the upgrade procedure, but what about the "pre-upgrade steps" and the "configuration steps"? Are there any to apply when going from -stable to the latest snapshot?
When I get a -current system and I want to update it again, what is the procedure? Should I build from sources or use the latest snapshot's bsd.rd again? In any case, are there any "configuration steps" involved, as in the link above?
openbsd
add a comment |Â
up vote
9
down vote
favorite
This question is similar to this one, but more specific.
I have a -stable OpenBSD machine and I want to start following -current. I know about the upgrade procedure from one release to another. How can I go from a release to the latest snapshot? I can simply boot from the latest snapshot's bsd.rd and follow the upgrade procedure, but what about the "pre-upgrade steps" and the "configuration steps"? Are there any to apply when going from -stable to the latest snapshot?
When I get a -current system and I want to update it again, what is the procedure? Should I build from sources or use the latest snapshot's bsd.rd again? In any case, are there any "configuration steps" involved, as in the link above?
openbsd
add a comment |Â
up vote
9
down vote
favorite
up vote
9
down vote
favorite
This question is similar to this one, but more specific.
I have a -stable OpenBSD machine and I want to start following -current. I know about the upgrade procedure from one release to another. How can I go from a release to the latest snapshot? I can simply boot from the latest snapshot's bsd.rd and follow the upgrade procedure, but what about the "pre-upgrade steps" and the "configuration steps"? Are there any to apply when going from -stable to the latest snapshot?
When I get a -current system and I want to update it again, what is the procedure? Should I build from sources or use the latest snapshot's bsd.rd again? In any case, are there any "configuration steps" involved, as in the link above?
openbsd
This question is similar to this one, but more specific.
I have a -stable OpenBSD machine and I want to start following -current. I know about the upgrade procedure from one release to another. How can I go from a release to the latest snapshot? I can simply boot from the latest snapshot's bsd.rd and follow the upgrade procedure, but what about the "pre-upgrade steps" and the "configuration steps"? Are there any to apply when going from -stable to the latest snapshot?
When I get a -current system and I want to update it again, what is the procedure? Should I build from sources or use the latest snapshot's bsd.rd again? In any case, are there any "configuration steps" involved, as in the link above?
openbsd
asked Dec 16 '17 at 5:21
Gradient
91941828
91941828
add a comment |Â
add a comment |Â
2 Answers
2
active
oldest
votes
up vote
6
down vote
Don't build from source. I've been following current for several years. You can do binary upgrades to new snapshots. And you can do a direct binary upgrade from release/stable to current.
Reboot.
At the prompt type:
boot bsd.rd
Go through the motions of upgrading.
When it asks for a hostname, I use this one, it's quite fast
mirrors.sonic.net
When it asks for a path, change it to
/pub/OpenBSD/snapshots/amd64/
Substitute amd64 for your architecture.
Continue with the upgrade prompts
Reboot after it's done.
Change PKG_PATH
export PKG_PATH=http://mirrors.sonic.net/pub/OpenBSD/snapshots/packages/amd64/
Add this to ~/.profile and /root/.profile
PKG_PATH=http://mirrors.sonic.net/pub/OpenBSD/snapshots/packages/amd64/
export PKG_PATH
Then run
doas pkg_add -u
In the future, you won't have to change PKG_PATH or the bsd.rd file path.
It will remember. Like pepperidge farm.
To update to a new snapshot in the future, just
boot bsd.rd
follow the prompts
reboot
doas pkg_add -u
One thing to note. When the upgrade to a new snapshot will take you to a new version number, like from 6.2 to 6.3 which will happen rather soon, booting bsd.rd and following the prompts will only allow you to download the new bsd.rd ramdisk. You must reboot after it's finished and re-enter bsd.rd to continue with the upgrade. But you'll only have to do this once every six months, and it's automatic. Just don't freak out when it only says it's downloading bsd.rd
If you want to know if you should upgrade, just bookmark:
http://mirrors.sonic.net/pub/OpenBSD/snapshots/amd64/
In your browser and visit it to check the dates on the archives.
Don't forget to visit one directory up once in a while:
http://mirrors.sonic.net/pub/OpenBSD/snapshots/
To snag ports.tar.gz and update your ports tree
When upgrading to a newer snapshot, should I use the bsd.rd from my currently installed system or the targeted snapshot's bsd.rd? What about the "pre-upgrade steps" and "configuration steps" linked in my question? Are there any?
â Gradient
Jan 16 at 0:10
1
You can use the bsd.rd you already have installed. There are no pre-upgrade-steps or configuration steps.
â Benny
Jan 20 at 4:51
add a comment |Â
up vote
0
down vote
In answer to question 2 - when you want to go from which ever -current you've installed to the next one you download the latest bsd.rd from the snapshot mirrors boot bsd.rd and choose upgrade.
My main laptop runs -current from my /var/log/messages you can see that I upgraded my kernel on the 7 Dec and 15 Jan:
messages:Jan 18 08:51:39 port /bsd: OpenBSD 6.2-current (GENERIC.MP) #360: Mon Jan 15 12:10:59 MST 2018
messages.1:Jan 13 10:22:11 port /bsd: OpenBSD 6.2-current (GENERIC.MP) #259: Thu Dec 7 13:09:59 MST 2017
If you look in the current snapshop directory of your local mirror you can see that there is a newer bsd.rd that I could upgrade to now. The faster architectures like amd64 usually push out new kernels everyday, unless the project is approaching a release when new kernels are not pushed out as quickly.
So my process is basically:
- Download latest bsd.rd from snapshots
- Boot bsd.rd and do install, and reboot
- Run pkg_add -vui
The only caveat I would add is read following current as sometimes there are changes that means the process is not a smooth transition from one -current to the next.
Edit: I only build kernels from source if there is a change that I want to test before it has made it into -current, or when trying to track down issues.
add a comment |Â
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
6
down vote
Don't build from source. I've been following current for several years. You can do binary upgrades to new snapshots. And you can do a direct binary upgrade from release/stable to current.
Reboot.
At the prompt type:
boot bsd.rd
Go through the motions of upgrading.
When it asks for a hostname, I use this one, it's quite fast
mirrors.sonic.net
When it asks for a path, change it to
/pub/OpenBSD/snapshots/amd64/
Substitute amd64 for your architecture.
Continue with the upgrade prompts
Reboot after it's done.
Change PKG_PATH
export PKG_PATH=http://mirrors.sonic.net/pub/OpenBSD/snapshots/packages/amd64/
Add this to ~/.profile and /root/.profile
PKG_PATH=http://mirrors.sonic.net/pub/OpenBSD/snapshots/packages/amd64/
export PKG_PATH
Then run
doas pkg_add -u
In the future, you won't have to change PKG_PATH or the bsd.rd file path.
It will remember. Like pepperidge farm.
To update to a new snapshot in the future, just
boot bsd.rd
follow the prompts
reboot
doas pkg_add -u
One thing to note. When the upgrade to a new snapshot will take you to a new version number, like from 6.2 to 6.3 which will happen rather soon, booting bsd.rd and following the prompts will only allow you to download the new bsd.rd ramdisk. You must reboot after it's finished and re-enter bsd.rd to continue with the upgrade. But you'll only have to do this once every six months, and it's automatic. Just don't freak out when it only says it's downloading bsd.rd
If you want to know if you should upgrade, just bookmark:
http://mirrors.sonic.net/pub/OpenBSD/snapshots/amd64/
In your browser and visit it to check the dates on the archives.
Don't forget to visit one directory up once in a while:
http://mirrors.sonic.net/pub/OpenBSD/snapshots/
To snag ports.tar.gz and update your ports tree
When upgrading to a newer snapshot, should I use the bsd.rd from my currently installed system or the targeted snapshot's bsd.rd? What about the "pre-upgrade steps" and "configuration steps" linked in my question? Are there any?
â Gradient
Jan 16 at 0:10
1
You can use the bsd.rd you already have installed. There are no pre-upgrade-steps or configuration steps.
â Benny
Jan 20 at 4:51
add a comment |Â
up vote
6
down vote
Don't build from source. I've been following current for several years. You can do binary upgrades to new snapshots. And you can do a direct binary upgrade from release/stable to current.
Reboot.
At the prompt type:
boot bsd.rd
Go through the motions of upgrading.
When it asks for a hostname, I use this one, it's quite fast
mirrors.sonic.net
When it asks for a path, change it to
/pub/OpenBSD/snapshots/amd64/
Substitute amd64 for your architecture.
Continue with the upgrade prompts
Reboot after it's done.
Change PKG_PATH
export PKG_PATH=http://mirrors.sonic.net/pub/OpenBSD/snapshots/packages/amd64/
Add this to ~/.profile and /root/.profile
PKG_PATH=http://mirrors.sonic.net/pub/OpenBSD/snapshots/packages/amd64/
export PKG_PATH
Then run
doas pkg_add -u
In the future, you won't have to change PKG_PATH or the bsd.rd file path.
It will remember. Like pepperidge farm.
To update to a new snapshot in the future, just
boot bsd.rd
follow the prompts
reboot
doas pkg_add -u
One thing to note. When the upgrade to a new snapshot will take you to a new version number, like from 6.2 to 6.3 which will happen rather soon, booting bsd.rd and following the prompts will only allow you to download the new bsd.rd ramdisk. You must reboot after it's finished and re-enter bsd.rd to continue with the upgrade. But you'll only have to do this once every six months, and it's automatic. Just don't freak out when it only says it's downloading bsd.rd
If you want to know if you should upgrade, just bookmark:
http://mirrors.sonic.net/pub/OpenBSD/snapshots/amd64/
In your browser and visit it to check the dates on the archives.
Don't forget to visit one directory up once in a while:
http://mirrors.sonic.net/pub/OpenBSD/snapshots/
To snag ports.tar.gz and update your ports tree
When upgrading to a newer snapshot, should I use the bsd.rd from my currently installed system or the targeted snapshot's bsd.rd? What about the "pre-upgrade steps" and "configuration steps" linked in my question? Are there any?
â Gradient
Jan 16 at 0:10
1
You can use the bsd.rd you already have installed. There are no pre-upgrade-steps or configuration steps.
â Benny
Jan 20 at 4:51
add a comment |Â
up vote
6
down vote
up vote
6
down vote
Don't build from source. I've been following current for several years. You can do binary upgrades to new snapshots. And you can do a direct binary upgrade from release/stable to current.
Reboot.
At the prompt type:
boot bsd.rd
Go through the motions of upgrading.
When it asks for a hostname, I use this one, it's quite fast
mirrors.sonic.net
When it asks for a path, change it to
/pub/OpenBSD/snapshots/amd64/
Substitute amd64 for your architecture.
Continue with the upgrade prompts
Reboot after it's done.
Change PKG_PATH
export PKG_PATH=http://mirrors.sonic.net/pub/OpenBSD/snapshots/packages/amd64/
Add this to ~/.profile and /root/.profile
PKG_PATH=http://mirrors.sonic.net/pub/OpenBSD/snapshots/packages/amd64/
export PKG_PATH
Then run
doas pkg_add -u
In the future, you won't have to change PKG_PATH or the bsd.rd file path.
It will remember. Like pepperidge farm.
To update to a new snapshot in the future, just
boot bsd.rd
follow the prompts
reboot
doas pkg_add -u
One thing to note. When the upgrade to a new snapshot will take you to a new version number, like from 6.2 to 6.3 which will happen rather soon, booting bsd.rd and following the prompts will only allow you to download the new bsd.rd ramdisk. You must reboot after it's finished and re-enter bsd.rd to continue with the upgrade. But you'll only have to do this once every six months, and it's automatic. Just don't freak out when it only says it's downloading bsd.rd
If you want to know if you should upgrade, just bookmark:
http://mirrors.sonic.net/pub/OpenBSD/snapshots/amd64/
In your browser and visit it to check the dates on the archives.
Don't forget to visit one directory up once in a while:
http://mirrors.sonic.net/pub/OpenBSD/snapshots/
To snag ports.tar.gz and update your ports tree
Don't build from source. I've been following current for several years. You can do binary upgrades to new snapshots. And you can do a direct binary upgrade from release/stable to current.
Reboot.
At the prompt type:
boot bsd.rd
Go through the motions of upgrading.
When it asks for a hostname, I use this one, it's quite fast
mirrors.sonic.net
When it asks for a path, change it to
/pub/OpenBSD/snapshots/amd64/
Substitute amd64 for your architecture.
Continue with the upgrade prompts
Reboot after it's done.
Change PKG_PATH
export PKG_PATH=http://mirrors.sonic.net/pub/OpenBSD/snapshots/packages/amd64/
Add this to ~/.profile and /root/.profile
PKG_PATH=http://mirrors.sonic.net/pub/OpenBSD/snapshots/packages/amd64/
export PKG_PATH
Then run
doas pkg_add -u
In the future, you won't have to change PKG_PATH or the bsd.rd file path.
It will remember. Like pepperidge farm.
To update to a new snapshot in the future, just
boot bsd.rd
follow the prompts
reboot
doas pkg_add -u
One thing to note. When the upgrade to a new snapshot will take you to a new version number, like from 6.2 to 6.3 which will happen rather soon, booting bsd.rd and following the prompts will only allow you to download the new bsd.rd ramdisk. You must reboot after it's finished and re-enter bsd.rd to continue with the upgrade. But you'll only have to do this once every six months, and it's automatic. Just don't freak out when it only says it's downloading bsd.rd
If you want to know if you should upgrade, just bookmark:
http://mirrors.sonic.net/pub/OpenBSD/snapshots/amd64/
In your browser and visit it to check the dates on the archives.
Don't forget to visit one directory up once in a while:
http://mirrors.sonic.net/pub/OpenBSD/snapshots/
To snag ports.tar.gz and update your ports tree
edited Jan 19 at 20:32
datUser
2,2811032
2,2811032
answered Jan 14 at 5:06
Benny
20618
20618
When upgrading to a newer snapshot, should I use the bsd.rd from my currently installed system or the targeted snapshot's bsd.rd? What about the "pre-upgrade steps" and "configuration steps" linked in my question? Are there any?
â Gradient
Jan 16 at 0:10
1
You can use the bsd.rd you already have installed. There are no pre-upgrade-steps or configuration steps.
â Benny
Jan 20 at 4:51
add a comment |Â
When upgrading to a newer snapshot, should I use the bsd.rd from my currently installed system or the targeted snapshot's bsd.rd? What about the "pre-upgrade steps" and "configuration steps" linked in my question? Are there any?
â Gradient
Jan 16 at 0:10
1
You can use the bsd.rd you already have installed. There are no pre-upgrade-steps or configuration steps.
â Benny
Jan 20 at 4:51
When upgrading to a newer snapshot, should I use the bsd.rd from my currently installed system or the targeted snapshot's bsd.rd? What about the "pre-upgrade steps" and "configuration steps" linked in my question? Are there any?
â Gradient
Jan 16 at 0:10
When upgrading to a newer snapshot, should I use the bsd.rd from my currently installed system or the targeted snapshot's bsd.rd? What about the "pre-upgrade steps" and "configuration steps" linked in my question? Are there any?
â Gradient
Jan 16 at 0:10
1
1
You can use the bsd.rd you already have installed. There are no pre-upgrade-steps or configuration steps.
â Benny
Jan 20 at 4:51
You can use the bsd.rd you already have installed. There are no pre-upgrade-steps or configuration steps.
â Benny
Jan 20 at 4:51
add a comment |Â
up vote
0
down vote
In answer to question 2 - when you want to go from which ever -current you've installed to the next one you download the latest bsd.rd from the snapshot mirrors boot bsd.rd and choose upgrade.
My main laptop runs -current from my /var/log/messages you can see that I upgraded my kernel on the 7 Dec and 15 Jan:
messages:Jan 18 08:51:39 port /bsd: OpenBSD 6.2-current (GENERIC.MP) #360: Mon Jan 15 12:10:59 MST 2018
messages.1:Jan 13 10:22:11 port /bsd: OpenBSD 6.2-current (GENERIC.MP) #259: Thu Dec 7 13:09:59 MST 2017
If you look in the current snapshop directory of your local mirror you can see that there is a newer bsd.rd that I could upgrade to now. The faster architectures like amd64 usually push out new kernels everyday, unless the project is approaching a release when new kernels are not pushed out as quickly.
So my process is basically:
- Download latest bsd.rd from snapshots
- Boot bsd.rd and do install, and reboot
- Run pkg_add -vui
The only caveat I would add is read following current as sometimes there are changes that means the process is not a smooth transition from one -current to the next.
Edit: I only build kernels from source if there is a change that I want to test before it has made it into -current, or when trying to track down issues.
add a comment |Â
up vote
0
down vote
In answer to question 2 - when you want to go from which ever -current you've installed to the next one you download the latest bsd.rd from the snapshot mirrors boot bsd.rd and choose upgrade.
My main laptop runs -current from my /var/log/messages you can see that I upgraded my kernel on the 7 Dec and 15 Jan:
messages:Jan 18 08:51:39 port /bsd: OpenBSD 6.2-current (GENERIC.MP) #360: Mon Jan 15 12:10:59 MST 2018
messages.1:Jan 13 10:22:11 port /bsd: OpenBSD 6.2-current (GENERIC.MP) #259: Thu Dec 7 13:09:59 MST 2017
If you look in the current snapshop directory of your local mirror you can see that there is a newer bsd.rd that I could upgrade to now. The faster architectures like amd64 usually push out new kernels everyday, unless the project is approaching a release when new kernels are not pushed out as quickly.
So my process is basically:
- Download latest bsd.rd from snapshots
- Boot bsd.rd and do install, and reboot
- Run pkg_add -vui
The only caveat I would add is read following current as sometimes there are changes that means the process is not a smooth transition from one -current to the next.
Edit: I only build kernels from source if there is a change that I want to test before it has made it into -current, or when trying to track down issues.
add a comment |Â
up vote
0
down vote
up vote
0
down vote
In answer to question 2 - when you want to go from which ever -current you've installed to the next one you download the latest bsd.rd from the snapshot mirrors boot bsd.rd and choose upgrade.
My main laptop runs -current from my /var/log/messages you can see that I upgraded my kernel on the 7 Dec and 15 Jan:
messages:Jan 18 08:51:39 port /bsd: OpenBSD 6.2-current (GENERIC.MP) #360: Mon Jan 15 12:10:59 MST 2018
messages.1:Jan 13 10:22:11 port /bsd: OpenBSD 6.2-current (GENERIC.MP) #259: Thu Dec 7 13:09:59 MST 2017
If you look in the current snapshop directory of your local mirror you can see that there is a newer bsd.rd that I could upgrade to now. The faster architectures like amd64 usually push out new kernels everyday, unless the project is approaching a release when new kernels are not pushed out as quickly.
So my process is basically:
- Download latest bsd.rd from snapshots
- Boot bsd.rd and do install, and reboot
- Run pkg_add -vui
The only caveat I would add is read following current as sometimes there are changes that means the process is not a smooth transition from one -current to the next.
Edit: I only build kernels from source if there is a change that I want to test before it has made it into -current, or when trying to track down issues.
In answer to question 2 - when you want to go from which ever -current you've installed to the next one you download the latest bsd.rd from the snapshot mirrors boot bsd.rd and choose upgrade.
My main laptop runs -current from my /var/log/messages you can see that I upgraded my kernel on the 7 Dec and 15 Jan:
messages:Jan 18 08:51:39 port /bsd: OpenBSD 6.2-current (GENERIC.MP) #360: Mon Jan 15 12:10:59 MST 2018
messages.1:Jan 13 10:22:11 port /bsd: OpenBSD 6.2-current (GENERIC.MP) #259: Thu Dec 7 13:09:59 MST 2017
If you look in the current snapshop directory of your local mirror you can see that there is a newer bsd.rd that I could upgrade to now. The faster architectures like amd64 usually push out new kernels everyday, unless the project is approaching a release when new kernels are not pushed out as quickly.
So my process is basically:
- Download latest bsd.rd from snapshots
- Boot bsd.rd and do install, and reboot
- Run pkg_add -vui
The only caveat I would add is read following current as sometimes there are changes that means the process is not a smooth transition from one -current to the next.
Edit: I only build kernels from source if there is a change that I want to test before it has made it into -current, or when trying to track down issues.
edited Feb 13 at 23:02
guntbert
9771817
9771817
answered Jan 18 at 15:56
fcbsd
34916
34916
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f411202%2fopenbsd-how-to-follow-current%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password