Install Linux on HP Chromebook 14 [Step by Step]

Поділитися
Вставка
  • Опубліковано 4 сер 2024
  • Buy HP Chromebook 14:
    amzn.to/3p5tQCD
    1. Important Points:
    - Chrome OS is based on the Linux kernel but Chrome OS is not really
    Linux, even though it is based on the Linux Kernel.
    - It has a hidden terminal and we can use it to install Ubuntu inside
    Chrome OS but we have to enable Developer mode for that.
    - There were some other ways as well for installing Ubuntu on
    Chromebook like:
    - Dual-boot (Chrome OS with Ubuntu) in 16 GB memory, not
    recommended.
    - Remove Chrome OS and install Ubuntu (Google does not allow it
    and like it, so not a better option)
    - Install Ubuntu inside Chrome OS with the help of Crouton and
    switch between Ubuntu and Chrome OS
    - Install Ubuntu from a bootable USB by enabling USB Boot and
    Legacy Boot.
    - We are following the most used and most convenient one i.e. using
    crouton script.
    -Install Ubuntu on Chromebook using a third party Crouton script
    We’ll be installing Ubuntu on Chromebook while preserving the original ChromeOS
    system.
    We will use a third-party script called crouton to install Ubuntu using a chroot, giving
    Ubuntu its own “pretend” root directory system on the Chromebook machine. This lets
    us run ChromeOS and Ubuntu side-by-side, being able to flip between the two on-the-fly.
    What you’ll need
    ● A Chromebook (Intel/ARM CPU)
    ● Some basic command-line knowledge
    ● At least 1 GB of free storage space
    What you’ll learn and need to do
    ● to put your Chromebook into developer mode
    ● to install Ubuntu in a chroot on it
    2. Enabling Developer Mode
    By default, Chromebooks don’t allow us to use chroots. We have to put our machine into
    Developer Mode to grant us this power.
    Before Getting Started
    ● Placing your device into Developer Mode will wipe all data and user information
    from it. Although ChromeOS is an online-centric operating system, and the
    majority of your data will be stored remotely, but make sure you’ve backed up
    everything important.
    ● The use of Developer Mode may void your Chromebook’s warranty.
    To get to Developer Mode, we need to first reboot into Recovery Mode. On most
    Chromebooks, you do so by turning the device off, then holding down the ESC and
    Refresh keys while you press the Power button.
    Once in this mode, press Ctrl-D. You will be prompted with an opportunity to “turn OS
    verification OFF”. Press Enter to do so.
    When you boot up your Chromebook, it will begin with a warning screen noting that “OS
    verification is OFF”. You will need to press Ctrl-D to continue. Your device will now
    transition to Developer Mode.
    Every boot thereafter will also begin with that warning screen, and a need to press
    Ctrl-D to continue. Do not follow the onscreen instructions to turn OS verification on,
    or you risk wiping your machine’s data and turning Developer Mode off.
    3. Installing Ubuntu with crouton
    Empowered with Developer Mode, we will download the crouton script at this link.
    goo.gl/fd3zc
    Then we will open up a shell by pressing Ctrl-Alt-T, and then typing shell. Now we have a
    full bash shell at our fingertips.
    1. Download crouton
    2. Open a shell (Ctrl+Alt+T, type shell, and hit enter)
    3. We need to Copy the installer to an executable location by running
    sudo install -Dt /usr/local/bin -m 755 ~/Downloads/crouton
    4. Now that it's executable, run the installer itself:
    sudo crouton -t xfce
    This command will install Ubuntu 16.04 which is pretty old;
    Right!
    Well, we can use the -r parameter, the -r parameter specifies which distro release you
    want to use.
    Run
    sudo crouton -r list
    to list the recognized releases and which distros they belong to.
    Now, to install focal fossa, the final command will be
    sudo crouton -t xfce -r focal
    Since we have a lightweight system, we are using Xfce. You can use “-t unity” at the
    place of “-t xfce” to install Ubuntu using Unity Desktop or GNOME fans can use “-t
    gnome”.
    5. You’ll see your terminal processing these packages one by one. Wait patiently,
    this will take some time, so feel free to browse the web on ChromeOS, and have a
    snack. In the end, provide the username and password.
    6. Done! You can jump straight to your Xfce session by running sudo enter-chroot
    startxfce4 or, as a special shortcut, sudo startxfce4
    7. Cycle through Chromium OS and your running graphical chroots using
    Ctrl+Alt+Shift+Back and Ctrl+Alt+Shift+Forward.
    8. Exit the chroot by logging out of Xfce.
    To remove Ubuntu (installed using crouton) from a Chromebook:
    ● Enter command: cd /usr/local/chroots
    ● Enter the command: sudo delete-chroot *
    ● Enter command: sudo rm -rf /usr/local/bin
    This will remove the Ubuntu installation.
    Otherwise, when you re-enable OS verification at the boot screen, it will
    automatically disable developer mode and remove all of the local data,
    including the Ubuntu installation.
    Buy HP Chromebook 14:
    amzn.to/3dalplG
    Become a LinuxHint Gold Member for just $9.99/month:
    / @linuxhint
  • Наука та технологія

КОМЕНТАРІ • 95