I need tutoring

AmigaOne X5000 platform specific issues related to Linux only.

I need tutoring

Postby kilaueabart » Sat Jul 28, 2018 1:06 am

The Terminal command "ls /media/amigaone" lists four items on my X5000.

First, 0ff72520-8d43-468d-b4f8-6cbe7ea35f1f
This corresponds with a Desktop USB icon labeled "119 GB Volume." It contains a folder, "backupfolder," the target of MATE 16.04's scheduled backups, and "newSDCARD.png." I don't know what the latter is doing there, but it seems to be a window dump of Terminal when I was dd'ing, in two steps, "uboot.bin" from /dev/mmdblk0 to /dev/sdc. I have no memory of what that was all about, but I don't think it is a problem.

Second, 5913-1FA6
This corresponds to a small USB icon labeled "1.1 GB Volume," contents named "cyrus.dtb" and "uImage-4.18."

Third, 91dd8491-ac97-44c7-9611-dcabfec171a3
This is the media name of a red SD desktop icon, "2.9 GB Volume." Content that shows when it is clicked is cyrus-4.13.11-jm.config cyrus_5020.dtb installer.scr System.map Ubuntu-Mate_Installer_Uboot_Script.txt uImage-4.18 uImage-cyrus uRamdisk X5000_U-Boot_Commands.txt, plus according to a terminal ls command lost+found in blue letters.
I have no idea where to find "2.9 GB Volume" physically on my X5000! Where should I look?

Fourth, UBUNTU
This one corresponds to a full-size USB icon labeled "UBUNTU" with this stuff inside: cyrus-4.13.11-jm.config cyrus_5020.dtb cyrus.dtb installer.scr System.map Ubuntu-Mate_Installer_Uboot_Script.txt uImage-4.18 uImage-cyrus uRamdisk

Obviously I have more memory devices than I need to run Ubuntu, and at least two of the three contain some files that aren't relevant. But my real problem is this: Each of those three contains a copy of uImage-4.18. If I type "fatload usb 0:1 1000000 uImage-4.18" as a Uboot command, it succeeds quickly. But if I have set root to /dev/sdc2 first, then the fatload is rejected; it claims it can't read uImage-4.18.

I wonder which of the three uImage-4.18s listed above it is trying to read and why should having /dev/sdc2 as root have any effect on the matter?
User avatar
kilaueabart
 
Posts: 534
Joined: Mon Mar 05, 2012 3:36 am

Re: I need tutoring

Postby xeno74 » Sat Jul 28, 2018 4:04 pm

Please post the output of lsblk.

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

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

Re: I need tutoring

Postby kilaueabart » Sat Jul 28, 2018 6:24 pm

Here is lsblk in text form. In case the formatting messes it up I attach a png as well.

NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 931.5G 0 disk
├─sda1 8:1 0 4.1G 0 part
├─sda2 8:2 0 40G 0 part
├─sda3 8:3 0 32.5G 0 part
├─sda4 8:4 0 36.2G 0 part
└─sda5 8:5 0 52.4G 0 part
sdb 8:16 1 114.7G 0 disk
├─sdb1 8:17 1 4G 0 part /media/amigaone/UBUNTU
└─sdb2 8:18 1 110.7G 0 part /media/amigaone/0ff72520-8d43-468d-b4f8-6cbe7ea35f1f
sdc 8:32 1 29.8G 0 disk
├─sdc1 8:33 1 1G 0 part /media/amigaone/5913-1FA6
└─sdc2 8:34 1 28.8G 0 part /
sr0 11:0 1 1024M 0 rom
mmcblk0 179:0 0 3.7G 0 disk
└─mmcblk0p1 179:1 0 2.7G 0 part /media/amigaone/91dd8491-ac97-44c7-9611-dcabfec171a3

Apparently mmcblk0p1 is the SD thing on my desktop. Next time I have the computer turned off, I'll pull it out and see if I somehow have a memory card plugged into the back. But I don't think that relates to my "can't read uimage-4.18" problem.
Attachments
lsblk.png
User avatar
kilaueabart
 
Posts: 534
Joined: Mon Mar 05, 2012 3:36 am

Re: I need tutoring

Postby xeno74 » Sat Jul 28, 2018 7:51 pm

You have connected two USB sticks, aren't you?

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

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

Re: I need tutoring

Postby kilaueabart » Sun Jul 29, 2018 5:41 am

xeno74 wrote:You have connected two USB sticks, aren't you?

