Installing Arch on a RAID (for dummies)

Playing with RAID's is fun for all the family, and makes things go faster.
this is how I (re)installed Arch Linux, in a simple RAID configuration.
Ingredients
===========
1. Two 160GB drives
2. Arch Linux CD (Dont Panic)
Planning
========
1. root partition on a RAID 1 setup (mirroring)
2. home partition on a RAID 0 setup (striping)
3. swap partition on a RAID 0 setup (striping)
in this kinda setup, one disk can fry, but the system will still boot and function normally.
home will be lost for ever, but I always back it up anyway (and so should you).
*Important* - make sure your two IDE drives are not connected to the same cable, setup one as a primary master and the second as a secondary master.
The works
=========
1. Boot the machine using the setup CD.
2. Using cfdisk, partition the two drives exactly the same:
   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1        4863    39062016   83  Linux
/dev/sda2            4864       17021    97659135   83  Linux
/dev/sda3           17022       17083      498015   82  Linux swap / Solaris
I chose 40GB for root, 100GB for home (results in 200GB), and 1GB for swap.
Do exactly the same on the second drive /dev/sdb
3. create the RAIDs using mdadm:
modprob raid1
modprob raid0
mdadm --create /dev/md0 --level=1 --raid-devices=2 /dev/sda1 /dev/sdb1
mdadm --create /dev/md1 --level=0 --raid-devices=2 /dev/sda2 /dev/sdb2
mdadm --create /dev/md2 --level=0 --raid-devices=2 /dev/sda3 /dev/sdb3
4. create filesystems on the partitions:
mkfs.xfs /dev/md0
mkfs.xfs /dev/md1
mkswap /dev/md2
5. mount the root partition on /mnt
mount /dev/md0 /mnt
6. start the setup program
/arch/setup
7. select all base packages
8. install packages
9. configure:
choose configure system and then, edit mkinitcpio.conf modules section:
MODULES="ata_generic ata_piix raid1 raid0 xfs"
In this line, I only added "raid1 raid0 xfs" to the modules.
then, edit mkinitcpio.conf hooks section, and add the RAID stuff after that:
HOOKS="base udev raid autodetect pata scsi sata usbinput keymap filesystems"
md=0,/dev/sda1,/dev/sdb1
md=1,/dev/sda2,/dev/sdb2
md=2,/dev/sda3,/dev/sdb3
In the hooks line, I have added the raid hook before autodetect
10. install the kernel
choose install kernel from the menu.
11. Install grub
choose install bootloader then grub
edit the grub entry to:
# (0) Arch Linux
title  Arch Linux  [/boot/vmlinuz26]
root   (hd0,0)
kernel /boot/vmlinuz26 root=/dev/md0 ro md=0,/dev/sda1,/dev/sdb1
initrd /boot/kernel26.img
install grub to /dev/sda
when prompted about root partition choose /dev/sda1
when prompted about RAID stuff choose no
do exactly the same on /dev/sdb
12. exit the setup program
13. fix mdadm.conf
mdadm -D --scan >>/mnt/etc/mdadm.conf
14. fix fstab
add this to /mnt/etc/fstab:
/dev/md0                /       xfs     defaults                0       0
/dev/md1                /home   xfs     defaults                0       0
/dev/md2                swap    swap    defaults                0       0
15. reboot and install the rest of the system
16. make sure all is well:
cat /proc/mdstat
Personalities : [raid1] [raid0] [linear] [multipath] [raid6] [raid5] [raid4] [raid10]
md2 : active raid0 sda3[0] sdb3[1]
      995840 blocks 64k chunks
md1 : active raid0 sda2[0] sdb2[1]
      195318016 blocks 64k chunks
md0 : active raid1 sdb1[1] sda1[0]
      39061952 blocks [2/2] [UU]
mount
/dev/md0 on / type xfs (rw)
/dev/md1 on /home type xfs (rw)
make sure swap is on:
cat /proc/swaps
Filename                                Type            Size    Used    Priority
/dev/md2                                partition       995832  0       -1
17. If things go wrong, you can reassemble the RAIDs after booting from the setup CD, dont recreate them:
mdadm --reassemble /dev/md0 /dev/sda1 /dev/sdb1
for more reading, consult the WIKI: http://wiki.archlinux.org/index.php/Ins … AID_or_LVM
Last edited by daf666 (2008-03-08 20:36:42)

Sorry for the late reply clickit, I guess you might have fixed it already.
There is a mistake in the guide, I will correct it now, the types in these lines should be --level=0
mdadm --create /dev/md1 --level=1 --raid-devices=2 /dev/sda2 /dev/sdb2
mdadm --create /dev/md2 --level=1 --raid-devices=2 /dev/sda3 /dev/sdb3
Very sorry about that, but that does not cause your problem, because it would have created a mirror RAID instaed of a stripe.
Your BIOS has nothing to do with the Linux software RAID, the RAID settings you see in BIOS are probably to enable the on-board RAID controller you have.
The grub part is tricky, you have to make sure whats in the configuration file is according to the setup that you have (not just copy from the guide).
Also keep in mind that if you have SATA, things might look different and the setup might need to be different.
PS - regarding swap, since I wrote the guide I removed the swap space and instead I use a swap file on the RAID0.. I guess it the same because my system  rarely uses swap anyway
Last edited by daf666 (2007-10-17 21:31:59)

