Page 14 of 15

Re: ubuntu MATE 16.04.1 Live DVD

Posted: Fri Feb 10, 2017 9:44 pm
by xeno74
FYI:
kaynemo2 wrote: <SOLVED> How to force Ubuntu on PowerMac to boot into shell

Don't know if this is useful, but it took me a while to figure it out. Thanks to user k1l from IRC channel. In order to force your machine (ubuntu, powerpc, yaboot) to boot to shell mode and not gui:

1. Enter in terminal:

sudo systemctl set-default multi-user.target

2. Reboot

Voila !

If you need to reverse this:

1. Enter in terminal:

sudo systemctl set-default graphical.target

2. Reboot.

Thanks k1l !!
Link: <SOLVED> How to force Ubuntu on PowerMac to boot into shell -- ubuntuforums.org

Re: ubuntu MATE 16.04.1 Live DVD

Posted: Sun Sep 09, 2018 1:38 pm
by xeno74
You can update your installed ubuntu MATE 16.04.1 PowerPC (version from the Live DVD) to 16.04.5 with the following sources.list:

Code: Select all

deb http://gb.ports.ubuntu.com/ubuntu-ports/ xenial main restricted
deb http://gb.ports.ubuntu.com/ubuntu-ports/ xenial-updates main restricted
deb http://gb.ports.ubuntu.com/ubuntu-ports/ xenial universe
deb http://gb.ports.ubuntu.com/ubuntu-ports/ xenial-updates universe
deb http://gb.ports.ubuntu.com/ubuntu-ports/ xenial multiverse
deb http://gb.ports.ubuntu.com/ubuntu-ports/ xenial-updates multiverse
deb http://gb.ports.ubuntu.com/ubuntu-ports/ xenial-backports main restricted universe multiverse
deb http://ports.ubuntu.com/ubuntu-ports xenial-security main restricted
deb http://ports.ubuntu.com/ubuntu-ports xenial-security universe
deb http://ports.ubuntu.com/ubuntu-ports xenial-security multiverse
deb http://gb.ports.ubuntu.com/ubuntu-ports/ xenial-proposed universe main restricted multiverse
Update commands:

Code: Select all

sudo apt-get update

Code: Select all

sudo apt-get upgrade

Re: ubuntu MATE 16.04.1 Live DVD

Posted: Mon Sep 10, 2018 7:06 am
by xeno74
It seems it is necessary to do an apt-get dist-upgrade for an update from 16.04.1 (version from the Live DVD) to 16.04.5.

Re: ubuntu MATE 16.04.1 Live DVD

Posted: Thu Feb 14, 2019 2:33 pm
by xeno74
xeno74 wrote:I think this is the final. ;-) I am installing ubuntu MATE from the live DVD currently. :-)

Code: Select all

#!/bin/bash
#
# This program is free software: you can redistribute it and/or modify  
# it under the terms of the GNU General Public License as published by  
# the Free Software Foundation, version 3.
#
# This program is distributed in the hope that it will be useful, but 
# WITHOUT ANY WARRANTY; without even the implied warranty of 
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 
# General Public License for more details.
#
# You should have received a copy of the GNU General Public License 
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
#
echo -en "\033[H\033[2J"

cat << EOF
   **[Welcome]****************
    ubuntu MATE 16.04.1 LTS
    PowerPC HD installer
   ---------------------------
    1 -> Prepare Hard Drive
    2 -> Copy the Distribution
    3 -> Exit Install    
   ***************************
    Confirm with Enter
   ___________________________
EOF

echo -n "   Input: ";read SELECTM

until [ $SELECTM -lt 4 ]

	do

echo -en "\033[H\033[2J"

cat << EOF
   **[!]***********************
    Invalid Input. Please press
    Enter to repeat the input
   ****************************
EOF

read

echo -en "\033[H\033[2J"

cat << EOF
   **[Welcome]****************
    ubuntu MATE 16.04.1 LTS
    PowerPC HD installer
   ---------------------------
    1 -> Prepare Hard Drive
    2 -> Copy the Distribution
    3 -> Exit Install    
   ***************************
    Confirm with Enter
   ___________________________
EOF

echo -n "   Input: ";read SELECTM

	done

	if [ $SELECTM = 1 ]

	then

	sudo gparted

elif [ $SELECTM = 2 ]

	then

echo -en "\033[H\033[2J"

cat << EOF
   **[?]*******************
   On which partition
   do you want to copy
   ubuntu MATE?
   ************************
   Confirm with Enter
   ________________________
EOF

	echo -n "   Input: ";read PART

until [ $PART ]

	do

echo -en "\033[H\033[2J"

cat << EOF
   **[!]***********************
    Invalid Input. Please press
    Enter to repeat the input
   ****************************
EOF

read

echo -en "\033[H\033[2J"

cat << EOF
   **[?]*******************
   On which partition
   do you want to copy
   ubuntu MATE?
   ************************
   Confirm with Enter
   ________________________
EOF

	echo -n "   Input: ";read PART

done

    echo -en "\033[H\033[2J"

