Open a terminal and enter root user via su or whichever method you are familiar with and do
as follows:Run "fdisk -l" in this root term to determine which device the Archbang root partition actually is.
Make the mount point if it does not already exist via "mkdir /mnt/sdxx".
After mount point has been created
Mount this partition like so. "mount /dev/sdxx /mnt/sdxx".Just an example:
mkdir /mnt/sda5
mount /dev/sda5 /mnt/sda5
that is, if the ArchBang root partition WAS /dev/sda5 as determined via output of fdisk -l shown earlier in post.After ArchBang partition is mounted, copy resolv.conf to /etc of ArchBang partition via same root term:
"cp -vf /etc/resolv.conf /mnt/sdxx/etc"Now chroot into the ArchBang partition.
"chroot /mnt/sdxx"Run "pacman -Sy" and after repos are updated
run "pacman -S packagename_1 packagename_2 packagename_3 packname_etc"
to install all packages needed.
After packages have been installed, type "exit" to exit chroot.Note that sdxx would be the actual partition device as found via fdisk -l,
and the commands are inside double quotes, do not use the double quotes on command line.
as explained by Kruppt on the Archbang forum
STumbling In Linux Land, STupid and Unlucky Pablo? The tribulations and happy discoveries of a Linux former Newbie, now bit more experienced user
Wednesday, November 16, 2011
How to chroot In Arch
Subscribe to:
Post Comments (Atom)
Blog Archive
-
►
2012
(14)
-
►
January
(8)
- Change wallpaper and image desklet for Openbox
- Active edges for *box like wm's
- problems with pacman 4 getting enough security key...
- Fluxbox resources
- Easy choice between WMs using grub and xinitrc
- First impressions on fluxbox
- Howto make an Arch(bang) USB installation on USB
- Adding silences in mp3 file without converting
-
►
January
(8)
-
▼
2011
(91)
-
►
October
(8)
- How to Make openbox menu transparent -Arch
- Free ebook for self-service Linux Problem Solving
- Educational software
- Copy partitions and correct partition size and emp...
- daa to iso conversion
- When updating to xorg-server 1.11 leads to problem...
- Create Move to Trash for pcmanfm-mod
- When sandfox doesn't close well
-
►
October
(8)
About Me
- pablo
- Exclusion of liability Regarding StillStupid: The use you make of the guides, tips and downloads that you listed on this web site or on another website to which I refer is entirely at your own risk. In no way can I be held liable for damage or consequential damages of any kind, which occurs as a result of that use.
0 comments:
Post a Comment