Difference between revisions of "Install/Download LiveCD"

From Funtoo
Jump to navigation Jump to search
m
 
(35 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{{InstallNavigation|num=1|prev=Introduction|next=Prepare Disk|title=Download LiveCD}}
<translate>
<includeonly>
In order to install Funtoo Linux, you will first need to boot your computer using a Linux-based Live CD or USB stick. We recommend the Gentoo-based [http://www.sysresccd.org/ System Rescue CD] as it contains lots of tools and utilities and supports both 32-bit and 64-bit systems. It can be burned to CD/DVD or installed on a USB stick. Download it here:
== Download LiveCD == <!--T:1-->
</includeonly><noinclude><languages/>
* Download from '''[https://build.funtoo.org/distfiles/sysresccd/sysresccd-20161103-4.9.0.iso funtoo.org]'''
= Install Guide: Download LiveCD =


{{Important|'''NO VIDEO''': We have patched our download of System Rescue CD so that it should initialize video properly when booting from UEFI (See {{bug|FL-2030}}.) If you are using the official, non-Funtoo System Rescue CD, at the GRUB menu, you may need to press {{c|e}} to edit the menu entry and add a GRUB boot line that reads {{c|insmod all_video}} and then boot. This bug has been reported upstream to System Rescue CD developers.}}
<!--T:22-->
{{InstallNavigation|num=1|prev=Get Acquainted|next=Prepare Disk}}</noinclude>


{{Note|If using an older version of System Rescue CD, '''be sure to select the <code>rescue64</code> kernel at the boot menu if you are installing a 64-bit system'''. By default, System Rescue CD used to boot in 32-bit mode though the latest version attempts to automatically detect 64-bit processors.}}
<!--T:23-->
In order to install Funtoo Linux, you will first need to boot your computer using a Linux-based image. This image is called a "LiveCD" for historical reasons, because historically people booted into Linux on new systems by burning an ISO image to a CD or DVD using a CD/DVD writer. This is still possible to do, if you prefer to use this method. However, most people
these days will tend to use USB flash media (aka a "USB stick") for convenience, which can be written to using the standard {{c|dd}} command.


==== Network Access ====
<!--T:30-->
When installing Funtoo Linux on x86-64bit, we highly recommend the official Funtoo Linux LiveCD/LiveUSB, which can always be downloaded here:


Once you have booted System Rescue CD, see if you have Internet access. Internet access is required for installing Funtoo Linux:
<!--T:31-->
* https://www.funtoo.org/Funtoo:New_Install_Experience/LiveCD/Releases


{{console|body=
<!--T:32-->
# ##i##ping www.google.com
While any modern bootable Linux image should be sufficient to install Funtoo Linux, the Funtoo LiveCD has several advantages over other options. Because it natively runs Funtoo Linux, and includes our official debian-sources kernel with very good hardware support, the hardware it supports is going to match the hardware that Funtoo Linux supports -- thus allowing you to identify any hardware compatibility issues
PING www.google.com (216.58.217.36) 56(84) bytes of data.
immediately.
64 bytes from den03s10-in-f4.1e100.net (216.58.217.36): icmp_seq=1 ttl=57 time=30.1 ms}}


If the ping is successful (you see <code>64 bytes</code> messages as above,) then your Network is set up. Hit Control-C to stop the ping.
<!--T:33-->
In addition, our LiveCD is regularly updated, and includes NetworkManager which allows the use of the easy {{c|nmtui}} command to configure your network. It also includes our innovative [[Fchroot]] tool, which allows you to use QEMU to "chroot" into non-x86 systems such as arm-64bit and riscv-64bit. This allows the Funtoo LiveCD to be used to even rescue and set up systems with different instruction sets!


If you need to set up a WiFi connection for Internet access, then this can be accomplished using the {{c|nmtui}} command-line tool:
<!--T:24-->
Once downloaded, to copy it to a USB flash drive for booting, use the following command:


<!--T:25-->
{{console|body=
{{console|body=
# ##i##nmtui
# ##i##dd if=funtoo-livecd-20220521-2138.iso of=/dev/sdX bs=4k status=progress oflag=sync
}}
}}


==== Remote Install ====
<!--T:26-->
Of course, you will need to change {{c|/dev/sdX}} to point to the block device of the USB stick on your system.


Alternatively, you can log into System Rescue CD over the network via SSH to perform the install from another computer, and this may be more convenient way to install Funtoo Linux.
==== Network Access ==== <!--T:4-->


If you'd like to complete the install remotely, here's how. First, you will need to ensure that System Rescue CD has a functioning network connection. Then, you will need to set a root password for System Rescue CD:
<!--T:27-->
For steps on setting up network access from the LiveCD, please see the {{LiveCD}} page.


==== Remote Install ==== <!--T:10-->
<!--T:11-->
Alternatively, you can log into your bootable environment over the network via SSH to perform the install from another computer, and this may be more convenient way to install Funtoo Linux.
<!--T:28-->
First ensure that {{c|sshd}} is running. You may need to start {{c|sshd}} as follows:
<!--T:29-->
{{console|body=
# ##i##/etc/init.d/sshd start
}}
<!--T:12-->
If you'd like to complete the install remotely, here's how. First, you will need to ensure that your bootable CD/USB image has a functioning network connection. Then, you will need to set a root password:
<!--T:13-->
{{console|body=
{{console|body=
###i## passwd
###i## passwd
Line 39: Line 65:
}}
}}


Once you have typed in a password, you will now need to determine the IP address of System Rescue CD, and then you can use {{c|ssh}} to connect to it. To determine the IP address currently being used by System Rescue CD, type {{c|ifconfig}}:


<!--T:14-->
Once you have typed in a password, you will now need to determine the IP address of the bootable system, and then you can use {{c|ssh}} to connect to it. To determine the IP address currently being used by the LiveCD, type {{c|ifconfig}}:
<!--T:15-->
{{console|body=
{{console|body=
###i## ifconfig
###i## ifconfig
}}
}}


<!--T:16-->
Alternatively, determining of an IP address is possible with iproute2 {{c|ip}} tool:
Alternatively, determining of an IP address is possible with iproute2 {{c|ip}} tool:


<!--T:17-->
{{console|body=
{{console|body=
###i## ip addr show
###i## ip addr show
}}
}}


One of the interfaces should have an IP address (listed as {{c|inet addr:}}) from your LAN. You can then connect remotely, from another system on your LAN, to System Rescue CD, and perform steps from the comfort of an existing OS. On your remote system, type the following, replacing {{c|1.2.3.4}} with the IP address of System Rescue CD. Connecting from an existing Linux or MacOS system would look something like this:
<!--T:18-->
One of the interfaces should have an IP address (listed as {{c|inet addr:}}) from your LAN. You can then connect remotely, from another system on your LAN, your bootable environment, and perform steps from the comfort of an existing OS. On your remote system, type the following, replacing {{c|1.2.3.4}} with the IP address of the LiveCD. Connecting from an existing Linux or MacOS system would look something like this:


<!--T:19-->
{{console|body=
{{console|body=
(remote system) $ ##i##ssh root@1.2.3.4
%$remote system% ##i##ssh root@1.2.3.4
Password: ##i##**********}}
Password: ##i##**********}}


{{Note|If you'd like to connect remotely from an existing Microsoft Windows system, you'll need to download an SSH client for Windows, such as [http://www.chiark.greenend.org.uk/~sgtatham/putty/ PuTTY].}}
<!--T:20-->
{{Note|If you'd like to connect remotely from an existing Microsoft Windows system, you'll need to download an SSH client for Windows, such as [https://docs.microsoft.com/en-us/windows-server/administration/openssh/openssh_install_firstuse OpenSSH].}}


After you've logged in via SSH, you're now connected remotely to System Rescue CD and can perform the installation steps.
<!--T:21-->
After you've logged in via SSH, you're now connected remotely to the LiveCD and can perform the installation steps.
</translate>
<noinclude>{{InstallNavigation|num=1|prev=Introduction|next=Prepare Disk|align=right}}</noinclude>

Latest revision as of 01:54, May 26, 2023

Other languages:
English • ‎español • ‎français • ‎italiano • ‎polski • ‎português do Brasil • ‎русский • ‎中文(中国大陆)‎ • ‎中文(台灣)‎

Install Guide: Download LiveCD

Install Guide, Chapter 1 < Prev Next >

In order to install Funtoo Linux, you will first need to boot your computer using a Linux-based image. This image is called a "LiveCD" for historical reasons, because historically people booted into Linux on new systems by burning an ISO image to a CD or DVD using a CD/DVD writer. This is still possible to do, if you prefer to use this method. However, most people these days will tend to use USB flash media (aka a "USB stick") for convenience, which can be written to using the standard dd command.

When installing Funtoo Linux on x86-64bit, we highly recommend the official Funtoo Linux LiveCD/LiveUSB, which can always be downloaded here:

While any modern bootable Linux image should be sufficient to install Funtoo Linux, the Funtoo LiveCD has several advantages over other options. Because it natively runs Funtoo Linux, and includes our official debian-sources kernel with very good hardware support, the hardware it supports is going to match the hardware that Funtoo Linux supports -- thus allowing you to identify any hardware compatibility issues immediately.

In addition, our LiveCD is regularly updated, and includes NetworkManager which allows the use of the easy nmtui command to configure your network. It also includes our innovative Fchroot tool, which allows you to use QEMU to "chroot" into non-x86 systems such as arm-64bit and riscv-64bit. This allows the Funtoo LiveCD to be used to even rescue and set up systems with different instruction sets!

Once downloaded, to copy it to a USB flash drive for booting, use the following command:

root # dd if=funtoo-livecd-20220521-2138.iso of=/dev/sdX bs=4k status=progress oflag=sync

Of course, you will need to change /dev/sdX to point to the block device of the USB stick on your system.

Network Access

For steps on setting up network access from the LiveCD, please see the Funtoo:New Install Experience/LiveCD page.

Remote Install

Alternatively, you can log into your bootable environment over the network via SSH to perform the install from another computer, and this may be more convenient way to install Funtoo Linux.

First ensure that sshd is running. You may need to start sshd as follows:

root # /etc/init.d/sshd start

If you'd like to complete the install remotely, here's how. First, you will need to ensure that your bootable CD/USB image has a functioning network connection. Then, you will need to set a root password:

root # passwd
New password: ********
Retype new password: ********
passwd: password updated successfully


Once you have typed in a password, you will now need to determine the IP address of the bootable system, and then you can use ssh to connect to it. To determine the IP address currently being used by the LiveCD, type ifconfig:

root # ifconfig

Alternatively, determining of an IP address is possible with iproute2 ip tool:

root # ip addr show

One of the interfaces should have an IP address (listed as inet addr:) from your LAN. You can then connect remotely, from another system on your LAN, your bootable environment, and perform steps from the comfort of an existing OS. On your remote system, type the following, replacing 1.2.3.4 with the IP address of the LiveCD. Connecting from an existing Linux or MacOS system would look something like this:

remote system $ ssh root@1.2.3.4
Password: **********
   Note

If you'd like to connect remotely from an existing Microsoft Windows system, you'll need to download an SSH client for Windows, such as OpenSSH.

After you've logged in via SSH, you're now connected remotely to the LiveCD and can perform the installation steps.

Install Guide, Chapter 1 < Prev Next >