ubuntu MATE 16.04.1 LTS Live USB

AmigaOne X5000 platform specific issues related to Linux only.

Re: ubuntu MATE 16.04.1 LTS Live USB

Postby Spectre660 » Fri Jul 21, 2017 2:51 pm

Sorry about that but unless you identify what is causing the problem with xorg things may to get worse.
There is a pending Ubuntu-Mate 16.04 update to mesa 17.07 that may also cause you the same problems .

Roland wrote:
Spectre660 wrote:@ Roland

Option 3 for installing Ubuntu-Mate 16.04
A usb .img that can be booted and copied using dd to a harddrive partition .
Image is compressed as 7z so needs to be extracted before writing .
has a username of Amigaone with password of amigaone .
Once installed you will need to update as it uses the first version of the Ubuntu-Mate .
no live user on this one.
should upload a newer version but it takes about 12 hours with my connection's upload speed .

https://www.dropbox.com/s/4r477z1kg57hi ... mg.7z?dl=0


I tried "the option 3 this morning"... Downloading the package failed after loading about 2.5 GB of the 2.6 GB total! Resuming the transfer was not possible, Firefox had deleted the file automatically. Cannot try again from the start, my data account went now too low.

This really made my week - everything I have tried to do with Amiga Linuxes this week has failed, just everything... :-/
Spectre660
 
Posts: 1287
Joined: Sat Jun 18, 2011 3:16 pm
Location: Montserrat

Re: ubuntu MATE 16.04.1 LTS Live USB

Postby Spectre660 » Fri Jul 21, 2017 3:02 pm

Ubuntu 16.04.2 with proposed Mesa 17.07 .

For Radon Southern Island cards you will need a new xorg.conf for the fbdev device.
See link below
https://drive.google.com/open?id=0BxoZd ... FdWRkFZSU0
Attachments
X500-Ubuntu-Mate-llvmpipe.png
Spectre660
 
Posts: 1287
Joined: Sat Jun 18, 2011 3:16 pm
Location: Montserrat

Re: ubuntu MATE 16.04.1 LTS Live USB

Postby Roland » Wed Jul 26, 2017 11:58 am

Spectre660 wrote:Option 3 for installing Ubuntu-Mate 16.04
A usb .img that can be booted and copied using dd to a harddrive partition .
Image is compressed as 7z so needs to be extracted before writing .
has a username of Amigaone with password of amigaone .
Once installed you will need to update as it uses the first version of the Ubuntu-Mate .
no live user on this one.
should upload a newer version but it takes about 12 hours with my connection's upload speed .

https://www.dropbox.com/s/4r477z1kg57hi ... mg.7z?dl=0


I got this pacakage finally downloaded, and had the opportunity to test this 'option 3'. The unpacking was also succesful, and I copied with dd the image on a parttion I created on a USB stick. But when I checked the partition with GParted, it reported the filesystem was unknown.... Thus also booting from that partition is impossible. What went wrong? Should the partition have certain attributres before copying the image on it, or should it be 'dd'ed on the disk unit's 'root level' and not on a ready made partition? I don't have currently any empty USB unit so I cannot now test myself...
- Roland -
Roland
 
Posts: 85
Joined: Tue May 02, 2017 8:23 am

Re: ubuntu MATE 16.04.1 LTS Live USB

Postby xeno74 » Wed Jul 26, 2017 12:06 pm

Roland wrote:I copied with dd the image on a parttion I created on a USB stick. But when I checked the partition with GParted, it reported the filesystem was unknown....


Did you create a Linux partition with an ext4 file system with GParted?

For example:

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

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

Re: ubuntu MATE 16.04.1 LTS Live USB

Postby Roland » Wed Jul 26, 2017 12:15 pm

xeno74 wrote:
Roland wrote:I copied with dd the image on a parttion I created on a USB stick. But when I checked the partition with GParted, it reported the filesystem was unknown....


Did you create a Linux partition with an ext4 file system with GParted?


I created it with GParted, but I chose ext2... Is that important?
- Roland -
Roland
 
Posts: 85
Joined: Tue May 02, 2017 8:23 am

Re: ubuntu MATE 16.04.1 LTS Live USB

Postby xeno74 » Wed Jul 26, 2017 1: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.
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

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

Re: ubuntu MATE 16.04.1 LTS Live USB

Postby Roland » Wed Jul 26, 2017 5:08 pm

xeno74 wrote:
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.

Do you understand what the problem is? This image was produced for a whole empty stick.


Yes... :-) That's what I suspected, but had no 'tools' to verify that. Thanks!

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


I think I succeeded now to mount the partition with the second option you gave (without kpartx). At least there were no error messages...

Now, what is the 'name' (and path) of this mounted partion and in what format should I give it to dd? I am not familiar with this loop concept...
- Roland -
Roland
 
Posts: 85
Joined: Tue May 02, 2017 8:23 am

Re: ubuntu MATE 16.04.1 LTS Live USB

Postby xeno74 » Wed Jul 26, 2017 5:33 pm

Roland wrote:Now, what is the 'name' (and path) of this mounted partion and in what format should I give it to dd? I am not familiar with this loop concept...


Please post the output of df -h after you mounted the partition.
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

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

Re: ubuntu MATE 16.04.1 LTS Live USB

Postby Roland » Wed Jul 26, 2017 5:45 pm

xeno74 wrote: Please post the output of df -h after you mounted the partition.


I'm doing it on a different machine so I will not retype the full output, but I suppose it is this line which is involved:

/dev/loop0 6,9G 5,3G 1,3G 82% /mnt
- Roland -
Roland
 
Posts: 85
Joined: Tue May 02, 2017 8:23 am

Re: ubuntu MATE 16.04.1 LTS Live USB

Postby xeno74 » Wed Jul 26, 2017 6:06 pm

Roland wrote:
I'm doing it on a different machine so I will not retype the full output, but I suppose it is this line which is involved:

/dev/loop0 6,9G 5,3G 1,3G 82% /mnt


Code: Select all
dd if=/dev/loop0 of=/dev/<your partition>
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

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

PreviousNext

Return to Platform: AmigaOne X5000 - Linux Only

Who is online

Users browsing this forum: No registered users and 1 guest