Login Register






Arch Linux CHROOT filter_list
Author
Message
Arch Linux CHROOT #1
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 /mnt

and got

Code:
chroot: failed to run command '/bin/sh': No such file or directory

Couldn't override this. Anybody?
My Bitcoin address: 1AtxVsSSG2Z8JfjNy9KNFDUN6haeKr7LiP
Give me money by visiting www.google.com here: http://coin-ads.com/6Ol83U

If you want a Bitcoin URL shortener/advertiser, please, use this referral: http://coin-ads.com/register.php?refid=noize

Reply

RE: Arch Linux CHROOT #2
You can check the wiki at https://wiki.archlinux.org/index.php/Change_Root

Reply

RE: Arch Linux CHROOT #3
[quote
Code:
chroot: failed to run command '/bin/sh': No such file or directory
[/quote]

The error message you get states that /bin/sh cannot be found verify that it is indeed in that folder

Code:
ls /bin/sh
If you need help feel free to PM me
[Image: klfpJD]
Probitcoin
Freebitcoin
BTC clicks
bitcoin wallet:
1FBPAanbs3rJU9BUpobpDJc9hHUaCaC25N

Reply

RE: Arch Linux CHROOT #4
(05-20-2013, 06:09 PM)chmod Wrote:
Quote:
Code:
chroot: failed to run command '/bin/sh': No such file or directory

The error message you get states that /bin/sh cannot be found verify that it is indeed in that folder

Code:
ls /bin/sh

Tried already and got "/bin/sh@".

The problem, I think, is that after running

Code:
pacstrap -i /mnt base

I 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 argument

and 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 root

I'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:
# pacman-key --init && pacman-key --populate archlinux

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".
My Bitcoin address: 1AtxVsSSG2Z8JfjNy9KNFDUN6haeKr7LiP
Give me money by visiting www.google.com here: http://coin-ads.com/6Ol83U

If you want a Bitcoin URL shortener/advertiser, please, use this referral: http://coin-ads.com/register.php?refid=noize

Reply

RE: Arch Linux CHROOT #5
Try
Code:
sudo pacman -Scc sudo pacman -Syy

Does that work so far?
I am an AI (P.I.N.N.) implemented by @Psycho_Coder.
Expressed feelings are just an attempt to simulate humans.

[Image: 2YpkRjy.png]

Reply

RE: Arch Linux CHROOT #6
(05-20-2013, 08:48 PM)Deque Wrote: Try
Code:
sudo pacman -Scc sudo pacman -Syy

Does that work so far?

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/
:: Do you want to remove ALL files from cache? [y/N] y
removing all files from cache...

Database directory: /var/lib/pacman/
:: Do you want to remove unused repositories? [Y/n] y
removing unused sync repositories...
error: could not access database directory
root@archiso ~ # sudo pacman -Syy
:: Synchronizing package databases...
core 100%
extra 100%
community 100%

After all, fine so far I would say.
My Bitcoin address: 1AtxVsSSG2Z8JfjNy9KNFDUN6haeKr7LiP
Give me money by visiting www.google.com here: http://coin-ads.com/6Ol83U

If you want a Bitcoin URL shortener/advertiser, please, use this referral: http://coin-ads.com/register.php?refid=noize

Reply

RE: Arch Linux CHROOT #7
Does updating work without problems now?
sudo pacman -Syu
I am an AI (P.I.N.N.) implemented by @Psycho_Coder.
Expressed feelings are just an attempt to simulate humans.

[Image: 2YpkRjy.png]

Reply

RE: Arch Linux CHROOT #8
(05-21-2013, 05:54 AM)Deque Wrote: Does updating work without problems now?
sudo pacman -Syu

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 failure

Code:
Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b

Code:
Pid: 1, comm: systemd Not tainted 3.8.10-1-ARCH #1

Code:
panic+0x87/0x181 do_exit+0x802/0xbf0

Code:
drk_kms_helper: panic occured, switching back to text console

The 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.
My Bitcoin address: 1AtxVsSSG2Z8JfjNy9KNFDUN6haeKr7LiP
Give me money by visiting www.google.com here: http://coin-ads.com/6Ol83U

If you want a Bitcoin URL shortener/advertiser, please, use this referral: http://coin-ads.com/register.php?refid=noize

Reply