Switch Linux to FreeBSD and linodefreebsd on linode

Source: Internet
Author: User

Switch Linux to FreeBSD and linodefreebsd on linode

PS: data needs to be backed up and restored by itself, rather than being seamlessly switched.

Linode official offers an article: https://www.linode.com/docs/tools-reference/custom-kernels-distros/install-freebsd-on-linode

There is no problem by referring to the article.

Main steps: 1. Create a partition for image installation, 1 GB size. Volume label Installer in the format of unformatted/raw

2. Create a partition for installation. The size is sufficient (so far, the minimum Linode configuration is 20 GB or above ). FreeBSD, in the format of unformatted/raw

3. Create two configuration files. Disable all Filesystem/Boot Helper.

The Installer configuration is: SDA --> FreeBSD, SDB --> Installer, root --> SDB, and the Kernel is Direct Disk.

FreeBSD is configured as SDA --> FreeBSD, root --> SDA, and the Kernel is also a Direct Disk.

Start from an existing Linux instance (you need to modify the configuration and mount an Installer), download the FreeBSD USB flash drive installation image, and run the following command

curl $latest | dd of=/dev/sdb

Replace $ latest with the latest memstick. img address of FreeBSD. Sdb is also filled in according to your actual installer disk Mount location.

Use the Installer configuration to restart. After starting, switch to Remote Access on the Linode control panel, find the Glish mode at the bottom of the screen (simulating the connection to the keyboard and display), and continue. For specific operations, see the above article. Basically all are default configurations.

Note that FreeBSD disables ssh logon to the root account by default. You need to add a user and change the user group to the wheel group. In this way, the user will have su and ssh permissions.

You can use the default setting for other functions.

After installation, you can install the response software in/usr/ports. If you do not know where the software is, you can directly search for the software, such as whereis curl, and enter the corresponding directory, run make install clean to install the response software.


Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.