Quantcast
Channel: Debian User Forums
Viewing all articles
Browse latest Browse all 2901

Beginners Questions • Re: Can Debian 12 or 11 runs under Windows 11?

$
0
0
Here is installation notes. Enjoy.

As of 2024 Mid-Nov. on Windows 11 home edition on Samsung Notebook with 16GB RAM. Intel core 5, Gen 11.

Take about a few to 20GB SSD, depending on how many software you choose to ADD after the initial installation which is 'empty'


1. Hit F2 on PC boot up. Our Samsung notebook BIOS shows "CPU VT(VT-x) Supported". No change needed in this machine.

2. Boot Windows, apply window update.

Log on as Admin. On Wondows 11 search box, enter "features" to search an application "Turn Windows features On and Off, Control Panel)
These three steps seem rarely mentioned in the web info that, so far, we have searched. Omitted these will see error and there is a WSL ticket on the matter and stating the three ticks below.

Tick to enable

a. Virtual Machine Platform
b. Windows Hypervisor Platform
c. Windows Subsystem for Linux

To be on safe side, Reboot to ensure the functions take effect

3. On Windows, log on as Admin. Start CMD or PowerShell

4. Follow below instructions. See details in 5

wsl --list --online will show which Linux is available
wsl --install --distribution Debian will install Debian automatically, no other download needed
wsl --list -v will show which Linux is/are installed. In Running or Stopped (shutdown)


wsl --distribution Debian --user uname will start the named distribution with user uname
wsl --user uname will the only distribution with user uname
wsl --shutdown will do a normal Linux shutdown


one can start multiple Linux CLI as needed. Start Windows CMD, type "wsl --user uname" will change it to CLI on Linux.

On Windows CMD, note the prompt to see if you are on Debian side or Windows. Type "ls" will tell


The installed system is very empty.
sudo apt install xxxxx to install xxxx utilities that you require

Some web information says "wait 6 seconds for things to take effect".
Occasionally, we need reboot to let something take effect before moving onto next steps. Your mileage vary.

On default, Debian "top" show Debian take half of the notebook's RAM

On WSL config, one can set "mirror" so the Linux and Windows use same IP address.

Enjoy

5.

https://tqdev.com/2024-running-debian-o ... 0-with-wsl

https://learn.microsoft.com/en-us/windows/wsl/install


Have not changed setting yet. We leave them at default values.
https://learn.microsoft.com/en-us/windo ... wsl-config

Statistics: Posted by sam71623 — 2024-11-17 09:54



Viewing all articles
Browse latest Browse all 2901

Trending Articles