ubuntu MATE 16.04.1 LTS Live USB

AmigaOne X5000 platform specific issues related to Linux only.
User avatar
xeno74
Posts: 9320
Joined: Fri Mar 23, 2012 7:58 am

Re: ubuntu MATE 16.04.1 LTS Live USB

Post by xeno74 »

http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
nbache
Beta Tester
Beta Tester
Posts: 1714
Joined: Mon Dec 20, 2010 7:25 pm
Location: Copenhagen, Denmark
Contact:

Re: ubuntu MATE 16.04.1 LTS Live USB

Post by nbache »

The link to your image does nothing (at least when using Odyssey) - not even an error message or an attempt to load anything.

Best regards,

Niels
User avatar
xeno74
Posts: 9320
Joined: Fri Mar 23, 2012 7:58 am

Re: ubuntu MATE 16.04.1 LTS Live USB

Post by xeno74 »

Wicknix released the Lubuntu 16.04.6 Remix today.

Download and further information: forums.macrumors.com

Screenshot
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
kilaueabart
Posts: 1070
Joined: Mon Mar 05, 2012 2:36 am

Re: ubuntu MATE 16.04.1 LTS Live USB

Post by kilaueabart »

The note above led me to the astonishing discovery that I had been using REMIX up to almost exactly one year ago! Was that when Fienix appeared on the scene?

I was equally startled to find that, with a little boot command editing, I can still almost get on. Almost, because I have no idea what my password might have been. Nevertheless I was able to find my Hyperion password from one of the places in Places, and I am writing this as a guest in REMIX! I guess I will have a go at upgrading.

Here is something weird:

^1234567890ß´
°!"§$%&/()=?`

qwertzuiopü+#
QWERTZUIOPÜ*'

asdfghjklöä
ASDFGHJKLÖÄ

yxcvbnm,.-
YXCVBNM;:_

Maybe because I´m typing from guest-fmexsy´s home?
User avatar
xeno74
Posts: 9320
Joined: Fri Mar 23, 2012 7:58 am

Re: ubuntu MATE 16.04.1 LTS Live USB

Post by xeno74 »

xeno74 wrote: Wed Jul 26, 2017 12:39 pm
Roland wrote: I created it with GParted, but I chose ext2... Is that important?
OK, I understand what the problem is. You copied the whole img with partitions included to an empty partition. You can't copy several partitions to an empty partition. This doesn't work.

Please look in the image with fdisk -l

Code: Select all

fdisk -l Ubuntu-Mate_16.04.img

Code: Select all

Disk Ubuntu-Mate_16.04.img: 7,2 GiB, 7747397632 bytes, 15131636 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x3a30f5e7

Device                 Boot    Start      End  Sectors  Size Id Type
Ubuntu-Mate_16.04.img1          2048   206847   204800  100M  6 FAT16
Ubuntu-Mate_16.04.img2        206848 14925823 14718976    7G 83 Linux
Ubuntu-Mate_16.04.img3      14925824 15130623   204800  100M 83 Linux
Do you understand what the problem is? This image was produced for a whole empty stick.

But you can mount a partition in an image and after that copy it with dd to a partition on your X5000. ;-)

Please install kpartx:

Code: Select all

apt-get install kpartx

Code: Select all

kpartx -l Ubuntu-Mate_16.04.img -a

Code: Select all

kpartx -l Ubuntu-Mate_16.04.img

Code: Select all

loop0p1 : 0 204800 /dev/loop0 2048
loop0p2 : 0 14718976 /dev/loop0 206848
loop0p3 : 0 204800 /dev/loop0 14925824
loop0p2 is the ubuntu MATE 16.04.2 LTS root partition.

Code: Select all

mount /dev/mapper/loop0p2 /mnt/ -o loop,ro
Another option without kpartx:

Code: Select all

sfdisk -d Ubuntu-Mate_16.04.img

Code: Select all

label: dos
label-id: 0x3a30f5e7
device: Ubuntu-Mate_16.04.img
unit: sectors

Ubuntu-Mate_16.04.img1 : start=        2048, size=      204800, type=6
Ubuntu-Mate_16.04.img2 : start=      206848, size=    14718976, type=83
Ubuntu-Mate_16.04.img3 : start=    14925824, size=      204800, type=83

Code: Select all

echo $((206848 * 512)) $((14718976 * 512))
Result: 105906176 7536115712

Then:

Code: Select all

mount -o loop,offset=105906176,sizelimit=7536115712 Ubuntu-Mate_16.04.img /mnt
Please try it.
Just for info. If you mount the partition with kpartx then it isn't possible to modify the partition. You can create, delete, or modify the files but after a remount of the partition, the file system is in the old condition again. :-(

