sunlan
Posts: 12
Joined: Tue Sep 03, 2019 6:06 am

How to INSTALL Linux onto a Raspberry 4?

Tue Sep 03, 2019 6:42 am

Hi, all

I buy a new raspberry 4B recently, and I also have several 3B+.
With the 3B+, I run SUSE SLES 12.4 for Raspberry pi on it. But unfortunately, I find it can not run on the 4B.
And I also have downloaded SUSE 12.4 for aarch64 DVDs, and use it as repository to install some software packages onto the 3B+, so I guess SUSE 12.4 for aarch64 can also run on the Raspberry 4B.

Now, the question is how can I INSTALL SUSE for aarch64 on a Raspberry pi via the normal install procedure?

User avatar
PeterO
Posts: 5086
Joined: Sun Jul 22, 2012 4:14 pm

Re: How to INSTALL Linux onto a Raspberry 4?

Tue Sep 03, 2019 6:58 am

First thing to do is find out from the SUSE forums if SUSE supports the 4B.

And the subject should include "SUSE" in it somewhere.


PeterO
Discoverer of the PI2 XENON DEATH FLASH!
Interests: C,Python,PIC,Electronics,Ham Radio (G0DZB),1960s British Computers.
"The primary requirement (as we've always seen in your examples) is that the code is readable. " Dougie Lawson

fruitoftheloom
Posts: 20941
Joined: Tue Mar 25, 2014 12:40 pm
Location: Delightful Dorset

Re: How to INSTALL Linux onto a Raspberry 4?

Tue Sep 03, 2019 7:27 am

sunlan wrote:
Tue Sep 03, 2019 6:42 am
Hi, all

I buy a new raspberry 4B recently, and I also have several 3B+.
With the 3B+, I run SUSE SLES 12.4 for Raspberry pi on it. But unfortunately, I find it can not run on the 4B.
And I also have downloaded SUSE 12.4 for aarch64 DVDs, and use it as repository to install some software packages onto the 3B+, so I guess SUSE 12.4 for aarch64 can also run on the Raspberry 4B.

Now, the question is how can I INSTALL SUSE for aarch64 on a Raspberry pi via the normal install procedure?

SLES only support 3B / 3B+ / 2B v1.2 which have the BCM2837 SoC, obviously you need to contact them for any updates:

https://www.suse.com/products/arm/

The 4B uses a completely different SoC !
Retired disgracefully.....

sunlan
Posts: 12
Joined: Tue Sep 03, 2019 6:06 am

Re: How to INSTALL Linux onto a Raspberry 4?

Tue Sep 03, 2019 8:12 am

fruitoftheloom wrote:
Tue Sep 03, 2019 7:27 am
sunlan wrote:
Tue Sep 03, 2019 6:42 am
Hi, all

I buy a new raspberry 4B recently, and I also have several 3B+.
With the 3B+, I run SUSE SLES 12.4 for Raspberry pi on it. But unfortunately, I find it can not run on the 4B.
And I also have downloaded SUSE 12.4 for aarch64 DVDs, and use it as repository to install some software packages onto the 3B+, so I guess SUSE 12.4 for aarch64 can also run on the Raspberry 4B.

Now, the question is how can I INSTALL SUSE for aarch64 on a Raspberry pi via the normal install procedure?

SLES only support 3B / 3B+ / 2B v1.2 which have the BCM2837 SoC, obviously you need to contact them for any updates:

https://www.suse.com/products/arm/

The 4B uses a completely different SoC !
Yes, it's sounds quite resonable!

Said by SUSE, SLES for aarch64 supports PI 3 B/B+, but 4B is not listed.
I think maybe they will release their official version later.

sunlan
Posts: 12
Joined: Tue Sep 03, 2019 6:06 am

Re: How to INSTALL Linux onto a Raspberry 4?

Tue Sep 03, 2019 8:27 am

PeterO wrote:
Tue Sep 03, 2019 6:58 am
First thing to do is find out from the SUSE forums if SUSE supports the 4B.

And the subject should include "SUSE" in it somewhere.


PeterO
I have search the SUSE forums for this subjuct, but nothing found.

To the PI Models(including PI 3 B/B+), the key problem is how to booting from the installing DVD? This problem is also with other Linux releases, such as CentOS .

If one can't booting from the installing media, there's no possibility to INSTALL OS onto a PI

User avatar
B.Goode
Posts: 8917
Joined: Mon Sep 01, 2014 4:03 pm
Location: UK

Re: How to INSTALL Linux onto a Raspberry 4?

Tue Sep 03, 2019 8:30 am

If one can't booting from the installing media, there's no possibility to INSTALL OS onto a PI
Gasp!

MILLIONS of RPi boards sold, and none can run an Operating System! Someone should fix that...


Hint: https://www.raspberrypi.org/help/

