[SOLVED] Backup my Arch

Hi, im little new in Arch. I have a question. If i have back up (copy all directories to usb flash) and i'll reinstall arch and i'll copy all directories to arch, will i have all things (configurations and packages) same as the latest arch ?? Thx for answers.
PS: sorry for my english
Last edited by STANKAR (2010-12-28 15:31:50)

stqn wrote:
What do you want to do exactly? I don't understand the question... If you backup your whole Arch install then it's useless to reinstall it before restoring the backup. Unless you only backup some directories...
What do you mean by "the latest Arch"? If you reinstall then you'll have the more recent packages, but if you restore your backup then you'll have whatever was installed when you made the backup.
I understood
fukawi2:  THX. That i needed to know.

Similar Messages

  • Complete backup of Arch configurations & apps

    Can anyone recommend an easy way to backup my Arch install?  I have tried using Arch as my desktop several times over the past couple of years and it always goes like this:
    1) Install and configure Arch
    2) Do something silly and break it.
    3) Reinstall Arch
    I would like to save everything needed to completely restore my system on a regular basis to a network share to prevent having to reconfigure it all the time.
    Thanks!

    here's a copy of my backup script in /etc/cron.daily which shows how I used tar and dirsync.
    #!/bin/bash
    [ ! -d /mnt/hdb5/backup ] && mkdir -p /mnt/hdb5/backup
    cd /mnt/hdb5/backup
    pacman -Q | cut -d' ' -f1 | paste -s | sed 's|s| |g' > filelist
    #tar -czvf backup.tar.gz --exclude=/home/pkgs --exclude=/home/tyler/.ccache /etc /home
    backup_file="/var/log/backup.log"
    dirsync /etc /mnt/hdb5/backup/etc -l $backup_file
    dirsync /home/tyler /mnt/hdb5/backup/tyler -X .ccache -l $backup_file
    dirsync /web /mnt/hdb5/backup/web -l $backup_file

  • [Solved] Questions about Arch on T420s

    Hello everybody,
    I'm relatively new to Arch and switched from Ubuntu last year. Since then I've learned a lot about Linux in general due to the great documentation provided by the Arch community.
    I've managed to install Arch on my Thinkpad T420s with an UEFI Setup using Archboot. But still there are open questions.
    My first question is about the UEFI System partition and grub2. Should the UEFI partition be mounted to the filesystem? What about updating Grub2 (eg for setting boot parameters) when the UEFI System partition is not mounted to the filesystem. Up to now I've set boot parameters by manually mounting the UEFI partition and editing the Grub2's menu.lst equivalent. I think this is not optimal.
    My second question is about some graphical artifacts in Gnome 3. The T420s uses Intel HD 3000 Graphics. Sometimes icons in nautilus disapear or get replaced by black planes when hovering over them with the mouse cursor. Similar black planes replacing icons can be observed sometimes in Evolution or Rhythmbox. Furthermore gnome-terminal becomes transparent sometimes when I'm scrolling or switching between powertop2 tabs. Anyone else observed similar issues on their T420s or on other models with an Intel HD 3000? I use several options for the i915 driver but none of them seem to be related to the graphical artifacts. Furthermore I've disabled dVT in the BIOS.
    options i915 modeset=1
    options i915 i915_enable_rc6=1
    options i915 i915_enable_fbc=1
    options i915 lvds_downclock=1
    options i915 semaphores=1
    My last question is about the USB ports on my T420s. I've 3 USB ports, one on the left side (USB2.0) and two (USB3.0 and another USB2.0) on the back side. When I plug in a HD on the left side everything works fine and the filesystem is automatically mounted. When I plug in the same HD on the ports of the back side the HD isn't even recognized. Interestingly when i boot with the HD plugged into the back side ports everything works fine. Can you point me any directions how to solve this problem?
    Hopefully sombody using Arch on a T420s has already solved these issues and could share the solutions. Otherwise I would be grateful for any suggestions.
    Sincerely yours,
    Tobsen
    Last edited by tobsen (2012-02-09 17:15:27)

    Hi Tobsen, I have a T420 also. Perhaps my experiences will be some help?
    Regarding the USB ports: I installed Arch on my T420 with the Kernal 3.0.3 snapshot and all the USB ports worked out of the box. That sounds like a problem with udev to me, though. Have you checked the wiki article on this?
    Regarding the graphical artifacts: For me, when a popup window appears from hovering the mouse over an icon, the window is sometimes blank grey. It's totally inconsistent, and I can fix it by just hovering over it again, so I haven't really bothered to examine the source of the problem. Could this be related to your problem with the GPU? I figured it was a problem with the windows manager I'm using (Enlightenment e17), which is unstable.
    Regarding UEFI: I don't use GRUB2, so this may not be good advice, but I personally feel like you should avoid auto-mounting partitions you don't always need. It slows down boot, and if the partition is mounted, user error could damage it. I say you should keep doing what you're doing.

  • [SOLVED] Advice for Arch install with rEFInd dual boot Lenovo laptop?

    I am trying to plan an Arch install on a new laptop for dual boot with Windows 8.1, but I know there is a potential to cause huge problems so I have been trying to read and learn about the hard disk partition structure and how I might install the rEFInd boot files so that I am still able to boot Windows once Arch is installed. (Unfortunately for some tasks such as updating the maps on my satnav box Windows is essential). However I am really quite unsure if I am doing the right thing in the way I am thinking about the Arch install so I would appreciate any help from experts on the forum.
    The laptop is a Lenovo IdeaPad Y510p which came with Windows 8 pre-installed, with the option to upgrade to Windows 8.1.  The upgrade was completed without issue and I then looked into the question of hard drive partitions and boot.  I had read posts on the Ubuntu forums about users who had installed Ubuntu on this same laptop and ended up being unable to boot Windows afterwards so I wanted to tread very carefully before executing anything which might cause really major damage. I had also read on the Lenovo forums replies about people who had replaced the hard drive and installed linux only to find that they could  not boot to the recovery partitions, with replies from Lenovo moderators saying that if the partition structure had been changed then the laptop would have to be sent back to Lenovo for a factory repair.
    On this laptop to get into the bios or boot options you do not just press the power button and hit an F key, but instead there is a special small "OneKey Recovery" button next to the power jack, which opens up with options for BIOS setup and boot options as well as normal boot or recovery. This OneKey Recovery button is therefore needed to boot a usbkey - the power button only allows it to boot to windows presumably until/unless a different bootloader and NVRAM entry is amended.
    I have done all the initial ( safe!)changes necessary to move to the point at which I can execute the Arch install. From within Windows (switched off fastboot, and shrunk the "C:" drive to make space for linux partitions).  I have also switched off Secure Boot from the BIOS, and made sure that Windows still boots up fine.
    The current arch install iso (February 2014) boots under uefi just fine - and of course once booted I have access to the gdisk programme.  That certainly showed the pre-existing partitions on the drive (8 partitions with partition number 2 being the EFI partition, and three recovery partitions!) with a GPT partition table, and it should therefore be possible to make the necessary new linux partitions in the now unallocated space on the disk that was freed up with the internal disk management facility within Windows 8.1.  So at that point I created three partitions for a root partition (type 8300), a swap partition (type 8200) and another type 8300 partition which will become /opt in the installed Arch system.
    In order to try and not make any changes to the partition structure I let the three new linux partitions be number 9, 10 and 11.
    I am told that for a GPT disk it is a definite no-no to try to create more than one EFI partition. So I will need to use the existing EFI partition to place the rEFInd files and the kernel once I install Arch.
    In this (Y510p) laptop the EFI partition contains the following structure:
    BOOT/ - containing only boot.sdi
    BOOTSECT.BAK
    EFI/ which contains two directories Boot/ and Microsoft/
    so EFI/Boot/ contains only Boot64.efi which is likely a fallback copy of the Windows 8.1 bootloader
    and EFI/Microsoft/ contains a Boot/ directory - so
    EFI/Microsoft/Boot/ contains loads of language specific directories like en-GB/
    plus bootmgfw.efi (which I believe is the Windows main efi loader file)
    bootmgr.efi
    memtest.efi
    The scheme that I am planning to use which I have previously used in pure Arch uefi machines, is that /boot is a directory in the root partition, /. That way /boot is an ext4 directory and will contain the kernel and initramfs plus the rEFInd linux config file.
    Then I can mount the EFI (vfat) partition as /boot/efi and so I can then make a /boot partition under /.  Then the EFI /BOOT/ directory would be seen in Linux as /boot/efi/BOOT/ and the Windows efi stuff would be in /boot/efi/EFI/Boot/Microsoft/Boot/ in which case I would presume that I have to make a new directory in /boot/efi/EFI/refind/ and put the refind stuff including the filesystem drivers there, and let the kernel go into the (ext4) /boot/ directory which would be preferred!  However I am not 100% confident that this is what will work and I need to read more before trying to do the install. The thing that concerns me is how the system will handle the uefi boot process, and whether it would auto-detect the Windows efi file as well as the Arch refind efi file once the system has started up?
    ... and then there is the issue of the NVRAM entries and I am no longer confident that if I use the usual tools to create an entry (efiboomgr or bcfg), that I will get a successful dual boot system!
    There is still a chance that I would irrevocably damage being able to boot to the Windows and Recovery partition boot options by messing up the EFI and/or the NVRAM so I have to tread very very carefully with this.
    If anyone has gone through this kind of dual boot install with a Windows 8 or 8.1 machine using rEFInd for the bootloader, and can offer advice or help here I would very much appreciate it.  I have another pure Arch system which uses rEFInd that works extremely well, but it seems that dual boot with uefi is a rather more complex animal than a pure linux system!
    Last edited by mcloaked (2014-02-22 10:06:03)

    vipin wrote:I have recently bought the y510p , im planning to install Arch , this is my 4th laptop , i had installed Arch in all the other 3 with no problems, but im a bit worried with the installation as this is the first laptop which has EFI , im a linux user for the past 6 years , i started with fedora , now i like Arch , mike documentation is excellent, i just had one question when i had grub , it automatically finds the new kernel when i update (grub.conf/menu.lst gets updated), does rEFInd also do that.
    When there is an update to the rEFInd package you need to copy the files across to your ESP from the files contained in /usr/share/refind/  usually you need to copy the refind_x64.efi binary as well as the icons, fonts, and drivers directories.  Since there is flexibility in how you configure the kernel and initrd files in terms of where they are located whether you need to do anything else when a new kernel update arrives depends on how you set your system up.  If you have the /boot directory as your ESP partition which will then have the kernel and initrd files updated by default then there no need to do anything else when there is a kernel update. If the ESP is then at /boot/EFI and within that is your refind/ directory then that is where the replacement files go if refind-efi gets a pacman update. So it is actually fairly straight forward. If you configure rEFInd to look for kernels in some other directory than /boot/ then you may need to copy the files there after a kernel update but there is more information in the arch wiki about this.
    During a refind-efi package update there are helpful files in the pacman output (and log) reminding you of what you need to do.  eg for the latest refind-efi update you get:
    [2014-06-18 18:48] [PACMAN] upgraded radvd (1.12-1 -> 1.13-1)
    [2014-06-18 18:48] [ALPM-SCRIPTLET]
    [2014-06-18 18:48] [ALPM-SCRIPTLET] rEFInd UEFI application has been installed at /usr/share/refind/refind_*.efi
    [2014-06-18 18:48] [ALPM-SCRIPTLET]
    [2014-06-18 18:48] [ALPM-SCRIPTLET] Other UEFI applications have been installed at /usr/share/refind/tools_*/
    [2014-06-18 18:48] [ALPM-SCRIPTLET]
    [2014-06-18 18:48] [ALPM-SCRIPTLET] UEFI drivers have been installed at /usr/share/refind/drivers_*/
    [2014-06-18 18:48] [ALPM-SCRIPTLET]
    [2014-06-18 18:48] [ALPM-SCRIPTLET] Copy the efi application (according to your UEFI ARCH)
    [2014-06-18 18:48] [ALPM-SCRIPTLET] and /usr/share/refind/refind.conf-sample to a sub-directory of <EFISYS>/EFI/
    [2014-06-18 18:48] [ALPM-SCRIPTLET] as refind.conf and add an entry to firmware boot menu using efibootmgr
    [2014-06-18 18:48] [ALPM-SCRIPTLET] or mactel-boot (for Macs)
    [2014-06-18 18:48] [ALPM-SCRIPTLET]
    [2014-06-18 18:48] [ALPM-SCRIPTLET] rEFInd Icons have been installed at /usr/share/refind/icons/
    [2014-06-18 18:48] [ALPM-SCRIPTLET] rEFInd Fonts have been installed at /usr/share/refind/fonts/
    [2014-06-18 18:48] [ALPM-SCRIPTLET]
    [2014-06-18 18:48] [ALPM-SCRIPTLET] HTML Documentation is available at /usr/share/refind/docs/html/
    [2014-06-18 18:48] [ALPM-SCRIPTLET]
    [2014-06-18 18:48] [ALPM-SCRIPTLET] More info: [url]https://wiki.archlinux.org/index.php/UEFI_Bootloaders#Using_rEFInd[/url]
    [2014-06-18 18:48] [ALPM-SCRIPTLET]
    [2014-06-18 18:48] [PACMAN] upgraded refind-efi (0.8.1-1 -> 0.8.2-1)
    I hope that helps.
    By the way you can also boot uefi using grub and in fact you can get rEFInd to chainload grub as a backup bootloader as an added safety factor and have both rEFInd as well as grub installed simultaneously. How that can be done is explained in the thread at https://bbs.archlinux.org/viewtopic.php?id=181906
    Last edited by mcloaked (2014-06-25 17:41:12)

  • [SOLVED] Dual-boot Arch/Windows - 2 hard drives

    Hi Everyone
    I've just installed Arch and I'm having a bit of a problem dual-booting between Arch and Windows XP, which are each on a seperate Hard drive.
    I've done this successfully before with Mepis Linux and Windows XP, but for some reason it's not working this time.   
    The difference is that I've recently purchased a new computer and both Windows and Arch are on SATA drives whereas last time they were both on IDE drives.  Also I'm not sure whether or not to enable SATA AHCI mode in the BIOS (apparently it doesn't work with XP anyways), or SATA port 0-3 Native mode.  Although I've tried all possible combinations and it doesn't seem to work at all.
    Here is my menu.lst file:
    # (0) Arch Linux
    title  Arch Linux
    root   (hd0,0)
    kernel /boot/vmlinuz26 root=/dev/disk/by-uuid/0df05d3b-537c-4576-ad36-1f90a6b01ec0 ro vga=773
    initrd /boot/kernel26.img
    # (1) Windows
    title Windows
    rootnoverify (hd1,0)
    makeactive
    chainloader +1
    When I boot into Arch from Grub it works fine,  but when I try to boot into Windows from Grub, I get this:
    rootnoverify (hd1,0)
    makeactive
    chainloader +1
    and then nothing....No error message or anything. It just hangs.  Does anyone have any ideas as to what's happening? Thanks in advance.
    edit:  It seems I solved the problem by adding these lines to the menu.lst file:
    map (hd0) (hd1)
    map (hd1) (hd0)
    root (hd1,0)
    I can now boot into either Arch or Windows from the Grub menu
    Last edited by axle (2008-09-30 02:35:54)

    This is a question that can very easily be answered by doing a simple google serach.  Google is your friend.  I suggest you start there and come back if you run into issues.

  • [SOLVED]Shift my Arch install to a new (smaller) PC/HDD?

    Hey all, I've looked around all sorts of forums for the answer to this, but none of them seem to cater exactly to my need, so I'll post my problem here!
    Essentially I bought a new harddive. Well actually, I bought a whole new PC-worth of parts, but it's the harddrive causing problems.
    I've had this Arch install for quite a while, and as such it's pretty well tweaked and messed about with, so I REALLY don't want to start again with a clean install, so I want to (For lack of a better terminology) Copy-paste my entire Arch install into the new harddrive.
    I looked into Clonezilla, but there's a slight issue... My new drive is smaller than my old one. I know this was a dumb mistake on my part, but really I don't need anything bigger (Even with a load of movies, VM's and Wine games that can easily be deleted I'm only using 60-70GB of drive right now) And the only reason I really needed a new drive was because the new motherboard doesn't have an IDE slot, and my old drive is an IDE (I know there's adaptors for that, but they sound a bit dodgy at best)
    My current partitions on my drive are also numbered a bit funny, which I think is where this went wrong when I attempted it, due to me distro-hopping a bit before landing on Arch.
    So, is there an easy way to go about this, that I'm overlooking? Are there more config files that I should have editted (All I did upon clonezilla-ing the main partition was change the grub menu.lst file to say sda1 instead of sda3, and the same in fstab)
    What I tried first time round, was to use Clonezilla, and only clone my /dev/sda3 partition (That's the one with Arch installed, sda1 is just an empty box that I occasionally store junk in) And this put a partition on the new drive, sda1, which was the reason for editting the menu.lst/fstab.
    I then (Upon the above failing to boot) used GParted (Using a Mint LiveCD) To shrink my partitions down so they're approx. 65GB each (My current drive is 200GB, split equally in half, and my new drive is 160gb) Hoping Clonezilla would believe my drive was only 130GB (This still didn't work, it still told me the destination drive's too small)
    Is there anything else I can do that I'm missing?
    Last edited by Reded (2012-07-15 17:12:58)

    Phew, thread is solved!
    To R00KIE, your post actually helped me quite a lot - It turns out I was missing installing grub + regenerating initramfs
    So how I did it:
    GParted the new drive so it had a filesystem
    Boot from a Ubuntu LiveCD,
    mount both drives
    copy-paste drive-to-drive (literally... used the cp command)
    chroot into the new drive
    adjust fstab/menu.lst
    grub-install /dev/sda
    mkinitcpo -p linux
    reboot
    PROFIT!
    You're right ROOKIE, that whole process was far simpler than some websites make it out to be Thread closed!

  • [SOLVED] Borked my Arch! Hanging at boot...

    Hi, I've been using Arch on my netbook for the last couple of months with great results until just now....
    Yesterday everything was going great guns, then I booted a different distro (remixOS) from a persistant usb install. After a few hours I rebooted Arch but it hung shortly after entering init runlevel 3, whilst trying to start the laptop-mode daemon. I read about a laptop-mode related bug that prevented users from booting and, believing that laptop-mode was the culprit, booted into a Linux Mint live session and edited my rc.conf daemons array.
    However this has not solved the problem, my machine now just hangs at "Starting crond daemon" with a [BUSY] message on the right hand side of the screen and the cursor frozen.
    What should I do? I use this machine for school and I don't want to reinstall, I'd prefer to learn about the issue and fix the problem myself.
    Sorry if this is the wrong place for this thread, I've searched extensively but haven't found anything that matches my problem and other threads about chrooting and init runlevels are too loaded with jargon for me to comprehend at this point.
    Thanks for reading about my problems.
    Toby.
    Last edited by TobyJamesJoy (2012-07-28 04:16:39)

    TobyJamesJoy wrote:
    Haha, mkinitpcio -p linux worked! Posting from Arch! Thanks so much Zancarius!
    I have tried to pacman -Syu but i have a dependancy cycle with lib32-gcc-libs and gcc-libs-multilib but that's most likely covered in another thread.
    Well, my mind's a bit boggled. Sounds like it might've been from an update or simple oversight. I've had issues with mkinitcpio not generating the correct initrd--once from my own mistake (not updating mkinitcpio.conf correctly) and once from it running but apparently not including LVM even though I instructed it to. (I suspect the latter might've also been from an oversight on my part.)
    Here's a thread that might help with the lib32-gcc-libs/gcc-libs-multilib issue.
    TobyJamesJoy wrote:I did get some colourful error messages in my boot too so here's my /etc/fstab:
    Assuming your UUIDs are correct, your fstab looks fine. The only change that you might need is to set the pass field (last number) for /boot and /home to 2 (see fstab(5)), but that wouldn't cause your problems.
    Unless the kernel is screaming at you, you may occasionally see some things on boot that happen to be harmless. No biggy. :)
    TobyJamesJoy wrote:
    And a link to my /boot/grub/menu.lst which was indeed installed from arch.
    I know that there is a quiet flag in my kernel options because I noticed it when I was experimenting with switching the runlevels via grub but I'm not certain where to find my kernel line, nor what constitutes "unsusual options". I'm pretty sure I didn't change anything for ACPI support but maybe some laptop-mode-tools stuff did someting, I can't be sure...
    The boot looks fine, especially since mkinitcpio fixed your problem. "Unusual options" in this case would be things like turning off various kernel features or passing in options to change behavior--you'd know them if you saw them. You don't have them, so it's nothing to worry about.
    Good to know that solved your problem. Don't forget to mark your thread [solved] too!
    Edit: Whoops! I think you caught the [solved] before I did. Sorry! :)
    Last edited by Zancarius (2012-07-28 04:37:16)

  • [SOLVED] Dualboot w7 + Arch ( where to install grub )

    Hello,
    I have win 7 already installed,
    now i want to install Archlinux on same disk, but on other partitions.
    My currently partiotion schema ( MBR ) looks like:
    /dev/sda1 win7
    /dev/sda2 reserverd for linux boot part
    /dev/sda3 reserverd for linux root
    I readed beginners guide, and the only one thing is not clear for me,
    beginners guide advises not to install grub on any partiorion only on disk's mbr /dev/sda
    I can not do that, because it will destroy my win7's mbr( partion table and so on )
    Earlier with this configuration i had sabayon linux installed,
    with grub on /dev/sda2, both systems booted with bcdedit and all worked fine.
    How can I solve this ( grub2 can not be installed in /dev/sdaX )
    Thanks for any help.
    Last edited by tangram (2013-11-18 09:55:29)

    tangram wrote:
    henk wrote:... Why do you personally think grub will update to /dev/sda? Do you know how grub works that well? ...
    I do not know, I felt it so, earlier linux experiences, maybe better I should write "I suppose".
    It is not a question of knowing grub. It is a question of knowing Arch. When pacman updates grub, it does not reinstall to disk, it does not generate a new configuration file and it does not, therefore, touch either the MBR or the BIOS boot partition or any installation to a partition or anything else. The most pacman will do is remind you to do these things, as necessary. And sometimes it does not even do that.
    This is why, for example, it is possible to maintain grub.cfg manually in Arch but not in most other distros. Because the system will never, ever run grub-mkconfig unless you tell it to. So a manually maintained configuration file will never be overwritten unless you overwrite it.
    The only boot manager/loader I know of where this is not the case is gummiboot and IMNSHO, that makes the gummiboot package a badly behaved one which fails to properly respect the local customs. (And I won't install gummiboot for essentially this reason.)
    That said, installing grub to a partition is not recommended because it is very easily broken. So I don't think you should do that. I'm just saying that if you did do it, no pacman upgrade would ever write to the MBR. Nor, for that matter, would it update the installation on the partition. It would do zilch to upgrade the actual installation of the boot loader - it would just update the package files in your system.
    Last edited by cfr (2013-11-03 03:15:34)

  • solved Setting up Arch to print to remote cups printer?

    Any useful info on setting up Arch to print to remote cups printer? I did'nt succeed using the Cups Setup guide:
    http://wiki.archlinux.org/index.php/CUPS_Setup
    I have tried the localhost:631 admin interface and kprint. I get  /usr/lib/cups/backend/ipp failure and "stopped with status 22!" errors.
    I will set the cupsd.conf LogLevel to debug2 and post anything needed from those results.
    Brother hl1240 laser on a remote Suse system.
    lynch
    Last edited by lynch (2007-01-28 15:30:17)

    After a bit of searching I have managed to get remote printing to my cups server to work.
    I reference 2 documents that helped me resolve this issue.
    My searches were specific to my Brother hl1240 laser printer, Arch and cups but I think the resolution is general enough to help others who may have a different model of printer.
    http://linuxprinting.org/cups-doc.html
    4.   Install the Foomatic scripts.
    (If you are using a native CUPS Raster driver, or are using a PostScript printer with a PPD from your printer vendor, you probably do not need Foomatic and should skip this step). Download foomatic-rip and foomatic-gswrapper:
    cd /usr/bin
    wget http://www.linuxprinting.org/foomatic-rip
    wget http://www.linuxprinting.org/foomatic-gswrapper
    chmod 755 foomatic-rip foomatic-gswrapper
    ln -s /usr/bin/foomatic-rip /usr/lib/cups/filter/foomatic-rip
    The location of the CUPS filter directory may differ on other installations; look around for it. Also, be sure that your Perl interpreter is in /usr/bin (if not, edit the first line of the scripts).
    http://www.archlinux.org/pipermail/arch … 03203.html
    Here's what solved this for me. I browsed
    http://linuxprinting.org/cups-doc.html and notice the following:
    "Download foomatic-rip and foomatic-gswrapper."
    Well, Arch only seems to supply foomatic-gswrapper, not foomatic-rip. When I
    attempted to install the Arch foomatic-filters package, it complained,
    saying foomatic-gswrapper is already contained in filesystem, with no
    mention at all of foomatic-rip. The foomatic package also failed to install
    foomatic-rip.
    So I downloaded foomatic-rip from the above web site, copied it to /usr/bin,
    where foomatic-gswrapper lives. Then I followed the next set of
    instructions in the above mentioned document:
    chmod 755 foomatic-rip foomatic-gswrapper
    ln -s /usr/bin/foomatic-rip /usr/lib/cups/filter/foomatic-rip
    I was never able to use the http://localhost:631 interface to get printing to work even after:
    [1] installing foomatic-rip and foomatic-gswrapper in the proper directory
    [2] running chmod to make them executable
    [3] creating the link as in the above quote
    [4] running /etc/rc.d/cups restart
    Setting up remote printing with kprint in administrative mode works very well, though.
    This seems to be somthing that needs to be addressed in future releases ( I'm running 0.7.2) or maybe it was fixed in 0.8, though I have not seen mention of it.
    Hopefully this will help someone else with a similar problem.
    lynch

  • [SOLVED] Samba Issue (Arch+Win8 workgroup)

    Hi everyone.
    It`s been like 3 months that I am trying to add my archlinux VM to my windows network. I have even used arch as my main box but i changed cuz I couldnt share anything.
    I just created a workgroup in my windows 8 box and it gave me a password. Every windows machine, in order to get in this workgroup shall have this password.
    What I have
    In arch (virtualbox, installed on that windows  box) I have downloaded samba and nmap. I am using xfce4.
    My windows can see my arch box(called archlinux)  in network sharing window, the way it does when it is a windows machine. But, when I try to acces it, I get an error message (could not access ARCHLINUX).
    In my arch box, I see my windows machine, when I try to access it Thunar ask me for a user/domain/password information.
    if I write my password in windows 8 box, I can access the folder, but I have to do it to every sub folder.
    What I want
    Just share files from my archbox with every win machines from my local network without knowing the windows login password of everyone in my house.
    I suppose there`s some place where I can inform the workgroup passwd, like I do in windows
    What I have done
    https://wiki.archlinux.org/index.php/Sa … ng_a_share
    https://wiki.archlinux.org/index.php/Sa … ing_a_user
    -Installed gvfs-smb
    And that is my smb.conf
    [global]
    # workgroup = NT-Domain-Name or Workgroup-Name
    workgroup = WORKGROUP
    # server string is the equivalent of the NT Description field
    server string = archlinux
    # Uncomment this if you want a guest account, you must add this to /etc/passwd
    # otherwise the user "nobody" is used
    guest account = pcguest
    # this tells Samba to use a separate log file for each machine
    # that connects
    log file = /var/log/samba/%m.log
    # Put a capping on the size of the log files (in Kb).
    max log size = 50
    # Security mode. Most people will want user level security. See
    # security_level.txt for details.
    security = user
    map to guest = Bad User
    # Browser Control Options:
    # set local master to no if you don't want Samba to become a master
    # browser on your network. Otherwise the normal election rules apply
    local master = no
    # Windows Internet Name Serving Support Section:
    # WINS Support - Tells the NMBD component of Samba to enable it's WINS Server
    wins support = yes
    # DNS Proxy - tells Samba whether or not to try to resolve NetBIOS names
    # via DNS nslookups. The built-in default for versions 1.9.17 is yes,
    # this has been changed in version 1.9.18 to no.
    dns proxy = no
    #============================ Share Definitions ==============================
    [homes]
    comment = Home Directories
    browseable = no
    writable = yes
    [publico]
    path = /home/Teste
    public = yes
    only guest = yes
    writable = yes
    printable = no
    browsable = yes
    share modes = yes
    If you guys need any information please ask me, I really want it to work
    Thanks
    Last edited by Janilson (2013-06-17 14:09:46)

    The username/password will be the one of the user sharing the files but if you do not want to use password based sharing follow this:
    open start, click control panel, then "Network & Sharing Center", then click on  "change advanced sharing settings" here you will the settings for the 3 types of network, the one that is fully expanded is you current windows network type look through these setting & when you get to "Password Protected Sharing" set that to off (note: you may or may not need to reboot)
    Once you get windows setup to share what you want & you can access the files on linux you are halfway there next your focus is on the configured linux samba shares.
    The latest samba has a config file check tool to help us & advise us based on what we put in the config file, keep referring to the arch & samba wiki's as well as the link I provide below.
    I have just run the samba-tool on your config here is the output + revised config:
    ┌─(t0m5k1@b0x)-(1563/pts/1)-(10:38am:10/06/13)-
    └─>(%:~)
    └─>> sudo samba-tool testparm
    Unknown parameter encountered: "share modes"
    Ignoring unknown parameter "share modes"
    Press enter to see a dump of your service definitions
    <enter>
    # Global parameters
    [global]
    workgroup = WORKGROUP
    server string = archlinux
    security = USER
    map to guest = Bad User
    guest account = pcguest
    log file = /var/log/samba/%m.log
    max log size = 50
    local master = No
    dns proxy = No
    wins server = 127.0.0.1
    wins support = Yes
    [homes]
    comment = Home Directories
    read only = No
    browseable = No
    [publico]
    path = /home/Teste
    read only = No
    guest only = Yes
    guest ok = Yes
    save your current config under a different name:
    $ sudo mv /etc/samba/smb.conf /etc/samba/smb.conf.orig
    now create a new file with the revised one above restart samba:
    $ sudo systemctl stop smbd && sudo systemctl stop nmbd
    $ sudo systemctl start smbd && sudo systemctl start nmbd
    now try to access the file share on windows, if no joy recheck the paths to the shares at the bottom & the settings used in those sections (as we already know the main samba config works so leave it alone, just focus on the 2 shares).
    after you make a change to the config file use the test tool as I did to ensure all is well with the syntax & then restart smbd & nmbd
    good luck 
    for more tips on samba:
    https://bbs.archlinux.org/viewtopic.php?id=161389

  • [SOLVED?]Install Arch onto a second hard drive....with Syslinux

    Hello, Arch Linux Community!
    I just get to the chase and say that right now, I have a dual-booted Windows 7 and Arch Linux on separate drives.
    Windows 7 is on a internal Seagate drive.
    Arch Linux is on a internal Toshiba drive.
    The problem is that I can only boot on my Windows drive and the Arch drive is sitting idly.
    At the moment, I have a fondness for SysLinux because of it's simplicity, so because of that, the Arch drive has SysLinux as the bootloader.
    Unfortunately, I cannot seem to get SysLinux recognized by Windows, so it has become deadweight.
    I have consulted the forums already and found someone else with the same predicament at this link. However, the post creator is booting with GRUB, whereas I will proceed with SysLinux.
    My original plan was to:
    Format /dev/sda1 (Windows Boot partition) to ext4.
    Install SysLinux with Arch's automated command.
    Modify syslinux.cfg to add /dev/sda (Windows) and /dev/sdb (Arch).
    Should I carry out this plan? Or is GRUB the easier option when executing this task?
    Last edited by matierpixel (2014-08-11 08:36:50)

    anatolik wrote:
    matierpixel wrote:The only error I got when I installed was that the Legacy BIOS could not be installed. Sorry if that part was important.
    Yes, it is important. Most likely syslinux was not properly installed into MBR. Post exact error message. And post partition tables for your harddrives.
    Here is the error I get when I installed SysLinux.
    Syslinux BIOS install successful
    FAILED to set attribute Legacy BIOS Bootable on /dev/sdb1
    Here is the Toshiba's partition table.
    Disk /dev/sdb: 232.9 GiB, 250059350016 bytes, 488397168 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disklabel type: dos
    Disk identifier: 0x54992bb3
    Device Boot Start End Sectors Size Id Type
    /dev/sdb1 * 63 4000184 4000122 1.9G 83 Linux
    /dev/sdb2 4000185 484391879 480391695 229.1G 83 Linux
    /dev/sdb3 484391880 488397167 4005288 1.9G 83 Linux

  • [SOLVED]Setting up Arch to read CIFS shares but no smb.conf

    I am trying to ACCESS CIFS shares from another computer. Other clients can access these shares without issue. I am NOT trying to host files from Arch.
    Reading I have done: wiki pages on SAMBA and SMBCLIENT.
    Reading the SMBCLIENT wiki page, it apparently states that only the package smbclient should be installed, which I did.
    But, following the SMBCLIENT wiki, it shows to issue:
    #smbclient -L
    #smbclient
    both error saying smb.conf can not be read. BTW, is the -L to just list the shares available from any place?
    Questions:
    1. So, should smb.conf be created to use smbclient? This package evidently does not install smb.conf in any form.
    2. Does the SAMBA package need to be installed to use smbclient? Samba does install a smb.conf.something.
    Any tips you have so I can read CIFS shares will be appreciated.
    Thanks
    steve.
    Last edited by stevepa (2012-11-30 03:22:49)

    Reporting my results at resolving my issues
    1. installing smbclient provides the described ftp-like environment while accessing CIFS shares. It works fine. I used
    $smbclient //OMV/steve -Usteve%omv
    to access my share on the OMV server. I could list, get and put files. I still get the message about no smb.conf file but it works.
    2. Installing gvfs-smb package allowed Thunar to display the shares. In my case, I do a Ctrl-L and then smb://OMV/steve and I can display the shared content perfectly! Click to remember password or it apparently does not work.
    Hope this helps someone.
    Steve.

  • [SOLVED] Recommendations needed - Arch + Apache for local development

    Hello,
    I'm a new Arch user, and relatively new with Linux. I'm getting to like Arch very much.
    I do web development, and I do most of my programming in PERL.
    I have already installed perl and some tools, and I'm about to install apache. The Idea is to have the apache server just for local development and testing.
    So the question is: Do you recommend me to install some firewall?
    What security measurements should I take?
    Is there any easy way to enable and disable Internet access to the apache server?
    Thank you!
    Last edited by iopo (2009-10-28 19:24:14)

    Thank you friends.
    Yes, my Internet is via router. I like the Idea to set the server to listen at local address, I will try that.
    Now, as I'm new to Linux and Arch, I will like to know if I should take any extra security measurements. In windows I used anti-virus + firewall all the time, and I blocked apache to access the Internet with the firewall.
    I have set a strong root password, but the "normal user" has sudo. Is that secure enough?
    Is there any "must have" security tools or measurements to set is a box like mine (Desktop usage + local network (3 machines) + apache for local usage and testing only)?
    Is it common to get some malware, worm, trojan, spyware or some kind of phishing just by surfing the web without user "action" to install it?
    I know Linux is much safer because users and permissions. I like that very much, It feels a lot safer.
    Now, I have used Arch for a week or so with no firewall (router firewall is disabled also) and no anti-virus. Absolutely no special security measurements and there seems to be no log-in attempts in logfiles .. and no problems at all. Windows without firewall and anti-virus will die in a few hours just by leaving it connected to Internet....
    I just wanted to ask you all (Arch users) if you normally use Firewall, and if you take some special measurement to stay free of  trojans, spyware, etc...
    I will appreciate your comments.
    Thank you!

  • [SOLVED] Network Manager & Arch Way

    Hi All
            I am a noob Arch user. I installed Arch with Gnome 3 recently. I used to manually connect to WiFi for the first few days (just for fun) and then I decided to go with the netfcg+newlan way. I found it to be really slow. I then decided to take the information on Arch Wiki (that says network manager is faster) and installed network manager + nm-applet. I had no issues with WiFi configuration. Everything works for me. But I don't know what network manager is doing. I can know that if I want to. But why use a tool that hides things from me. Philosophically speaking, isn't network manager against the true Arch way? What do experienced Arch users think of this?
    V
    Last edited by skmarch (2011-06-23 04:54:47)

    I did install it and it has been "bothering" me that I don't know whats behind this GUI. I simply clicked a few buttons and the network connected. Thats awesome. But I left ubuntu for the same reason: I don't know whats going on. I don't want to be dumbed down. On the other hand, I really did not like the netcfg way. It is slow. And since this is my laptop which I sometimes take to school, I want the ability to connect to different networks (with different security types, especially WPA). So netcfg with net-profiles seems like a good option (or network manager). There was no comment on the wiki about the speed of Wicd: https://wiki.archlinux.org/index.php/Wi … nt_methods
    According to https://bbs.archlinux.org/viewtopic.php?id=117754 Wicd is better. But once again no comment on the speed. I want internet as soon as the laptop boots. Network manager does that. But to me, as a purist, its not in the Arch way. I want something with more control and more configurability.
    So once again: Is Wicd faster than network manager?
    Last edited by skmarch (2011-06-22 22:44:01)

  • [solved[KERNEL PANIC ARCH-3.4.4-2] can not boot Arch from liveCD (x64)

    i have somes problems with several apps and want to fresh installed Arch.
    my current file system:
    i use: gpt, lvm2, luks, grub2.
    /dev/sda1: bios partition
    /dev/sda2: boot partition
    /dev/sda3: lvm partition (var, usr, usr-local,....home...)
    i keep partition structure (cause i want to keep home directory without damage, it's contain my data).
    but when i try to boot from livecd to reinstall Arch, this proccess can't be done.
    this is output:
    mounting: /bootmnt/arch/any/repo-core-any-sys/....
    mounting: /bootmnt/arch/x64/.....
    I/O error on device sr0, logical block
    buffer I/O error on device sr0, logical block
    SQUASHFS error: .....
    end_request: I/O error, device sr0, sector ....
    kernel panic_not syncing: attempted to kill init !
    pid: 1 comm: init Not tainted 3.0 - ARCH #1
    call trace:
    [<fffffffffffffffff812ae6al] panic+0xa0/0x1ad
    [<fffffffffffffffff...............] do_exit ...
    [.....................................] do_group_exit ...
    [.....................................] get_signal_to_diver....
    and caps lock  & scroll lock blink.
    any ideas?
    thanks for reply !
    EDIT: i tested /dev/sr0 and the result:
    sudo mount /dev/sr0 /mnt
    mount: /dev/sr0 is write-protected, mounting read-only.
    Last edited by angelfalls (2012-07-13 17:09:56)

    Yeah that's what I meant. Try to burn a new cd at a slower speed. When the new one is done create a hashsum of the new burn and compare it to the iso you used to burn it with. I only say this because a few times in the past when I had sr0 errors while booting live cds it was because the disk was messed up and I had to burn it again.

Maybe you are looking for

  • How do I edit photos on my pdf? it only lets me edit the text

    how do I edit photos on my pdf? it only lets me edit the text

  • Exported PDF Shows Images in Adobe Reader X, but Not in Acrobat 9

    I have a user who created and exported a pdf from InDesign. Now when they open it in Acrobat 9 it doesn't display all the images that were added. The Windows XP document preview pane displays the document correctly and if it's opened in Reader X it d

  • Color Labels in Photoshop

    Does anyone know if there is a way to change color labels WITHIN photoshop? i do NOT mean labelling a layer or group. I mean labelling a FILE within psd that can be read in Bridge/Lightroom. I know I can tag them there, but I would like to be able to

  • Can't see Planning Application

    I am new to Hyperion Planning, but I was able to successfully install and configure each of the components listed below. When I launch workspace and click on navigate, I do not see a Planning App. When I look in Administrative Services, I only see th

  • Output for schedule lines

    hi we have defined an output type ZDSS and for perticular po we are getting the below error. Diagnosis An unprocessed output exists (output type ZDSS), that has been deactivated. System Response Output type ZDSS will no longer be determined. please h