Re: NetBSD 10 Beta: Updating The Base System

2023-10-10 Thread Sergio de Almeida Lenzi



Em ter, 2023-10-10 às 11:24 -0500, Jay F. Shachter escreveu:
> Centuries ago, Nostradamus predicted that Michael van Elst would write on Thu 
> Sep 28 17:00:48 2023:
> 
> > 
> > netbsd-10 got a second flag day, first when updating openssl, second
> > when bumping versions of dependent libraries.
> > 
> > The packages are being rebuilt and you should also update the base
> > system.
> > 
> 
> Please forgive my ignorance; how do I update my NetBSD 10 Beta system?
> And does my PKG_PATH variable remain
> http://ftp.NetBSD.org/pub/pkgsrc/packages/NetBSD/amd64/10.0/All or
> do I now change it to something else?  Thank you in advance for any
> and all replies.
>  
>   Jay F. Shachter
>   6424 North Whipple Street
>   Chicago IL  60645-4111
>   (1-773)7613784   landline
>   (1-410)9964737   GoogleVoice
> http://m5.chicago.il.us
>   j...@m5.chicago.il.us
> 
>   "But when she traced the killer's IP address ... it was in the 
> 192.168/16 block!"
> 
or you can update from my distribution...
export PKG_PATH=http://netbsd.k1.com.br/NetBSD-x86_64-10.0/packages
the X server used is modular-xorg it is built around the mate-desktop
in my desktop it runs zfs... but for sure run ufs too.. 

there are about 1632 packages...from pkgsrc-2023Q2 that is about all you need 
to really
use NetBSD... it is wise to delete all pkgs  =>  pkg_delete -f '*' reboot,
than install new packages =>  pkg_add -Uv mate-lzt
edit /etc/rc.conf according... and reboot

in /etc/rc.conf choose hostname & domainname

flushroutes=NO
smartd=YES
sshd=YES
ntpd=YES
dbus=YES
hal=YES
gdm=YES
xdm=NO
ypbind=YES
devpubd=YES
lockd=YES
statd=YES
estd=YES
rpcbind=YES
pulseaudio=YES
nfs_client=YES
nfs_server=NO
mountd=NO
saslauthd=YES
mixerctl=YES
hostname="xx"
domainname=""
zfs="YES"
wscons="YES"
dhcpcd="YES"
savecore=NO






Re: How to get some needed binaries for vintage NetBSD 1.5.3 installation (to prepare a system update to NetBSD 9.3)

2023-10-10 Thread Johnny Billquist
Yeah. disklabel and newfs are the tools you are supposed to use. Still 
the case even on 9.3.


fdisk and so on are additional tools needed for x86 (and some other) 
platforms. They are not relevant on VAX. You don't have PC style disk 
partitioning on a VAX.


  Johnny

On 2023-10-10 20:46, David Brownlee wrote:

On Tue, 10 Oct 2023 at 05:58, Dennis  wrote:


I am trying to update a MicroVAX 3100, running an old NetBSD 1.5.3. Idea was to 
add NetBSD 9.3 on another disk.

So I attached an additional hard drive to the machine and wanted to partition 
that disk and create filesystems on  it. On one partition I wanted to put the 
NetBSD installation and boot from that drive then.

My problem now is, on that 1.5.3 installation, there is no fdisk, no mkfs, no 
bsdlabel. I checked the installations tgz files located here 
https://archive.netbsd.org/pub/NetBSD-archive/NetBSD-1.5.3/vax/binary/sets/, 
but these also do not contain these tools. But they are required to create the 
partitions and file systems I want to use for installation.

 From where can I get these files to continue my installation of NetBSD 9.3 ?

I am  restricted in my options for the installation, I have harddisk, cdrom and 
maybe floppy(not tested). With cdrom I've already failed, because MicroVAX 
console boot loader seems to have problems with either the drive or the ISO 
image containing NetBSD 9.3 I've used (ISO was downloaded from 
https://ftp.fau.de/netbsd/NetBSD-9.3/iso/NetBSD-9.3-vax.iso )

