# ArchLinux Install On External SSD Lexar Blaze Gaming Portable >Blazing-Fast USB 3.2 Gen 2x2 to Boost Perf >2000MB/s READ & 1900MB/s WRITE >1Tera >>>USB Type-C to USB Type-C cable >>>USB Type-C to standard USB Type-A cable >System requirement : Mac OS X 10.6+ & Win 10/8/7 Standard USB Type-A / Type-C port ## TODO : :link: Download this image :link: https://archlinux.org/mirrors/yourlabs.org/ **Install ArchLinux on SSD Lexar.** Can a SSD do the archlinux.iso install without wiping the content put inside the DataShield ? Can the SSD do the iso install without wiping the 2 others hard drive inside the laptop? I think it won’t affect the 2 other drives but could delete everything on the current SDD but not the ones, inside the DataShield. As you need a permission to access it, supposedly to prevent deletion or access without a key. But it may be using tech that i don’t know the events of I need to check Lexar API for Data Shield, (it’s probably not Public so…) #### Backed up laptop Drives on USB & some on SSD anyhow, so can proceed with the SSD ArchLinux install steps ## Specs **[AMD Ryzen 9 5900HX with Radeon Graphics ](https://www.amd.com/en/products/apu/amd-ryzen-9-5900hx)** 3.30Ghz **[NVIDIA](https://wiki.archlinux.org/title/NVIDIA#Custom_kernel)** >*NVIDIA GeForce RTX 3050 Ti Laptop GPU* Driver version : 535.98 Driver Type DCH CUDA cores : 2560 Bus : PCI express x8 Gen3 >**Control Panel** >NVIDIA, the NVIDIA logo, Digital Vibrance Control, ForceWare, GeForce, GoForce, MXM, Quadro, nView, NVRotate, PowerMizer, PureVideo, Quadro, Quincunx Antialiasing, SLI, SmartDimmer, and TwinView are trademarks or registered trademarks of NVIDIA Corporation. >Microsoft, Microsoft Windows, DirectX, and Direct3D are either registered trademarks or trademarks of Microsoft Corporation in the United States and/or other countries. >OpenGL and the oval logo are trademarks or registered trademarks of Silicon Graphics, Inc. in the United States and/or other countries worldwide. >PCI Express, PCI-SIG and the PCI-SIG design marks are registered trademarks and/or service marks of PCI-SIG. >Conexant is a trademark of Conexant Systems, Inc. >HDMI, the HDMI logo and High-Definition Multimedia Interface are trademarks or registered trademarks of HDMI Licensing LLC. >DisplayPort is a trademark of VESA. >VirtualLink™ is trademark of NVIDIACorporation. >USB Type-C™ and USB-C™ are trademarks of USB Implementers Forum. ______________ ### What do I need Arch to let me do - play with kernel - play with network - create VMs - Run software in containers - Store Data - Data Analysis - WebDev / AppDev / Content management ------------- - Installed the archlinux-2023.06.01-x86_64.iso on the xSSD from Win11 ... - Disable secure boot to allow the bootloader to launch. ```shell= running early hook Ludev Starting systemd-udevd version 253.4-1-arch E running early hook [archiso_pe_nbd] running hook [udev] Triggering events.. running hook [mendisk] running hook [archiso] running hook [archiso_loop_mnt] running hook [archiso_pxe_common] running hook [archiso_pxe_nbd] running hook [archiso_pxe_http] running hook [archiso_pxe_nfs] :Mounting 'UUID-BOB67A1DB679E4GE' to */run/archiso/bootmnt* mount: /run/archiso/bootmnt: unknown filesystem type 'ntfs* dmesg (1) may have more information after failed mount system call. ERROR; Failed to mount 'UUID=BOB67A1DB679E46E' Falling back to interactive prompt You can try to fix the problem manually, log out when you are finished sh: can't access tty; job control turned off [rootfs]# ``` Display of the boot menu: - can get in the ArchLinux grub - error : tty access 0 - format is not supported (NFTS vs ext4 required for linux distros) >(Tani's advise) The path is this: bios loads firmware bios selects a start disk, loads boot loader, jumps into it boot loader loads kernel and init filesystem (cpio based) kernel loads configuration and additional modules from initfs kernel mounts root fs (your distro) kernel runs init init runs systemd units in a given order to mount more fs, start networking, etc [FORMATTED NTFS TO ext4 WITH partition wizard free>>]( https://www.partitionwizard.com/news/convert-ntfs-to-ext4.html) ![](https://hackmd.io/_uploads/ByddK9tD3.png) ISSUE : can't access the drive now How to put an ISO on it ? Tani's advise : Create a VirtualBox & install a Linux distro on it, connect the drive to the vm, ensure it is not mounted, format it :👇: ![installed pip install pywin32](https://hackmd.io/_uploads/rJmP3uhvh.png) #### :👆 : To be able to create the VirtualBox .exe #### Created a VirtualBox >VitualBox with the archlinux-2023.06.01-x86_64 ISO image > 20Gb of storage > 4096 MB of ram > 5 cpu rootfs# - #### This is why we can't use Windows, it doesn't allow formatting/compiling to ext4 *Tani's advise : Vbox let's you set up a virtual cdrom and mount an iso [10:15 PM] You can spin up a livecd on the Vbox using that iso [10:16 PM] Then you install arch on the external drive* (use a "LiveCD" to generate the linux VM) I don't know that, an image with a prepared box ? How to install that? (time pass...) --- ### Found the command to enter to actually start the install' process of the ArchLinux iso in the VBox :yay: write in command line: ## ⇾ $ python -m archlinux guided :eyes: ## Select : - User Configuration![User Configuration](https://hackmd.io/_uploads/B1agAOnP2.png) - User Credentials![User Credentials](https://hackmd.io/_uploads/Hk7z0_nDh.png) - Disk Layout ![Disk Layout](https://hackmd.io/_uploads/BJqpTO3Dh.png) ``` # Enter a directory for the configuration to be saved : /etc ``` ![do the install](https://hackmd.io/_uploads/B1I7IKhP2.png) → Install --- Installation done. :celebrate: (VDI: The Virtual Disk Image is the VirtualBox own open container used by default when you create a virtual machine with VirtualBox.) Need to do the Network Interface Manager for Internet connection ---------- ![laptop display](https://hackmd.io/_uploads/r1bs7w1uh.png) 23/06/23 : ### Activate Network(wifi&eth0) in VBox ```shell= $ systemctl start NetworkManager $ systemctl enable NetworkManager $ systemctl status NetworkManager ``` NetworkManager.service - Network Manager * Loaded * Active [ganitak@ArchiFit~]$ systemctl enable NetworkManager [ganitak@ArchiFit~]$ ip route default via 10.0.2.2 dev enp0s3 proto dhcp src 10.0.2.15 metric 100 10.0.2.0/24 dev enp0s3 proto kernel scope link src 10.0.2.15 metric 100 cmds : nmtui / ip addr / ip addrlabel / ip netconf / ip link / ip neighbor ... e.g : ``` $ ip neighbor 10.0.2.2 dev enp0s3 lladdr 52:54:00:12:35:02 REACHABLE ``` 24/06/23 Now (2:30pm): need to create the /mnt spacedir/ & files UEFI ![](https://hackmd.io/_uploads/rJAefwNu2.png) 4:41pm cmd : systemctl list-unit-files --state=enabled ![](https://hackmd.io/_uploads/B1rkiYNOn.png) ![](https://hackmd.io/_uploads/rkVrEi4O3.png) 8:24pm $ pacman -S hugo (hugo v0.112.3+extended linux/amd64 BuildDate=unknown) 9:40pm closed & re-started VBox, need to do : systemctl start NetworkManager 9:58pm $ ssh-keygen -t ed25519 -f ~/.ssh/id_ed25519 added to GitHub 11:38pm added nginx trying to install yay (unsuccessfully) #### Display settings : ![display settings](https://hackmd.io/_uploads/HkV5z7sd3.png) **& in the OracleVM Manager set the Scale Factor to 196% in the Display/screen panel** > warning do not put the rotation to "portait" buttons don't match pointer position, at least on my laptop (learnt it the hard way)