![]() |
|
Arch Linux CHROOT - Printable Version +- Sinisterly (https://sinister.li) +-- Forum: Computers (https://sinister.li/Forum-Computers) +--- Forum: Operating Systems (https://sinister.li/Forum-Operating-Systems) +--- Thread: Arch Linux CHROOT (/Thread-Arch-Linux-CHROOT) |
Arch Linux CHROOT - noize - 05-19-2013 I've seen Ubuntu, Backtrack, Mint, Fedora and many other Linux operating systems. That wasn't still *what* I was looking for. I've found from @Deque Arch, which looked pretty much more what I wanted. I tried it on VirtualBox, then took an old laptop running XP and tried to install it there. Got some errors, which I managed to fix, but then I tried to run: Code: arch-chroot /mntand got Code: chroot: failed to run command '/bin/sh': No such file or directoryCouldn't override this. Anybody? RE: Arch Linux CHROOT - 676e - 05-20-2013 You can check the wiki at https://wiki.archlinux.org/index.php/Change_Root RE: Arch Linux CHROOT - chmod - 05-20-2013 [quote Code: chroot: failed to run command '/bin/sh': No such file or directoryThe error message you get states that /bin/sh cannot be found verify that it is indeed in that folder Code: ls /bin/shRE: Arch Linux CHROOT - noize - 05-20-2013 (05-20-2013, 06:09 PM)chmod Wrote:Quote: Tried already and got "/bin/sh@". The problem, I think, is that after running Code: pacstrap -i /mnt baseI got the installation of core, community and something else I can't remember, but then got a whole screen of Code: error: could not open file /mnt/var/cache/pacman/pkg/vi-1:050325-3-i686.pkg.tar.xz.part: Invalid argumentand at the end of that line repeated many times Code: warning: failed to retrieve some files
error: failed to commit transaction (failed to retrieve some files)
Errors occured, no packages were upgraded.
==> ERROR: Failed to install packages to new rootI've looked for a solution online, and tried a few things but still the issue remains. Arch's installation guide said: https://wiki.archlinux.org/index.php/Beginners_Guide Wrote:Note: If pacman complains that error: failed to commit transaction (invalid or corrupted package), run the following command: Which thing I did, but with no success. Though, ArchWiki's guide said to do so when caused by "invalid or corrupted package" while I got "failed to retrieve some files". RE: Arch Linux CHROOT - Deque - 05-20-2013 Try Code: sudo pacman -Scc
sudo pacman -SyyDoes that work so far? RE: Arch Linux CHROOT - noize - 05-20-2013 (05-20-2013, 08:48 PM)Deque Wrote: Try After the first command gives 3 warnings for database files 'core', 'extra' and 'community' not existing. Then... Arch Linux OS Wrote:Cache directory: /var/cache/pacman/pkg/ After all, fine so far I would say. RE: Arch Linux CHROOT - Deque - 05-21-2013 Does updating work without problems now? sudo pacman -Syu RE: Arch Linux CHROOT - noize - 05-21-2013 (05-21-2013, 05:54 AM)Deque Wrote: Does updating work without problems now? My reply is a bit late. I launched "sudo pacman -Syu" after the cetera. First part was going fine, like it used to go doing it with pacstrap, after some time I went away for a few minutes and when I got back I found a screen with lots of different errors. Errors like: Code: EXT4-fs error (device dm-0) in ext4_reserve_inode_write:4689: IO failureCode: Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000bCode: Pid: 1, comm: systemd Not tainted 3.8.10-1-ARCH #1Code: panic+0x87/0x181
do_exit+0x802/0xbf0Code: drk_kms_helper: panic occured, switching back to text consoleThe latter was the second-last line of the screen. The last one was showing a locked underscore (usually blinking) cursor and nothing more. I had nothing to do but power off. |