ubuntu MATE 16.04.1 LTS Live USB

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

ubuntu MATE 16.04.1 LTS Live USB

Post by xeno74 »

Hi All,

An ubuntu MATE 16.04.1 LTS live USB img is available for the AmigaOne X5000. It has also the alternative installer script.

Download: X5000_Ubuntu_16.04.1_Live_USB-3.img

Boot instructions:

Code: Select all

setenv bootargs root=/dev/ramdisk file=/cdrom/preseed/ubuntu-mate.seed boot=casper rootdelay=10 mem=3500M radeon.pcie_gen2=1
fatload usb 0:1 1000000 uImage-cyrus
fatload usb 0:1 1c00000 cyrus_5020.dtb
fatload usb 0:1 2000000 uRamdisk
bootm 1000000 2000000 1c00000
The ubuntu MATE 16.04.1 LTS live DVD with the RC5 of kernel 4.9 on the AmigaOne X1000:

Image

Please try to install ubuntu MATE 16.04.1 LTS with the alternative installer script. I'd like to know if it works for you.

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

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

Re: ubuntu MATE 16.04.1 LTS Live USB

Post by xeno74 »

Instructions for booting the ubuntu MATE 16.04.1 Live USB image on your X5000
  1. Download the image from the following link: X5000_Ubuntu_16.04.1_Live_USB-3.img
  2. Copy it with dd on Linux or with the USB image Tool on Windows to a USB flash drive.
  3. For example with Linux:

    Code: Select all

    dd if=“X5000_Ubuntu_16.04.1_Live_USB-3.img“ of=“disk drive ID“
  4. To boot ubuntu MATE image from the USB flash drive, insert the USB flash drive into the X5000. Next enter the following at the U-Boot prompt (pressing enter after each line):

    Code: Select all

    setenv bootargs root=/dev/ramdisk file=/cdrom/preseed/ubuntu-mate.seed boot=casper rootdelay=10  mem=3500M radeon.pcie_gen2=1
    fatload usb 0:1 1000000 uImage-cyrus
    fatload usb 0:1 1c00000 cyrus_5020.dtb
    fatload usb 0:1 2000000 uRamdisk 
    
    bootm 1000000 2000000 1c00000
    
  5. If you have successfully booted the ubuntu MATE Live USB flash drive, please test the desktop and the programs. If you like ubuntu MATE, then you can install it with the install script Install Ubuntu MATE with the alternative script. (Icon on the desktop)
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

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

Re: ubuntu MATE 16.04.1 LTS Live USB

Post by xeno74 »

Installation instructions by Ken:
Making the "Start Linux" button launch Linux:
-----------------------------------------------------------

There are better instructions on how to do the Ubuntu Mate 16.04 install, but here is a quick overview (from memory) ...

1) Boot Ubuntu from the flash disk and run the installer located on the desktop. Select the first option to run Gparted and create a small fat32 partition for the boot files (uImage-cyrus, cyrus_5020.dtb, and uRamdisk) and a second larger partition for the system files (ext4 format or whatever).

2) Run the installer a second time and this time select the second option. Follow the prompts and the system will be copied to the partition you tell it to (sda2 on my system). I think you may need to copy the boot files manually to the fat32 partition you created (sda1 on my system) -- I forget if this is done automatically.

3) Restart without the X5000 without the flash disk and when the boing ball animation starts hit the 'esc' key and then the 'm' key to get to a command prompt.

4) Type the following:

editenv linuxboot (there might be something already saved -- just overwrite that)

setenv bootargs root=/dev/sda2 mem3500M nosplash radeon.pcie_gen2=1;fatload sata 0:1 1000000 uImage-cyrus;fatload sata 0:1 2000000 cyrus_5020.dtb;bootm 1000000 - 2000000

saveenv

That's it! The button in the early start menu label Linux should now launch Ubuntu from the sda disk. Obviously, you may need to select a different disk depending on your configuration, so modify things as necessary.
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
JohnFante
Beta Tester
Beta Tester
Posts: 183
Joined: Tue Sep 04, 2012 6:48 am
Location: Copenhagen, Denmark

Re: ubuntu MATE 16.04.1 LTS Live USB

Post by JohnFante »

xeno74 wrote:Instructions for booting the ubuntu MATE 16.04.1 Live USB image on your X5000
  1. Download the image from the following link: X5000_Ubuntu_16.04.1_Live_USB-3.img
  2. Copy it with dd on Linux or with the USB image Tool on Windows to a USB flash drive.
  3. For example with Linux:

    Code: Select all

    dd if=“X5000_Ubuntu_16.04.1_Live_USB-3.img“ of=“disk drive ID“
  4. To boot ubuntu MATE image from the USB flash drive, insert the USB flash drive into the X5000. Next enter the following at the U-Boot prompt (pressing enter after each line):

    Code: Select all

    setenv bootargs root=/dev/ramdisk file=/cdrom/preseed/ubuntu-mate.seed boot=casper rootdelay=10  mem=3500M radeon.pcie_gen2=1
    fatload usb 0:1 1000000 uImage-cyrus
    fatload usb 0:1 1c00000 cyrus_5020.dtb
    fatload usb 0:1 2000000 uRamdisk 
    
    bootm 1000000 2000000 1c00000
    
  5. If you have successfully booted the ubuntu MATE Live USB flash drive, please test the desktop and the programs. If you like ubuntu MATE, then you can install it with the install script Install Ubuntu MATE with the alternative script. (Icon on the desktop)
I get an error after line 2 "fatload usb 0:1 1000000 uImage-cyrus" saying "** Bad device usb 0 **"

