M
M
Maxim2022-03-07 09:19:53
linux
Maxim, 2022-03-07 09:19:53

How to install packages on installed system from live cd?

Hello. Situation: installed arch linux, rEFInder, DE, lightdm, video drivers, but after reboot everything hangs on

OK: started accounts service
After reading on the Internet, I realized that I need to try reinstalling the video drivers, DE (in my case, deepin, maybe this is the problem?) And lightdm. They need to be installed on the main ext4 partition with arch. But when I enter sudo pacman -S deepin xf86-video-amdgpu xf86-video-intel lightdm into the live cd, I get an error that there is not enough space, and as I understand it, this is all installed on a USB flash drive. Is there any other solution to this error?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
X
xotkot, 2022-03-07
@xotkot

well, how did you install the packages when installing arch? still
mount the root itself and boot if necessary, and then use pacstrap to install what you need

pacstrap /mnt deepin xf86-video-amdgpu xf86-video-intel lightdm

here the root (/) of the system (where the package is installed) is mounted in / mnt
but on reboot everything freezes
OK: started accounts service

Have you tried logging in with a different console?
Ctrl+Alt+F1
Ctrl+Alt+F2
Ctrl+Alt+F3
...
p.s.
as an option, you can do after mounting the root,
arch-chroot /mnt
after which you can enter commands as usual for the selected system
exit to exit

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question