Similar Messages

  • [SOLVED] Problems installing on Intel Matrix Raid / FAKE RAID

    Using Intel Rapid Storage Technology - Option ROM - 11.0.0.1339
    I've created a:
    RAID0(Stripe) Strip 32KB Size 214.3GB Status Normal Bootable Yes
    Volume which I want to install Arch on.
    I've gone through this all the way to a successful install using Fedora (if that is of any help whatsoever)?
    So, with Arch, I have read and tried:
    https://wiki.archlinux.org/index.php/In … e_RAID_set
    As soon as I do a UEFI or BIOS install of Arch and run lsblk I get:
    sda-
    md126
    sdb-
    md126
    (and using gdisk can create ef00 200M partition and root such as: md126p1 md126p2)
    Once I follow https://wiki.archlinux.org/index.php/In … e_RAID_set, and, do:
    # modprobe dm_mod
    # dmraid -ay
    [  39.383447] device-mapper: table: 254:1 striped: Couldn't parse stripe destination
    RAID set "isw_dejgjdecda_SSD" was not activated
    ERROR: device "isw_dejgjdecda_SSD" could not be found
    I am hoping I may end my story here and someone will reply something along the lines of "well, that's because....", and I can continue on my determined attempt to install Arch on this RAID Volume.
    However, obviously, I have not just given up at this point, so, some more info just in case it helps:
    I can access /dev/md126 in gdisk and use gdisk fully
    I can mount/pacstrap/genfstab/chroot/
    Then - problems arise - I cannot seem to get the install to boot after having tried either UEFI or BIOS boot using Syslinux, Gummiboot & Grub - always used GPT for the Array by the way.
    Any ideas?  Is there a module to load?  I'm still a newbie guys, so, apologies for any glaring mistakes....
    Thank you all very much for any help with this.
    Frazer.
    Last edited by frazer (2014-07-10 11:20:04)

    Replying per your email request.  I have hardly zero experience with fakeraid.  I ran one for a few weeks but then discovered zfs and never looked back.  Sorry dude.

  • Cannot install Arch on raid0 (kernel panics)

    I followed the Howto in the wiki to install Arch on a Raid 0 array, but when trying to boot I keep getting errors that boil down to "no filesystem could mount root" followed by a kernel panic.
    I modified the howto to my needs:
    - created a Raid 0 array using mdadm from logical partitions /dev/sda7 and /dev/sdb7. /dev/sda6 will be /boot and /dev/sdb6 will be swap (both not in raid, of course)
    - Put filesystems in place (tried Reiserfs and ext3 for the array; ext2 for /boot seems to be fine as the boot does initialize)
    - mounting of array to /mnt
    - Edit configfiles. Mkinitcpio is the important one, I feel:
    # vim:set ft=sh
    # MODULES
    # The following modules are loaded before any boot hooks are
    # run. Advanced users may wish to specify all system modules
    # in this array. For instance:
    # MODULES="piix ide_disk reiserfs"
    MODULES="pata_jmicron ata_generic ahci ata_piix sata_sil24 raid0"
    # BINARIES
    # This setting includes, into the CPIO image, and additional
    # binaries a given user may wish. This is run first, so may
    # be used to override the actual binaries used in a given hook.
    # (Existing files are NOT overwritten is already added)
    # BINARIES are dependancy parsed, so you may safely ignore libraries
    BINARIES=""
    # FILES
    # This setting is similar to BINARIES above, however, files are added
    # as-is and are not parsed in anyway. This is useful for config files.
    # Some users may wish to include modprobe.conf for custom module options,
    # like so:
    # FILES="/etc/modprobe.conf"
    FILES=""
    # HOOKS
    # This is the most important setting in this file. The HOOKS control the
    # modules and scripts added to the image, and what happens at boot time.
    # Order is important, and it is recommended that you do not change the
    # order in which HOOKS are added. Run 'mkinitcpio -H <hook name>' for
    # help on a given hook.
    # 'base' is _required_ unless you know precisely what you are doing.
    # 'udev' is _required_ in order to automatically load modules
    # 'modload' may be used in place of 'udev', but is not recommended
    # 'filesystems' is _required_ unless you specify your fs modules in MODULES
    # Examples:
    # This setup specifies all modules in the MODULES setting above.
    # No raid, lvm2, or encrypted root is needed.
    # HOOKS="base"
    # This setup will autodetect all modules for your system and should
    # work as a sane default
    # HOOKS="base udev autodetect ide scsi sata filesystems"
    # This setup will generate a 'full' image which supports most systems.
    # No autodetection is done.
    # HOOKS="base udev ide scsi sata usb filesystems"
    # This setup assembles an ide raid array with an encrypted root FS.
    # Note: See 'mkinitcpio -H raid' for more information on raid devices.
    # HOOKS="base udev ide raid encrypt filesystems"
    # This setup loads an lvm2 volume group on a usb device.
    # HOOKS="base udev usb lvm2 filesystems"
    HOOKS="base udev autodetect pata scsi sata raid usbinput keymap filesystems"
    md=0,/dev/sda7,/dev/sdb7
    I also tried adding reisferfs to 'modules' and using rootfstype=reiserfs as a kernel parameters.
    - Install kernel
    - Chrooting into the basesystem and run mdadm -D -scan >> /etc/mdadm.conf
    - Editing menu.lst of an existing installation (Ubuntu, in which incidentally raid0 runs fine)
    title Arch Linux
    root (hd0,5)
    kernel /vmlinuz26 root=/dev/md0 ro md=0,/dev/sda7,/dev/sdb7
    What am I doing wrong? I know there's something about creating nodes, but I cannot find any useful information on it. Also, perhaps I am simply missing a module?
    Last edited by crakie (2007-06-05 17:31:09)

    Still no dice I cannot find anything out of order.
    lshdw:
    00:00.0 Host bridge: Intel Corporation|Memory Controller Hub (unknown)
    00:01.0 PCI bridge: Intel Corporation|PCI Express Root Port (unknown)
    00:1a.0 USB Controller: Intel Corporation|USB UHCI Controller #4 (unknown)
    00:1a.1 USB Controller: Intel Corporation|USB UHCI Controller #5 (unknown)
    00:1a.7 USB Controller: Intel Corporation|USB2 EHCI Controller #2 (unknown)
    00:1b.0 Audio device: Intel Corp.|ICH8 HD Audio DID (snd-hda-intel)
    00:1c.0 PCI bridge: Intel Corporation|PCI Express Port 1 (unknown)
    00:1c.2 PCI bridge: Intel Corporation|PCI Express Port 3 (unknown)
    00:1c.3 PCI bridge: Intel Corporation|PCI Express Port 4 (unknown)
    00:1c.4 PCI bridge: Intel Corporation|PCI Express Port 5 (unknown)
    00:1c.5 PCI bridge: Intel Corporation|PCI Express Port 6 (unknown)
    00:1d.0 USB Controller: Intel Corporation|USB UHCI Controller #1 (unknown)
    00:1d.1 USB Controller: Intel Corporation|USB UHCI Controller #2 (unknown)
    00:1d.2 USB Controller: Intel Corporation|USB UHCI Controller #3 (unknown)
    00:1d.7 USB Controller: Intel Corporation|USB2 EHCI Controller #1 (unknown)
    00:1e.0 PCI bridge: Intel Corp.|82820 815e (Camino 2) Chipset PCI (hw_random)
    00:1f.0 ISA bridge: Intel Corporation|LPC Interface Controller (unknown)
    00:1f.2 IDE interface: Intel Corporation|SATA Controller 1 cc=IDE (ata_piix)
    00:1f.3 SMBus: Intel Corporation|SMBus Controller (i2c-i801)
    00:1f.5 IDE interface: Intel Corporation|SATA Controller 2 cc=IDE (ata_piix)
    01:00.0 VGA compatible controller: nVidia Corp.|GeForce 7600 GT (vesa)
    03:00.0 Ethernet controller: Realtek Semiconductor|RTL-8168 PCI-E Gigabit Ethernet (r8169)
    04:00.0 Mass storage controller: Silicon Image Inc.|SiI 3132 PCI-X Serial ATA Controller (sata_sil24)
    05:00.0 Ethernet controller: Realtek Semiconductor|RTL-8168 PCI-E Gigabit Ethernet (r8169)
    06:00.0 SATA controller: JMicron Technologies, Inc.|JMicron 20360/20363 AHCI Controller (ahci)
    06:00.1 IDE interface: JMicron Technologies, Inc.|JMicron 20360/20363 AHCI Controller (ahci)
    07:02.0 FireWire (IEEE 1394): Texas Instruments|TSB43AB22 IEEE1394a-2000 OHCI PHY/Link-Layer Ctrlr (ohci1394)
    07:05.0 Multimedia video controller: Conexant Inc.|iTVC15 MPEG Coder (ivtv)
    005:001 USB Hub: Virtual|Hub (hub)
    005:002 USB Human Interface Devices: USB Gaming Mouse [/dev/input/mice] (usbhid)
    002:001 USB Hub: Virtual|Hub (hub)
    007:001 USB Hub: Virtual|Hub (hub)
    006:001 USB Hub: Virtual|Hub (hub)
    001:001 USB Hub: Virtual|Hub (hub)
    004:001 USB Hub: Virtual|Hub (hub)
    003:001 USB Hub: Virtual|Hub (hub)
    ---:--- Mouse: PS/2 Mouse port [/dev/psaux] (msintellips/2)

  • Install Arch with PXE?

    Hello,
    I'm trying to install Arch with PXE, and for this I'm using two VM in VirtualBox. I've followed all steps in the Wiki, also I tried to use a script ( https://wiki.archlinux.org/index.php/Ar … pxe_server ).
    Following the main PXE wiki article, when I mount the archlinux-boot image, I can't find isolinux subfolder in order to copy contents into /var/tftpd/ folder. Article seems to be out of date.
    ¿Any idea? I've dhcpd server running and I executed mkpxelinux -c=/etc/mkpxelinux.conf command, but I don't know what I need to do right now.
    Thanks for all.

    Hi
    nbd in 2010.05 images is old
    nbd in your system is new
    archiso-pxe-server script try to keep compatible with old (untested) and new nbd.
    Try this on ramfs prompt:
    nbd-client the-server-ip -N archiso /dev/nbd0 -presist
    mount -r -t udf /dev/nbd0 /bootmnt
    logout
    Download a recent update archiso-pxe-server-20101012 (just now)
    If does not work, try to build your archiso up-to-date using my branch that have the fix[#1].  See here how http://wiki.archlinux.org/index.php/Use … lean_build
    [#1] http://github.com/djgera/archiso/commit … 9bc219ee30
    Good Luck.
    Last edited by djgera (2010-10-12 04:50:33)

  • Install Arch with dual graphics laptop

    Hey everybody,
    So a few months ago I bought a new laptop, and ASUS X750JN. After I have my new laptop on my hands the first thing was install Arch Linux, but I came across an problem with graphics, probably a bad configuration and because I needed the computer for the university, I keep Windows for a while. Now that I have some time, I want to return to my beloved Arch but I have a serious question, the computer has 2 graphics cards, on-board Intel and an Nvidia and my question is, how can I install Arch and use Nvidia for some games like ETS, CS:GO and Guns of Icarus? When I tried installing before, the VGA was the Intel and not the Nvidia.
    I know that Hybrid Graphics aren't full supported in Linux, but is there a way to use Arch with the Nvidia, even if only uses Nvidia.
    Thanks in advance,
    Have a nice Christmas and a Happy 2015,
    Hugo Rodrigues.
    Last edited by Hugao (2014-12-24 13:47:26)

    Hey,
    Sorry for the time but I'm was busy and only today I have the change to install Arch.
    mrunion wrote:
    Have you looked in our Wiki? We have these for starters:
    https://wiki.archlinux.org/index.php/Bumblebee
    https://wiki.archlinux.org/index.php/Optimus
    When I was research I look it up on the second link but not on the first one.
    So, like I said above, today I have installed Arch with Bumblebee and so far so good, but I just have a question, how I run games using optirun throw Steam?
    Issa wrote:
    Hey Huago, I'm not sure if will help you as I don't know too much about your configuration, but I'm also experiencing some issues while configuring arch on my lenovo T420s. I have so far succeeded in starting a simple x session after installing the drivers for intel and nvidia (xf86-video-intel xf86-video-nouveau) (see my thread here but my current problem is, that I can't start gdm
    I'll work on this and opened a new thread here - maybe we can assist each other until everything is up and running.
    update: I got it - maybe it works for you too? (very short description of what i did):
    install drivers for integrated and discrete graphics card
    launch gdm as root
    I have an Asus X750JN and I just install the integrated and discrete graphics and enabled gdm service.

  • Installing Arch on a Intel P55 raid

    Hello, i would like to install Arch on a stripped raid made with the Intel P55 chipset, while it works without problems on Windows, it seems i'll have to do some work to make it work on Arch.
    I didn't found anything about installing the system on intel's raid in the begginer's guide, and from what i've found, i will need dmraid to install ArchLinux on the raid but it seems dmraid isn't  included in Arch's linux iso
    "Warning: Command "dmraid -ay" could fail after boot to Arch linux Release: 2011.08.19 as image file with initial ramdisk environment does not support dmraid. You could use an older Release: 2010.05. Note that you must correct your kernel name and initrd name in grubs menu.lst after installing as these releases use different naming"
    from the wiki
    Means i have to use an "outdated" Archlinux to install it on a raid, and upgrade afterward if i'm correct. Isn't there a way for me to create an iso that include rmdisk ?
    Can i, from way or an other, use the latest ArchLinux iso, and put the rmdisk in a usbkey, and use it from there for ArchLinux install ?
    Is the intel P55 chipset supported at all ?
    Note that this raid doesn't contain Windows system, only data, and can be formated entierly if required without problems.
    Thanks for your time.
    Best regards, Magissia

    Magissia wrote: Isn't there a way for me to create an iso that include rmdisk ?
    Can i, from way or an other, use the latest ArchLinux iso, and put the rmdisk in a usbkey, and use it from there for ArchLinux install ?
    Create an ISO:
    https://wiki.archlinux.org/index.php/Archiso (you can add the packages you need, such as "rmdisk", build the archiso, and boot it)
    https://wiki.archlinux.org/index.php/Archboot i think this one is similar (I did not try yet)
    Install on USB:
    https://wiki.archlinux.org/index.php/Usb_install
    An arch-installation can be done with all 3 ways I mentioned. (you can even grab an existing arch, copy the files over, chroot, configure, and boot)
    Good luck.

  • How can I install Arch Linux on a software raid?

    Hi Guys, I've been at this for 3 days now and I can't get it to work. Basically I have 2 500GB SATA HDDs and I want them both on a raid1 array. I had it working on Ubuntu with no issues but the installer did all the work for me. I have attempted to follow the instructions on the wiki for Raid and LVM but I quickly get lost and I don't understand the LVM stuff. I managed to get 2 arrays up (md0 for /boot and md1 for /) but I was contently running into errors trying to install grub. In my last attempt I somehow managed to get grub installed on /dev/sda and /dev/sdb but then when I reboot the system it fails to mount /dev/md0 or /dev/md1 these raid devices don't appear in the /dev/ directory and I cannot bring them up manually. I have been all over Google and I can't find a comprehensive guide to setting up a raid 1 array and installing Arch. If anyone can direct me to useful instructions or layout the procedure for me I would really appreciate it.
    Thank You.

    This is genius, sheer brilliance. When I wanted to raid my Ubuntu install I specifically wanted to install a new HDD and just raid it with my existing disk but I had to download and alternate install CD and re-install the OS. I searched all over the net for an alternative and could not find anything. It's baffling that I had to start a thread to find such an insanely useful utility. Unless I'm taking the wrong approach. I mean, doesn't everybody raid if they can? Is there a better way to backup your disk? Why is it so difficult to find any useful information about raiding your disks? ... but I digress. Despite the fact that nobody else seems to know about this tool I know about it now and it seems to be the key to solving my problem. But I still have one problem. I have installed Arch on /dev/sda1. I downloaded (with wget), compiled, installed, and ran raider. I followed the on-screen instructions to the letter. When I swapped the disks and rebooted. I get pass the grub screen and get this error during boot.
    Waiting 10 seconds for device /dev/md1 ...
    Root device '/dev/md1' doesn't exist. attempting to creat it.
    ERROR: Unable to determine major/minor number of root device '/dev/md1'.
    You are being dropped to a recovery shell.
    Type 'exit' to try and continue booting
    /bin/sh: can't access tty; job control turned off
    [ramfs /]#
    I cannot type anything at this prompt. No response from the keyboard. I'm so close to getting this to finally work. Dose anyone know what might be going wrong.
    Thank you guys for all your help.

  • Clarification: Installing ARCH to RAID setup in BIOS

    So I've been looking in to setting up ARCH on my laptop that has a RAID that's set up in the BIOS. I've been researching on the wiki as well as on the internet but it's only partially answered my question:
    With a BIOS enabled RAID do I still need to use tools like MDADM to set up the raid inside of arch, or should arch see its own drive like windows does?
    I'm sure I will have other questions as I delve in to installing on a RAID so I will ask what I have now as well:
    Reading threads about doing this it seems like I will need a third drive something outside of the RAID to store the RAID configuration if I opt to use GRUB, however syslinux supports RAID during boot, does this still hold true and if so what do I need to do while installing syslinux to have it know that there's a RAID there and configure correctly?
    Any other tips on this topic are very welcome.

    So, is rEFIT able to boot GRUB but GRUB is not able to find Arch? Or is rEFIT not able to find GRUB?
    For what it's worth, I recently installed Arch on my Macbook 5,1. I also used rEFIT (installed using OS X). My drive partitioning was
    /dev/sda1: EFI/OS X boot partition
    /dev/sda2: OS X
    /dev/sda3: Linux Swap
    /dev/sda4: Arch
    As you mentioned, the new Arch installer doesn't give you the option of selecting primary partitions to install GRUB (the old installer did). So, when I reached the last stage of the installer (installation of the bootloader), I exited the installer, launched GRUB in interactive mode, and installed GRUB to my 4th partition (where /boot is). (It sounds like you did something similar.) When I rebooted rEFIT discovered that my 4th partition was bootable and displayed a Tux logo. Clicking on the Tux logo launched grub. From there I am able to launch Arch.
    Some thoughts:
    1. Did you make sure your partition tables are synced? I didn't need to do this, but I've heard of other needing to do this.
    2. Did you make sure that the grub was configured properly; e.g. you've specified the correct path to the kernel, etc.
    3. Did you try prayer and/or other forms of divinity?

  • Installing SAP NW 7.01 ABAP Trial Version for dummies

    Hello sappers...
    Sorry if you thought this was a guide for dummies, though it could turn out to be if I get some help - I'm the dummy!
    Not wanting to be left out, I too have had a host of issues trying to install this, over several days now... it feels like bashing your head against a brickwall.  After staying up till 4am last night, then wiping my laptop and reinstalling Windows AGAIN to start from scratch this morning, and encountering the cranio-mural interface again, I feel like a crash test dummy!
    I am installing on a new installation of Windows Vista Home Basic, I have a gig of RAM and plenty of hard drive space.
    Forgive me if this is an ignorant question, but do I need to install the Loopback adaptor if I'm connected to the internet?  If it's to generate an IP address, surely my computer has one.  Note networking is not my strong point (though I'm an ok programmer - one project manager even gave me 4 out of 10!) - please be kind!  Anyway, I have tried with and without this on my various attempts.
    ANYWAY.... the sorry saga goes like this...
    I seem to be able to install Max DB OR SAP NW 7.01 ABAP Trial Version u2013> NSP, but not both at the same time - I may have done once, and it seemed to work once, I even managed to sign on - then it wouldnt work in the morning - but then that was on Windows XP Pro on my wife's laptop which only has 500 meg of RAM.
    My last attempt was fairly typical - Max DB is showing up in the program menu, but SAP NW 7.01 ABAP Trial Version u2013> NSP is not.
    However, I seem to have managed to start the NSP server ok, using SAP Management console, thanks to a handy tip on this forum about using your Windows OS password when it prompts for credentials.
    When I try to sign on I get 'partner 127.0.0.1:sapdp00 not reached WSAECONNREFUSED: Connection refused - error number 10061, return code -10, system call connect.
    That's one of my better attempts.
    Last night having deleted all the installed files from my C drive, uninstalled everything, tinkered with the registry to remove all relevant entries, I managed to run an installation that skipped out installing MaxDB (it was super quick!), yet did install the SAP NW 7.01 ABAP Trial Version u2013> NSP bits in my program menu - imagine my excitement at being able to start and stop the server, yet with no database it produced red windows on my screen saying 'sorry, you screwed up AGAIN' (or words to that effect).  Trying to sign on produced equally disheartening error messages...
    Am going to give it another try after taking a break, next time WITH loop back adaptor installed...
    Please pardon lack of relevant detail, I didnt note everything I did on every attempt - substituting humour for detail is all that's saving my sanity at this stage...
    Anyone that can help me achieve this will be my friend for ever... I'm a contractor bitten by the recession trying to learn some news skills.... the first one being how to install Netweaver at home...!
    Log text gives
    (Mar 4, 2009 12:50:08 PM), Install, com.sap.installshield.CheckServicesAction, err, CheckServicesAction(bean17): Expected service (SAPNSP_00) is not currently running
    (Mar 4, 2009 12:50:08 PM), Install, com.sap.installshield.CheckServicesAction, wrn, CheckServicesAction(bean17): Service SAPNSP_00 is not available, retry after 10 s.
    (Mar 4, 2009 12:50:18 PM), Install, com.sap.installshield.CheckServicesAction, err, CheckServicesAction(bean17): Expected service (SAPNSP_00) is not currently running
    (Mar 4, 2009 12:50:18 PM), Install, com.sap.installshield.CheckServicesAction, wrn, CheckServicesAction(bean17): Service SAPNSP_00 is not available, retry after 10 s.
    (Mar 4, 2009 12:50:28 PM), Install, com.sap.installshield.CheckServicesAction, err, CheckServicesAction(bean17): Expected service (SAPNSP_00) is not currently running
    (Mar 4, 2009 12:50:28 PM), Install, com.sap.installshield.CheckServicesAction, wrn, CheckServicesAction(bean17): Service SAPNSP_00 is not available, retry after 10 s.
    (Mar 4, 2009 12:50:38 PM), Install, com.sap.installshield.CheckServicesAction, err, CheckServicesAction(bean17): Expected service (SAPNSP_00) is not currently running
    (Mar 4, 2009 12:50:38 PM), Install, com.sap.installshield.CheckServicesAction, wrn, CheckServicesAction(bean17): Service SAPNSP_00 is not available, retry after 10 s.
    (Mar 4, 2009 12:50:48 PM), Install, com.sap.installshield.CheckServicesAction, err, CheckServicesAction(bean17): Expected service (SAPNSP_00) is not currently running
    (Mar 4, 2009 12:50:48 PM), Install, com.sap.installshield.CheckServicesAction, wrn, CheckServicesAction(bean17): Service SAPNSP_00 is not available, retry after 10 s.
    (Mar 4, 2009 12:50:58 PM), Install, com.sap.installshield.CheckServicesAction, err, CheckServicesAction(bean17): Expected service (SAPNSP_00) is not currently running
    (Mar 4, 2009 12:50:58 PM), Install, com.sap.installshield.CheckServicesAction, wrn, CheckServicesAction(bean17): Service SAPNSP_00 is not available, retry after 10 s.
    (Mar 4, 2009 12:51:09 PM), Install, com.sap.installshield.CheckServicesAction, err, An error occurred and product installation failed.  Look at the log file C:\SAP\NSP\log.txt for details.
    (Mar 4, 2009 12:51:09 PM), Install, com.sap.installshield.CheckServicesAction, err, ProductException: (error code = 601; message="Services failed to start (see the log for details)")
    STACK_TRACE: 12
    ProductException: (error code = 601; message="Services failed to start (see the log for details)")
         at com.sap.installshield.CheckServicesAction.install(CheckServicesAction.java:95)
         at com.installshield.product.service.product.PureJavaProductServiceImpl.installProductAction(Unknown Source)
         at com.installshield.product.service.product.PureJavaProductServiceImpl$InstallProduct.getResultForProductAction(Unknown Source)
         at com.installshield.product.service.product.InstallableObjectVisitor.visitComponent(Unknown Source)
         at com.installshield.product.service.product.InstallableObjectVisitor.visitInstallableComponents(Unknown Source)
         at com.installshield.product.service.product.InstallableObjectVisitor.visitProductBeans(Unknown Source)
         at com.installshield.product.service.product.PureJavaProductServiceImpl$InstallProduct.install(Unknown Source)
         at com.installshield.product.service.product.PureJavaProductServiceImpl$Installer.execute(Unknown Source)
         at com.installshield.wizard.service.AsynchronousOperation.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    (Mar 4, 2009 12:51:11 PM), Install, com.installshield.product.service.product.PureJavaProductServiceImpl$InstallProduct, err, An error occurred and product uninstallation failed.  Look at the log file C:\SAP\NSP\log.txt for details.
    (Mar 4, 2009 12:51:11 PM), Install, com.sap.installshield.sdcstepswrapper.StepWrapperInstallFiles, err, ProductException: (error code = 200; message="Java error"; exception = [java.lang.Exception])
    STACK_TRACE: 15
    ProductException: (error code = 200; message="Java error"; exception = [java.lang.Exception])
         at com.sap.installshield.sdcstepswrapper.StepWrapperInstallFiles.execute(StepWrapperInstallFiles.java:254)
         at com.sap.installshield.sdcstepswrapper.StepWrapperInstallFiles.executeAllSteps(StepWrapperInstallFiles.java:224)
         at com.sap.installshield.sdcstepswrapper.StepWrapperInstallFiles.executeAllUninstallationSteps(StepWrapperInstallFiles.java:192)
         at com.sap.installshield.sdcstepswrapper.StepWrapperInstallFiles.uninstall(StepWrapperInstallFiles.java:313)
         at com.installshield.product.service.product.PureJavaProductServiceImpl.uninstallProductAction(Unknown Source)
         at com.installshield.product.service.product.PureJavaProductServiceImpl$InstallProduct.processActionsFailed(Unknown Source)
         at com.installshield.product.service.product.InstallableObjectVisitor.visitComponent(Unknown Source)
         at com.installshield.product.service.product.InstallableObjectVisitor.visitInstallableComponents(Unknown Source)
         at com.installshield.product.service.product.InstallableObjectVisitor.visitProductBeans(Unknown Source)
         at com.installshield.product.service.product.PureJavaProductServiceImpl$InstallProduct.install(Unknown Source)
         at com.installshield.product.service.product.PureJavaProductServiceImpl$Installer.execute(Unknown Source)
         at com.installshield.wizard.service.AsynchronousOperation.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)

    ok, this is the log from my latest attempt...
    > Subprocess starts at 20090312182156
    Execute Command : C:\sapdb\programs\pgm\dbmcli.exe -n James-PC inst_enum
    Execute Session Command : exit
    > Subprocess stops at 20090312182159
    OK
    7.7.06.07    C:\sapdb\NSP\db
    > Subprocess starts at 20090312182159
    Execute Command : C:\sapdb\programs\pgm\dbmcli.exe -n James-PC inst_enum
    Execute Session Command : exit
    > Subprocess stops at 20090312182159
    OK
    7.7.06.07    C:\sapdb\NSP\db
    > Subprocess starts at 20090312182205
    Execute Command : C:\sapdb\programs\pgm\dbmcli.exe -n James-PC inst_enum
    Execute Session Command : exit
    > Subprocess stops at 20090312182206
    OK
    7.7.06.07    C:\sapdb\NSP\db
    > Subprocess starts at 20090312182206
    Execute Command : C:\sapdb\programs\pgm\dbmcli.exe -n James-PC inst_enum
    Execute Session Command : exit
    > Subprocess stops at 20090312182206
    OK
    7.7.06.07    C:\sapdb\NSP\db
    > Subprocess starts at 20090312182206
    Execute Command : C:\sapdb\programs\pgm\dbmcli.exe -n James-PC db_enum
    Execute Session Command : exit
    > Subprocess stops at 20090312182209
    OK
    NSP     C:\sapdb\NSP\db                             7.7.06.07     fast     offline
    NSP     C:\sapdb\NSP\db                             7.7.06.07     slow     offline
    > Subprocess starts at 20090312182209
    Execute Command : C:\sapdb\programs\pgm\dbmcli.exe -n James-PC db_enum
    Execute Session Command : exit
    > Subprocess stops at 20090312182209
    OK
    NSP     C:\sapdb\NSP\db                             7.7.06.07     fast     offline
    NSP     C:\sapdb\NSP\db                             7.7.06.07     slow     offline
    > Subprocess starts at 20090312182209
    Execute Command : C:\sapdb\programs\pgm\dbmcli.exe -R C:\sapdb\NSP\db dbm_version
    Execute Session Command : exit
    > Subprocess stops at 20090312182209
    OK
    VERSION    = 7.7.06
    BUILD      = DBMServer 7.7.06   Build 007-123-197-046
    OS         = WIN32
    INSTROOT   = C:\sapdb\NSP\db
    LOGON      = True
    CODE       = UTF8
    SWAP       = full
    UNICODE    = YES
    INSTANCE   = (unknown)
    SYSNAME    = Windows
    MASKING    = YES
    REPLYTREATMENT = none,zlib,auto
    SDBDBM_IPCLOCATION = C:\sapdb\data\wrk
    > Subprocess starts at 20090312182209
    Execute Command : C:\sapdb\programs\pgm\dbmcli.exe -n James-PC inst_enum
    Execute Session Command : exit
    > Subprocess stops at 20090312182210
    OK
    7.7.06.07    C:\sapdb\NSP\db
    > Subprocess starts at 20090312182210
    Execute Command : C:\sapdb\programs\pgm\dbmcli.exe -n James-PC db_enum
    Execute Session Command : exit
    > Subprocess stops at 20090312182210
    OK
    NSP     C:\sapdb\NSP\db                             7.7.06.07     fast     offline
    NSP     C:\sapdb\NSP\db                             7.7.06.07     slow     offline
    > Subprocess starts at 20090312182211
    Execute Command : C:\sapdb\programs\pgm\dbmcli.exe -n James-PC inst_enum
    Execute Session Command : exit
    > Subprocess stops at 20090312182211
    OK
    7.7.06.07    C:\sapdb\NSP\db
    > Subprocess starts at 20090312182211
    Execute Command : C:\sapdb\programs\pgm\dbmcli.exe -n James-PC inst_enum
    Execute Session Command : exit
    > Subprocess stops at 20090312182211
    OK
    7.7.06.07    C:\sapdb\NSP\db
    > Subprocess starts at 20090312182212
    Execute Command : C:\sapdb\programs\pgm\dbmcli.exe -n James-PC -d NSP -u control,******** db_state
    Execute Session Command : exit
    > Subprocess stops at 20090312182213
    OK
    State
    OFFLINE
    > Subprocess starts at 20090312182213
    Execute Command : C:\sapdb\programs\pgm\dbmcli.exe -n James-PC -d NSP -u CONTROL,******** db_state
    Execute Session Command : exit
    > Subprocess stops at 20090312182214
    OK
    State
    OFFLINE
    > Subprocess starts at 20090312182214
    Execute Command : C:\sapdb\programs\pgm\dbmcli.exe -n James-PC -d NSP -u CONTROL,******** db_state
    Execute Session Command : exit
    > Subprocess stops at 20090312182214
    OK
    State
    OFFLINE
    > Subprocess starts at 20090312182214
    Execute Command : C:\sapdb\programs\pgm\dbmcli.exe -n James-PC -d NSP -u CONTROL,******** db_online
    Execute Session Command : exit
    > Subprocess stops at 20090312182228
    > Subprocess call failed
    ERR
    -24988,ERR_SQL: SQL error
    -902,I/O error
    3,Database state: OFFLINE
    Internal errorcode, Error code 9050 "disk_not_accessible"
    20017,RestartFilesystem failed with 'I/O error'
    > Subprocess starts at 20090312182303
    Execute Command : C:\sapdb\programs\pgm\dbmcli.exe -n James-PC -d NSP -u control,******** db_state
    Execute Session Command : exit
    > Subprocess stops at 20090312182304
    OK
    State
    OFFLINE
    > Subprocess starts at 20090312182304
    Execute Command : C:\sapdb\programs\pgm\dbmcli.exe -n James-PC -d NSP -u CONTROL,******** db_state
    Execute Session Command : exit
    > Subprocess stops at 20090312182305
    OK
    State
    OFFLINE
    > Subprocess starts at 20090312182305
    Execute Command : C:\sapdb\programs\pgm\dbmcli.exe -n James-PC -d NSP -u CONTROL,******** db_state
    Execute Session Command : exit
    > Subprocess stops at 20090312182305
    OK
    State
    OFFLINE
    > Subprocess starts at 20090312182306
    Execute Command : C:\sapdb\programs\pgm\dbmcli.exe -n James-PC -d NSP -u CONTROL,******** db_online
    Execute Session Command : exit
    > Subprocess stops at 20090312182316
    > Subprocess call failed
    ERR
    -24988,ERR_SQL: SQL error
    -902,I/O error
    3,Database state: OFFLINE
    Internal errorcode, Error code 9050 "disk_not_accessible"
    20017,RestartFilesystem failed with 'I/O error'

  • How to install Arch for dual-boot with Win 7 (on 2 hard drives)?

    Hello,
    the TLDR first: how exactly should I proceed when setting up GRUB for 2 hard drives to dual-boot Arch (64 bit)and Win 7 (64 bit)?
    Long version: So, I have the following hard drive & partition layout:
    On my first hard drive (250 GB big) I have: Win 7 64 bit, all the programs for Windows and of course the EFI partition
    My second hard drive is 1 TB big and formatted in NTFS and it only contains data. It has 2 partitions, one is about 750 GB big and used for simple storage.
    Sidenote 1: sometimes my disk management (Windows' own gparted) shows either the little disk or the big one as disk 0. Don't know what exactly this means, but I have never ever experienced any problems whatsoever during use.
    Sidenote 2: the UEFI motherboard (ASRock H67M) cannot boot into Legacy mode.
    I want to install Arch on a ~200 GB partition on the second hard drive (the one with 1 TB). (click here if you want to see a screenshot) I am posting this because I am confused with how exactly I should deal with the whole "2 hdds & UEFI" thing.
    So how exactly should I proceed when setting up GRUB for this setup?
    For partitioning I suppose I would have to use fdisk or cgdisk. I used cgdisk before and found it to be straightforward. Then, because I have experienced my fair share of problems with rEFInd, I'd like to use GRUB.
    Last edited by jones (2013-06-29 14:36:56)

    First thing you should do is become familiar with your motherboard.
    http://www.asrock.com/mb/manual.asp?Model=H67M
    This will probably help you out in understanding the sidenote 1 thingie (hdd's on sata3 and/or sata2 connectors)
    As on sidenote 2, according to the manual it seems to be possible to boot legacy mode,  see Storage Configuration.

  • How to install Outlook (for dummies)

    Can anyone talk me through or send me step by step directions for installing Outlook as my default PIM on my Treo 680? Remember it's for "dummies".
    Post relates to: Treo 680 (AT&T)
    This question was solved.
    View Solution.

    Hello and thank you for using the Palm Help Forums!
    If you are running an updated version of Palm Desktop, you'll have an option to switch between syncing to Palm Desktop and Microsoft Outlook. To do this, on your PC go to Start > Programs > Palm > PIM Conduit Sync > Sync to Outlook.
    If your computer does not have this option I would download and install the newest version of Palm Desktop avialable from our website at: http://www.palm.com/us/support/palmdesktop.html
    I hope this helps and let me know if you have any further questions or concerns.
    Post relates to: Treo 800w (Sprint)

  • HOWTO: Install Arch for Newbies

    Hello,
    Yesterday was my fist installation of Arch and i've found that the informations are not very well combined for a newbie/new to arch, am not newbie to linux but am new to arch so i've spend quite time to figure out some things or to know some links, due to this fact i've decided to write an easy guide that combine the whole installation from Downloading Till getting an up & running Arch with Gnome
    the HOWTO can be found here please i need your opinions/corrections so we can make it as easy as installing ubuntu for newbies

    Try my gdm.conf, it's an unchanged one, and normally it would work
    # GDM Configuration file. You can use gdmsetup program to graphically
    # edit this, or you can optionally just edit this file by hand. Note that
    # gdmsetup does not tweak every option here, just the ones most users
    # would care about. Rest is for special setups and distro specific
    # tweaks. If you edit this file, you should send the HUP or USR1 signal to
    # the daemon so that it restarts: (Assuming you have not changed PidFile)
    # kill -USR1 `cat /var/run/gdm.pid`
    # (HUP will make gdm restart immediately while USR1 will make gdm not kill
    # existing sessions and will only restart gdm after all users log out)
    # You can also use the gdm-restart and gdm-safe-restart scripts which just
    # do the above for you.
    # For full reference documentation see the gnome help browser under
    # GNOME|System category. You can also find the docs in HTML form on
    # http://www.gnome.org/projects/gdm/
    # NOTE: Some of these are commented out but still show their default values.
    # If you wish to change them you must remove the '#' from the beginning of
    # the line. The commented out lines are lines where the default might
    # change in the future, so set them one way or another if you feel
    # strongly about it.
    # Have fun! - George
    [daemon]
    # Automatic login, if true the first local screen will automatically logged
    # in as user as set with AutomaticLogin key.
    AutomaticLoginEnable=false
    AutomaticLogin=
    # Timed login, useful for kiosks. Log in a certain user after a certain
    # amount of time
    TimedLoginEnable=false
    TimedLogin=
    TimedLoginDelay=30
    # The gdm configuration program that is run from the login screen, you should
    # probably leave this alone
    #Configurator=/opt/gnome/sbin/gdmsetup --disable-sound --disable-crash-dialog
    # The chooser program. Must output the chosen host on stdout, probably you
    # should leave this alone
    #Chooser=/opt/gnome/libexec/gdmchooser
    # The greeter for local (non-xdmcp) logins. Change gdmlogin to gdmgreeter to
    # get the new graphical greeter.
    #Greeter=/opt/gnome/libexec/gdmlogin
    # The greeter for xdmcp logins, usually you want a less graphically intensive
    # greeter here so it's better to leave this with gdmlogin
    #RemoteGreeter=/opt/gnome/libexec/gdmlogin
    # Launch the greeter with an additional list of colon seperated gtk
    # modules. This is useful for enabling additional feature support
    # e.g. gnome accessibility framework. Only "trusted" modules should
    # be allowed to minimise security holes
    #AddGtkModules=false
    # By default these are the accessibility modules
    #GtkModulesList=gail:atk-bridge:/opt/gnome/lib/gtk-2.0/modules/libdwellmouselistener:/opt/gnome/lib/gtk-2.0/modules/libkeymouselistener
    # Default path to set. The profile scripts will likely override this
    DefaultPath=/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/opt/gnome/bin
    # Default path for root. The profile scripts will likely override this
    RootPath=/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/opt/gnome/sbin:/opt/gnome/bin
    # If you are having trouble with using a single server for a long time and
    # want gdm to kill/restart the server, turn this on
    #AlwaysRestartServer=false
    # User and group used for running gdm GUI applicaitons. By default this
    # is set to user gdm and group gdm. This user/group should have very
    # limited permissions and access to ony the gdm directories and files.
    User=nobody
    Group=gdm
    # To try to kill all clients started at greeter time or in the Init script.
    # doesn't always work, only if those clients have a window of their own
    #KillInitClients=true
    LogDir=/var/log/gdm
    # You should probably never change this value unless you have a weird setup
    PidFile=/var/run/gdm.pid
    # Note that a post login script is run before a PreSession script.
    # It is run after the login is successful and before any setup is
    # run on behalf of the user
    PostLoginScriptDir=/opt/gnome/etc/gdm/PostLogin/
    PreSessionScriptDir=/opt/gnome/etc/gdm/PreSession/
    PostSessionScriptDir=/opt/gnome/etc/gdm/PostSession/
    DisplayInitDir=/opt/gnome/etc/gdm/Init
    # Distributions: If you have some script that runs an X server in say
    # VGA mode, allowing a login, could you please send it to me?
    #FailsafeXServer=
    # if X keeps crashing on us we run this script. The default one does a bunch
    # of cool stuff to figure out what to tell the user and such and can
    # run an X configuration program.
    XKeepsCrashing=/opt/gnome/etc/gdm/XKeepsCrashing
    # Reboot, Halt and suspend commands, you can add different commands
    # separated by a semicolon and gdm will use the first one it can find
    RebootCommand=/sbin/shutdown -r now "Rebooted from gdm menu."
    HaltCommand=/sbin/shutdown -h now "Halted from gdm menu."
    SuspendCommand=/usr/bin/apm --suspend
    # Probably should not touch the below this is the standard setup
    ServAuthDir=/opt/gnome/var/gdm
    # This is our standard startup script. A bit different from a normal
    # X session, but it shares a lot of stuff with that. See the provided
    # default for more information.
    BaseXsession=/opt/gnome/etc/gdm/Xsession
    # This is a directory where .desktop files describing the sessions live
    # It is really a PATH style variable since 2.4.4.2 to allow actual
    # interoperability with KDM. Note that <sysconfdir>/dm/Sessions is there
    # for backwards compatibility reasons with 2.4.4.x
    SessionDesktopDir=/etc/X11/sessions/:/etc/dm/Sessions/:/usr/share/xsessions/:/opt/gnome/share/gdm/BuiltInSessions/:/opt/gnome/share/xsessions/
    # This is the default .desktop session. One of the ones in SessionDesktopDir
    #DefaultSession=gnome.desktop
    # Better leave this blank and HOME will be used. You can use syntax ~/ below
    # to indicate home directory of the user. You can also set this to something
    # like /tmp if you don't want the authorizations to be in home directories.
    # This is useful if you have NFS mounted home directories. Note that if this
    # is the home directory the UserAuthFBDir will still be used in case the home
    # directory is NFS, see security/NeverPlaceCookiesOnNFS to override this behaviour.
    UserAuthDir=
    # Fallback if home directory not writable
    UserAuthFBDir=/tmp
    UserAuthFile=.Xauthority
    # The X server to use if we can't figure out what else to run.
    StandardXServer=/usr/X11R6/bin/X
    # The maximum number of flexible X servers to run.
    #FlexibleXServers=5
    # And after how many minutes should we reap the flexible server if there is
    # no activity and no one logged on. Set to 0 to turn off the reaping.
    # Does not affect Xnest flexiservers.
    #FlexiReapDelayMinutes=5
    # the X nest command
    Xnest=/usr/X11R6/bin/Xnest -audit 0 -name Xnest
    # Automatic VT allocation. Right now only works on Linux. This way
    # we force X to use specific vts. turn VTAllocation to false if this
    # is causing problems.
    FirstVT=7
    VTAllocation=true
    # Should double login be treated with a warning (and possibility to change
    # vts on linux and freebsd systems for console logins)
    #DoubleLoginWarning=true
    # Should a second login always resume the current session and
    # switch vts on linux and freebsd systems for console logins
    #AlwaysLoginCurrentSession=true
    # If true then the last login information is printed to the user before
    # being prompted for password. While this gives away some info on what
    # users are on a system, it on the other hand should give the user an
    # idea of when they logged in and if it doesn't seem kosher to them,
    # they can just abort the login and contact the sysadmin (avoids running
    # malicious startup scripts)
    #DisplayLastLogin=false
    # Program used to play sounds. Should not require any 'daemon' or anything
    # like that as it will be run when no one is logged in yet.
    #SoundProgram=/usr/bin/play
    # These are the languages that the console cannot handle because of font
    # issues. Here we mean the text console, not X. This is only used
    # when there are errors to report and we cannot start X.
    # This is the default:
    #ConsoleCannotHandle=am,ar,az,bn,el,fa,gu,hi,ja,ko,ml,mr,pa,ta,zh
    # This determines whether gdm will honor requests DYNAMIC requests from
    # the gdmdynamic command.
    #DynamicXServers=false
    # This determines whether gdm will send notifications to the console
    #ConsoleNotify=true
    [security]
    # If any distributions ship with this one off, they should be shot
    # this is only local, so it's only for say kiosk use, when you
    # want to minimize possibility of breakin
    AllowRoot=false
    # If you want to be paranoid, turn this one off
    AllowRemoteRoot=false
    # This will allow remote timed login
    AllowRemoteAutoLogin=false
    # 0 is the most restrictive, 1 allows group write permissions, 2 allows all
    # write permissions
    RelaxPermissions=0
    # Check if directories are owned by logon user. Set to false, if you have, for
    # example, home directories owned by some other user.
    CheckDirOwner=true
    # Number of seconds to wait after a bad login
    #RetryDelay=1
    # Maximum size of a file we wish to read. This makes it hard for a user to DoS
    # us by using a large file.
    #UserMaxFile=65536
    # If true this will basically append -nolisten tcp to every X command line,
    # a good default to have (why is this a "negative" setting? because if
    # it is false, you could still not allow it by setting command line of
    # any particular server). It's probably better to ship with this on
    # since most users will not need this and it's more of a security risk
    # then anything else.
    # Note: Anytime we find a -query or -indirect on the command line we do
    # not add a "-nolisten tcp", as then the query just wouldn't work, so
    # this setting only affects truly local sessions.
    DisallowTCP=true
    # By default never place cookies if we "detect" NFS. We detect NFS
    # by detecting "root-squashing". It seems bad practice to place
    # cookies on things that go over the network by default and thus we
    # don't do it by default. Sometimes you can however use safe remote
    # filesystems where this is OK and you may want to have the cookie in your
    # home directory.
    #NeverPlaceCookiesOnNFS=true
    # XDMCP is the protocol that allows remote login. If you want to log into
    # gdm remotely (I'd never turn this on on open network, use ssh for such
    # remote usage that). You can then run X with -query <thishost> to log in,
    # or -indirect <thishost> to run a chooser. Look for the 'Terminal' server
    # type at the bottom of this config file.
    [xdmcp]
    # Distributions: Ship with this off. It is never a safe thing to leave
    # out on the net. Setting up /etc/hosts.allow and /etc/hosts.deny to only
    # allow local access is another alternative but not the safest.
    # Firewalling port 177 is the safest if you wish to have xdmcp on.
    # Read the manual for more notes on the security of XDMCP.
    Enable=false
    # Honour indirect queries, we run a chooser for these, and then redirect
    # the user to the chosen host. Otherwise we just log the user in locally.
    #HonorIndirect=true
    # Maximum pending requests
    #MaxPending=4
    #MaxPendingIndirect=4
    # Maximum open XDMCP sessions at any point in time
    #MaxSessions=16
    # Maximum wait times
    #MaxWait=15
    #MaxWaitIndirect=15
    # How many times can a person log in from a single host. Usually better to
    # keep low to fend off DoS attacks by running many logins from a single
    # host. This is now set at 2 since if the server crashes then gdm doesn't
    # know for some time and wouldn't allow another session.
    #DisplaysPerHost=2
    # The number of seconds after which a non-responsive session is logged off.
    # Better keep this low.
    #PingIntervalSeconds=15
    # The port. 177 is the standard port so better keep it that way
    #Port=177
    # Willing script, none is shipped and by default we'll send
    # hostname system id. But if you supply something here, the
    # output of this script will be sent as status of this host so that
    # the chooser can display it. You could for example send load,
    # or mail details for some user, or some such.
    Willing=/opt/gnome/etc/gdm/Xwilling
    [gui]
    # The specific gtkrc file we use. It should be the full path to the gtkrc
    # that we need. Unless you need a specific gtkrc that doesn't correspond to
    # a specific theme, then just use the GtkTheme key
    #GtkRC=/opt/gnome/share/themes/Default/gtk-2.0/gtkrc
    # The GTK+ theme to use for the gui
    #GtkTheme=Default
    # If to allow changing the GTK+ (widget) theme from the greeter. Currently
    # this only affects the standard greeter as the graphical greeter does
    # not yet have this ability
    #AllowGtkThemeChange=true
    # Comma separated list of themes to allow. These must be the names of the
    # themes installed in the standard locations for gtk themes. You can
    # also specify 'all' to allow all installed themes. These should be just
    # the basenames of the themes such as 'Thinice' or 'LowContrast'.
    #GtkThemesToAllow=all
    # Maximum size of an icon, larger icons are scaled down
    #MaxIconWidth=128
    #MaxIconHeight=128
    [greeter]
    # Greeter has a nice title bar that the user can move
    #TitleBar=true
    # Configuration is available from the system menu of the greeter
    #ConfigAvailable=true
    # Face browser is enabled. This only works currently for the
    # standard greeter as it is not yet enabled in the graphical greeter.
    Browser=false
    # The default picture in the browser
    #DefaultFace=/opt/gnome/share/pixmaps/nobody.png
    # User ID's less than the MinimalUID value will not be included in the
    # face browser or in the gdmselection list for Automatic/Timed login.
    # They will not be displayed regardless of the settings for
    # Include and Exclude.
    MinimalUID=1000
    # Users listed in Include will be included in the face browser and in
    # the gdmsetup selection list for Automatic/Timed login. Users
    # should be separated by commas.
    #Include=
    # Users listed in Exclude are excluded from the face browser and from
    # the gdmsetup selection list for Automatic/Timed login. Excluded
    # users will still be able to log in, but will have to type their
    # username. Users should be separated by commas.
    Exclude=bin,daemon,mail,nobody
    # By default, an empty include list means display no users. By setting
    # IncludeAll to true, the password file will be scanned and all users
    # will be displayed except users excluded via the Exclude setting and
    # user ID's less than MinimalUID. Scanning the password file can be
    # slow on systems with large numbers of users and this feature should
    # not be used in such environments. The setting of IncludeAll does
    # nothing if Include is set to a non-empty value.
    #IncludeAll=false
    # If user or user.png exists in this dir it will be used as his picture
    #GlobalFaceDir=/opt/gnome/share/pixmaps/faces/
    # File which contains the locale we show to the user. Likely you want to use
    # the one shipped with gdm and edit it. It is not a standard locale.alias file,
    # although gdm will be able to read a standard locale.alias file as well.
    #LocaleFile=/opt/gnome/etc/gdm/locale.alias
    # Logo shown in the standard greeter
    #Logo=/opt/gnome/share/pixmaps/gdm-foot-logo.png
    # The standard greeter should shake if a user entered the wrong username or
    # password. Kind of cool looking
    #Quiver=true
    # The Actions menu (formerly system menu) is shown in the greeter, this is the
    # menu that contains reboot, shutdown, suspend, config and chooser. None of
    # these is available if this is off. They can be turned off individually
    # however
    SystemMenu=true
    # Should the chooser button be shown. If this is shown, GDM can drop into
    # chooser mode which will run the xdmcp chooser locally and allow the user
    # to connect to some remote host. Local XDMCP does not need to be enabled
    # however
    #ChooserButton=true
    # Welcome is for all console logins and RemoteWelcome is for remote logins
    # (through XDMCP).
    # DefaultWelcome and DefaultRemoteWelcome set the string for Welcome
    # to "Welcome" and for DefaultWelcome to "Welcome to %n", and properly
    # translate the message to the appropriate language. Note that %n gets
    # translated to the hostname of the machine. These default values can
    # be overridden by setting DefaultWelcome and/or DefaultRemoteWelcome to
    # false, and setting the Welcome and DefaultWelcome values as desired.
    # Just make sure the strings are in utf-8 Note to distributors, if you
    # wish to have a different Welcome string and wish to have this
    # translated you can have entries such as "Welcome[cs]=Vitejte na %n".
    DefaultWelcome=true
    DefaultRemoteWelcome=true
    #Welcome=Welcome
    #RemoteWelcome=Welcome to %n
    # Don't allow user to move the standard greeter window. Only makes sense
    # if TitleBar is on
    #LockPosition=false
    # Set a position rather then just centering the window. If you enter
    # negative values for the position it is taken as an offset from the
    # right or bottom edge.
    #SetPosition=false
    #PositionX=0
    #PositionY=0
    # Xinerama screen we use to display the greeter on. Not for true
    # multihead, currently only works for Xinerama.
    #XineramaScreen=0
    # Background settings for the standard greeter:
    # Type can be 0=None, 1=Image, 2=Color
    #BackgroundType=2
    #BackgroundImage=
    #BackgroundScaleToFit=true
    #BackgroundColor=#76848F
    # XDMCP session should only get a color, this is the sanest setting since
    # you don't want to take up too much bandwidth
    #BackgroundRemoteOnlyColor=true
    # Program to run to draw the background in the standard greeter. Perhaps
    # something like an xscreensaver hack or some such.
    #BackgroundProgram=
    # if this is true then the background program is run always, otherwise
    # it is only run when the BackgroundType is 0 (None)
    #RunBackgroundProgramAlways=false
    # Show the Failsafe sessions. These are much MUCH nicer (focus for xterm for
    # example) and more failsafe then those supplied by scripts so distros should
    # use this rather then just running an xterm from a script.
    #ShowGnomeFailsafeSession=true
    #ShowXtermFailsafeSession=true
    # Normally there is a session type called 'Last' that is shown which refers to
    # the last session the user used. If off, we will be in 'switchdesk' mode where
    # the session saving stuff is disabled in GDM
    #ShowLastSession=true
    # Always use 24 hour clock no matter what the locale.
    #Use24Clock=false
    # Use circles in the password field. Looks kind of cool actually,
    # but only works with certain fonts.
    #UseCirclesInEntry=false
    # Do not show any visible feedback in the password field. This is standard
    # for instance in console, xdm and ssh.
    #UseInvisibleInEntry=false
    # These two keys are for the new greeter. Circles is the standard
    # shipped theme. If you want gdm to select a random theme from a list
    # then provide a list that is delimited by /: to the GraphicalThemes key and
    # set GraphicalThemeRand to true. Otherwise use GraphicalTheme and specify
    # just one theme.
    #GraphicalTheme=circles
    #GraphicalThemes=circles/:happygnome
    GraphicalThemeDir=/opt/gnome/share/gdm/themes/
    GraphicalThemeRand=false
    # If InfoMsgFile points to a file, the greeter will display the contents of the
    # file in a modal dialog box before the user is allowed to log in.
    #InfoMsgFile=
    # If InfoMsgFile is present then InfoMsgFont can be used to specify the font
    # to be used when displaying the contents of the file.
    #InfoMsgFont=Sans 24
    # If SoundOnLogin is true, then the greeter will beep when login is ready
    # for user input. If SoundOnLogin is a file and the greeter finds the
    # 'play' executable (see daemon/SoundProgram) it will play that file
    # instead of just beeping
    #SoundOnLogin=true
    #SoundOnLoginFile=
    # If SoundOnLoginSuccess, then the greeter will play a sound (as above)
    # when a user successfully logs in
    #SoundOnLoginSuccess=false
    #SoundOnLoginSuccessFile=
    # If SoundOnLoginFailure, then the greeter will play a sound (as above)
    # when a user fails to log in
    #SoundOnLoginFailure=false
    #SoundOnLoginFailureFile=
    # The chooser is what's displayed when a user wants an indirect XDMCP
    # session, or selects Run XDMCP chooser from the system menu
    [chooser]
    # Default image for hosts
    #DefaultHostImg=/opt/gnome/share/pixmaps/nohost.png
    # Directory with host images, they are named by the hosts: host or host.png
    HostImageDir=/opt/gnome/share/hosts/
    # Time we scan for hosts (well only the time we tell the user we are
    # scanning actually, we continue to listen even after this has
    # expired)
    #ScanTime=4
    # A comma separated lists of hosts to automatically add (if they answer to
    # a query of course). You can use this to reach hosts that broadcast cannot
    # reach.
    Hosts=
    # Broadcast a query to get all hosts on the current network that answer
    Broadcast=true
    # Set it to true if you want to send a multicast query to hosts.
    Multicast=false
    # It is an IPv6 multicast address.It is hardcoded here and will be replaced when
    # officially registered xdmcp multicast address of TBD will be available
    #Multicast_Addr=ff02::1
    # Allow adding random hosts to the list by typing in their names
    #AllowAdd=true
    [debug]
    # This will enable debugging into the syslog, usually not neccessary
    # and it creates a LOT of spew of random stuff to the syslog. However it
    # can be useful in determining when something is going very wrong.
    Enable=false
    [servers]
    # These are the standard servers. You can add as many you want here
    # and they will always be started. Each line must start with a unique
    # number and that will be the display number of that server. Usually just
    # the 0 server is used.
    0=Standard
    #1=Standard
    # Note the VTAllocation and FirstVT keys on linux and freebsd.
    # Don't add any vt<number> arguments if VTAllocation is on, and set FirstVT to
    # be the first vt available that your gettys don't grab (gettys are usually
    # dumb and grab even a vt that has already been taken). Using 7 will work
    # pretty much for all linux distributions. VTAllocation is not currently
    # implemented on anything but linux and freebsd. Feel free to send patches.
    # X servers will just not get any extra arguments then.
    # If you want to run an X terminal you could add an X server such as this
    #0=Terminal -query serverhostname
    # or for a chooser (optionally serverhostname could be localhost)
    #0=Terminal -indirect serverhostname
    # If you wish to run the XDMCP chooser on the local display use the following
    # line
    #0=Chooser
    ## Note:
    # is your X server not listening to TCP requests? Perhaps you should look
    # at the security/DisallowTCP setting!
    # Definition of the standard X server.
    [server-Standard]
    name=Standard server
    command=/usr/X11R6/bin/X -audit 0
    flexible=true
    # To use this server type you should add -query host or -indirect host
    # to the command line
    [server-Terminal]
    name=Terminal server
    # Add -terminate to make things behave more nicely
    command=/usr/X11R6/bin/X -audit 0 -terminate
    # Make this not appear in the flexible servers (we need extra params
    # anyway, and terminate would be bad for xdmcp choosing). You can
    # make a terminal server flexible, but not with an indirect query.
    # If you need flexible indirect query server, then you must get rid
    # of the -terminate and the only way to kill the flexible server will
    # then be by Ctrl-Alt-Backspace
    flexible=false
    # Not local, we do not handle the logins for this X server
    handled=false
    # To use this server type you should add -query host or -indirect host
    # to the command line
    [server-Chooser]
    name=Chooser server
    command=/usr/X11R6/bin/X -audit 0
    # Make this not appear in the flexible servers for now, but if you
    # wish to allow a chooser server then make this true. This is the
    # only way to make a flexible chooser server that behaves nicely.
    flexible=false
    # Run the chooser instead of the greeter. When the user chooses a
    # machine they will get this same server but run with
    # "-terminate -query hostname"
    chooser=true

  • Archwiz Script for installing Arch Linux

    I created a new Bash Script Project called Archwiz, located on  github flesh/archwiz ,
    its still in Beta for a few reasons, I never figured out how to get computer translations working in the script so I can Localize it, and I never figured out all the details to get an AUR custom repo working and lastly I didn't get the Asynchronous downloads to work right, so there are all disabled in this script.
    This script was a fork of another script found here Archlinux Ultimate Install Script.
    The Script itself has several files, the wizard.sh is a library, that allow programmers to use this library as an API for writing scripts, so its usefully to anyone that wants an API to write Bash Scripts, but the script itself scripts a script that is saved as configuration files, then executes the script inside itself, so you can look at all the configuration files before running it.
    The script was written for use by anyone, but mostly targets programmers like myself who need to setup a machine to use as a work station and want it set up a certain way every time, although this script is far from finished, I have a lot of tweaking to do to it before it would be completely there, but as it is, I can get up and running on a machine with little effort, so this make it ideal for a Linux Administrator who has to install thousands of OS's and have them configured all the same way, but works great for someone just wanting to install Arch Linux.
    The Project is Self Documenting and Self Localizing, although currently only English works, but the po files are there, so it would be easy enough if you wanted to localize it; but the computer translation function I started would be the correct way to do this.
    The scripts makes use of a custom repo, so remove it when finished, the script should do this for you, but just to let you know, it downloads the core to the flash drive, this way it can install very fast, once you install it one, it has all the files on it to install on another computer without an Internet connection, well at least that was my thinking, I never did get the AUR custom repo to work, but the idea is to have all the files on the flash so you do not need to use up bandwidth installing Arch Linux on a new machine, just install it, then run pacman updates.
    The Idea of a Wizard is to make the life of those installing an OS, much easier, they have the Option to do a Custom install, or a Wizard install, even an Automatic install to pre-configure machines.
    The script determines if you have UEFI Bios or not, and formats and configures the Hard Drive correctly, and gives you full control over the partitioning of the drive, within the bounds of the tools used, so its very flexible, it uses systemd, so boot time on my machine is 10 seconds flat, and that's because I mount a lot of network drives and map them at boot time, I got 2 seconds boot time with mounting, so the packages are not perfect, but they do work.
    I only tested GDM, since I installed every Desktop Manager and configuration for my needs, this was the only one I got to work for all of them, but I normally use KDE or Mate, but I ran into issues with Mate and went back to KDE, so I could get back to work.
    This script was designed to Format the Drive you install it to, so do not use this on a Partitioned Drive,  it will format the hard drive, so you are warned once more during the install, but this could be fixed, I had to abandon the project to finish another, so the script is as it is, but could give someone a great start if they want to folk it and finish it, so fork me.
    See the help.html for details.
    Last edited by Flesh (2013-02-28 00:31:54)

    Moving to Community Contributions...

  • Help with installing Arch x64 to Silicon Image SiI 0680 raid card

    I am having one heck of a time trying to find information on installing Arch on a Silicon Image SiI 0680 raid card. I have searched both the wiki and the forums and I cannot find any information about this card. I am trying to install a raid 0 setup on Arch x64 Could someone point me in the right direction, any help is appreciated. Thank you.
    Information about the card: http://www.newegg.com/Product/Product.a … 6816132004

    My memory has slipped a bit:  the following is more to the point than my reference to md=0!
    Member
    Registered: 2009-09-02
    Posts: 17
    E-mail
    Re: [SOLVED] usb /boot, RAID5 /root, mkinitcpio.conf help request
    The array stabalized and I was able to reboot with the following entry in my menu.lst:
    # (0) Arch Linux
    title  Arch Linux
    root   (hd0,0)
    kernel /vmlinuz26 root=/dev/md0 ro
    initrd /kernel26.img
    $ cat /proc/mdstat
    Personalities : [raid6] [raid5] [raid4]
    md2 : active raid5 sdi1[0] sdg1[3] sdh1[2] sdk1[1]
          2197715712 blocks level 5, 64k chunk, algorithm 2 [4/4] [UUUU]
    md1 : active raid5 sda3[0] sdf3[5] sde3[4] sdc3[3] sdd3[2] sdb3[1]
          7252222400 blocks level 5, 64k chunk, algorithm 2 [6/6] [UUUUUU]
    md0 : active raid5 sda2[0] sde2[5] sdf2[4] sdd2[3] sdc2[2] sdb2[1]
          52451840 blocks level 5, 64k chunk, algorithm 2 [6/6] [UUUUUU]
    Thank you very much to everyone in this thread.  I really appreciate the help. 
    Offline

  • [SOLVED]....install Arch, for the first time, am i doing it right?

    The first try, it failed at grub boot(froze with blank screen), so now I'm going to install for the 2nd time and I need your help to confirm if the grub installation procedure below is correct.. (Thinkpad x61s-64bit machine)
    # mkinitcpio -p linux
    # pacman -S grub-bios bash-completion os-prober
    # grub-install --target=i386-pc --recheck /dev/sda
    # cp /usr/share/locale/en\@quot/LC_MESSAGES/grub.mo /boot/grub/locale/en.mo
    # grub-mkconfig -o /boot/grub/grub.cfg
    # exit
    # umount -R /mnt
    # reboot
    ..or should i just use Syslinux instead? There won't be any other OS on the disk except there's a partition i made previously(ext 4) that i used for file storage purposes(music,video,docs etc) and the said partition now reside in sda4 and do not want to delete that as ive got so much stuff in it and my external HD is full. so i'll have to install Arch on sda1/2/3.
    my partitioning scheme would be 2g swap, 20g root and 30g home.
    Thank you
    Last edited by MrPotato (2014-01-06 04:46:08)

    MrPotato wrote:
    The first try, it failed at grub boot(froze with blank screen), so now I'm going to install for the 2nd time and I need your help to confirm if the grub installation procedure below is correct.. (Thinkpad x61s-64bit machine)
    # mkinitcpio -p linux
    # pacman -S grub-bios bash-completion os-prober
    # grub-install --target=i386-pc --recheck /dev/sda
    # cp /usr/share/locale/en\@quot/LC_MESSAGES/grub.mo /boot/grub/locale/en.mo
    # grub-mkconfig -o /boot/grub/grub.cfg
    # exit
    # umount -R /mnt
    # reboot
    ..or should i just use Syslinux instead? There won't be any other OS on the disk except there's a partition i made previously(ext 4) that i used for file storage purposes(music,video,docs etc) and the said partition now reside in sda4 and do not want to delete that as ive got so much stuff in it and my external HD is full. so i'll have to install Arch on sda1/2/3.
    my partitioning scheme would be 2g swap, 20g root and 30g home.
    Thank you
    You could just use syslinux, but i guess you just had a bad timing with your installation there are a few bugs present with grub at the moment, which are actually already fixed upstream, but not yet available from the official arch repositories. Did you notice any bug messages when running "grub-mkconfig" ? There were probably some "syntax-errors", but they can be easily fixed (https://bugs.archlinux.org/task/38234?project=1&cat[0]=31&string=grub); the method with "GRUB_DISABLE_SUBMENU=y" works fine and you could fix it by "chrooting" into your system again from the live-installation-cd/usb. Alternatively you could enable the testing-repos for installing grub; this version works without the syntax errors, but there is another bug with multiple kernel-entries So the first way would be probably the best way to fix grub at the moment.
    Last edited by tumas (2014-01-05 15:57:54)

Maybe you are looking for

  • Where to book price diff between GR & IR of a text as material in PO

    Hi I got a question which I am searching for its answer. The amounts of a GR and IR were booked wrong so there is a difference between the total GRin and the total IR on the purchase order history of the PO. Since it is a text material, I am wonderin

  • Email alert tone doesn't work

    I have my iPhone set to "chime" to be alerted when a new email comes in but it's not working? Any idea's/suggestions? Thank you.

  • Displaying chinese character through Forms

    Database 10.2.0.2.0 10g Application sever Jinitiator 1.3.1.22 Server is UNIX AIX version 5.3 Client is XP I've got a requirement to enable Chinese characters to be displayed through an Oracle form and most likely entered. The Characterset sets for th

  • Amazon Prime Instant Video worked at 2am CST this morning, but not at 8pm CST...why?

    Hello Mozilla, Between the times mentioned in the question my computer was shutdown. When I loaded Firefox after work its appearance had changed. Specifically I noticed that the tabs looked different. I think that, somehow and without my knowledge or

  • Word and Excel documents vanish

    This may be the wrong forum for this question if so I apologize and wold appreciate direction. Working on numerous word and excel documents every so-often the file will disappear off my screen. If I click on another application then click on say word