If you want to create, delete, or modify the files then please use sfdisk instead.
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
xeno74
Posts: 9320
Joined: Fri Mar 23, 2012 7:58 am

Re: ubuntu MATE 16.04.1 LTS Live USB

Post by xeno74 »

Hi All,

Some download links are dead in this thread. I updated Julian's ubuntu MATE 16.04 USB Live img version 3 with new kernels and dtb files and uploaded it today. The alternate installer script is included in this img.

Download: X5000_Ubuntu_16.04.1_Live_USB-3c.img (md5sum: ee187684c6ea426a1558aef55b44232d)

I would recommend you to use Fienix instead of ubuntu MATE 16.04 because it is based on the latest Debian Sid and it is really faster and better supported.

U-Boot commands for booting the ubuntu MATE 16.04 Live USB system:
  1. Code: Select all

    usb reset
  2. Code: Select all

    setenv bootargs root=/dev/ramdisk file=/cdrom/preseed/ubuntu-mate.seed boot=casper rootdelay=5
  3. Code: Select all

    fatload usb 0:1 1000000 uImage-5.8 or uImage-5.7
  4. Code: Select all

    fatload usb 0:1 1c00000 cyrus-p5020.dtb or cyrus-p5040.dtb
  5. Code: Select all

    fatload usb 0:1 2000000 uRamdisk
  6. Code: Select all

    bootm 1000000 2000000 1c00000
Image

For Radeon Southern Island cards you have to edit the xorg.conf. Please change the line Driver "radeon" to Driver "fbdev".

You can also install ubuntu MATE 16.04 with the base installer img.

Download: Amigaone_Ubuntu_16.04-Base-1.img.7z

Installation instructions: ubuntu MATE 16.04.1 LTS Live USB

Note: Some USB sticks aren't suitable for booting Linux kernels and initial ramdisks from a FAT partition. U-Boot doesn't find any storage devices on the problematic sticks.
PLEASE try another USB stick if you have problems with booting from a FAT partition.

Please test the images.

Thanks,
Christian
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
xeno74
Posts: 9320
Joined: Fri Mar 23, 2012 7:58 am

Re: ubuntu MATE 16.04.1 LTS Live USB

Post by xeno74 »

xeno74 wrote: Wed Jul 08, 2020 1:37 pm For Radeon Southern Island cards you have to edit the xorg.conf. Please change the line Driver "radeon" to Driver "fbdev".
Instructions for changing to the fbdev driver if you use Radeon SI graphics cards.
  1. Code: Select all

    usb reset
  2. Code: Select all

    setenv bootargs root=/dev/ramdisk file=/cdrom/preseed/ubuntu-mate.seed boot=casper rootdelay=5 single
  3. Code: Select all

    fatload usb 0:1 1000000 uImage-5.8 or uImage-5.7
  4. Code: Select all

    fatload usb 0:1 1c00000 cyrus-p5020.dtb or cyrus-p5040.dtb
  5. Code: Select all

    fatload usb 0:1 2000000 uRamdisk
  6. Code: Select all

    bootm 1000000 2000000 1c00000
  7. Code: Select all

    vi /etc/X11/xorg.conf
  8. Replace radeon with fbdev
  9. Code: Select all

    init 5
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
Skateman
Posts: 858
Joined: Thu Aug 10, 2017 8:36 pm
Location: The Netherlands

Re: ubuntu MATE 16.04.1 LTS Live USB

Post by Skateman »

Thanks a lot Christian!
AmigaOne X5000 -> 2GHz / 16GB RAM / Radeon RX 570 / Radeon X1950 / M-Audio 5.1 -> AmigaOS / Linux
Amiga 1200 -> Recapped / 68ec020 ACA 1221ec / CF HDD / RetroNET connected to the world
Vampire 4SA - RPi4 Running AmiKitXE Full
User avatar
xeno74
Posts: 9320
Joined: Fri Mar 23, 2012 7:58 am

Re: ubuntu MATE 16.04.1 LTS Live USB

Post by xeno74 »

http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
Skateman
Posts: 858
Joined: Thu Aug 10, 2017 8:36 pm
Location: The Netherlands

Re: ubuntu MATE 16.04.1 LTS Live USB

Post by Skateman »

AmigaOne X5000 -> 2GHz / 16GB RAM / Radeon RX 570 / Radeon X1950 / M-Audio 5.1 -> AmigaOS / Linux
Amiga 1200 -> Recapped / 68ec020 ACA 1221ec / CF HDD / RetroNET connected to the world
Vampire 4SA - RPi4 Running AmiKitXE Full
Post Reply