User avatar
karrika
Posts: 1072
Joined: Mon Oct 19, 2015 6:21 am
Location: Finland

Re: How to INSTALL Linux onto a Raspberry 4?

Tue Sep 03, 2019 8:38 am

sunlan wrote:
Tue Sep 03, 2019 8:27 am
To the PI Models(including PI 3 B/B+), the key problem is how to booting from the installing DVD? This problem is also with other Linux releases, such as CentOS .

If one can't booting from the installing media, there's no possibility to INSTALL OS onto a PI
This sounds so pessimistic. There is also a possibility to install using debootstrap like in:

Code: Select all

mkdir /mnt/root && mount $rootpartition /mnt/root
mkdir /mnt/root/sys
debootstrap --arch=i386 --variant=buildd lucid /mnt/root http://archive.ubuntu.com/ubuntu/
I was using this all the time for stuff that did not have DVD or CD drives in the past.

Of course you need to find the right architecture and get a version of debootstrap that can stream in the data from the distro you are downloading.

jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 23965
Joined: Sat Jul 30, 2011 7:41 pm

Re: How to INSTALL Linux onto a Raspberry 4?

Tue Sep 03, 2019 8:39 am

Even more specifically, https://www.raspberrypi.org/documentati ... /README.md

Note, the Pi installation mechanism is different to a x86 PC.
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Contrary to popular belief, humorous signatures are allowed. Here's an example...
“I think it’s wrong that only one company makes the game Monopoly.” – Steven Wright

sunlan
Posts: 12
Joined: Tue Sep 03, 2019 6:06 am

Re: How to INSTALL Linux onto a Raspberry 4?

Tue Sep 03, 2019 8:41 am

B.Goode wrote:
Tue Sep 03, 2019 8:30 am
If one can't booting from the installing media, there's no possibility to INSTALL OS onto a PI
Gasp!

MILLIONS of RPi boards sold, and none can run an Operating System! Someone should fix that...


Hint: https://www.raspberrypi.org/help/
Eh, mybe you have misunderstanding what I mean . I mean that I want to install the OS like what we do to a server or laptop -- insert a DVD, booting, and install. So we can have more options.

Surely I can download a img for RPI, and then write it to a TF card, and I have do it already. But I wanna try someway else. :mrgreen:

User avatar
B.Goode
Posts: 8917
Joined: Mon Sep 01, 2014 4:03 pm
Location: UK

Re: How to INSTALL Linux onto a Raspberry 4?

Tue Sep 03, 2019 8:53 am

An RPi sbc is not based on the same hardware as a conventional 'x86' or 'WinTel' PC or server, and does not boot via the same mechanism.


See: https://www.raspberrypi.org/documentati ... /README.md

jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 23965
Joined: Sat Jul 30, 2011 7:41 pm

Re: How to INSTALL Linux onto a Raspberry 4?

Tue Sep 03, 2019 9:07 am

sunlan wrote:
Tue Sep 03, 2019 8:41 am
B.Goode wrote:
Tue Sep 03, 2019 8:30 am
If one can't booting from the installing media, there's no possibility to INSTALL OS onto a PI
Gasp!

MILLIONS of RPi boards sold, and none can run an Operating System! Someone should fix that...


Hint: https://www.raspberrypi.org/help/
Eh, mybe you have misunderstanding what I mean . I mean that I want to install the OS like what we do to a server or laptop -- insert a DVD, booting, and install. So we can have more options.

Surely I can download a img for RPI, and then write it to a TF card, and I have do it already. But I wanna try someway else. :mrgreen:
You cannot do that.
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Contrary to popular belief, humorous signatures are allowed. Here's an example...
“I think it’s wrong that only one company makes the game Monopoly.” – Steven Wright

andrum99
Posts: 862
Joined: Fri Jul 20, 2012 2:41 pm

Re: How to INSTALL Linux onto a Raspberry 4?

Tue Sep 03, 2019 9:47 am

sunlan wrote:
Tue Sep 03, 2019 8:41 am
B.Goode wrote:
Tue Sep 03, 2019 8:30 am
If one can't booting from the installing media, there's no possibility to INSTALL OS onto a PI
Gasp!

MILLIONS of RPi boards sold, and none can run an Operating System! Someone should fix that...


Hint: https://www.raspberrypi.org/help/
Eh, mybe you have misunderstanding what I mean . I mean that I want to install the OS like what we do to a server or laptop -- insert a DVD, booting, and install. So we can have more options.

Surely I can download a img for RPI, and then write it to a TF card, and I have do it already. But I wanna try someway else. :mrgreen:
The only way to install an operating system onto the Pi 4 is to write a disk image to a micro-SD card. (The exception to this rule is NOOBS, where installation is carried out by writing individual files to an existing micro-SD card).

