Page 1 of 1

migration path to LMDE2

Posted: Sat Mar 21, 2015 8:46 am
by guuml
Some weeks ago I've decided to use LMDE with MATE as the default operating system to install on every computer reachable to me;-) Installation was straight forward: downloading linuxmint-201403-mate-dvd-32bit.iso, writing to USB-stick with unetbootin, booting installation system (Einführung in LMDE at linuxmintusers.de was useful) and reboot new system ... no problems, no pain, just excellent work you've done. Thanks a lot for that!

Now I have downloaded the lmde-2-201503-mate-32bit-de-20150320-rc.iso and there is a free partition ... I'm willing to test the release candidate the next weeks. But for now there are two choices for me:

A. Replacing LMDE1 with LMDE2-RC on the USB-Stick and then install LMDE2-RC from scratch on the other partion.

or

B. Install the LMDE1 a second time and then upgrade to LMDE2-RC as discussed in thread Updating existing LMDE 1 Systems to LMDE 2.

This is my first post in this forum, may be it's just for ther records.


Re: migration path to LMDE2

Posted: Sat Mar 21, 2015 11:43 am
by killer de bug
I don't see the point in installing LMDE 1 and then upgrading to 2.
It would be like installing twice your system...

Re: migration path to LMDE2

Posted: Sat Mar 21, 2015 12:10 pm
by fayad
Install LMDE 2 fresh on the new partition. What else. Unless you want to experiment with upgrade path.

Re: Re: Just reasoning the cause

Posted: Sat Mar 21, 2015 10:25 pm
by guuml
Thanks for your replies, now it's time to go into the goring details.
killer de bug wrote:I don't see the point in installing LMDE 1 and then upgrading to 2.
It would be like installing twice your system...
As I'm knowing debian since the end of the last century, I hoped installing Ubuntu (200)8.04 will stop the problem installing an operating system again and again with no obvious need. Upgrading every 6 months leaves me stucked at the end of the road (closed source you know). But 10.04 LTS (= long time support!) does the job well, I was able to spread the system. Upgrading to 12.04 wasn't that easy I have thought. Being precise currently I'm using Ubuntu 12.04.5 LTS as production systems and I don't want to make the step to 14.04 Trusty Tahr, although I had given that a try. And another remarkable point: On my avaiable hardware rebecca-cinnamon wasn't that good as linuxmint-201403-mate-dvd-32bit.iso. For short: just before my posting I have installed different operating systems more than twice ;-)
fayad wrote:Install LMDE 2 fresh on the new partition. What else. Unless you want to experiment with upgrade path.
Yes, I'm searching for an upgrade path to keep computers both easy to use for their owners and easy to maintain for me. As far as I can see, Linux Mint Debian Editon + Mate Desktop will fit me needs other 92%. Let's talk about the next release candidate:

Note: I'm using the same procedure for LMDE2-RC as some weeks ago for LMDE1. Installation was written with UNetbootin from the downloaded file to an USB-Stick with a 10GB-fat32-filesytem (/dev/sdb1).

1. It's hard for me to reproduce the exact download path, but this checksum holds true (BTW: mind the two spaces between checksum and filename!):

Code: Select all

0E9E1FCD565426B8543CB85D3A9D29EF  lmde-2-201503-mate-32bit-de-20150320-rc.iso
2. Place this Image with UNetbootin on an USB-Stick, eg /dev/sdb1. Note 1: I prefer this insteadof mintStick, just because there are other partitions on the stick I won't touch. Note 2: UNetbootin places a grub-menue with several entries, three of them I want to mention:
  • (a) Default
  • (b) LMDE 2 RC ... (Don't know the exact phrase)
  • (c) check installation medium
3. Selecting "Default" (2a) at boot stops with:

Code: Select all

startpar: service(s) returned failure: plymouth ... failed
Ok, the theme isn't that hard ... but

4. Booting again with "checking installation medium" (2c) reveals:

Code: Select all

FAT-fs (sdb1) utf8 is not a recommended IO charset for FAT filesystem, filesystem will be case sensitive!
...
(initramfs) /bin/md5sum: WARNING: 6 lines are improperly formatted
/bin/md5sum:  WARNING: 2 computed checksums did NOT match
...
Verification failed, tty8 for more information
On tty8 (Alt-F8 you know?) the information wasn't available anymore ... going back to the creating system:

Code: Select all

$ LANG=C md5sum --quiet -c MD5SUMS
./isolinux/isolinux.cfg: FAILED
./live/filesystem.squashfs: FAILED
md5sum: WARNING: 6 lines are improperly formatted
md5sum: WARNING: 2 computed checksums did NOT match
Calculating the new checksums and placing them into MD5SUMS wasn't hard:

Code: Select all

$ diff MD5SUMS.orig MD5SUMS
22c22
< 6891f1af8ef0e4d0e7c2330649ea91dd  ./isolinux/isolinux.cfg
---
> 04796d1dff1650924f61c830d27b927b  ./isolinux/isolinux.cfg
30c30
< 28388a369a7b5805c83731be012874e1  ./live/filesystem.squashfs
---
> 1069e24aa1345aac946a2c2cb6b1256d  ./live/filesystem.squashfs
Rebooting this modified stick with "start installation environment" (2b) works well and I was able to install the new system and boot it after a while.

Now it's time to abort this post for now. Something more has to be written about what to do during installation and some ugly predefined defaults on the running system. For me is LMDE2-Mate on the right way.


----
"Guuml" is just a short hand for "G&uuml;" which should render to ... but don't wonder why

Re: Re: Just reasoning the cause

Posted: Sun Mar 22, 2015 5:45 am
by killer de bug
guuml wrote: For short: just before my posting I have installed different operating systems more than twice ;-)
That was not my point. Read my previous post carefully again...

