Page 1 of 1

Raspbian stretch lite

Posted: Fri Nov 09, 2018 2:28 pm
by grissoly
I was going to install Raspbian stretch lite on my Pi 3 but at the bios screen after I entered my username and password what is the next command that I enter?
31C8C81B-1A1F-4ADA-98EF-E241AD4E2BC2.jpeg
31C8C81B-1A1F-4ADA-98EF-E241AD4E2BC2.jpeg (104.54 KiB) Viewed 495 times

Re: Raspbian stretch lite

Posted: Fri Nov 09, 2018 2:38 pm
by ShiftPlusOne
That's not the BIOS, you're in. The next command you enter will depend on what you want to do.

If you were after full desktop rather than the command line, you should start with the full Raspbian image, not Raspbian Lite.

Re: Raspbian stretch lite

Posted: Fri Nov 09, 2018 3:39 pm
by n67
The next commands you enter should be:

$ cat > hello.c << 'EOF'
> #include <stdio.h>
> int main(void) { puts("hello, world"); }
> EOF
$ gcc -W -Wall -Werror -o hello hello.c
$ ./hello
hello, world
$

Edit: After you see the 'gcc' command fail, then do:

$ sed -i 's/;/; return 0;/' hello.c

Then try the gcc again.

Re: Raspbian stretch lite

Posted: Fri Nov 09, 2018 3:55 pm
by DougieLawson
Assuming you've not made the mistake of installing Raspbian Lite the next command should be
sudo raspi-config
From the menu choose
3 Boot Options Configure options for start-up
Then
B1 Desktop / CLI Choose whether to boot into a des
Then
B4 Desktop Autologin Desktop GUI, automatically logged in as '' user

That will get you to a desktop on reboot.

If you've installed Raspbian Lite you either need to start again with full-fat Raspbian or you'd need to install the raspberrypi-ui-mods to get the desktop stuff available. Then after a reboot follow the process I've given you above.

Re: Raspbian stretch lite

Posted: Fri Nov 09, 2018 7:19 pm
by HawaiianPi
grissoly wrote:
Fri Nov 09, 2018 2:28 pm
I was going to install Raspbian stretch lite on my Pi 3 but at the bios screen after I entered my username and password what is the next command that I enter?
The "Lite" version of Raspbian has no Desktop/GUI. It is command line only (you type commands you want the OS to execute or run). What you see on the screen IS the Raspbian Stretch Lite OS.

The first command to run in Raspbian Lite is usually sudo raspi-config to complete your system setup (change password and hostname, configure localisations, turn various interfaces on/off, etc.). From there you just do whatever you need.

If you want the Desktop graphical user interface, you should probably start over with the full Raspbian Stretch with Desktop, but you could also just install a desktop on Lite (sudo apt update && sudo apt install raspberrypi-ui-mods for the default Raspberry Pi Desktop GUI).

Re: Raspbian stretch lite

Posted: Fri Nov 09, 2018 10:10 pm
by LTolledo
That caught me by surprise too when I installed Raspbian Stretch Lite.... thinking it was a "lighter" version of the desktop (just boot to minimal desktop environment, apps/packages to be added later by user)

then I checked again the documentation.... re-flashed the microSD with the desktop version instead....end of problem....