In the future it will be possible to boot a Pi 4 from its own wired Ethernet port, and from a USB-attached flash drive, SSD and hard disk, but the required software for the boot EEPROM has not yet been written. There are no plans to allow you to install an operating system from a CD or DVD, and it is unlikely this will ever be enabled.

sunlan
Posts: 12
Joined: Tue Sep 03, 2019 6:06 am

Re: How to INSTALL Linux onto a Raspberry 4?

Tue Sep 03, 2019 11:00 am

The actual problem I face is I have build a cluster with several RPI 3B+ running SLES 12.4, and I bought two 4B last week. I wanna install the same OS on the new models, and add them to the cluster.

So, maybe I should wait for SUSE to support 4B. :(

thanks above all !

andrum99
Posts: 862
Joined: Fri Jul 20, 2012 2:41 pm

Re: How to INSTALL Linux onto a Raspberry 4?

Tue Sep 03, 2019 11:25 am

sunlan wrote:
Tue Sep 03, 2019 11:00 am
The actual problem I face is I have build a cluster with several RPI 3B+ running SLES 12.4, and I bought two 4B last week. I wanna install the same OS on the new models, and add them to the cluster.

So, maybe I should wait for SUSE to support 4B. :(

thanks above all !
SLES on Pi 4B will be awesome when it arrives, particularly with 4GB of RAM.

W. H. Heydt
Posts: 11019
Joined: Fri Mar 09, 2012 7:36 pm
Location: Vallejo, CA (US)

Re: How to INSTALL Linux onto a Raspberry 4?

Tue Sep 03, 2019 3:45 pm

sunlan wrote:
Tue Sep 03, 2019 8:41 am
Eh, mybe you have misunderstanding what I mean . I mean that I want to install the OS like what we do to a server or laptop -- insert a DVD, booting, and install. So we can have more options.
IF the DVD has the correct formatting and content to be a Pi-bootable image, and WHEN to Pi4B can be upgraded to do boot over USB, THEN (and only then) would it be possible, at least in concept to do that.

In the mean time, if the first condition is met, it should be possible to burn the DVD image directly to an SD card and boot that way. You could try that on a Pi that is supported at present to see if it works.

andrum99
Posts: 862
Joined: Fri Jul 20, 2012 2:41 pm

Re: How to INSTALL Linux onto a Raspberry 4?

Tue Sep 03, 2019 8:34 pm

W. H. Heydt wrote:
Tue Sep 03, 2019 3:45 pm
sunlan wrote:
Tue Sep 03, 2019 8:41 am
Eh, mybe you have misunderstanding what I mean . I mean that I want to install the OS like what we do to a server or laptop -- insert a DVD, booting, and install. So we can have more options.
IF the DVD has the correct formatting and content to be a Pi-bootable image, and WHEN to Pi4B can be upgraded to do boot over USB, THEN (and only then) would it be possible, at least in concept to do that.
CDs and DVDs are different enough that they won't boot on a Pi, unless specific support is added to the firmware to boot from CDs and DVDs. At the bare minimum, the firmware would need to support ISO 9660 with El Torito extensions.

dickon
Posts: 532
Joined: Sun Dec 09, 2012 3:54 pm
Location: Home, just outside Reading

Re: How to INSTALL Linux onto a Raspberry 4?

Tue Sep 03, 2019 10:10 pm

I was wondering about this earlier, purely as an intellectual exercise. If they present as USB mass-storage, surely you could just drop a traditional partition table on the front, a FAT32 filesystem for /boot (with a suitable kernel and installation initrd), and be done with it? Utterly nonstandard for optical media, of course, but I can't see any actual objection to it.

x86 requires hoops to make the thing look like a traditional floppy disc -- the BIOS again -- but that won't apply to a Pi.

User avatar
rpdom
Posts: 15450
Joined: Sun May 06, 2012 5:17 am
Location: Chelmsford, Essex, UK

Re: How to INSTALL Linux onto a Raspberry 4?

Tue Sep 03, 2019 10:14 pm

dickon wrote:
Tue Sep 03, 2019 10:10 pm
I was wondering about this earlier, purely as an intellectual exercise. If they present as USB mass-storage, surely you could just drop a traditional partition table on the front, a FAT32 filesystem for /boot (with a suitable kernel and installation initrd), and be done with it? Utterly nonstandard for optical media, of course, but I can't see any actual objection to it.

x86 requires hoops to make the thing look like a traditional floppy disc -- the BIOS again -- but that won't apply to a Pi.
Maybe. The common "Hybrid" Install media used for x86 installs combine the iso9660 and a standard boot sector, but that won't work on a Pi.

sunlan
Posts: 12
Joined: Tue Sep 03, 2019 6:06 am

Re: How to INSTALL Linux onto a Raspberry 4?

Wed Sep 04, 2019 5:50 am

If the RPI can boot from flash-disk, or network, then many problems will be solved!

waiting!

User avatar
Imperf3kt
Posts: 2913
Joined: Tue Jun 20, 2017 12:16 am
Location: Australia

Re: How to INSTALL Linux onto a Raspberry 4?

Wed Sep 04, 2019 6:15 am

55:55:44:44:4C
52:4C:52:42:41

sunlan
Posts: 12
Joined: Tue Sep 03, 2019 6:06 am

Re: How to INSTALL Linux onto a Raspberry 4?

Thu Sep 05, 2019 3:30 am

Imperf3kt wrote:
Wed Sep 04, 2019 6:15 am
Perhaps this post will be of use?

https://www.raspberrypi.org/forums/view ... 4#p1523530
I'm not so sure for that. Maybe the system can begin the booting stage, but I still wandering if the whole system would work properly. Since the hardware on PI4 has changed a lot from PI3, drivers must be changed as well.

w1ll3tt
Posts: 1
Joined: Sun Oct 06, 2019 6:04 am

Re: How to INSTALL Linux onto a Raspberry 4?

Sun Oct 06, 2019 6:30 am

I'm a professional level 3 Linux/Unix System Administrator and have built the original BT OpenReach servers out fo the box, Built Banking, Media streaming platforms at the OS level. Bought a Raspberry Pi to do some electronics i.e. controling relay boards, robot etc.
I have recently bought the Model 4 B and love the Wifi and Bluetooth. I had the Model 2B before but never really got going as the networking was difficult and I used Noobs as the OS.
I've moved over the Raspain and it really could do with some tweeks. Ideally I would prefer CentOS as my professional OS is RedHat (Licienced) and CentOS is the nearest to it (unlicienced).
My critisim is.. If you want children to learn a computer language then it would be better to mirror CentOS especially the networking which I've spent hours trying to get to work.. Something I do regulary at work. /etc/sysconfig/networking/ifcfg-eth0 and route-eth0 rather than /etc/dhcpcd.conf.. When these teenages go into industry rather than making their lives more difficult teach them something they can use.
We use Raspberrry Pi's for dev/test of equipment (currently media TV sreaming).
If you came to me and I spoke to you and taught you Welsh. Then you go and live in England, Yes you've going to understand some but you will be on the back foot trying to catch up.
I think the Raspberry Pi is a fantastic tool (I learn't on a Commodore 64 and then an Opus PC2 with MSdos) and theres the perfect comparison.. Where is Commodore now ?. MSdos wasn't the best but it could be used and learnt on professional and home computers. We use KISS very often in IT.. Keep IT Simple Straighforeward..

User avatar
rpdom
Posts: 15450
Joined: Sun May 06, 2012 5:17 am
Location: Chelmsford, Essex, UK

Re: How to INSTALL Linux onto a Raspberry 4?

Sun Oct 06, 2019 1:06 pm

w1ll3tt wrote:
Sun Oct 06, 2019 6:30 am
I'm a professional level 3 Linux/Unix System Administrator
I have no idea what "level 3" means. I have been a Unix/Linux System Administrator for 30 years now.

I've used CentOS recently. It wasn't my choice and I didn't like it. We got rid of in the end.

I think Raspbian is fine. Ok, so maybe not everyone uses dhcpcd, but that is just one of the many networking options that are used. I haven't seen the /etc/sysconfig/networking/ method used much.

Give people a bit of knowledge in Linux and they will learn that they need to keep learning. Every job and environment will be different. The Pi is a great starting point.

User avatar
PeterO
Posts: 5086
Joined: Sun Jul 22, 2012 4:14 pm

Re: How to INSTALL Linux onto a Raspberry 4?

Sun Oct 06, 2019 1:10 pm

w1ll3tt wrote:
Sun Oct 06, 2019 6:30 am
I'm a professional level 3 Linux/Unix System Administrator
Welcome to the forums.
I'm a level 7 Wizard User (with the beard to prove it). :lol:
Not sure what "Level 3 Linux/Unix Sys Admin" means, it must be some local scheme where you work.
However I don't think your requirements are the same as the Foundation's target audience's.
PeterO
Discoverer of the PI2 XENON DEATH FLASH!
Interests: C,Python,PIC,Electronics,Ham Radio (G0DZB),1960s British Computers.
"The primary requirement (as we've always seen in your examples) is that the code is readable. " Dougie Lawson

dickon
Posts: 532
Joined: Sun Dec 09, 2012 3:54 pm
Location: Home, just outside Reading

Re: How to INSTALL Linux onto a Raspberry 4?

Sun Oct 06, 2019 1:17 pm

Yeah. Most places I've worked have standardised on Debian. It's free, very high quality, and just works.

Return to “General discussion”