So my question is, from where can I get or compile 1.5.3 versions of fdisk and 
mkfs. I saw there is newfs, which may replace mkfs. But fdisk still seems 
missing. I saw also in doc a tool required named bsdlabel, but there is a tools 
called disklabel, which may be an older version of bsdlabel...

Or is there an easier way to do it? Any help welcome

gcc is present on the 1.5.3 installation, so I may be able to compile from 
sources, but I am NetBSD starter and do not even know where the source would 
come from. The tool pkgsrc is also not present on the 1.5.3 installation.

(I am a NetBSD beginner. But using Linux for +30 years, so both newbie and old 
rabbit).


(I believe other replies may have already directed you towards
disklabel and newfs)

Another option could be to download the miniroot, then use swapctl to
disable the existing swap partition (or just reboot into single user),
dd the miniroot to the swap partition and boot from it.

Also, NetBSD is just in the process of updating gcc for the upcoming
netbsd-10 release with a bunch of very useful fixes (many thanks to
Kalvis), and the images at
https://nyftp.netbsd.org/pub/NetBSD-daily/netbsd-10/latest/
should be showing up shortly (likely tomorrow) with the fixed gcc version

Finally, have cc'ed in port-vax@ as there are likely to be any number
of people more interested in any VAXness relating to the questions :-p

David


--
Johnny Billquist  || "I'm on a bus
  ||  on a psychedelic trip
email: b...@softjar.se ||  Reading murder books
pdp is alive! ||  tryin' to stay hip" - B. Idol


Re: NetBSD 10 Beta: Updating The Base System

2023-10-10 Thread Michael van Elst
On Tue, Oct 10, 2023 at 11:24:15AM -0500, Jay F. Shachter wrote:

> Please forgive my ignorance; how do I update my NetBSD 10 Beta system?

You can run sysinst to fetch sets from

http://cdn.netbsd.org/pub/NetBSD-daily/netbsd-10/latest/amd64/

or download the sets and unpack them manually.

There is also the sysupgrade tool in pkgsrc, but I never have used it.


> And does my PKG_PATH variable remain
> http://ftp.NetBSD.org/pub/pkgsrc/packages/NetBSD/amd64/10.0/All or
> do I now change it to something else?  Thank you in advance for any
> and all replies.

The path stays the same.


Greetings,
-- 
Michael van Elst
Internet: mlel...@serpens.de
"A potential Snark may lurk in every tree."


Re: NetBSD 9.3 amd64 Intel Nuc 8i7BEH xorg problem (solved)

2023-10-10 Thread Ramiro Aceves

Hi

On 10/8/23 01:41, RVP wrote:

On Sat, 7 Oct 2023, Ramiro Aceves wrote:

Just to be sure before breaking everyting ;-), is this right procedure 
to upgrade as The NetBSD Guide says?


"When upgrading between major releases (e.g. between NetBSD 8.2 and 
9.2), take care to first upgrade the kernel and modules:


#  sysupgrade fetch https://cdn.NetBSD.org/pub/NetBSD/NetBSD-9.2/amd64
#  sysupgrade kernel
#  sysupgrade modules
#  reboot
#  sysupgrade sets
#  sysupgrade etcupdate
#  sysupgrade postinstall
#  sysupgrade clean
#  reboot

"



Yes, that's the correct procedure, but, I've never tried an update like
that using `sysupgrade'--I generally do a fresh install from scratch.

And, unless you're fine with compiling your applications from source, I
would hold off on the upgrade until the binary packages for 10.x arrive:

https://cdn.netbsd.org/pub/pkgsrc/packages/NetBSD/amd64/


 but changing the URL to this?:

 http://nycdn.netbsd.org/pub/NetBSD-daily/netbsd-10/latest/

 Thank so much.


sorry, this one:

http://nycdn.netbsd.org/pub/NetBSD-daily/netbsd-10/202310051300Z/amd64/



Use the URL with `latest' in it.

-RVP


Hello RVP

Thanks for answering.

