You are not logged in.

#1 2018-11-21 17:30:59

Sector11
Tpyo Knig
From: 77345 ¡#
Registered: 2015-08-20
Posts: 5,150

Installing a new BL Version over an old version... IF:

THIS IS AN IN A NUTSHELL TUTORIAL

OK time to upgrade to the latest release.

Installing a new BL Version over and old version ... IF: you have your setup like this:

sda1 → /root
sda2 → /home/username

OR

sda1 → /root
sda2 → /home/username
sda3 → /some personal data partition

sda1, 2, or 3 can be anything really.  The point is you have /root and /home on separate partitions with or without another separate partition for non-system files (doc file, images music etc.)

So for this Nutshell Tutorial I'll use the 3 partitions as an example.

GO SLOW!  BE SAFE!  READ ALL GPARTED INSTRUCTIONS CAREFULLY

Better to do it slow ONCE than do it 2 or 3 or 4 times.  big_smile
Ask me I know what that's like!

  1. BACKUP your /home and /data partitions <--- cannot stress enough!

  2. install the new version of BL and when you get to GPARTED - select 'Manual'

  3. use and reformat sda1 as ROOT

  4. use and reformat sda2 as /home <---- gives you the up to date BL configs

  5. use but DO NOT FORMAT sda3 as your /data partition

It is as easy as that ... NOW comes the personal work.  Installing the apps you want removing the ones you do not want and copying old config files from your /home-backup that you want to reuse.

- OK proofread edit

Last edited by Sector11 (2018-11-21 17:37:05)


BunsenLabs Forum Rules ---== I'm a Conky 1.9'er ==---
System:    Host: s12 Kernel: 3.16.0-4-amd64 x86_64 (64 bit gcc: 4.8.4)
Desktop: Openbox 3.5.2 dm: (startx) Distro: Debian GNU/Linux 8

Offline

#2 2018-11-21 20:36:51

damo
....moderator....
Registered: 2015-08-20
Posts: 4,378

Re: Installing a new BL Version over an old version... IF:

And if you do as Sector11 and I do, and have your user directories on another partition, then what I do is change some new $HOME dirs to symlinks to my $DATA dirs.

This is also very handy if you use Dropbox wink


Be Excellent to Each Other...

FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#3 2018-11-22 01:27:01

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 4,673
Website

Re: Installing a new BL Version over an old version... IF:

^^ & ^ both get my personal stamp of approval.
lbtnrHL.png


John
--------------------
( a boring Japan blog , Japan Links, idle twitterings  and GitStuff )
In case you forget, the rules.

Offline

#4 2018-11-22 15:03:12

S7.L
Member
Registered: 2018-09-16
Posts: 102

Re: Installing a new BL Version over an old version... IF:

Im not a fan of the separate home partition, i prefer to just have 1 partition that contains everything and back it up using fsarchiver and rsync for the special case files to a backup drive.It probably makes sense for some use cases having separate partitions for this and that but i believe if you have a hdd failure all is "possibly" lost anyway, software failure as in a borked system is another story though and depends upon your level of skill with the OS you have installed. Regular backups are the key, fsarchiver is good for this and also rsync.

Last edited by S7.L (2018-11-22 15:04:30)


"Voilà! In view, a humble vaudevillian veteran, cast vicariously as both victim and villain by the vicissitudes of Fate."...Voilà!

~ V

Offline

#5 2018-11-22 15:35:36

Sector11
Tpyo Knig
From: 77345 ¡#
Registered: 2015-08-20
Posts: 5,150

Re: Installing a new BL Version over an old version... IF:

For me there are Two Truths of Linux;

  1. there are countless ways to do the same thing, and

  2. you can have have it Your Way!

Personally I dislike everything on /root, but that's me.  See "Two Truths of Linux"

Last backup 12 midnight and here we are 10:30 and my system crashes and requires a reinstall, but at 9:45 I received three very important emails.

Now since my "actual mail" is stored on >sda5 --> /media/5, I reinstall:

/root - use & format
/home - use - DO NOT format
/media/5 - use - DO NOT format
/media/10 - use - DO NOT format

Reinstall claws-mail and I'm happy, the config is already in place.

Complete HD failure  to easy, my backups:

/media/sector11/disk/M5
/media/sector11/disk/M10
/media/sector11/disk/S11-Nov
/media/sector11/disk/S11-Oct
/media/sector11/disk/S11-Sep
/media/sector11/disk/Sector11-readme.txt

Reinstall system remove everything in /home and copy /media/sector11/disk/S11-Nov to home.

copy contents of /media/sector11/disk/M5 to /media/5
copy contents of /media/sector11/disk/M10 to /media/10

FLYING!

EDIT:

 22 Nov 18 @ 12:38:07 ~
   $ s11bk
    Syncing /home
      to /media/sector11/disk/S11-Nov/
    Syncing /media/5/
      to /media/sector11/disk/M5/
    Syncing /media/10/
      to /media/sector11/disk/M10/

1. Syncing Complete
2. Unmount /media/sector11/disk? (Y|n) 
    Unmounting /media/sector11/disk,
    wait until the blue light
    stops flashing and the terminal prompt
 
 22 Nov 18 @ 12:41:42 ~
   $ 

Last edited by Sector11 (2018-11-22 15:41:43)


BunsenLabs Forum Rules ---== I'm a Conky 1.9'er ==---
System:    Host: s12 Kernel: 3.16.0-4-amd64 x86_64 (64 bit gcc: 4.8.4)
Desktop: Openbox 3.5.2 dm: (startx) Distro: Debian GNU/Linux 8

Offline

Board footer

Powered by FluxBB