Do I have to use a speciel USB port? Or is it a case of the image not beeing written proberly? Or a combination?

And thank you for bringing Ubuntu to the X5000 :-)
X5000 :-)
User avatar
xeno74
Posts: 9319
Joined: Fri Mar 23, 2012 7:58 am

Re: ubuntu MATE 16.04.1 LTS Live USB

Post by xeno74 »

JohnFante wrote: I get an error after line 2 "fatload usb 0:1 1000000 uImage-cyrus" saying "** Bad device usb 0 **"

Do I have to use a speciel USB port? Or is it a case of the image not beeing written proberly? Or a combination?

And thank you for bringing Ubuntu to the X5000 :-)
Hi JohnFante,

First, please run the command usb reset. After that try it again.

With usb info and usb tree you can see all USB devices including your flash drive. The best command is usb storage. It shows only USB storage devices. With ls usb 0:1 you can see the files in the partition. On usb 0:1 you should see the kernels, dtb files, and initrds. On usb 0:2 you should see the root file system of Linux.

Another questions: Which storage capacity does your USB flash drive have? Did you test it on all USB ports?

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

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

Re: ubuntu MATE 16.04.1 LTS Live USB

Post by xeno74 »

Hi JohnFante,

You can try the command usb init if you don't have luck with the commands above.

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

Running Linux on AmigaONEs can require some tinkering.
User avatar
JohnFante
Beta Tester
Beta Tester
Posts: 183
Joined: Tue Sep 04, 2012 6:48 am
Location: Copenhagen, Denmark

Re: ubuntu MATE 16.04.1 LTS Live USB

Post by JohnFante »

Thank you for the reply :-)

"usb init" did the trick. Now I can read the usb.
X5000 :-)
Spectre660
Posts: 1525
Joined: Sat Jun 18, 2011 2:16 pm
Location: Montserrat

Re: ubuntu MATE 16.04.1 LTS Live USB

Post by Spectre660 »

New download link
https://www.dropbox.com/s/gt57zbfuiukfp ... 3.img?dl=0
xeno74 wrote:Hi All,

An ubuntu MATE 16.04.1 LTS live USB img is available for the AmigaOne X5000. It has also the alternative installer script.

Boot instructions:

Code: Select all

setenv bootargs root=/dev/ramdisk file=/cdrom/preseed/ubuntu-mate.seed boot=casper rootdelay=10 mem=3500M radeon.pcie_gen2=1
fatload usb 0:1 1000000 uImage-cyrus
fatload usb 0:1 1c00000 cyrus_5020.dtb
fatload usb 0:1 2000000 uRamdisk
bootm 1000000 2000000 1c00000
Please try to install ubuntu MATE 16.04.1 LTS with the alternative installer script. I'd like to know if it works for you.

Thanks,
Christian
Last edited by Spectre660 on Mon Oct 16, 2017 11:34 pm, edited 7 times in total.
Sam460ex : Radeon Rx550 Single slot Video Card : SIL3112 SATA card
User avatar
xeno74
Posts: 9319
Joined: Fri Mar 23, 2012 7:58 am

Re: ubuntu MATE 16.04.1 LTS Live USB

Post by xeno74 »

JohnFante wrote:Thank you for the reply :-)

"usb init" did the trick. Now I can read the usb.
Fantastic! :-)
Spectre660 wrote:New download link
https://www.dropbox.com/s/em0ly5bnyp6dr ... 3.img?dl=0
Thank you. :-)
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
caseycullen
Posts: 519
Joined: Sat Dec 17, 2016 7:12 am
Location: Madison, WI USA
Contact:

Re: ubuntu MATE 16.04.1 LTS Live USB

Post by caseycullen »

First attempt: upon entering "fatload usb 0:1 1000000 uImage-cyrus" received error message: "** Bad device usb 0"
Attempted to use "usb start" and "usb reset", 0 storage devices found. Tried another USB flash drive, had to enter "usb reset" for it to be detected, but it ended up working and I was able to load Ubuntu MATE. You may want to document enter "usb reset" as the first command since it may help avoid issues and it wouldn't hurt.
Interesting, the flash drive that cannot be detected is a PNY 128 GB flash drive, the drive that was detected is also a PNY, but is older and I think 32 GB.

Loaded Ubuntu MATE to desktop, everything looks good. Tried to run "Install Ubuntu MATE with the alternative script" and entered 1 for "Prepare Hard Drive". Received error:
"libparted : 3.2
/dev/mmcblk0: unrecognized disk label
/dev/sda: unrecognized disk label"

Loaded GParted and partitioned out the drive myself. Made a 128 MB fat32 partition for the boot files in /dev/sda1, made /dev/sda2 as ext4 for the primary Linux partition, and the last partition for SWAP.

Then I ran the alternative script again, this time pressed 2 for "Copy the Distribution" and entered "/dev/sda2" as the target, it appears all the files were transferred over. I then manually copied the boot files to the fat32 partition (sda1).

I restarted and entered "editenv linuxboot", rewrote to:
"setenv bootargs root=/dev/sda2 mem3500M nosplash radeon.pcie_gen2=1;fatload sata 0:1 1000000 uImage-cyrus;fatload sata 0:1 2000000 cyrus_5020.dtb;bootm 1000000 - 2000000".
Restarted again, used the Linux boot option on the menu. Here the screen goes blank and system seems unresponsive; cannot even enter terminal using Ctrl+Alt+F1.

Any ideas? Why can I can boot to desktop from USB with no issues, but everything is unresponsive when I try to from SATA disk.

X5000, AMD Radeon HD 6870, Corsair Neutron SSD connected to SATA 2; LG DVD-RW connected to SATA 1
Post Reply