You are not logged in.
Hi, have found some threads for moving root to another harddrive and for turning a 64bit Arch into a 32bit one. BUT since I need (could) to combine both i am opining this thread, since maybe there might exist an easier method than doing both one after the other.
situation is the following:
I have a 64bit Arch running on a laptop. And its running verry good. Now I need to go back to my old Sempron 2400+ PC, because the laptop wont be available for a couple of month.
root is installed on laptop's HD and I have an external USB-HD available.
What would be the best and easiest way to move my root to the other HD and changing from 64bit to 32bit??
any ideas?
Offline
I say make a list of installed packages, copy your home directory, and recreate everything with a fresh install.
Offline
I agree with Jolly.
I would tar my home directory, the /etc directory, get a list of packages and then do a fresh install. It's not like it's Gentoo, where you have to compile everything.
The only issue would be if you are on a limited/slow internet connection.
#binarii @ irc.binarii.net
Matrix Server: https://matrix.binarii.net
-------------
Allan -> ArchBang is not supported because it is stupid.
Offline
/home is on the USB-HD
is there an easy way to make the list of packages and than include them to a pacman/yaourt comand automaticly? (I have a lot of AUR-packages, too)
internet connection is fast
Offline
pacman -Qq will list all
pacman -Qm will list manually installed
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
pacman -Qq will list all
pacman -Qm will list manually installed
nice, with some copy-pasting and a texteditor a can make a comand with that, I think
thanks
Offline
There is a command that lists all - manually installed... on the wiki or in here (I actually asked about it not too long ago if you wanna search on me).
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
Look at man pacman for what -Qe means.
Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.
Offline
Look at man pacman for what -Qe means.
so with a "yaourt (output of pacman -Qe)" on my new system I get exactly the same packages wich I have installed now right?
Last edited by capoeira (2010-12-14 01:43:59)
Offline
This is from the manpage for pacman:
-e, --explicit
Restrict or filter output to packages explicitly installed. This option can be combined with -t to
list top-level packages- those packages that were explicitly installed but are not required by any
other package. (-Qet is equivalent to the pacman 2.9.X -Qe option.)
Offline
This is from the manpage for pacman:
-e, --explicit
Restrict or filter output to packages explicitly installed.
I read that, but "explicitly" isn't that clear to me. but i think I understood
Offline
so I created a comand.
will this work?
how do I prevent pacman to install packages 2x (many core-packages will already be installed)?
pacman -S a2jmidid-git alsa-firmware amarok amsn-extras-svn amsn-svn amsynth amule arandr archlinux-themes-kde archlinux-themes-kdm archup ardour aspell-pt_br atkmm attr audacity aurvote automake backintime-kde4 bash bin86 binutils bison bogofilter bristol bzip2 calf chromium cmt coreutils cryptsetup dash dbus-core dcron device-mapper dhcpcd diffutils dosfstools drc dupfinder e2fsprogs ed fakeroot fftw-threads fil-plugins file filesystem findutils flashplugin fluidr3 freerdp fslint furiusisomount gawk gcc gen-init-cpio gettext glibc gpicview grep grub guitarix-svn gzip hdparm htop hydrogen initscripts invada-studio-plugins invada-studio-plugins-lv2 iputils jack jamin jconvolver jfsutils jsampler k3b kde-l10n-pt_br kdebase-dolphin kdebase-kfind kdebase-konsole kdebase-kwrite kdebase-plasma kdebase-workspace kdebindings-python kdegraphics-gwenview kdegraphics-kolourpaint kdegraphics-okular kdepim-kmail kdepim-korganizer kdeplasma-addons-applets-notes kdesdk-kompare kdeutils-ark kernel26 kernel26-headers kernel26-lqx kernel26rt kgrab kmess ktorrent less libasyncns libflashsupport-jack libpulse libusb licenses lingot linux-firmware ll-plugins logrotate lv2-mdaepiano-git lv2fil lv2vocoder lxappearance lxde-common lxlauncher lxmenu-data lxpanel lxrandr lxsession-lite lxtask lxterminal m4 mailx make man-db man-pages mdadm menu-cache mercury2 module-init-tools mplayer nano net-tools netcfg ngrep ntfs-3g ntfsprogs openntpd pacman pacman-mirrorlist pam patch pciutils pcmciautils perl phasex phonon-xine picard procps psmisc pyqt python qjackctl qsynth qtractor rakarrack reflector reiserfsprogs rev-plugins rosegarden rp-pppoe rtirq sed seq24 shadow skype smplayer sudo swh-lv2 sysfsutils syslog-ng sysvinit tap-plugins-cvs tar tcp_wrappers teliasopia texinfo torrent-search udev unrar unzip usbutils util-linux-ng vcf wah-plugins wammu wget which wicd wine-rt wineasio winetricks wireless_tools wpa_supplicant xf86-input-keyboard xf86-input-mouse xfsprogs xorg-docs xorg-res-utils xorg-server xorg-server-utils xorg-twm xorg-utils xorg-xinit xterm yaourt yoshimi zita-at1
Offline
append --needed to your pacman options.
Offline
append --needed to your pacman options.
cool, thanks
Offline
tried the above comand with yaourt because of the AUR-packages. strangely it only installs the AUR-packages.
when I run it with pacman I get an error because of the AUR-packages (obviously). looked in "man pacman" for an option to ignore those but i didn't find any. anybody knows how?
Offline
I am sure there is some weird and wonderful way to do it - for me it's just hard slog :-(
Make a list of all packages(from your existing system) - then just go through it with:
pacman -S --needed `grep -v '^#' package.list`
Check output and comment out (using '#') each file that pacman objected to and try again.
Finally it will all install and your commented ones are either yaourt or replaced packages ...
Last edited by perbh (2010-12-16 16:59:36)
Offline