Yes, /dev/sdb and dev/sdc are both USB sticks. I have never heard that it is against the rules to connect two USB devices, but on the basis of your question, tomorrow morning I am going to disconnect /dev/sdb and see see if root remains unmountable.

Incidentally, when I wrote "But if I have set root to /dev/sdc2 first, then the fatload is rejected; it claims it can't read uImage-4.18" in my initial post to this thread, I was misremembering. It was another situation that caused that particular read failure. It is in fact the root itself that doesn't get read after fatloading uImage-4.18, although that root does get read just fine if I fatload uImage-cyrus instead.
User avatar
kilaueabart
 
Posts: 534
Joined: Mon Mar 05, 2012 3:36 am

Re: I need tutoring

Postby xeno74 » Sun Jul 29, 2018 6:38 am

Please try to boot Linux manually.

Code: Select all
setenv bootargs root=/dev/sdb2
fatload usb 0:1 1000000 uImage-4.18
fatload usb 0:1 2000000 cyrus.dtb
bootm 1000000 - 2000000


Code: Select all
setenv bootargs root=/dev/sdb2
fatload usb 1:1 1000000 uImage-4.18
fatload usb 1:1 2000000 cyrus.dtb
bootm 1000000 - 2000000


Code: Select all
setenv bootargs root=/dev/sdc2
fatload usb 0:1 1000000 uImage-4.18
fatload usb 0:1 2000000 cyrus.dtb
bootm 1000000 - 2000000


Code: Select all
setenv bootargs root=/dev/sdc2
fatload usb 1:1 1000000 uImage-4.18
fatload usb 1:1 2000000 cyrus.dtb
bootm 1000000 - 2000000
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

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

Re: I need tutoring

Postby kilaueabart » Sun Jul 29, 2018 6:20 pm

xeno74 wrote:Please try to boot Linux manually.

Code: Select all
setenv bootargs root=/dev/sdb2
fatload usb 0:1 1000000 uImage-4.18
fatload usb 0:1 2000000 cyrus.dtb
bootm 1000000 - 2000000

...


Whee! The first one worked!

I'm puzzled. When I formatted that drive, GParted called it /dev/sdc, and the partition to which I copied the kernel and .dtb files was /dev/sdc2. The OS4 disk was /dev/sda. But this morning, GParted is calling the OS4 disk sdc, the former sdc is now sdb, and the kernel and .dtb for MATE 16.04 are on /dev/sda2! I wonder how I would even boot 16.04 now. I think the .img is on mmcblk0p1, the first thing GParted brings up. /dev/sda1 is my MATE 16.04 backup.

At least I can mount MATE from Remix, so far, and access data files. I suppose I need to apt-get install the programs that use those data files in Remix and copy the data files over. I hope that will work.

I've always set up my own user and administrator passwords. But it occurs to me that there is no real reason not to just leave them both as "amigaone." Am I wrong?

Next chore: fix the keyboard so quotes don't come out as @, and @ doesn't come out as ". I have no idea how to get the musical sharp, American pound, symbol instead of £, until I change the keyboard, which I expect will be easy.

I'll have a lot more questions. I really need tutoring. Oh, yes. Here's another one right now, in case I don't find out it has an easy answer. How do I fix my screen?
Attachments
Screenshot.png
User avatar
kilaueabart
 
Posts: 534
Joined: Mon Mar 05, 2012 3:36 am

Re: I need tutoring

Postby xeno74 » Sun Jul 29, 2018 8:29 pm

kilaueabart wrote:How do I fix my screen?



Right click on the desktop and select “Change Desktop Background“. After that modify the Style.
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

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

Re: I need tutoring

Postby xeno74 » Sun Jul 29, 2018 8:34 pm

kilaueabart wrote:I've always set up my own user and administrator passwords. But it occurs to me that there is no real reason not to just leave them both as "amigaone." Am I wrong?


Yes, you are right. You can further use "amigaone".
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

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

Re: I need tutoring

Postby kilaueabart » Mon Jul 30, 2018 11:41 pm

xeno74 wrote:
kilaueabart wrote:How do I fix my screen?


Right click on the desktop and select “Change Desktop Background“. After that modify the Style.

Nothing happens. I´ve tried at least a dozen times. Everything else not ghosted (i.e. everything but Paste) works.
User avatar
kilaueabart
 
Posts: 534
Joined: Mon Mar 05, 2012 3:36 am

Next

Return to Platform: AmigaOne X5000 - Linux Only

Who is online

Users browsing this forum: xeno74 and 7 guests