Before you answered I could not wait and was so excited that  I did a 
sysupgrade to NetBSD 10.0_BETA and I can say It has been a very good 
learning experience. Only the sysupgrade etcupdate was a bit boring but 
It went ok.



Now I can use the modesetting driver in Xorg and everything is smooth 
watching videos.


I did not realize that there were no precompiled packages ;-) I have 
been compiling XFCE, Firefox, Libreoffice.  VLC, Vim, etca bit slow 
and boring but not problem. This is an experimental system just to learn 
the OS and practice.


Many thanks for all. I will continue learning.

Regards.
Ramiro.




Re: How to get some needed binaries for vintage NetBSD 1.5.3 installation (to prepare a system update to NetBSD 9.3)

2023-10-10 Thread David Brownlee
On Tue, 10 Oct 2023 at 05:58, Dennis  wrote:
>
> I am trying to update a MicroVAX 3100, running an old NetBSD 1.5.3. Idea was 
> to add NetBSD 9.3 on another disk.
>
> So I attached an additional hard drive to the machine and wanted to partition 
> that disk and create filesystems on  it. On one partition I wanted to put the 
> NetBSD installation and boot from that drive then.
>
> My problem now is, on that 1.5.3 installation, there is no fdisk, no mkfs, no 
> bsdlabel. I checked the installations tgz files located here 
> https://archive.netbsd.org/pub/NetBSD-archive/NetBSD-1.5.3/vax/binary/sets/, 
> but these also do not contain these tools. But they are required to create 
> the partitions and file systems I want to use for installation.
>
> From where can I get these files to continue my installation of NetBSD 9.3 ?
>
> I am  restricted in my options for the installation, I have harddisk, cdrom 
> and maybe floppy(not tested). With cdrom I've already failed, because 
> MicroVAX console boot loader seems to have problems with either the drive or 
> the ISO image containing NetBSD 9.3 I've used (ISO was downloaded from 
> https://ftp.fau.de/netbsd/NetBSD-9.3/iso/NetBSD-9.3-vax.iso )
>
> So my question is, from where can I get or compile 1.5.3 versions of fdisk 
> and mkfs. I saw there is newfs, which may replace mkfs. But fdisk still seems 
> missing. I saw also in doc a tool required named bsdlabel, but there is a 
> tools called disklabel, which may be an older version of bsdlabel...
>
> Or is there an easier way to do it? Any help welcome
>
> gcc is present on the 1.5.3 installation, so I may be able to compile from 
> sources, but I am NetBSD starter and do not even know where the source would 
> come from. The tool pkgsrc is also not present on the 1.5.3 installation.
>
> (I am a NetBSD beginner. But using Linux for +30 years, so both newbie and 
> old rabbit).

(I believe other replies may have already directed you towards
disklabel and newfs)

Another option could be to download the miniroot, then use swapctl to
disable the existing swap partition (or just reboot into single user),
dd the miniroot to the swap partition and boot from it.

Also, NetBSD is just in the process of updating gcc for the upcoming
netbsd-10 release with a bunch of very useful fixes (many thanks to
Kalvis), and the images at
https://nyftp.netbsd.org/pub/NetBSD-daily/netbsd-10/latest/
should be showing up shortly (likely tomorrow) with the fixed gcc version

Finally, have cc'ed in port-vax@ as there are likely to be any number
of people more interested in any VAXness relating to the questions :-p

David


NetBSD 10 Beta: Updating The Base System

2023-10-10 Thread Jay F. Shachter


Centuries ago, Nostradamus predicted that Michael van Elst would write on Thu 
Sep 28 17:00:48 2023:

> 
> netbsd-10 got a second flag day, first when updating openssl, second
> when bumping versions of dependent libraries.
> 
> The packages are being rebuilt and you should also update the base
> system.
> 

Please forgive my ignorance; how do I update my NetBSD 10 Beta system?
And does my PKG_PATH variable remain
http://ftp.NetBSD.org/pub/pkgsrc/packages/NetBSD/amd64/10.0/All or
do I now change it to something else?  Thank you in advance for any
and all replies.

