Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 3552

Beginners • Re: Is there a simple and foolproof way to upgrade the OS?

$
0
0
As others have said there is no one-size-fits-all method.
Over the years, I have done fresh install of OS from Wheezy up. Initially I had scripted steps, but there were too many changes which made this unworkable.

I now use a cheat sheet to remind me; I can get a working install in a couple of hours, and only a few days ago did one for 32 bit Bookworm (shown below). This omits obvious steps like customising/copying .bashrc & .profile but is only applicable to the programs I use but may help.

You NEED to know what apps you have - this is comparatively simple if you have history - I edit /etc/logrotate.d/apt to keep 36 months but you need to do this shortly after initial install.

Code:

To perform a fresh Bookworm 32 bit install on the Pi1. Install preconfigured image on SD Card.2. copy ~/bin5 Optional - Restore ssh keyscd /etc/sshsudo tar xzf $HOME/SshKeys.tgz 7 Customise config.txt;9 Install Appssudo apt install filezilla  gparted   watchdog apt-filesudo apt install samba samba-common-bin smbclient cifs-utilssudo smbpasswd -a $USER(enter password for user within Samba - does not have to be the log in password)sudo service smbd restartsudo apt install locate______________Change your Appearance Settings Appearance Settings/Defaults/SmalllPicture to /usr/share/raspberrypi-artwork/raspberry-pi-logo-small.pngMenu Bar Medium (24x24)Appearance Settings/Font 12cp  /etc/xdg/openbox/lxde-pi-rc.xml $HOME/.config/openbox/lxde-pi-rc.xmlnano $HOME/.config/openbox/lxde-pi-rc.xml<name>PiX</name>    <titleLayout>CIMNLS</titleLayout>Enable VNCVNC Resolution 1280x1024______Edit /etc/logrotate.d/apt to keep 36 monthsInstall pi-gpio sudo dpkg -i pi-gpio_1.4-1_armhf.deb Install lgpiowget http://abyz.me.uk/lg/lg.zipunzip lg.zipcd lgmakesudo make install

Statistics: Posted by Milliways — Fri Oct 25, 2024 4:07 am



Viewing all articles
Browse latest Browse all 3552

Trending Articles