[SOLVED] .bashrc on framebuffer (outside X)

outsinde X the root bash doesn't seem so listend to /root/.bashrc so I dont have a colored promt there and also cant change my LC_MESSAGES language. What can I do to change that? Thanks in advance.
Last edited by miro279 (2010-11-09 17:45:27)

ok, the other thread helped. I just created a .bash_profile file in /root/ containing:
. $HOME/.bashrc
I set LC_MESSAGES by
export LC_MESSAGES=en_US.utf8
as I prefere to have english output form programms, thats much better if something goes wrong.. the rest of the system is set german in /etc/rc.conf
thanks a lot!

Similar Messages

  • [SOLVED] Disable console framebuffer

    Edit: I discovered that I was dealing with KMS rather than framebuffering, please disregard.
    Last edited by alphaniner (2011-01-12 17:28:25)

    Ok after getting vague help at best from irc.mozilla.org I went grepping. I grepped xulrunner-1.9.0.11/chrome and firefox-3.0/chrome for all occurences of 'console.xul' and when I found one, I went into the corresponding file and commented it out. Problem solved! (In a horrible way)
    This means I can't access it even if I wanted to. But that's ok because many console extensions make the built in console obsolete. I suppose the way to do this without wasting space would be to find out how to compile xulrunner and firefox so that they come with no console. But I imagine that would be difficult.

  • [SOLVED] .bashrc isn't processed.

    Hi folks.
    I don't know why but my bashrc stopped beeing processed at terminal starting. I discovered this because when I ran alias I had none of those written on my .bashrc
    I've been fussing on profiles and stuff but didn't managed to get it working myself.
    Any ideias?
    Thanks
    Last edited by tsenart (2008-10-22 18:01:41)

    tsenart wrote:I put everything on .bashrc and .bash_profile sources .bashrc.
    If your ~/.bash_profile does nothing but source ~/.bashrc, you could do as phrakture mentions in this post and simply symlink ~/.bash_profile to ~/.bashrc.
    Last edited by ssjlegendx (2008-10-23 01:49:14)

  • [Solved] Uvesafb & Nvidia framebuffer problems after June 2012 update.

    The subject pretty much says it all, I'm really not sure what in the world happened.  It worked GREAT since I installed it, but after I updated the system a few days ago, my monitor shows it being out of an acceptable resolution range.
    It's strange, because before I was able to see my native resolution (which is 1680x1050) when using:
    $ cat /sys/bus/platform/drivers/uvesafb/uvesafb.0/vbe_modes
    but now it's at 1600x1200, which obviously doesn't work.  I tried looking up any problems that people may or may not have had in the past two months with uvesafb on google, but I couldn't find a thing.
    Any potential input, suggestions, or thoughts would be incredibly helpful.  Thanks!
    Last edited by unlimit (2012-07-18 04:54:20)

    unlimit wrote:
    jasonwryan wrote:Was your conf overwritten when you updated?
    https://wiki.archlinux.org/index.php/Uv … re_uvesafb
    I thought that at first, so I went and checked, but everything was perfectly fine.  I'm going to go with what x33a pointed out:
    x33a wrote:
    Maybe due to this problem:
    https://mailman.archlinux.org/pipermail … 27243.html
    It seems more logical that this is the problem.  I'm guessing that there is no work around?
    Yes, if it is due to the reason i mentioned, then there is no workaround for that unfortunately.

  • [SOLVED] Time tracking app outside Gnome

    I used to use hamster-applet in Gnome, which I loved for time tracking. Over the weekend I've converted myself to DWM, so using hamster is out. I've looked around and haven't found any real options other than a webapp called SlimTimer which I used back when I was on another OS which I won't mention by name. However, if available, I'd prefer something that can be used offline as well.
    What are the tiling WM users doing for time tracking?
    Last edited by falconindy (2009-11-29 18:06:17)

    There are a few in the AUR. Just search on the http://aur.archlinux.org/ page for "time track" or the like.
    If you do use yaourt, try a search like
    yaourt -Ss track | grep time
    Personally I used gnotime for several years. It still works but development has apparently ceased.
    Last edited by bernarcher (2009-11-29 18:14:59)

  • How to create an unsolved cube with awm???

    hi all,
    I readed the "Oracle Olap developer's guide to the Oalp api" and I found there's 2 type of Cube: Solved and Unsolved Cubes. And this document says: "... if all the data for a cube is specified by the DBA, then the cube is considered to be Solved. If some or all of the aggregate data must be calculated by Oracle OLap, then the cube is unsolved ..."
    I tried with awm 10.2.0.3.0A to create an unsolvedCube but I can't. All cubes I created are solvedCube. To know if a cube is solved or unsolved, I wrotte an program in Java to read informations of package mtm.
    Some one can tell me how to create an unsolved cube with AWM ou other soft please!

    SH is not a relational OLAP data model which is quite different from the GLOBAL schema which is based on an Analytic Workspace.
    If you change the aggregation method you will need to re-compute the whole cube which can be a very big job! You might be able to force the unsolved status be de-selecting all the levels on the Rules tab in AWM. However, I think by default analytic workspace OLAP models always provide a fully solved cube to the outside world. This is the nature of the multi-dimensional model.
    Relationally, as keys are located in separate columns a cube can be unsolved in that the key column only contains values for a single level from the corresponding dimension tables. If more than keys for different levels within the same dimension appear within the fact key column then the cube is deemed as being solved.
    Therefore, I am not sure you are going to get the information you require from the API. To changes the aggregation method you will have to switch off all pre-compute options and also disable the session cache to prevent previously calculated data being returned when you change the aggregation method.
    Hope this helps
    Keith Laker
    Oracle EMEA Consulting
    BI Blog: http://oraclebi.blogspot.com/
    DM Blog: http://oracledmt.blogspot.com/
    BI on Oracle: http://www.oracle.com/bi/
    BI on OTN: http://www.oracle.com/technology/products/bi/
    BI Samples: http://www.oracle.com/technology/products/bi/samples/

  • I have a ibook that powers up but has no display, is it an easy fix? how much will it cost?

    I have a ibook that powers up but has no display, is it an easy fix? how much would it cost to fix

    Hi,
    Can the sounds of an active hard drive be heard at some point (indicating a normal startup)?
    There is a problem with the graphics processing unit (GPU) and its ball grid array (BGA) on some iBook computers, leading to similar symptoms. Reflowing (resoldering) the BGA is a work for specialists, and is going to be expensive. A web search will  return a number of more or less realistic alternative attempts to solve the issue. Outside pressure applied to the affected area has sometimes been used for troubleshooting, or even as a temporary "solution".
    It is of course possible that the iBook in question has a completely different fault, such as a broken display cable.
    See also the following article about resetting the Power Management Unit (PMU): http://support.apple.com/kb/ht1431
    Jan

  • [SOLVED] Puzzled: Web site visible on network but not outside network

    Edit: Ok, nevermind . . . somehow the problem has resolved itself. Perhaps my ISP was having a bad hair day or something.
    I'm puzzled by this small problem I'm having. It is NOT a critical problem or anything, just something I'd like to solve.
    I've installed the LAMP packages, set up a small MySQL database and made a very simple web interface for it. The web pages open fine on my main computer and all the other computers on our network, but it is not visible outside our network.
    I am behind a router and I have forwarded port 80 to my local IP. I've set httpd: ALL, http: ALL and (finally) ALL: ALL: ACCEPT in /etc/hosts.
    I got to thinking maybe my ISP (RoadRunner) is blocking port 80 requests to my home, so I changed the port to 9292 and forwarded that to my local IP. Still not visible from the outside.
    I've tinkered with the /etc/httpd/conf/httpd.conf file (pasted in below) but still there is no outside connectivity, changing the listen settings and the server name settings. I can still access it fine from this side of the router. I've restarted the httpd service many times.
    I've done all I can think to do to solve the issue. it is likely I am overlooking something very basic. Any help or ideas are appreciated. Below is my httpd.conf.
    # This is the main Apache HTTP server configuration file. It contains the
    # configuration directives that give the server its instructions.
    # See <URL:http://httpd.apache.org/docs/2.2> for detailed information.
    # In particular, see
    # <URL:http://httpd.apache.org/docs/2.2/mod/directives.html>
    # for a discussion of each configuration directive.
    # Do NOT simply read the instructions in here without understanding
    # what they do. They're here only as hints or reminders. If you are unsure
    # consult the online docs. You have been warned.
    # Configuration and logfile names: If the filenames you specify for many
    # of the server's control files begin with "/" (or "drive:/" for Win32), the
    # server will use that explicit path. If the filenames do *not* begin
    # with "/", the value of ServerRoot is prepended -- so "/var/log/httpd/foo_log"
    # with ServerRoot set to "/etc/httpd" will be interpreted by the
    # server as "/etc/httpd//var/log/httpd/foo_log".
    # ServerRoot: The top of the directory tree under which the server's
    # configuration, error, and log files are kept.
    # Do not add a slash at the end of the directory path. If you point
    # ServerRoot at a non-local disk, be sure to point the LockFile directive
    # at a local disk. If you wish to share the same ServerRoot for multiple
    # httpd daemons, you will need to change at least LockFile and PidFile.
    ServerRoot "/etc/httpd"
    # Listen: Allows you to bind Apache to specific IP addresses and/or
    # ports, instead of the default. See also the <VirtualHost>
    # directive.
    # Change this to Listen on specific IP addresses as shown below to
    # prevent Apache from glomming onto all bound IP addresses.
    #Listen 12.34.56.78:80
    Listen 192.168.1.100:9292
    #Listen *:9292
    # Dynamic Shared Object (DSO) Support
    # To be able to use the functionality of a module which was built as a DSO you
    # have to place corresponding `LoadModule' lines at this location so the
    # directives contained in it are actually available _before_ they are used.
    # Statically compiled modules (those listed by `httpd -l') do not need
    # to be loaded here.
    # Example:
    # LoadModule foo_module modules/mod_foo.so
    LoadModule authn_file_module modules/mod_authn_file.so
    LoadModule authn_dbm_module modules/mod_authn_dbm.so
    LoadModule authn_anon_module modules/mod_authn_anon.so
    LoadModule authn_dbd_module modules/mod_authn_dbd.so
    LoadModule authn_default_module modules/mod_authn_default.so
    LoadModule authz_host_module modules/mod_authz_host.so
    LoadModule authz_groupfile_module modules/mod_authz_groupfile.so
    LoadModule authz_user_module modules/mod_authz_user.so
    LoadModule authz_dbm_module modules/mod_authz_dbm.so
    LoadModule authz_owner_module modules/mod_authz_owner.so
    LoadModule authnz_ldap_module modules/mod_authnz_ldap.so
    LoadModule authz_default_module modules/mod_authz_default.so
    LoadModule auth_basic_module modules/mod_auth_basic.so
    LoadModule auth_digest_module modules/mod_auth_digest.so
    LoadModule file_cache_module modules/mod_file_cache.so
    LoadModule cache_module modules/mod_cache.so
    LoadModule disk_cache_module modules/mod_disk_cache.so
    LoadModule mem_cache_module modules/mod_mem_cache.so
    LoadModule dbd_module modules/mod_dbd.so
    LoadModule dumpio_module modules/mod_dumpio.so
    LoadModule ext_filter_module modules/mod_ext_filter.so
    LoadModule include_module modules/mod_include.so
    LoadModule filter_module modules/mod_filter.so
    LoadModule substitute_module modules/mod_substitute.so
    LoadModule deflate_module modules/mod_deflate.so
    LoadModule ldap_module modules/mod_ldap.so
    LoadModule log_config_module modules/mod_log_config.so
    LoadModule log_forensic_module modules/mod_log_forensic.so
    LoadModule logio_module modules/mod_logio.so
    LoadModule env_module modules/mod_env.so
    LoadModule mime_magic_module modules/mod_mime_magic.so
    LoadModule cern_meta_module modules/mod_cern_meta.so
    LoadModule expires_module modules/mod_expires.so
    LoadModule headers_module modules/mod_headers.so
    LoadModule ident_module modules/mod_ident.so
    LoadModule usertrack_module modules/mod_usertrack.so
    #LoadModule unique_id_module modules/mod_unique_id.so
    LoadModule setenvif_module modules/mod_setenvif.so
    LoadModule version_module modules/mod_version.so
    LoadModule proxy_module modules/mod_proxy.so
    LoadModule proxy_connect_module modules/mod_proxy_connect.so
    LoadModule proxy_ftp_module modules/mod_proxy_ftp.so
    LoadModule proxy_http_module modules/mod_proxy_http.so
    LoadModule proxy_ajp_module modules/mod_proxy_ajp.so
    LoadModule proxy_balancer_module modules/mod_proxy_balancer.so
    LoadModule ssl_module modules/mod_ssl.so
    LoadModule mime_module modules/mod_mime.so
    LoadModule dav_module modules/mod_dav.so
    LoadModule status_module modules/mod_status.so
    LoadModule autoindex_module modules/mod_autoindex.so
    LoadModule asis_module modules/mod_asis.so
    LoadModule info_module modules/mod_info.so
    LoadModule suexec_module modules/mod_suexec.so
    LoadModule cgi_module modules/mod_cgi.so
    LoadModule cgid_module modules/mod_cgid.so
    LoadModule dav_fs_module modules/mod_dav_fs.so
    LoadModule vhost_alias_module modules/mod_vhost_alias.so
    LoadModule negotiation_module modules/mod_negotiation.so
    LoadModule dir_module modules/mod_dir.so
    LoadModule imagemap_module modules/mod_imagemap.so
    LoadModule actions_module modules/mod_actions.so
    LoadModule speling_module modules/mod_speling.so
    LoadModule userdir_module modules/mod_userdir.so
    LoadModule alias_module modules/mod_alias.so
    LoadModule rewrite_module modules/mod_rewrite.so
    LoadModule php5_module modules/libphp5.so
    LoadModule php5_module /usr/lib/httpd/modules/libphp5.so
    AddHandler php5-script php
    <IfModule !mpm_netware_module>
    <IfModule !mpm_winnt_module>
    # If you wish httpd to run as a different user or group, you must run
    # httpd as root initially and it will switch.
    # User/Group: The name (or #number) of the user/group to run httpd as.
    # It is usually good practice to create a dedicated user and group for
    # running httpd, as with most system services.
    User http
    Group http
    </IfModule>
    </IfModule>
    # 'Main' server configuration
    # The directives in this section set up the values used by the 'main'
    # server, which responds to any requests that aren't handled by a
    # <VirtualHost> definition. These values also provide defaults for
    # any <VirtualHost> containers you may define later in the file.
    # All of these directives may appear inside <VirtualHost> containers,
    # in which case these default settings will be overridden for the
    # virtual host being defined.
    # ServerAdmin: Your address, where problems with the server should be
    # e-mailed. This address appears on some server-generated pages, such
    # as error documents. e.g. [email protected]
    ServerAdmin [email protected]
    # ServerName gives the name and port that the server uses to identify itself.
    # This can often be determined automatically, but we recommend you specify
    # it explicitly to prevent problems during startup.
    # If your host doesn't have a registered DNS name, enter its IP address here.
    ServerName 192.168.1.100:9292
    # DocumentRoot: The directory out of which you will serve your
    # documents. By default, all requests are taken from this directory, but
    # symbolic links and aliases may be used to point to other locations.
    DocumentRoot "/srv/http"
    # Each directory to which Apache has access can be configured with respect
    # to which services and features are allowed and/or disabled in that
    # directory (and its subdirectories).
    # First, we configure the "default" to be a very restrictive set of
    # features.
    <Directory />
    Options FollowSymLinks
    AllowOverride None
    Order deny,allow
    Deny from all
    </Directory>
    # Note that from this point forward you must specifically allow
    # particular features to be enabled - so if something's not working as
    # you might expect, make sure that you have specifically enabled it
    # below.
    # This should be changed to whatever you set DocumentRoot to.
    <Directory "/srv/http">
    # Possible values for the Options directive are "None", "All",
    # or any combination of:
    # Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
    # Note that "MultiViews" must be named *explicitly* --- "Options All"
    # doesn't give it to you.
    # The Options directive is both complicated and important. Please see
    # http://httpd.apache.org/docs/2.2/mod/core.html#options
    # for more information.
    Options Indexes FollowSymLinks
    # AllowOverride controls what directives may be placed in .htaccess files.
    # It can be "All", "None", or any combination of the keywords:
    # Options FileInfo AuthConfig Limit
    AllowOverride None
    # Controls who can get stuff from this server.
    Order allow,deny
    Allow from all
    </Directory>
    # DirectoryIndex: sets the file that Apache will serve if a directory
    # is requested.
    <IfModule dir_module>
    DirectoryIndex index.html
    </IfModule>
    # The following lines prevent .htaccess and .htpasswd files from being
    # viewed by Web clients.
    <FilesMatch "^\.ht">
    Order allow,deny
    Deny from all
    Satisfy All
    </FilesMatch>
    # ErrorLog: The location of the error log file.
    # If you do not specify an ErrorLog directive within a <VirtualHost>
    # container, error messages relating to that virtual host will be
    # logged here. If you *do* define an error logfile for a <VirtualHost>
    # container, that host's errors will be logged there and not here.
    ErrorLog "/var/log/httpd/error_log"
    # LogLevel: Control the number of messages logged to the error_log.
    # Possible values include: debug, info, notice, warn, error, crit,
    # alert, emerg.
    LogLevel warn
    <IfModule log_config_module>
    # The following directives define some format nicknames for use with
    # a CustomLog directive (see below).
    LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
    LogFormat "%h %l %u %t \"%r\" %>s %b" common
    <IfModule logio_module>
    # You need to enable mod_logio.c to use %I and %O
    LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O" combinedio
    </IfModule>
    # The location and format of the access logfile (Common Logfile Format).
    # If you do not define any access logfiles within a <VirtualHost>
    # container, they will be logged here. Contrariwise, if you *do*
    # define per-<VirtualHost> access logfiles, transactions will be
    # logged therein and *not* in this file.
    CustomLog "/var/log/httpd/access_log" common
    # If you prefer a logfile with access, agent, and referer information
    # (Combined Logfile Format) you can use the following directive.
    #CustomLog "/var/log/httpd/access_log" combined
    </IfModule>
    <IfModule alias_module>
    # Redirect: Allows you to tell clients about documents that used to
    # exist in your server's namespace, but do not anymore. The client
    # will make a new request for the document at its new location.
    # Example:
    # Redirect permanent /foo http://www.example.com/bar
    # Alias: Maps web paths into filesystem paths and is used to
    # access content that does not live under the DocumentRoot.
    # Example:
    # Alias /webpath /full/filesystem/path
    # If you include a trailing / on /webpath then the server will
    # require it to be present in the URL. You will also likely
    # need to provide a <Directory> section to allow access to
    # the filesystem path.
    # ScriptAlias: This controls which directories contain server scripts.
    # ScriptAliases are essentially the same as Aliases, except that
    # documents in the target directory are treated as applications and
    # run by the server when requested rather than as documents sent to the
    # client. The same rules about trailing "/" apply to ScriptAlias
    # directives as to Alias.
    ScriptAlias /cgi-bin/ "/srv/http/cgi-bin/"
    </IfModule>
    <IfModule cgid_module>
    # ScriptSock: On threaded servers, designate the path to the UNIX
    # socket used to communicate with the CGI daemon of mod_cgid.
    #Scriptsock /var/run/httpd/cgisock
    </IfModule>
    # "/srv/http/cgi-bin" should be changed to whatever your ScriptAliased
    # CGI directory exists, if you have that configured.
    <Directory "/srv/http/cgi-bin">
    AllowOverride None
    Options None
    Order allow,deny
    Allow from all
    </Directory>
    # DefaultType: the default MIME type the server will use for a document
    # if it cannot otherwise determine one, such as from filename extensions.
    # If your server contains mostly text or HTML documents, "text/plain" is
    # a good value. If most of your content is binary, such as applications
    # or images, you may want to use "application/octet-stream" instead to
    # keep browsers from trying to display binary files as though they are
    # text.
    DefaultType text/plain
    <IfModule mime_module>
    # TypesConfig points to the file containing the list of mappings from
    # filename extension to MIME-type.
    TypesConfig conf/mime.types
    # AddType allows you to add to or override the MIME configuration
    # file specified in TypesConfig for specific file types.
    #AddType application/x-gzip .tgz
    # AddEncoding allows you to have certain browsers uncompress
    # information on the fly. Note: Not all browsers support this.
    #AddEncoding x-compress .Z
    #AddEncoding x-gzip .gz .tgz
    # If the AddEncoding directives above are commented-out, then you
    # probably should define those extensions to indicate media types:
    AddType application/x-compress .Z
    AddType application/x-gzip .gz .tgz
    # AddHandler allows you to map certain file extensions to "handlers":
    # actions unrelated to filetype. These can be either built into the server
    # or added with the Action directive (see below)
    # To use CGI scripts outside of ScriptAliased directories:
    # (You will also need to add "ExecCGI" to the "Options" directive.)
    #AddHandler cgi-script .cgi
    # For type maps (negotiated resources):
    #AddHandler type-map var
    # Filters allow you to process content before it is sent to the client.
    # To parse .shtml files for server-side includes (SSI):
    # (You will also need to add "Includes" to the "Options" directive.)
    #AddType text/html .shtml
    #AddOutputFilter INCLUDES .shtml
    </IfModule>
    # The mod_mime_magic module allows the server to use various hints from the
    # contents of the file itself to determine its type. The MIMEMagicFile
    # directive tells the module where the hint definitions are located.
    #MIMEMagicFile conf/magic
    # Customizable error responses come in three flavors:
    # 1) plain text 2) local redirects 3) external redirects
    # Some examples:
    #ErrorDocument 500 "The server made a boo boo."
    #ErrorDocument 404 /missing.html
    #ErrorDocument 404 "/cgi-bin/missing_handler.pl"
    #ErrorDocument 402 http://www.example.com/subscription_info.html
    # EnableMMAP and EnableSendfile: On systems that support it,
    # memory-mapping or the sendfile syscall is used to deliver
    # files. This usually improves server performance, but must
    # be turned off when serving from networked-mounted
    # filesystems or if support for these functions is otherwise
    # broken on your system.
    #EnableMMAP off
    #EnableSendfile off
    # Supplemental configuration
    # The configuration files in the conf/extra/ directory can be
    # included to add extra features or to modify the default configuration of
    # the server, or you may simply copy their contents here and change as
    # necessary.
    # Server-pool management (MPM specific)
    #Include conf/extra/httpd-mpm.conf
    # Multi-language error messages
    Include conf/extra/httpd-multilang-errordoc.conf
    # Fancy directory listings
    Include conf/extra/httpd-autoindex.conf
    # Language settings
    Include conf/extra/httpd-languages.conf
    # User home directories
    Include conf/extra/httpd-userdir.conf
    # Real-time info on requests and configuration
    #Include conf/extra/httpd-info.conf
    # Virtual hosts
    #Include conf/extra/httpd-vhosts.conf
    # Local access to the Apache HTTP Server Manual
    #Include conf/extra/httpd-manual.conf
    # Distributed authoring and versioning (WebDAV)
    #Include conf/extra/httpd-dav.conf
    # Various default settings
    Include conf/extra/httpd-default.conf
    Include conf/extra/php5_module.conf
    # Secure (SSL/TLS) connections
    #Include conf/extra/httpd-ssl.conf
    # Note: The following must must be present to support
    # starting without SSL on platforms with no /dev/random equivalent
    # but a statically compiled-in mod_ssl.
    <IfModule ssl_module>
    SSLRandomSeed startup builtin
    SSLRandomSeed connect builtin
    </IfModule>
    Last edited by Rumor (2009-01-29 15:04:27)

    You could try a factory reset of the home hub, as sometimes the config can get corrupted.
    There is some general help on this page.
    Help with setting up routers, wireless repeaters, TVs and printers, CCTV cameras, VOIP Phones
    There are some useful help pages here, for BT Broadband customers only, on my personal website.
    BT Broadband customers - help with broadband, WiFi, networking, e-mail and phones.

  • [Solved] Cannot "su" properly in a terminal due to a .bashrc error

    The problem is simple:  I cannot su to my root account properly.  I can do so successfully in that I can become "root" but I get no output on the screen after typing in a command.  E.g., this is what my terminal shows after su'ing to root and typing the "ls" command:
    : ~ : su
    Password:
    :root:~: ls -a
    :root:~:
    Even trying to bring up a nano window gives the same result:
    :root:~: nano .bashrc
    :root:~:
    I get this behaviour in RoxTerm but in Xfce-Terminal I get this error instead:
    : ~ : su
    Password:
    -bash: printf: write error: Broken pipe
    Broken pipe (core dumped)
    : ~ :
    I have received the same error in the past in RoxTerm but it seems to have gone away today.  I did Google that error but I found nothing that seemed to point to a solution for this issue.  And, after a lot of experimentation and troubleshooting, I've narrowed down my issue to an error in my .bashrc file.  However, despite combing through it several times, and finding other errors, I still can't locate what is causing this issue.
    My .bashrc:
    ### ====== .bashrc + all prompts = a common config file for all ======
    ### Created Saturday 04 October 2014
    ## See [[ssh:ssh prompts]] for SSH
    # [[~/.bashrc]]
    ### Last edited October 2014 by H
    # ===================================================================================================
    # This file is sourced by all *interactive* bash shells on startup,
    # including some apparently interactive shells such as scp and rcp
    # that can't tolerate any output. So make sure this doesn't display
    # anything or bad things will happen!
    # If not running interactively, don't do anything.
    [[ $- != *i* ]] && return
    # ===================================================================================================
    # Alias definitions.
    # You may want to put all your additions into a separate file like
    # ~/.bash_aliases, instead of adding them here directly.
    # See /usr/share/doc/bash-doc/examples in the bash-doc package.
    if [ -f ~/.bash_aliases ]; then
    . ~/.bash_aliases
    fi
    # ===================================================================================================
    # Below are the color init strings for the basic file types. A color init string consists of one or more of the following numeric codes:
    # Attribute codes:
    # 00=none 01=bold 04=underscore 05=blink 07=reverse 08=concealed
    # Text color codes:
    # 30=black 31=red 32=green 33=yellow 34=blue 35=magenta 36=cyan 37=white
    # Background color codes:
    # 40=black 41=red 42=green 43=yellow 44=blue 45=magenta 46=cyan 47=white
    ## Now source the .dir_colors file to use those colours!
    if [ -x /usr/bin/dircolors ]; then
    test -r ~/.dir_colors && eval "$(dircolors -b ~/.dir_colors)" || eval "$(dircolors -b)"
    fi
    # ===================================================================================================
    ### [User Prompts]
    ## Very fancy ##
    #export PS1='\[\033[0;32m\]┌┼─┼─ \[\033[0m\033[0;32m\]\u\[\033[0m\] @ \[\033[0;36m\]\h\[\033[0m\033[0;32m\] ─┤├─ \[\033[0m\]\t \d\[\033[0;32m\] ─┤├─ \[\033[0;34m\]\w\[\033[0;32m\] ─┤ \n\[\033[0;32m\]└┼─\[\033[0m\033[0;32m\]\$\[\033[0m\033[0;32m\]─┤▶\[\033[0m\] '
    ## Very fancy with $ removed
    #export PS1='\[\033[0;32m\]┌┼─┼─ \[\033[0m\033[0;32m\]\u\[\033[0m\] @ \[\033[0;36m\]\h\[\033[0m\033[0;32m\] ─┤├─ \[\033[0m\]\t \d\[\033[0;32m\] ─┤├─ \[\033[0;34m\]\w\[\033[0;32m\] ─┤ \n\[\033[0;32m\]└┼─\[\033[0;32m\]─┤▶\[\033[0m\] '
    ### White Yunzi
    export PS1='\[\e[0;37m\]: \[\e[1;92m\]\W\[\e[0;37m\] :\[\e[m\] \[\e[0;37m\]'
    #### Silver Yunzi
    #export PS1='\[\e[0;37m\]: \[\e[1;94m\]\W\[\e[0;37m\] :\[\e[m\] \[\e[0;37m\]'
    ### Pink Yunzi
    #export PS1='\[\e[0;37m\]: \[\e[1;95m\]\W\[\e[0;37m\] :\[\e[m\] \[\e[0;37\]'
    #### Red Yunzi
    #export PS1='\[\e[0;37m\]: \[\e[1;91m\]\W\[\e[0;37m\] :\[\e[m\] \[\e[0;37m\]'
    ### [Root Prompts]
    ### White Yunzi Root
    #export PS1='\[\e[1;37m\]:\[\e[1;92m\]\u\[\e[1;37m\]:\[\e[1;92m\]\W\[\e[1;37m\]:\[\e[m\] \[\e[0;37m\]'
    ### Silver Yunzi Root
    #export PS1='\[\e[0;37m\]:\[\e[1;94m\]\u\[\e[0;37m\]:\[\e[1;94m\]\W\[\e[0;37m\]:\[\e[m\]\[\e[0;37m\]'
    ### Pink Yunzi Root
    #export PS1='\[\e[0;37m\]:\[\e[1;95m\]\u\[\e[0;37m\]:\[\e[1;95m\]\W\[\e[0;37m\]:\[\e[m\] \[\e[0;37\]'
    ### Red Yunzi Root
    #export PS1='\[\e[0;37m\]:\[\e[1;91m\]\u\[\e[0;37m\]:\[\e[1;95m\]\W\[\e[0;37m\]:\[\e[m\] \[\e[0;37\]'
    # ===========================================================================================================================================
    ### If the connection to the system is a remote connection 'ssh' will be
    ### appended to the prompt. Otherwise the prompt will be displayed normally.
    # See: remote.colourful.prompt_how-to on /media/lynwyn/networking/ssh
    #### White Yunzi ###
    # : ~ : ssh :
    if [ -n "$SSH_TTY" ] || [ -n "$SUDO_USER" ] ; then
    PS1="$PS1"ssh\ :\ ""
    fi
    # ================**OR**===========================================================================================================================
    # : ~ : :ssh:
    #export PS1='\[\e[0;37m\]: \[\e[1;92m\]\W\[\e[0;37m\] :\[\e[m\]\[\e[0;37m\]'
    #if [ -n "$SSH_TTY" ] || [ -n "$SUDO_USER" ] ; then
    # PS1="$PS1:ssh:"
    #fi
    # ===========================================================================================================================================
    ### Silver Yunzi ###
    # :~::ssh:
    #export PS1='\[\e[0;37m\]:\[\e[1;94m\]\W\[\e[0;37m\]:\[\e[m\]\[\e[0;37m\]'
    #if [ -n "$SSH_TTY" ] || [ -n "$SUDO_USER" ] ; then
    # PS1="$PS1":ssh: ""
    #fi
    # ===========================================================================================================================================
    ### Pink ###
    # :~:ssh:
    #export PS1='\[\e[0;37m\]:\[\e[1;95m\]\W\[\e[0;37m\]:\[\e[m\]\[\e[0;37m\]'
    #if [ -n "$SSH_TTY" ] || [ -n "$SUDO_USER" ] ; then
    # PS1="$PS1"ssh: ""
    #fi
    # ===========================================================================================================================================
    ### Red ###
    # :~:ssh:
    #export PS1='\[\e[0;37m\]:\[\e[1;91m\]\W\[\e[0;37m\]:\[\e[m\]\[\e[0;37m\]'
    #if [ -n "$SSH_TTY" ] || [ -n "$SUDO_USER" ] ; then
    # PS1="$PS1"ssh: ""
    #fi
    # ===================================================================================================
    #### * BASH options * ###
    # Bash won't get SIGWINCH if another process is in the foreground.
    # Enable checkwinsize so that bash will check the terminal size when it regains control.
    # [check the window size after each command and, if necessary, update the values of LINES and COLUMNS.]
    # http://cnswww.cns.cwru.edu/~chet/bash/FAQ (E11)
    shopt -s checkwinsize
    # ===================================================================================================
    # automatically prepend cd when entering just a path in the shell
    shopt -s autocd
    # ===================================================================================================
    # Enable history appending instead of overwriting.
    shopt -s histappend
    # ===================================================================================================
    # for setting history length see HISTSIZE and HISTFILESIZE in bash(1)
    HISTSIZE=10000
    HISTFILESIZE=20000
    # ===================================================================================================
    ## erase duplicate entries in your history file
    ## and force Bash History to ignorespace
    export HISTCONTROL=erasedups:ignorespace
    # ===================================================================================================
    ## This will prevent you from over-writing any file that you direct to with the ">" or ">>" symbols, thus destroying whatever pre-existing file
    ## you're pointing to in the first place. This tweak prevents that from happening and ">" or ">>" will fail when directed at an existing file.
    ## To clobber the existing file you have to use ">|" which is much harder to type by accident.
    set -o noclobber
    ===========================================================================================================================================
    ## Set variable identifying the chroot you work in (used in the prompt below)
    #if [ -z "$arch_chroot" ] && [ -r /etc/arch_chroot ]; then
    # debian_chroot=$(cat /etc/arch_chroot)
    #fi
    # ===================================================================================================
    # environment variables using gedit and nano
    export EDITOR="$(if [[ -n $DISPLAY ]]; then echo 'gedit'; else echo 'nano'; fi)"
    # ===================================================================================================
    ### Colored output through environment variables
    ### Add the following lines to your shell configuration file @ ~/.bashrc:
    ### List of colors for prompt and Bash: http://en.wikipedia.org/wiki/ANSI_escape_code#Colors
    ### See the web page above for a complete listing of all the colours applicable to these environments:
    ### Standard VGA colors / Windows XP CMD / Terminal.app / PuTTY / xterm / CSS/HTML / X
    #export LESS=-R
    #export LESS_TERMCAP_me=$(printf '\e[0m')
    #export LESS_TERMCAP_se=$(printf '\e[0m')
    #export LESS_TERMCAP_ue=$(printf '\e[0m')
    #export LESS_TERMCAP_mb=$(printf '\e[1;32m')
    #export LESS_TERMCAP_md=$(printf '\e[1;34m')
    #export LESS_TERMCAP_us=$(printf '\e[1;32m')
    #export LESS_TERMCAP_so=$(printf '\e[1;44;1m')
    ### Coloured man pages with explanations of colours in comments
    # Note to self: all of the colour & escape statements work ONLY by using double quote marks, e.g. " ... "
    ## Coloured man pages with explanations of colours in comments
    # 67: Primary colour for program names is Dark Green [old 80's CRT green!]
    # 68: Optional arguments and/or separate options for arguments is Bright Green
    # 69: Text Reset
    # 70: Text Reset
    # 71: man page info bottom of page is Dark Red on Black background (net effect is transparent background with red writing)
    # 72: Text Reset
    # 73: References to other programs (and their respective man page(s)) are Bright Yellow [good neutral yellow]
    man() {
    env LESS_TERMCAP_mb=$(printf "\e[1;31m") \
    LESS_TERMCAP_md=$(printf "\e[1;31m") \
    LESS_TERMCAP_me=$(printf "\e[0m") \
    LESS_TERMCAP_se=$(printf "\e[0m") \
    LESS_TERMCAP_so=$(printf "\e[1;44;33m") \
    LESS_TERMCAP_ue=$(printf "\e[0m") \
    LESS_TERMCAP_us=$(printf "\e[1;32m") \
    man "$@"
    # ===================================================================================================
    ## To get a skin of your choice loaded instead of mc's default
    ## skin, you might consider the following solution:
    ## Multi-User: Create an alias for mc in your ~/.bashrc, like:
    if [ $TERM = "screen-256color" ]; then
    if [ $USER = "root" ]; then
    myMCSkin="modarcon16root-defbg"
    else
    myMCSkin="modarcon16-defbg"
    fi
    alias mc='mc --skin $myMCSkin'
    alias mcedit="mcedit --skin $myMCSkin"
    alias mcview="mcview --skin $myMCSkin"
    alias mcdiff="mcdiff --skin $myMCSkin"
    fi
    # ===================================================================================================
    # TMUX
    # Put this this snippet BEFORE the aliases in .bashrc.
    # This code starts TMUX with only one session (unless you start some manually), on login;
    # it will try to attach to a currently running session.
    # If there isn't a currently running session then TMUX will create one.
    # if which tmux 2>&1 >/dev/null; then
    ## if not inside a tmux session, and if no session is started start a new session
    # test -z "$TMUX" && (exec qterminal -e bash -c "tmux -q has-session && exec tmux attach-session -d || exec tmux new-session -n $USER -s $USER")
    # fi
    # ===================================================================================================
    Edit: fixed a few typos
    Last edited by MoonSwan (2014-10-25 01:22:52)

    Thank you very much for the response Jason and I am sorry for the late reply but as usual life got in the way.
    I ended up doing some more experimentation and I did fix the bug you pointed out.  When this didn't solve the problem I started to look at other files.  It turned out that my .bash_aliases file was the real culprit.  The offending line was:
    alias su='su -l | cd ~/' # invokes a login shell then changes to root's home directory
    I fixed the issue by changing that line to read:
    alias su='su -l ' # invokes a login shell then changes to root's home directory
    As always thank you for the help, 

  • [solved] three questions regardings functions and aliases in .bashrc

    Hi everyone,
    i've been adding some useful functions and aliases i found at these forums to my .bashrc.
    However, i have some problems with shell scripting i hope someone more knowledgable here can help me out with:
    1)
    I've found a useful function here at the forum that detaches an application from the terminal and redirects the output to /dev/null.
    The problem is, sudo doesn't recognize it.
    One example:
    alias sm="nh sudo medit" works.
    alias sm="sudo nh medit" gives me nh: command not found
    Can i make sudo recognize functions in my .bashrc?
    2)
    I use the alias f="find | grep" which works very nice for me however it only searches the current working directory.
    What i want to achieve is an alias or function that let's me specify the path "find" will look in so i can write: f path file.
    Among others I've tried alias fs="{ find $1 -iname '*'$2'*'; }" and similar aliases and functions but either find  or grep (if used) are always complaining about something.
    3)
    This is actually quite similar to 2).
    I've added shopt -s extglob to my .bashrc which allows me to exclude files from removal via rm !(file).
    So now i can type rm !(g*) and everything in the current directory except files starting with g get deleted.
    This is great but since I'm very lazy i want to wrap it in an alias so i can type the following with wildcard support just like above:
    rme file1 file2 file3
    I hoped alias rme="rm !($1) ($2) ($3)" would do the trick here but i guess i suck at shell scripting.
    Any suggestions?
    Thanks for your help.
    Regards,
    demian
    Last edited by demian (2010-04-13 09:35:45)

    Regarding issue 1)
    17:22 ~ > type nh
    nh is a function
    nh ()
    nohup "$@" &>/dev/null &
    Could you explicate what you mean by adding nh to the path? I have a PATH variable defined for my own scripts and i actually thought of adding .bashrc somehow to it, but i don't really know how. I guess i would have to export the function into a file and add that directory containing that file to my PATH=$PATH:..."?
    If switching to zsh would fix issue 1 i'd consider it. But wouldn't i have to rewrite most of my .bashrc? Because that'd probably be alot of work.
    Regarding issue 2)
    Thanks, I'm using functions for finding files / content now and it works splendid.
    f () { find -iname $1 2>/dev/null; }
    fc ()
    { # find | grep
    if [ $# -eq 0 ]; then
    echo "findcontent: No arguments entered."; return 1
    else
    # "{.[a-zA-Z],}*" instead of "." makes the output cleaner
    find {.[a-zA-Z],}* -type f 2>/dev/null | xargs grep --color=auto -n $* 2>/dev/null
    fi
    fcd ()
    { # find | grep
    if [ $# -eq 0 ]; then
    echo "findcontent: No arguments entered."; return 1
    else
    # "{.[a-zA-Z],}*" instead of "." makes the output cleaner
    find $1 {.[a-zA-Z],}* -type f 2>/dev/null | xargs grep --color=auto -n $2 2>/dev/null
    fi
    fd () { find $1 -iname $2 2>/dev/null; }
    ff () { find / -iname $1 2>/dev/null; }
    Do you by chance know how i can get the find output colorized? I tried it with grep but i had some trouble with wildcards.
    Other than that, issue 2 is solved now, thanks guys .
    Regarding issue 3)
    I couldn't make that work even with functions. I wonder if it's even possible using "shopt -s extglob".
    Because if i run "rm !(g*)" in my terminal it works fine. Every file except those starting with g get deleted.
    But if i fun "rm !(g*) !(7*)" to keep files starting with 7 too, everything get's deleted. Not even those starting with g remain.
    I'd be glad for any input here.
    Regards,
    demian
    Last edited by demian (2010-04-11 15:32:50)

  • [SOLVED] Grub Error "Read or write outside of disk hd0"

    Trying to install Arch Linux (as per client request) on an old Seagate Mirra Personal Server. I reflashed the bios to get rid of the Seagate modified ROM and put the standard, stock, VIA bios image on there. Everything boots fine, it boots windows fine. But when I install Arch Linux on the drive and try to boot, it errors out with
    Booting...
    GRUB Loading.
    Welcome to GRUB!
    error: attempt to read or write outside of disk 'hd0'.
    Entering rescue mode...
    grub rescue>
    When I ran grub-install and grub-mkconfig during installation neither reported errors or warnings. I'm open to ideas but I need to fix this sooner rather later as this is for a client. A forum thread I found in regards to Ubuntu and grub error 18 said to run:
    apt-get remove linux-server
    apt-get install linux-386
    under Ubuntu and then it would boot. I know Arch removed i386 support a few months ago but im finding it hard to believe that the error above is because of an architecture mismatch. Also I didnt think the CPU in this thing was that old. Hardware Info from the arch live cd says
    CPU Vendor: Centaur
    CPU Model: VIA Nehemiah
    1 core, 64k L2 Cache, 32bit
    the Mirra is from 2007 or so, so I expected i686 Arch to be just fine for it.
    Ideas???
    EDIT:
    Wikipedia's Article: https://en.wikipedia.org/wiki/VIA_C3
    States: "Additionally, it implemented the cmov instruction, making it a 686-class processor"
    So it shouldn't be an issue of i386 vs i686, right?
    Last edited by FathisAeril (2013-04-26 21:46:11)

    Good morning to all of You.
    Sorry for posting in a [SOLVED] thread but I find the info that I am about to add relevant and I am betting my vital organs that someone else might find it interesting too.
    I did an upgrade last night on my Thinkpad 600E. I was not upgrading it for several days (2 weeks tops) as I lost my USB wifi card and had no internet access on this particular machine. So...
    As always before upgrade I checked my rss reader for news and sure enough there was a very informative post from Allan (thanks Dude btw.) in there:
    https://www.archlinux.org/news/binaries … ervention/
    I did as I was told and upgraded in the indicated way. All was peachy till I rebooted to get new kernel to load. I was met with the mentioned error:
    error: attempt to read or write outside of disk 'hd0'.
    but the second part was slightly different.
    Error: You need to load kernel first
    SO since the error was different why am I posting here? Because even after Googling the whole error message this post was the first to come up in my search results so I am betting others will get here as well.
    Solution? After an hour or so of fighting (I tried booting up from the Arch CD and fscking partitions, reinstalling / reconfiguring grub, downgrading grub-bios and grub-common packages and many many other things) I finally rebooted to the Arch cd, chrooted (for all those that do not know what that means I would like to recommend this link as chrooting is explained in it https://wiki.archlinux.org/index.php/Be … %27_Guide) to the installation and I have reinstalled the linux (kernel) package and redid the image with the:
    mkinitcpio -p linux
    and rebooted. Turns out that did the trick. Apparently something went wrong during the kernel upgrade. Possibly due to the changes explained in Allan's article. Reinstalling kernel / recreating image did the trick for me.
    So if You are still wondering what am I doing here and why am I replying in this thread - the answer is - 99% search results from Google suggests that this error means incompatibility between bios and the hard drive AND there is nothing really out there that I found helpful in this case. I mean it could not be a bios / hdd incompatibility. This drive has been used in this machine for few years and it was running Arch since November 2012... so this just could not be the case. I am just giving a shout to all those that will get this error that there is another option too.
    Kind regards. Thanks for reading. My apologies again for sticking my nose in.
    Andrzej
    Edit: Few months later the same error - fix does not work... Trying to figure it out...
    Last edited by AndrzejL (2013-10-19 02:43:15)

  • Getting root to recognize .bashrc [SOLVED]

    How do I get root to recognize my home directory's .bashrc? I want it to read that so I can color the root BASH prompt and have access to aliases.
    Any help would be most appreciated.

    phrakture wrote:I know!
    Don't run as root, just use sudo.  Problem solved.
    Then how do you make sudo use your aliases, i've got
    alias emacs='emacs -nw'
    both in /home/user/.bashrc and /root/.bashrc... it works well when i just type emacs in a console, but sudo emacs starts emacs with its ugly gui (although starting emacs after typing sudo -s works the way i want it to)
    It's the same with with ls too, try and compare ls to sudo ls

  • [SOLVED] Use the nouveafb as framebuffer and the nv driver for Xorg

    Hi! I'm using Arch on a JAMMA Arcade cabinet (one of those old arcade cabinet) so i need some strange video resolution to suit my needs.
    The best option is a 640x240 @ 60Hz vertical and 15Khz horizontal. Arcade screens must have an horizontal frequency of 15Khz or I'll fry my screen! Luckily i use a card called J-PAC that cut off the video signal if is not 15Khz.
    With Xorg there's no problem if i use the nv driver, using this Modeline do the trick:
    # 640x240x60.00 @ 15.240kHz Perfect screen mode for Xorg
    Modeline "640x240x60.00"  12.192000  640 656 720 800  240 244 248 254  -HSync +VSync
    I've found this modeline using a little program called umc: http://aur.archlinux.org/packages.php?ID=27550
    Instead Xorg crash randomly if I use the same modeline with the nouveau driver, sometimes at startup, other times during the Xorg session. I use some "no edid" options that let me use strange video resolutions but i don't know if this is bothering the nouveau driver or not, surely it isn't bothering the old dear nv driver.
    BUT WAIT!!!!
    The nv driver can be loaded only if the nouveau driver is not loaded!
    So if I use the nv driver for Xorg i lose the nouveafb, and the nouveafb is the only one that works for me 'cause i can't force a non standard video resolution like 640x240@60hz on vesa and uvesafb! At least this is what i've learned from the docs, tell me if i'm wrong: http://git.kernel.org/?p=linux/kernel/g … vesafb.txt
    For now the only thing that make the framebuffer works at 640x240 is this: video=DVI-I-1:640x240@60eMm but this kernel command works only with KMS and the nouveafb.
    So my question is, can i use the nouveau driver for framebuffer only ? and the NV driver for Xorg ?
    Or there is another approach ?
    I remind you that i need a resolution of 640x240 both on the framebuffer and on Xorg, i'm using an old GeForce4 Ti4600 that is supported by nouveau (chip NV20).
    Thank for your patience and your time. 
    Bye for now.
    Last edited by marcs (2011-06-28 12:05:13)

    Hi
    It seems (well for now all is stable)... that now I got a more stable situation loading the nouveau module directly from initramfs.
    I'm guessing that now this is the solution, is the only thing i've changed, now fbsplash works also on start. (yay!)
    For solution documenting, you can do the same doing like this:
    1. edit the /etc/mkinitcpio.conf file with nano, vim or whatever.
    2. Add at the MODULES="" the nouveau module like this: MODULES="nouveau"
    3. Add the modprobe.conf file to the FILES="" line, like this: FILES="/etc/modprode.d/modprobe.conf"
    4. OPTIONAL: If you are using fbsplash like me you must add at the HOOKS also the fbsplash script like this: HOOKS="base udev fbsplash ..." : look here: https://wiki.archlinux.org/index.php/Fbsplash
    5. OPTIONAL: On an arcade cabinet the best text font must be tiniest possible like an 8x8. I'm using cp865-8x8 wich is much better than Agafari-16 that is good for high resolutions. To use this console font as soon as possible you can add also consolefont to the HOOKS like, like this: HOOKS="...[stuff before] consolefont"; look here: https://wiki.archlinux.org/index.php/Fo … fault_font.
    6. Then you must remake the initramfs images doing this: mkinitcpio -p kernel26 (or whatever kernel you wan't to use as a model, i'm using kernel26-fbcondecor).
    To use fbcondecor, you can find the kernel26-fbcondecor package from AUR: http://aur.archlinux.org/packages.php?ID=15603 (please support this package)
    Xorg seems very stable for now. I'm using the nouveafb framebuffer with fbsplash on an old arcade cabinet and that's some fine eye candy man!
    PROBLEM SOLVED!
    BUT WAIT!!!
    I have to know now what's the difference between loading nouveau from initramfs... I don't know if the problem is related to nouveau or KMS or fbcondecor, or fbsplash, or the kernel I'm not so good to know that.
    Now can any kernel guru tell me what is the basic difference by loading a module from initramfs instead making the kernel load it, a part the fact that is loaded a bit earlier from initramfs. There are also difference between memory areas ?
    I'll send a bug report and how to reproduce it, but i guess that my configuration is a bit out of the mainstream...
    Thank to anyone that have taken a look at this post.

  • [SOLVED]error: attempt to read or write outside of partition

    Hello, I update my system at least once a week, sometimes I run pacman -Syu more than that. So this system is no more than about 7 days behind what is available today.  Last time I did this the kernel got updated and it updated itself again or at least it just ran mkinitcpio, also my passwd and group changed, anything that was not represented in the pacnew version got a representation, this last one mainly featured a lot of changes to "/usr/bin/nologin" from the login false version, whatever it was, nothing that looks too fussy.
    Reboot just to see what will happen and I am greeted with this:
    Booting `Arch Linux, with Linux core repo kernel'
    Loading Linux core repo kernel ...
    error: attempt to read or write outside of partition
    Loading initial ramdisk ...
    unaligned pointer 0x1d
    Aborted. Press any key to exit.
    I happen to have a usb drive that has Arch Linux 3.11.6.-1-ARCH, so I put that in and get an environment I can work with. Chroot in and so I can run mkinitcpio -p linux, thinking that that is the problem, some error in the kernel, I actually end up using the command
    # /usr/lib/modules
    , since
    # mkinicpio -p linux
    won't run, it gives:
    ==> Building image from preset: /etc/mkinitcpio.d/linux.present: 'default'
    -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.config -g /boot/initramfs-linux.img
    hexdump: /boot/vmlinuz-linux: Input/output error
    ==> ERROR: invalid kernel specified: '/boot/vmlinuz-linux'
    ==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'fallback'
    -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.config -g /boot/initramfs-linux-fallback.img -S autodetect
    hexdump: /boot/vmlinuz-linux: Input/output error
    ==> ERROR: invalid kernel specified: '/boot/vmlinuz-linux'
    However,
    # mkinitcpio -g /boot/linux.img -k 3.14.6-1-ARCH
    will. Everything finishes with a success, exit out, reboot and bam, same message, so it is not the kernel at least not on its own.  Here is what my fstab looks like:
    # /etc/fstab: static file system information
    # <file system> <dir> <type> <options> <dump> <pass>
    # /dev/sda3
    UUID=4dbfa319-4f88-49c1-a595-27faabfe4f57 / ext3 rw,relatime,data=ordered 0 1
    # /dev/sda1
    UUID=4C05-1A6B /boot vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro 0 2
    # /dev/sda4 LABEL=home
    UUID=bff35508-596c-4d7c-a983-b6b0ddc4f6e2 /home ext3 rw,relatime,data=ordered 0 2
    # /dev/sda2
    UUID=e87030ad-3226-41e3-938a-5be3351e34ed none swap defaults 0 0
    #efivars
    efivarfs /sys/firmware/efi/efivars efivarfs defaults 0 0
    #MySQL, linux version
    tmpfs /var/lib/mysqltmp tmpfs rw,gid=89,uid=89,size=100m,mode=0750,noatime 0 0
    and my mkinitcpio.conf
    # 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=""
    # BINARIES
    # This setting includes any additional binaries a given user may
    # wish into the CPIO image. This is run last, so it may be used to
    # override the actual binaries included by a given hook
    # BINARIES are dependency 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 any way. This is useful for config files.
    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
    # '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 block filesystems"
    ## This setup will generate a 'full' image which supports most systems.
    ## No autodetection is done.
    # HOOKS="base udev block filesystems"
    ## This setup assembles a pata mdadm array with an encrypted root FS.
    ## Note: See 'mkinitcpio -H mdadm' for more information on raid devices.
    # HOOKS="base udev block mdadm encrypt filesystems"
    ## This setup loads an lvm2 volume group on a usb device.
    # HOOKS="base udev block lvm2 filesystems"
    ## NOTE: If you have /usr on a separate partition, you MUST include the
    # usr, fsck and shutdown hooks.
    HOOKS="base udev autodetect modconf block filesystems keyboard fsck"
    # COMPRESSION
    # Use this to compress the initramfs image. By default, gzip compression
    # is used. Use 'cat' to create an uncompressed image.
    #COMPRESSION="gzip"
    #COMPRESSION="bzip2"
    #COMPRESSION="lzma"
    #COMPRESSION="xz"
    #COMPRESSION="lzop"
    #COMPRESSION="lz4"
    # COMPRESSION_OPTIONS
    # Additional options for the compressor
    #COMPRESSION_OPTIONS=""
    While I am here I might as well ask this is this an appropriate boot structure?
    /boot/
    >>>>/EFI/
    >>>>/>>>/grub/
    >>>>/>>>/>>>>grubx64.efi
    >>>>/grub
    >>>>/>>>>/fonts
    >>>>/>>>>/grub.cfg
    >>>>/>>>>/grub.cfg.example
    >>>>/>>>>/grubenv
    >>>>/>>>>/local
    >>>>/>>>>/>>>>/*.mo files
    >>>>/>>>>/themes/
    >>>>/>>>>/>>>>>>/starfield/*.png *.pf2 files
    >>>>/>>>>/x86_64-efi
    >>>>/>>>>/>>>>>>>/ *.mod files
    >>>>/initramfs-linux-fallback.img
    >>>>/initramfs-linux.img
    >>>>/linux.img
    >>>>/vmlinuz-linux
    Anyone have any ideas on what I can do to get my system back?
    Last edited by Never (2014-06-11 03:17:24)

    Inside of my rescue disk I get:
    # efibootmgr
    BootCurrent: 000A
    Timeout: 0 seconds
    BootOrder: 0005,0003,0001,0002,000A,0004,0000,0007,0008,0009
    Boot0000 Windows Boot Manager
    Boot0001* USB Flopp/CD
    Boot0002* USB Hard Drive
    Boot0003* arch_grub
    Boot0004* ATAPI CD-ROM Drive
    Boot0005* grub
    Boot0007* CD/DVD Drive
    Boot0008* USB Floppy/CD
    Boot0009* Hard Drive
    Boot000A* UEFI: SanDisk Cruzer Glide 1.26
    my /dev/sda1 was /boot/ not /boot/efi, so I made that change, allowing /boot on / [/dev/sda3] to now be populated with part of the stuff on /dev/sda1 and /dev/sda1 would just have /boot/efi/, instead of all of boot, then ran:
    # modprobe -r efivars
    # umount /sys/firmware/efi/efivars
    # modprobe -r efivarfs
    # modprobe efivarfs
    # mount -t efivarfs efivarfs /sys/firmware/efi/efivars
    # efivar -l
    returned a bunch of variables
    # grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=grub --recheck --debug
    # grub-mkconfig -o /boot/grub/grub.cfg
    # efibootmgr
    BootCurrent: 000A
    Timeout: 0 seconds
    BootOrder: 0003,0001,0002,000A,0004,0000,0007,0008,0009
    Boot0000 Windows Boot Manager
    Boot0001* USB Flopp/CD
    Boot0002* USB Hard Drive
    Boot0003* grub
    Boot0004* ATAPI CD-ROM Drive
    Boot0007* CD/DVD Drive
    Boot0008* USB Floppy/CD
    Boot0009* Hard Drive
    Boot000A* UEFI: SanDisk Cruzer Glide 1.26
    arch_grub, whatever that was, went away. Pull out of arch-chroot, unmount sdaXs, reboot and:
    ERROR: No boot disk has been detected or the disk has failed.
    An extensive hp diagnostic check reveals... Nothing wrong.
    A reboot and removal of all data written in /dev/sda1 and /dev/sda3/boot sectors reveals:
    # mkdir /boot/efi/123
    mkdir: cannot create directory /boot/efi/123: Cannot allocate memory
    Which persist even on a restart and trying to mkdir into /mnt/arch/boot/efi/EFI while outside of arch-chroot. No idea why that is happening, oh well.

  • Issue with fortune-mod and .bashrc solved..

    someone may find this useful. I was working with fortune-mod. I put the fortune-mod call into my .bashrc, so that every time I create a new shell, i get a new futurama quote.  8)
    Anway, it was screwing up my scp activities, because it was generating output.
    So, to avoid this, use the following in your .bashrc
    if [ "$PS1" ]; then
    /usr/bin/fortune futurama
    fi
    similarly, if you want any textual output to appear everytime you create a shell, make sure to put it between the above if and fi.
    of course, make sure you put this BEFORE you set your shell to something nice like:
    PS1="\[\033[01;31m\](\[\033[00;37m\]\u@\h \W\[\033[01;31m\])\[\033[00m\]\$ "
    hope this helps someone. It took me a little while to figure out what was going on.  [/code]

    I wasn't looking for this but now that i've found it it's great!
    Cheers!

Maybe you are looking for

  • JRockit JVM Crashed with the following dump

    I am using JRockit VM as the JVM for the Integrated Weblogic Server with JDeveloper. I got this dump, when I was debugging my application. Just thought of sharing it here. [JRockit] ERROR: The JVM has crashed. Writing crash information to /scratch/xx

  • Runtime Error Firefighter log in GRC 10.0

    When logging into the AC system with a firefighter user the system generates the following runtime error: Runtime Errors         OBJECTS_OBJREF_NOT_ASSIGNED_NO Except.                CX_SY_REF_IS_INITIAL ABAP Program           CL_GRAC_AD_ACCESS_MGMT=

  • Acrobat X has stopped working

    Acrobat X (which I have on Windows 7 as part of CS6) stopped working after being updated by Adobe Application Manager yesterday - it just won't open. I uninstalled and reinstalled it; it opened once and then stopped working again. I've also started g

  • Strange issue on newly installed 5510

    Hi all, A couple issues came up after installing our new 5510, a couple sites that uses the same ISP as our's had issues, one where we can email them but their incoming to us wasn't working, and another site we couldn't browse on the web. This all wo

  • Urgent :Deploying ADF Project

    Dear All : i am deploying my project into stand alone weblogic server 10.3.2.0 and i user jdevloper 11 , i face the following problem while i am tring to tun it : unresolve application library referance , define in weblogic-application.xml [extenstio