Jay F. Shachter
6424 North Whipple Street
Chicago IL  60645-4111
(1-773)7613784   landline
(1-410)9964737   GoogleVoice
http://m5.chicago.il.us
j...@m5.chicago.il.us

"But when she traced the killer's IP address ... it was in the 
192.168/16 block!"



NetBSD 10 Beta: Updating The Base System

2023-10-10 Thread Jay F. Shachter


Centuries ago, Nostradamus predicted that Michael van Elst would write on Thu 
Sep 28 17:00:48 2023:

> 
> netbsd-10 got a second flag day, first when updating openssl, second
> when bumping versions of dependent libraries.
> 
> The packages are being rebuilt and you should also update the base
> system.
> 

Please forgive my ignorance; how do I update my NetBSD 10 Beta system?
And does my PKG_PATH variable remain
http://ftp.NetBSD.org/pub/pkgsrc/packages/NetBSD/amd64/10.0/All or
do I now change it to something else?  Thank you in advance for any
and all replies.

Jay F. Shachter
6424 North Whipple Street
Chicago IL  60645-4111
(1-773)7613784   landline
(1-410)9964737   GoogleVoice
http://m5.chicago.il.us
j...@m5.chicago.il.us

"But when she traced the killer's IP address ... it was in the 
192.168/16 block!"



Re: How to get some needed binaries for an old installation (to do a system update to NetBSD 9.3)

2023-10-10 Thread Christian Groessler


On Mon, 9 Oct 2023, Dennis Dingeldein wrote:

> I am trying to update a MicroVAX 3100, running an old NetBSD 1.5.3.
> 
> My idea was to add NetBSD 9.3 on another disk. So I attached an additional
> hard drive to the machine and wanted to partition that disk and partition it.
> 
> On one partition I wanted to put the NetBSD installation and boot from that
> drive then.
> 
> My problem now is, on that 1.5.3 installation, there is no fdisk and no mkfs.
> I checked the installations tgz files located here
> https://archive.netbsd.org/pub/NetBSD-archive/NetBSD-1.5.3/vax/binary/sets/,
> but these also do not contain mkfs and fdisk.
> 
> From where can I get these files to continue my installation of NetBSD 9.3. ?
> 
> I am very restricted in my options for the installation, I have harddisk,
> cdrom and maybe floppy(not tested). With cdrom I've already failed,
> 
> because MicroVAX console boot loader seems to have problems with either the
> drive or the ISO image containing NerttBSD 9.3 I've used
> 
> (downloaded from https://ftp.fau.de/netbsd/NetBSD-9.3/iso/NetBSD-9.3-vax.iso )
> 
> So my question is
> 
> from where can I get 1.5.3 versions of fdisk and mkfs. I saw there is newfs,
> which may replace mkfs. But fdisk still seems missing.
> 
> Or is there an easier way to do it? Any help welcome
> 
> (I am a NetBSD new user. But using Linux for +30 years, so both newbie and old
> rabbit).
> 


You use "disklabel" (instead of fdisk) and "newfs" (instead of mkfs).

regards,
chris



Re: How to get some needed binaries for an old installation (to do a system update to NetBSD 9.3)

2023-10-10 Thread Martin Husemann
On Mon, Oct 09, 2023 at 07:09:25PM +0200, Dennis Dingeldein wrote:
> My problem now is, on that 1.5.3 installation, there is no fdisk and no
> mkfs. I checked the installations tgz files located here
> https://archive.netbsd.org/pub/NetBSD-archive/NetBSD-1.5.3/vax/binary/sets/,
> but these also do not contain mkfs and fdisk.

You need disklabel, newfs and tar for a manual installation.

But probably easier would be to get into the installer somehow. Can you
try an ISO image from a newer netbsd-9 build (or even 10.0 BETA)?

You can download them from

https://nycdn.netbsd.org/pub/NetBSD-daily/netbsd-9/latest/
or
https://nycdn.netbsd.org/pub/NetBSD-daily/netbsd-10/latest/

Martin