1
My root partition for Arch Linux is running out of space (2.4GB), which isn't enough space for a project I'm going to start, the only option I have is my Micro SD but i cant switch my installation to it since it has less space then my current SSD. Is there any way i can extend my root partition using my external Mirco SD?
Edit:
Model: ATA KINGSTON SNS4151 (scsi)
Disk /dev/sda: 16.0GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
1 1049kB 211MB 210MB fat32 boot, esp
2 211MB 12.1GB 11.9GB ext4
3 12.1GB 16.0GB 3949MB linux-swap(v1) swap
Model: Generic MassStorageClass (scsi)
Disk /dev/sdb: 15.9GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:
Number Start End Size Type File system Flags
1 1049kB 15.9GB 15.9GB primary ext4
bash: dpkg: command not found
Arch uses Pacman rather than dpkg/apt, the correct command would have been, sudo parted -l &&pacman -Qqe > pkglist.txt | grep linux-image which exports a list to a txt Here:
accerciser
android-emulator-canary
android-tools
android-udev
archey3
automake
baobab
base
beignet
bison
cheese
chrome-gnome-shell
connman
dconf-editor
devhelp
dhclient
dpkg
eog
epiphany
evince
evolution
fakeroot
file-roller
firefox-developer-edition
five-or-more
flex
four-in-a-row
gdm
gedit
ghex
gnome-backgrounds
gnome-books
gnome-boxes
gnome-builder
gnome-calculator
gnome-calendar
gnome-characters
gnome-chess
gnome-clocks
gnome-code-assistance
gnome-color-manager
gnome-contacts
gnome-control-center
gnome-devel-docs
gnome-dictionary
gnome-disk-utility
gnome-documents
gnome-font-viewer
gnome-getting-started-docs
gnome-keyring
gnome-klotski
gnome-logs
gnome-mahjongg
gnome-maps
gnome-menus
gnome-mines
gnome-multi-writer
gnome-music
gnome-nettool
gnome-nibbles
gnome-photos
gnome-recipes
gnome-remote-desktop
gnome-robots
gnome-screenshot
gnome-session
gnome-settings-daemon
gnome-shell
gnome-shell-extensions
gnome-software
gnome-sound-recorder
gnome-sudoku
gnome-system-monitor
gnome-taquin
gnome-terminal
gnome-tetravex
gnome-themes-extra
gnome-todo
gnome-tweaks
gnome-usage
gnome-user-docs
gnome-user-share
gnome-video-effects
gnome-weather
grilo-plugins
gvfs
gvfs-afc
gvfs-goa
gvfs-google
gvfs-gphoto2
gvfs-mtp
gvfs-nfs
gvfs-smb
hdparm
hitori
iagno
intel-hybrid-codec-driver
iwd
jre8-openjdk
lib32-mesa
lib32-vulkan-icd-loader
lib32-vulkan-intel
lightsoff
linux
linux-firmware
make
mergerfs-git
minecraft-launcher-beta
mousetweaks
mutter
nano
nautilus
nautilus-sendto
networkmanager
openvpn
orca
pakku
pavucontrol
pkgconf
plasma-pa
polari
ponymix
porntime-bin
pulseaudio-jack
python-adb-git
quadrapassel
rowhammer-native-git
rygel
samus-scripts
sex
simple-scan
sudo
sushi
swell-foop
sysprof
tali
texinfo
totem
tracker
tracker-miners
vino
vulkan-intel
wpa_supplicant
xdg-user-dirs-gtk
xf86-video-vesa
xkeyboard-config-chromebook
xorg-bdftopcf
xorg-docs
xorg-font-util
xorg-fonts-100dpi
xorg-fonts-75dpi
xorg-fonts-encodings
xorg-iceauth
xorg-luit
xorg-mkfontscale
xorg-server
xorg-server-common
xorg-server-devel
xorg-server-xephyr
xorg-server-xnest
xorg-server-xvfb
xorg-server-xwayland
xorg-sessreg
xorg-setxkbmap
xorg-smproxy
xorg-x11perf
xorg-xauth
xorg-xbacklight
xorg-xcmsdb
xorg-xcursorgen
xorg-xdpyinfo
xorg-xdriinfo
xorg-xev
xorg-xgamma
xorg-xhost
xorg-xinput
xorg-xkbcomp
xorg-xkbevd
xorg-xkbutils
xorg-xkill
xorg-xlsatoms
xorg-xlsclients
xorg-xmodmap
xorg-xpr
xorg-xprop
xorg-xrandr
xorg-xrdb
xorg-xrefresh
xorg-xset
xorg-xsetroot
xorg-xvinfo
xorg-xwd
xorg-xwininfo
xorg-xwud
yelp
I have to install programs using Pacman (arch package manager) that would take up the remaining space on said SSD, Pacman -S - -gpdir would install to a custom directory, but this command only works if there is a home installation within this directory. Thus meaning I would have to make my Micro SD the /home folder and mount it as so. I may do this for /home and /usr and /var which would help with the project, I'm going to look into setting this up without installing a fresh copy of Arch Linux.
Thx for the help! :)
1It is EXTREMELY not recommended. The reliability of a USB interfaced drive is far less, and if you join the USB HDD together with your internal SSD then the USB HDD fails, all the contents on both are lost. Let's look for another solution. Please run
sudo parted -l &&pacman -Qqe > pkglist.txt | grep linux-image
then come back here, click edit and paste the results into your question so we can see what you have taking space. Please do not use Add Comment as it loses the formatting of the response. – K7AAY – 2020-02-10T19:30:38.097