cat << EOF
   **[rsync]*********************
   Do you want to copy
   ubuntu MATE to $PART ?
   ******************************
   1 -> Yes
   2 -> No
   ******************************
   Confirm with Enter
   ______________________________
EOF
	
	echo -n "   Input: ";read CONFIRM

		if [ $CONFIRM = 1 ]

		then

		sudo mount $PART /mnt
		sudo rsync --stats --progress --numeric-ids -axAhHSP  / /mnt/ --exclude=/dev --exclude=/proc --exclude=/sys --exclude=/tmp --exclude=/mnt --exclude=/media
		sudo mkdir /mnt/tmp /mnt/sys /mnt/proc /mnt/dev /mnt/media
        
		else

echo -en "\033[H\033[2J"

cat << EOF
   --[!]------------------------
   canceled
   -----------------------------
   Confirm with Enter
EOF

read

fi

elif [ $SELECTM = 3 ]

	then

	exit

	fi
Hi All,

There is a small bug in the installer script. The configuration of the permissions for the 'tmp' folder is missing after creating it. You have to configure the 'tmp' folder permissions manually with the following command:

Code: Select all

sudo chmod 1777 /mnt/tmp/
ls -ld tmp

Code: Select all

drwxrwxrwt 9 root root 4096 Feb 14 14:07 tmp
Cheers,
Christian

Re: ubuntu MATE 16.04.1 Live DVD

Posted: Fri Mar 01, 2019 10:08 am
by xeno74

Re: ubuntu MATE 16.04.1 Live DVD

Posted: Wed Oct 09, 2019 5:56 pm
by xeno74
Wicknix released the Lubuntu 16.04.6 Remix today.

Download and further information: forums.macrumors.com

Screenshot

Re: ubuntu MATE 16.04.1 Live DVD

Posted: Mon Apr 20, 2020 9:46 am
by JurassicC
Christian.

I've installed the ubuntu 16.04 iso 3 onto X1000. I needed to get something up and running quickly as my kids need a computer to do their school work on whilst were in covid-19 lock down and odyssey in OS4.1, as much as it a good browser, isn't up to the task.
At least with linux I have libreoffice and can print.

So the live install automatically drops into ubuntu-mate's

I created another user as admin and I can switch to that user. However, every time I boot I automatically get logged into ubuntu-mates desktop.
I've tried using sudo usermod to change the name of ubuntu-mate, however, I don’t know the default ubuntu-mate password.

Re: ubuntu MATE 16.04.1 Live DVD

Posted: Mon Apr 20, 2020 7:47 pm
by xeno74
JurassicC wrote: Mon Apr 20, 2020 9:46 am I created another user as admin and I can switch to that user. However, every time I boot I automatically get logged into ubuntu-mates desktop.
Hi JurassicC,

You can deactivate autologin if you like.

Code: Select all

sudo nano /etc/lightdm/lightdm.conf
It displays some text as follows:

Code: Select all

[SeatDefaults]  
allow-guest=false  
autologin-guest=false
autologin-user=ubuntu-mate
autologin-user-timeout=0
1) Delete the ubuntu-mate user and leave it blank
2) Delete the line autologin-user-timeout=0
3) Reboot your X1000
JurassicC wrote: Mon Apr 20, 2020 9:46 am I've tried using sudo usermod to change the name of ubuntu-mate, however, I don’t know the default ubuntu-mate password.
With sudo you execute the command as root and it doesn’t have a password.

You can setup a root password with “sudo passwd root”.

Cheers,
Christian

Re: ubuntu MATE 16.04.1 Live DVD

Posted: Tue May 05, 2020 6:13 am
by Hypex
I haven't seen the whole thread. But I'm wondering if it can be booted off USB rather than a real CD/R/W? Has this been done yet?

I've been experimenting myself. I had trouble loading the ramdisk. It's rather large and I had trouble loading it. I need to go back and check as large files usually load fine from FAT. It's strange, as a 30MB file will load from FAT, but will always fail from FFS. The FFS loader seems to have the same limitations as the old XE UBoot file loader. Which is about 16 MB.

What I tried first is simply writing the ISO image direct to USB. I then set boot args to point to that device which in my case is /dev/sdc. I loaded the kernel from CFE. It booted up fine but got stuck at the root FS. It can actually mount the ISO image fine but it was missing an init.

I see it needs the initrd to boot the installer. Of course I'm aware of this having modified Linux installers before to boot off my XE.

Given it needs modding in any case it could be an idea to make up a disk image. That contains a FAT volume with initrd to boot. And the iso as another volume. A batch file in the root could be used to boot it easily. Without stuffing about with CFE commands. :-)

Re: ubuntu MATE 16.04.1 Live DVD

Posted: Tue May 05, 2020 7:22 am
by xeno74
Hypex wrote: Tue May 05, 2020 6:13 amGiven it needs modding in any case it could be an idea to make up a disk image. That contains a FAT volume with initrd to boot. And the iso as another volume. A batch file in the root could be used to boot it easily. Without stuffing about with CFE commands. :-)
Please do it. I am very often alone here and need really more help with the X1000 Linux support.