Re: Re: continuing with fresh LMDE2-20150320-RC

Posted: Sun Mar 22, 2015 2:52 pm
by guuml
@killer de bug: Was there any misunderstanding? I don't think so. I've started this thread because I'm a very newbie to any linuxmint flavour at all! You as an expierenced user has adviced to me:
in my own words wrote:Don't waste time with upgrading from LMDE1. Just install LMDE2 from fresh.
And so I have done :D Some weeks ago I began exploring the "linux mint way of doing things" with installing linuxmint-17.1-cinnamon-32bit and linuxmint-201403-mate-dvd-32bit, just to evaluate which flavour will fit my needs best the next couple of years. I have even burned a DVD with LMDE1. One week later becomecs lmde-2-201503-mate-32bit-de-20150320-rc available. I don't care this is called "only release canditate". My previous post just records the differences between installing LMDE1 vs. LMDE2. So I will continue with some caveats: The checksum problem noted above was easy to fix on USB, the "graphical installation environment" (2b) comes up as expected.

5. The localization was well done, no more need to figure out where some keys are located on my german keyboard :wink: But I encountered an unusual phenomen, at least for me: Switching from installation GUI on tty7 with Ctrl-Alt-F1 to console tty1 gives login prompt as usual. Entering user "mint" (no password) will start another GUI !? Ok, it's no problem switching back with Ctrl-Alt-F7. BTW I'm wondering about the usefullness of this feature during installation.

6. Since I want to install LMDE2 as an replacement of cinnamon on /dev/sda1 but keep LMDE1 on /dev/sda3, I choose the "expert mode" I know from LMDE1. The commands for reference:

Code: Select all

# create new filesystem on selected partition
sudo mkfs -t ext4 /dev/sda1
# mouting the desired root filessystem
sudo mkdir /target
sudo mount /dev/sda1 /target
# adding the other partition(s) as needed:
sudo mkdir -p /target/media/opt
sudo mount /dev/sda3 /target/media/opt
# this can be /home as well but for now
sudo mkdir -p /target/media/user
sudo mount /dev/sda3 /target/media/user
7. Continuing the installation I've decided not to install GRUB on /dev/sda, since there was one already. But see below! No problems occered at installing in the next step.

8. Now it's the time to

Code: Select all

sudo chroot /target
sudo apt-get update
sudo apt-get upgrade
Don't forget to create your own appriopriate /etc/fstab:
my /etc/fstab wrote: # UNCONFIGURED FSTAB FOR BASE SYSTEM
proc /proc proc defaults 0 0
# 2015-03-21 lmde-2-201503-mate-32bit-de-20150320-rc
/dev/sda1 / ext4 errors=remount-ro 0 1
/dev/sda2 none swap sw 0 0
/dev/sda5 /media/user ext4 defaults 0 2
/dev/sda3 /media/opt ext4 defaults 0 2
Since this installathion is both on a dualboot and a replacement of one os it is important to notify the GRUB about this change:
/etc/default/grub wrote: # Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
GRUB_DISABLE_LINUX_UUID=true
And then updating will add the new entries:

Code: Select all

sudo update-grub
BTW: I'm missing at rebooting a prompt saying "Please remove the USB-Stick an then enter" as the DVD has. Sometimes it is hard to select the new system at boot time.

9. Some personal comments about lmde-2-201503-mate-32bit-de-20150320-rc. But remember: They should not prevent you using this nice operating system from now on! :D

Code: Select all

startpar: service(s) returned failure: plymouth ... failed
Just ignore this 'til the next update, but there are two remarkable points:

9.1 I don't use auto logon but the changing backgrounds at the login screen are slowing down the maschine significantly: Typed keys appeared only with a remarkable delay.

9.2. Dialog windows are nearly unreadable since they are greyed out in the center. Fix with (don't know the english names) with "Konfiguration: Fenster" in tab "Allgemein": Disable the so called option "Software-Compositing-Fensterverwaltung". May be this is a side effect of the missing themes and will be fixed soon.

Summary: The new LMDE2 betsy is an operating system I like at once! Easy things go easy and difficult things are possible. Writing this two posts takes some more time as installing both LMDE1 and LMDE2 together. But this effort was useful to me for having all steps clued together. Hopefully this is useful for others, too.


Re: Re: continuing with fresh LMDE2-20150320-RC

Posted: Sun Mar 22, 2015 3:28 pm
by killer de bug
guuml wrote:@killer de bug: Was there any misunderstanding? I don't think so.
I was just saying: Installing LMDE 1 and upgrading to LMDE2 when you have the iso for LMDE 2 ready is a non optimized process resulting in 2 consecutive installations.

And you said: I have installed more than 2 times Linux in my life... Yes me too, but that's not the point :lol:

Add: considering mintUpdate and /etc/apt/sources.list

Posted: Mon Mar 23, 2015 5:59 pm
by guuml
It seems ridicolous to me to give "killer de bug" 10+ or 100+ likes for his postings :shock: Just mentioned from LMDE 2 Betsy FAQ:
killer de bug wrote: Upgrade between version of LMDE (from 1 to 2 and from 2 to 3...) should always use dist-upgrade. And of course, if you base your system [e.g. LMDE1] ..., you already know that you should use dist-upgrade.
This was another reason I've titled this thread "migration path to LMDE2", RTFM:
apt-get(8) from Ubuntu 12.04.5 wrote: dist-upgrade in addition to performing the function of upgrade, also intelligently handles changing dependencies with new versions of packages; apt-get has a "smart" conflict resolution system, and it will attempt to upgrade the most important packages at the expense of less important ones if necessary. So, dist-upgrade command may remove some packages. The /etc/apt/sources.list file contains a list of locations from which to retrieve desired package files. See also apt_preferences(5) for a mechanism for overriding the general settings for individual packages.
So some mess was caused by my own impatience :roll: to create a DVD with linuxmint-201403-mate-dvd-32bit.iso just a few days before the release candidate of LMDE2 was published ...

Note: previously I've made a CD labeled gentoo install-x86-minimal 2014-04-15 (so called "2nd generation" backwards). And prior to that there was a CD called Ubuntu 10.04 LTS (or similar, this may be called the "3rd (grand parent) generation" from today). It looks like the latter has reached "end of lifetime" long ago.

Nethertheless I have to refresh my knowledge not for the "update-manager" (Ubuntu 12) but for "mintUpdate (4.8.2 or later)" ... For sure I have done the update to 4.8.3 and then I'm confronted with three levels of "Aktualisierungsverwaltung" and I have to choose ... Ok, level 1 ("Core Linux Mint packages as at 2015.03.23") sounds useful. But what's about the other four suggestions? BTW: "tcl8.6" may be useful, but can I rely on the fact, that TCL will be available on each and every debian minty way? This may be the case, but now I'm going back to the roots.

Booting "LinuxMint GNU/Linux (on /dev/sda1)" with the LMDE2 out-of-the-box /etc/apt/sources.list which just contains:
LMDE2:/etc/apt/sources.list wrote: #/etc/apt/sources.list
The usual "apt-get update; apt-get upgrade" works IMHO "not so bad" (The "Aktualisierungsverwaltung" states: "Ihr System ist auf dem neuesten Stand" :)

Booting "LMDE MATE 32-bit, 3.11-2-486 (/dev/sda3)" works fine as well, but I have edited the /etc/apt/sources.list according to Einführung in LMDE
LMDE1:/etc/apt/sources.list wrote: #/etc/apt/sources.list
#
# 2015-01-31 linuxmitusers.de/?action=wiki;page=Einführung_in_LMDE
deb http://packages.linuxmint.com/ debian main upstream import
deb http://debian.linuxmint.com/latest testing main contrib non-free
deb http://debian.linuxmint.com/latest/security testing/updates main contrib non-free
deb http://debian.linuxmint.com/latest/multimedia testing main non-free
I'll prefer "non-us" mirrors" at least for bandwiths sake, but HOW TO define this as my preference? Just to say: in an ideal world the same /etc/apt/sources.list works both for LMDE1 and LMDE2. But may be I'm dreaming.


---
"In a world without walls and fences // who need's windows and gates?" (Scott McNealy around 1997)

Post scriptum: The only ppa I ever needed was the transition from OO to LibO :wink:

PPS: the best choice is

Code: Select all

mintsource
. Thanks to killer de bug again

Re: Add: considering mintUpdate and /etc/apt/sources.list

Posted: Mon Mar 23, 2015 6:27 pm
by killer de bug
guuml wrote: Booting "LinuxMint GNU/Linux (on /dev/sda1)" with the LMDE2 out-of-the-box /etc/apt/sources.list which just contains:
LMDE2:/etc/apt/sources.list wrote: #/etc/apt/sources.list
Section 4 of the FAQ ;)

Code: Select all

/etc/apt/sources.list
is now replaced by this file:

Code: Select all

/etc/apt/sources.list.d/official-packages-repositories.list
All you active official repo are in /etc/apt/sources.list.d/official-packages-repositories.list

You can print all you repo by typing this command in a terminal:

Code: Select all

inxi -r
It will print the repo and the file where they are stored.

guuml wrote:
LMDE1:/etc/apt/sources.list wrote: #/etc/apt/sources.list
#
# 2015-01-31 linuxmitusers.de/?action=wiki;page=Einführung_in_LMDE
deb http://packages.linuxmint.com/ debian main upstream import
deb http://debian.linuxmint.com/latest testing main contrib non-free
deb http://debian.linuxmint.com/latest/security testing/updates main contrib non-free
deb http://debian.linuxmint.com/latest/multimedia testing main non-free
the same /etc/apt/sources.list works both for LMDE1 and LMDE2. But may be I'm dreaming.
Of course not. The one you have are the old repo. This Linux Mint specific repo (snapshot of Debian testing as it was in december 2013 in fact).
Now we will follow Jessie. Currently Jessie is testing, and in a few weeks it will be Debian Stable for 2 years. Here are the new repo:

Code: Select all

deb http://packages.linuxmint.com betsy main upstream import
deb http://ftp.us.debian.org/debian jessie main contrib non-free
deb http://ftp.us.debian.org/debian jessie-updates main contrib non-free
deb http://security.debian.org jessie/updates main contrib non-free
deb http://www.deb-multimedia.org jessie main non-free
deb http://extra.linuxmint.com betsy main
Section 4 of the FAQ can give you some good details.

Re: Add: migration path to LMDE2 by replacing another OS

Posted: Wed Mar 25, 2015 6:10 pm
by guuml
Thanks for your brief description above! I just want to record what's new to me by doing an "install or update the linux minty way". :D

A very new command to me was inxi(1), now we're talking about

Code: Select all

inxi -r
There are two very important axioms for me: (1) connection to internet may be poor and (2) The definitive decision to run any update has to be controlled by me but not by the system :( One of the first things I've done in mintupdate (Update Manager: Edit: Preferences) is setting "Auto-Refresh" to all zero's, since I want to checkout apt-get update in detail.
killer de bug wrote:[LMDE2] will follow Jessie. Currently Jessie is testing, and in a few weeks it will be Debian Stable for 2 years.
Note: The "fastest reachable mirror" can be found with mintsources (de: Kontrollzentrum: Anwendungspaketquellen)
Note: Same function can be reached with "mintupdate: Edit: Software soures"

Code: Select all

mintupdate
In area "Offizelle Paketquellen" there can be choosen two mirrors independently: (A) "Haupt (betsy)" an (B) "Basis (jessy). Some comments to /etc/apt/sources.list.d/official-package-repositories.list:
# MAIN_MIRROR defaults to http://packages.linuxmint.com
deb http://MAIN_MIRROR betsy main upstream import
# BASE_MIRROR defaults to http://ftp.us.debian.org/debian/
deb http://BASE_MIRROR jessie main contrib non-free
deb http://BASE_MIRROR jessie-updates main contrib non-free
# get the newest security fixes:
deb http://security.debian.org/ jessie/updates main contrib non-free
# see the site deb-multimedia.org for more details:
deb http://www.deb-multimedia.org jessie main non-free
# extra packages for every Linux Mint Flavour
deb http://extra.linuxmint.com betsy main
Note: Don't select "Instabile Pakete (romeo)" until you really know what your doing.

So far the migration path to LMDE2 (by replacing another OS) has been evaluated as painfree as expected :) Now I'm working to get this host productive.

But is my newly created DVD linuxmint-201403-mate-dvd-32bit.iso useless? I think there is an migration path from LMDE1 to LMDE2 as I have wished before: According to woodsman on Wed, 2015-03-18, 23:17 (and follow ups) in thread Updating existing LMDE 1 Systems to LMDE 2 this will be the case soon. In the not to far future the LMDE 2 Forums will be unlocked. I'm watching this process for my own. 8)