Stuck with grub problem (SOLVED)

Today i tried to upgrade my Arch Linux, it downloaded everything that should be downloaded, it was installing upgrades but at the installing grub it stucks as like this
"Copying /boot/grub/grub.cfg.pacsave to /boot/grub/grub.cfg"
I've waited it for about 15 minutes, it didn't move on. So i did ctrl+z to break. Then i tried to update again. But it gives an error which is:
error: failed to commit transaction (conflicting files)
python: /usr/bin/2to3 exists in filesystem
Error occured, no packages were upgraded.
Please help me guys!
Last edited by bilgee0629 (2011-03-21 10:36:28)

Problem solved by moving 2to3 to other directory.

Similar Messages

  • Still stuck with report problem

    Hi guys,
    As you said i downloaded crystal report and ireport.I tried to connect my database to ireport.i got it.i can view my report .but now i dont know how to call the jxrml file from jsp.i googled alot but couldnot find anything suitable for a jsp beginner.Please help me to solve this.I am in a dead end.

    In your example you selected the pair with the greatest
    distance from the first set, and the pair with the least
    distance from the second. I don't see how the distance
    function was used.
    Also it's not clear to me that there is always a solution,
    and, if there is, whether consistently choosing the
    furthest or the closest pairs will always work.
    The most obvious approach is to systematically try
    all possibilities until the answer is reached, or there
    are no possibilities left. This means backtracking whenever
    a point is reached where you cannot continue. In this case
    backtrack one step and try another possibility at this
    step. After all possible choices of the previous step,
    backtrack one more step and so on.
    This seems rather involved, and it probably is.
    Interestingly, if you know Prolog, it is ridiculously
    easy because Prolog does all the backtracking for you.
    In Java, you can implement the algorithm in much the same
    way as Prolog implementations do it--keep a list of all the
    choice points and work through them until success or there
    are none left.
    If you do know Prolog, you could generate lots of random
    problems and see if there is always a solution.

  • In and not in - stuck with exclusion problem

    From the following data
    ID REF_NUM FLAG
    L000304T 117930 M
    L001538N 126199 R
    L001538N 126191 M
    L006339H 150427 N
    L008519X 139085 R
    L008519X 139075 M
    L008579J 402452 R
    L008579J 144668 M
    L008579J 402429 R
    L043884W 447519 R
    L043885H 303383 C
    L043886X 303383 R
    The valid records are those with R
    We want to delete only those records with the IDs are in valid record but REF_NUM is not corresponding to that valid id.
    e.g in the above case
    L001538N 126199 R --- is valid hence
    L001538N 126191 M -- is invalid, to be deleted
    similarly the other invalid records to be deleted are
    L008519X 139075 M
    L008579J 144668 M
    We tried the query below, it is doesnt work.
    select *
    from FLAG_LKP del
    Where del.REF_NUM not in
    (select sel.REF_NUM -- selects all records with FLAG as R
    from FLAG_LKP sel
    where sel. FLAG = 'R'
    and sel.ID = del.ID)
    The catch is that in the outer query you should not use del.FLAG<> R because it is arrived through join with multiple tables, so if we include del.FLAG<> R, then it is repeating the logic in the inner sub-query in a reserve fashion.

    The catch is that in the outer query you should not use del.FLAG<> R because it is arrived through join with multiple tables,
    Clarification - I have put FLAG = R so as to present the problem simply. Actually the selection criteria (which will replace FLAG = R) results from a multiple table join.
    To put FLAG <> R in outer query would be to replicate the multi table join which I don't want

  • Stuck with array problem

    Hi, I am new to programming with C # and wondering if
    anyone can help me with one thing.
    The only thing I got is this array of letters, but need to sort them
    int[] letters = { "c", "s", "a", "k", "x", "l", "j" };
    and then print and save the array in alphabetical order.
    But the thing is that I never have converted the letters to INT wich I
    would need to do in order to sort them with bubble sorting and
    then convert back to letters to print and save in the right
    order.
    How will this code / program look like? The whole thing.
    Thanks and much appreciated for help!
    If you want more information, ill answer as quick is possible!

    Almost the same code works even for bubble sorting strings. Just use the string.Compare method instead of the > operator:
    string[] letters = { "c", "s", "a", "k", "x", "l", "j" };
    string temp;
    for (int write = 0; write < letters.Length; write++)
    for (int sort = 0; sort < letters.Length - 1; sort++)
    if (string.Compare(letters[sort],letters[sort + 1]) == 1)
    temp = letters[sort + 1];
    letters[sort + 1] = letters[sort];
    letters[sort] = temp;
    And for chars:
    char[] letters = { 'c', 's', 'a', 'k', 'x', 'l', 'j' };
    char temp;
    for (int write = 0; write < letters.Length; write++)
    for (int sort = 0; sort < letters.Length - 1; sort++)
    if (letters[sort] > letters[sort + 1])
    temp = letters[sort + 1];
    letters[sort + 1] = letters[sort];
    letters[sort] = temp;
    Once again, please remember to mark helpful posts as answer to close the thread once you original question has been answered and start a new thread if you have a new question.
    Thank you, and i got a few more questions about this before ill mark this thread as answered.
    That codes u just sent me, whats the different between them, the string and char? They almost
    look the same except the string and char part.
    And then im wondering, how will i write down so i can see the results when im debugging it?
    Is it with Console.Write or WriteLine? I can't remember.

  • Stuck with classpath problem

    class HelloWorldApp {
           public static void main(String[] args)
                      System.out.println("Hello World!"); // Display the string.
                      JarClassLoader jcl=new  JarClassLoader("test-jcl.jar");
    }i have above program code in HelloWorldApp.java file
    this program is kept in directory /home/vipin/JCL/
    in the same directory i have two jar file jcl.jar and test-jcl.jar
    content of jcl.jar file is as
    META-INF/
    META-INF/MANIFEST.MF
    jcl.properties
    log4j.properties
    xeus/
    xeus/jcl/
    xeus/jcl/AbstractClassLoader.class
    xeus/jcl/ClasspathResources.class
    xeus/jcl/Configuration.class
    xeus/jcl/JarClassLoader.class
    xeus/jcl/JarResources.class
    xeus/jcl/JclObjectFactory.class
    xeus/jcl/exception/
    xeus/jcl/exception/JclException.class
    and content of test-jcl.jar is as
    META-INF/
    META-INF/MANIFEST.MF
    log4j.properties
    xeus/
    xeus/jcl/
    xeus/jcl/test/
    xeus/jcl/test/Test.class
    and i am compiling my HelloWorldApp.java as
    javac -classpath /home/vipin/JCL\ LIBRARY/jcl.jar HelloWorldApp.java
    but it gives error as:
    HelloWorldApp.java:7: cannot resolve symbol
    symbol  : class JarClassLoader
    location: class HelloWorldApp
                      JarClassLoader jcl=new  JarClassLoader("test-jcl.jar");
                      ^
    HelloWorldApp.java:7: cannot resolve symbol
    symbol  : class JarClassLoader
    location: class HelloWorldApp
                      JarClassLoader jcl=new  JarClassLoader("test-jcl.jar");what goes wrong with me?

    Vipin_Dahiya wrote:
    but it gives error as:
    HelloWorldApp.java:7: cannot resolve symbol
    symbol  : class JarClassLoader
    location: class HelloWorldApp
    JarClassLoader jcl=new  JarClassLoader("test-jcl.jar");
    ^
    HelloWorldApp.java:7: cannot resolve symbol
    symbol  : class JarClassLoader
    location: class HelloWorldApp
    JarClassLoader jcl=new  JarClassLoader("test-jcl.jar");what goes wrong with me?"cannot resolve symbol" is the compiler's way of saying "I don't know what JarClassLoader is!" You need to import JarClassLoader so that you can use it in your program.
    Remember to use the full name of the class in your import statement. And make sure whatever jar file it lives in is included as part of the classpath you use when compiling the program.

  • Please Help Me - I am stuck with this problem for days

    O.k I have posted couple of problems here. But the latest one is as follows
    I trying to pass a Stiring Array from Java function to my native method. the native function in turn invokkes another function that takes a char [][] as its parameter. My native function basically converts teh jobjectarray into char [][] and then invoke the other function.
    JNIEXPORT jboolean JNICALL
    Java_copilotplus_DataTransferTab_GetStatus
    (JNIEnv *env, jobject o, jobjectArray fn, jlongArray size)
    char szStr[8][33];
    int len = env->GetArrayLength( fn );
    int i=0;
    for( i=0; i < len; i++ )
    jobject obj = env->GetObjectArrayElement(fn, i);
    jstring str = (jstring)obj;
    szStr[33] = (char)env->GetStringUTFChars( str, 0 );
         //*file = szStr[i];
    BOOL status = Upload(szStr);
    return status;
    BOOL Upload(char pFileName [][33])
         return TRUE;
    Now this compiles fine and makes a dll
    But when I run my java program it gives me this error
    HotSpot Virtual Machine Error, EXCEPTION_ACCESS_VIOLATION
    # Please report this error at
    # http://java.sun.com/cgi-bin/bugreport.cgi
    # Error ID: 4F533F57494E13120E43505002D4
    What am I doing wrong
    Please Help
    Vaishali

    The problem was that I did not ahve any actual values in the String Array. I was doing like this initially
    String []file = new String[8]
    and then when i pass file to the dll it was trying to read something which was not there. That's why it was crashing.
    But now I put some values in it and then it works fine.

  • Mythtv with systemd problems [SOLVED]

    Anyone using mythtv with systemd?  I am using the following to get systemd to start mythbackend but it attempts to start before mysqld is fully ready and thus fails:
    $ cat /etc/systemd/system/mythbackend.service
    [Unit]
    Description=MythTV backend service
    After=network.target mysqld.service
    [Service]
    Type=simple
    Environment=MYTHCONFDIR=/etc/conf.d/mythbackend
    Environment=HOME=/usr/share/mythtv
    User=mythtv
    ExecStart=/usr/bin/mythbackend --logpath /var/log/mythtv
    [Install]
    WantedBy=multi-user.target
    Here is the status output... any advice?
    # systemctl status mythbackend.service
    mythbackend.service - MythTV backend service
    Loaded: loaded (/etc/systemd/system/mythbackend.service; enabled)
    Active: failed (Result: exit-code) since Thu, 10 May 2012 11:59:57 -0400; 2min 40s ago
    Process: 415 ExecStart=/usr/bin/mythbackend --logpath /var/log/mythtv/mythbackend.log (code=exited, status=130)
    CGroup: name=systemd:/system/mythbackend.service
    May 10 11:59:54 mars mythbackend[415]: 2012-05-10 11:59:54.273466 E Driver error was [1/2002]:
    May 10 11:59:54 mars mythbackend[415]: QMYSQL: Unable to connect
    May 10 11:59:54 mars mythbackend[415]: Database error was:
    May 10 11:59:54 mars mythbackend[415]: Can't connect to local MySQL server through socket '/var/ru... (2)
    May 10 11:59:56 mars mythbackend[415]: No UPnP backends found
    May 10 11:59:56 mars mythbackend[415]: Would you like to configure the database connection now? [no]
    May 10 11:59:56 mars mythbackend[415]: [console is not interactive, using default 'no']
    May 10 11:59:56 mars mythbackend[415]: 2012-05-10 11:59:56.526065 I UPnPautoconf() - No UPnP back...ound
    May 10 11:59:56 mars mythbackend[415]: 2012-05-10 11:59:56.526080 A No UPnP backends found
    May 10 11:59:56 mars mythbackend[415]: 2012-05-10 11:59:56.526190 C Failed to init MythContext.
    Last edited by graysky (2012-05-11 20:17:34)

    Cool, 65kid.  Back on topic: http://rpm.pbone.net/index.php3/stat/4/ … 4.rpm.html
    $ cat ./usr/libexec/mysqld-wait-ready
    #!/bin/sh
    # This script waits for mysqld to be ready to accept connections
    # (which can be many seconds or even minutes after launch, if there's
    # a lot of crash-recovery work to do).
    # Running this as ExecStartPost is useful so that services declared as
    # "After mysqld" won't be started until the database is really ready.
    # Service file passes us the daemon's PID
    daemon_pid="$1"
    # extract value of a MySQL option from config files
    # Usage: get_mysql_option SECTION VARNAME DEFAULT
    # result is returned in $result
    # We use my_print_defaults which prints all options from multiple files,
    # with the more specific ones later; hence take the last match.
    get_mysql_option(){
    result=`/usr/bin/my_print_defaults "$1" | sed -n "s/^--$2=//p" | tail -n 1`
    if [ -z "$result" ]; then
    # not found, use default
    result="$3"
    fi
    # Defaults here had better match what mysqld_safe will default to
    get_mysql_option mysqld datadir "/var/lib/mysql"
    datadir="$result"
    get_mysql_option mysqld socket "$datadir/mysql.sock"
    socketfile="$result"
    # Wait for the server to come up or for the mysqld process to disappear
    ret=0
    while /bin/true; do
    RESPONSE=`/usr/bin/mysqladmin --socket="$socketfile" --user=UNKNOWN_MYSQL_USER ping 2>&1`
    mret=$?
    if [ $mret -eq 0 ]; then
    break
    fi
    # exit codes 1, 11 (EXIT_CANNOT_CONNECT_TO_SERVICE) are expected,
    # anything else suggests a configuration error
    if [ $mret -ne 1 -a $mret -ne 11 ]; then
    ret=1
    break
    fi
    # "Access denied" also means the server is alive
    echo "$RESPONSE" | grep -q "Access denied for user" && break
    # Check process still exists
    if ! /bin/kill -0 $daemon_pid 2>/dev/null; then
    ret=1
    break
    fi
    sleep 1
    done
    WTF: /usr/bin/my_print_defaults
    Here is the Arch rc.d script... how to adapt this for systemd?
    stat_busy "Starting MySQL Server"
    [ ! -d /var/run/mysqld ] && install -d -g mysql -o mysql /var/run/mysqld &>/dev/null
    if [ -z "$(getPID)" ]; then
    /usr/bin/mysqld_safe --user=mysql &>/dev/null &
    if [ $? -gt 0 ]; then
    stat_fail
    exit 1
    else
    timeo=30
    while [ $timeo -gt 0 ]; do
    response=`/usr/bin/mysqladmin -uUNKNOWN_USER ping 2>&1` && break
    echo "$response" | grep -q "mysqld is alive" && break
    sleep 1
    let timeo=${timeo}-1
    done
    if [ $timeo -eq 0 ]; then
    stat_fail
    exit 1
    else
    echo $(getPID) > /var/run/mysqld/mysqld.pid
    add_daemon mysqld
    stat_done
    fi
    fi
    else
    stat_fail
    exit 1
    fi
    Last edited by graysky (2012-05-10 19:06:04)

  • Stuck with a problem while inserting a record into infotype

    Hi Gurus,
    I have to insert all active record into 378 infotype. At particular pernr hr_operation_infotype is throughing with an error stating 'E00                  058Entry    does not exist - check your entry' . How to rectify it.
    Ravi

    error message is 'E00                  058Entry    does not exist - check your entry            '
    My code is as follows
      INFOTYPES : 0378.
      DATA: BEGIN OF abc1 OCCURS 0,
                  pernr   TYPE pa0000-pernr,
                  stat2   TYPE pa0000-stat2,
                  begda   TYPE pa0000-begda,
            END OF abc1.
      DATA lt_pernr_pa0000 LIKE TABLE OF abc1.
      DATA ls_pernr_pa0000 LIKE  abc1.
      DATA l_subrc LIKE sy-subrc.
      DATA l_return LIKE bapireturn1 VALUE ' '.
    DATA begda LIKE sy-datum.
      DATA endda LIKE sy-datum.
      CLEAR: ls_pernr_pa0000, lt_pernr_pa0000.
      SELECT  pernr stat2 begda
        INTO  CORRESPONDING FIELDS OF TABLE lt_pernr_pa0000
        FROM pa0000
        WHERE  stat2 = '3' AND endda = '99991231'  and pernr = 198.
      LOOP AT lt_pernr_pa0000 INTO ls_pernr_pa0000.
        REFRESH p0378.
        CALL FUNCTION 'HR_READ_INFOTYPE'
             EXPORTING
                  pernr           = ls_pernr_pa0000-pernr
                  infty           = '0378'
                  endda           = '99991231'
             IMPORTING
                  subrc           = l_subrc
             TABLES
                  infty_tab       = p0378
             EXCEPTIONS
                  infty_not_found = 1
                  OTHERS          = 2.
        IF l_subrc = 0.
          IF p0378-event = 'open' AND p0378-subty = 'open' AND
                        p0378-pernr = ls_pernr_pa0000-pernr.
            EXIT.
          ENDIF.
        ELSE.
    locking the pernr ********************
          CALL FUNCTION 'BAPI_EMPLOYEET_ENQUEUE'
               EXPORTING
                    number        = ls_pernr_pa0000-pernr
                    validitybegin = ls_pernr_pa0000-begda
               IMPORTING
                    return        = l_return.
    change the end date to 12/31/2007*************
          IF l_return-number IS INITIAL.
            p0378-pernr = ls_pernr_pa0000-pernr.
            p0378-endda = '99991231'.
            p0378-begda = '20070909'.
            p0378-subty = 'OPEN'.
            p0378-event = 'OPEN'.
            p0378-barea = 'US'.
            MODIFY p0378 INDEX 1  TRANSPORTING pernr endda begda subty event
                barea.
            CALL FUNCTION 'HR_INFOTYPE_OPERATION'
                 EXPORTING
                      infty         = '0378'
                      number        = ls_pernr_pa0000-pernr
                      record        = p0378
                      operation     = 'INS'
                 IMPORTING
                      return        = l_return.
          ENDIF.
    unlocking the pernr ********************
          IF l_return-number IS INITIAL.
            COMMIT WORK AND WAIT.
          ELSE.
            ROLLBACK WORK.
            EXIT.
          ENDIF.
          CALL FUNCTION 'BAPI_EMPLOYEET_DEQUEUE'
               EXPORTING
                    number        = ls_pernr_pa0000-pernr
                    validitybegin = ls_pernr_pa0000-begda
               IMPORTING
                    return        = l_return.
        ENDIF.
      ENDLOOP.
    ENDFUNCTION.

  • Im stuck with this problem. I have lots of strings each linked with

    another string value. I want to store all of them somehow and then sort them out alphabetically while retaining the link between them and the second string value.
    basically I have a set of string values called displayname which i want to sort alphabetically and then display. Each display name is linked to another string called featureobjectcode. When i sort and display them i want that link between the two string to be there so that i can display the string name and the corresponding featureobjectcode.

    can u demonstrate its implementation by showing me an example of how the code would look like?

  • Premier pro play back screen goes black a freezes every 15 minute . This is my second mac pro with identical problems.

    Premier pro play back screen goes black a freezes every 15 minute . This is my second mac pro with identical problems.

    SOLVED!!!!!
    SO I did some more digging around and read ATI cards seem to overheat easily.  I knew the fan was working, but after closer inspection I realised there was ALOT of built up dust on the card and clogging the fan and airflow.  Blew it out with alot of compressed air, stuck it back in the Mac and BAM...no black screens.  I tested it by streaming 6 video sources...doing 2 screen captures at once as well as watching a HD movie in fullscreen.  Did all this for 30 minutes and no crashes.  I also downloaded an app to monitor the temps inside the computer and the expansion bay stays at 41 degrees.  No clue what it was before but obviously it was hotter than that.  So my problem is solved!  Funny that 10.7.5 made the card work harder.  I wonder if its off loading some CPU stuff to the GPU for processing more than 10.7.4 so its just working a bit harder and so it heats up faster....

  • Stuck with intersecting paths and shaped gradients - instructions requested

    Hi guys,
    I'm new to this forum as this is my first post here, but I'm stuck with a problem in Illustrator and haven't been able to find the specific solution in other places on the net so far.
    Please have a look at the following design (can't seem to get the image up on this forum):
    http://www.mediafire.com/?pq7mjm4yx65r5cv
    This design has been first created in GIMP and now I want to redo it in Illustrator. I'm using CS6. I haven't been using Illustrator for very long, and I can't seem to get this part right.
    The areas highlighted in red (the shadows) are the major issue. To be able to get a 'folded' effect, I would like to apply subtle shadows on the visible areas of the lower ribbons, where they intersect with the ones on top, as the sample illustrates.
    I don't know how to achieve this effect. This is what I have tried so far:
    - Simple drop shadows, but of course they run outside of the visible areas of the ribbons.
    - I have also tried rectangular selections with a gradient from black to transparent, but for some reason those look right on the silver part of the design, but turn out brown-ish on the blue part. Besides, this is a lot harder to do on the curved sections you can see in the middle.
    Is there a simple way to do this in Illustrator? I have a gut feeling the solution lies somewhere in the pathfinder tool and/or clipping masks, but I'm not really confident as to how to make those work for me.
    As a secondary issue, I would like to get the same 1px bevel/emboss effect as the sample image shows. I have tried the 3D effect in Illustrator, but I can't get the right result that way. What would be the best way to do this?
    I would really appreciate it if someone could write me some short step-by-step instructions for this.
    Below is the sample file for Illustrator. It only has the main shapes and the general colors applied and nothing else.
    CS6 version: http://www.mediafire.com/?skpgfsmy2hxqi6s
    CS5 version: http://www.mediafire.com/?gxxix6el5wcnaad
    My infinite thanks in advance for any help given.
    ~ ID Graphics.

    Start with your simple drop shadows, and then use a clipping mask. Group your letters, and make a copy of the group. Femove shadows from the copy andhange the copy to a black fill. Apply the mask like this: All the unwanted parts of the shadow will be hidden.

  • Help with sales problem

    i need help finding the minimum and maximum sale, and print it saying "Salesperson 3 (or whoever) had the highest sale with 3560 (some amount)" and do the same for the minimum. i thought i had the right code to find it but i cant get it to work. can anyone tell me what i did wrong?
    import java.util.Scanner;
    public class Sales
         public static void main(String[] args)
              final int SALESPEOPLE = 5;
              int[] sales = new int[SALESPEOPLE];
              int sum;
              Scanner scan = new Scanner(System.in);
              for (int i=0; i<sales.length; i++){
              System.out.print("Enter sales for salesperson " + i + ": ");
              sales[i] = scan.nextInt();}
              int salesTotal = sales.length;
              int salesAverage = salesTotal / 5;
              System.out.println(salesAverage);
              System.out.println("\nSalesperson Sales");
              System.out.println("--------------------");
              sum = 0;
              int maxSale = sales[0];
              int minSale = sales[0];
              int maxNum = 0;
              int minNum = 0;
         for (int i=0; i < sales.length; i++)
              System.out.println(" " + (i) + "           $" + sales);
              sum += sales[i];
              if(sales[i] > maxSale);{
              maxSale = sales[i];
              maxNum = i;}
              if(sales[i] < minSale);
              minSale = sales[i];
              minNum = i;
              System.out.println("\nTotal sales: $" + sum);
              int average = sum / 5;
              System.out.println("\nThe average sale was: $" + average);
              System.out.println("Salesperson " + maxNum + " had the highest sale with " + maxSale);
              System.out.println("Salesperson " + minNum + " had the lowest sale with " + minSale);

    im now stuck with this problem:
    "After the list, sum, average, max and min have been
    printed, ask the user to enter a value. Then print
    the id of each
    salesperson who exceeded that amount, and the amount
    of their sales. Also print the total number of
    salespeople whose
    sales exceeded the value entered."
         if(sales[i] > value){
                        int personExceed = sales;
                        int exceedNum = i;
    System.out.println("Salesperson " +
    personExceed + " exceeded $" + exceedNum);
    is my code for printing out whats in bold right?
    Not quite. sales[i ] represents the $ amount of sales for salesperson number i. You want to loop over each salesperson's sales amount, and if it was higher than the given value, print out that person's:
    - salesperson id  (i)
    - amount of sales (sales[ i])
    Each time a person's sales exceed the given value, increment a counter. After you finish looping through the sales figures, print out that counter to show how many people exceeded the value.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Problems with GRUB

    I tried to install archlinux and almost everything went fine , until the moment i rebooted and was unable to access the new installation. Actually grub didn't install at all, during the installation i was presented with the grub configuration file, which i edited, but when i closed it threw me back to the install screen without any more questions. So i tried again, but the same thing happened it did not ask where to install it (mbr or elsewhere) so i had no other option but to reboot. Apparantely grub was not installed, so i booted from the CD and tried the arch root=/dev/sdb7 but at the end of the boot process it gives an error message: Kernel panic: not syncing or something like that. And just a few lines before that bash reported that root=/dev/sb7 is an unknown command. The strange thing is that during booting i saw a message saying that the partition i installed arch on was successfully mounted. I'm a bit confused, why grub refuses to install , and beyond that why i'm unable to boot even from the CD. With the old releases (7, 7.2) arch detected my hdd's as hda and hdb, now they are sda and sdb is this related to the problem ( i have ide drives) ?  Theres is something more, when i try to setup the root pass from the install menu, i get stuck in an endless loop, and the screen is flooded with the message "there is no such user" (smth like that) .

    Well, i thought about installing an older release of Arch (Ark ), but i would be trading one problem for another, because i had some problems with grub, which installed , but i was unable to boot because of the change between the booting images from kernel 2.4 to 2.6. Anyway i'm not giving up Noriko, thanks  for your advice

  • [SOLVED] Grub Problems Can boot Arch w/ grub edits only

    I had 3 Linux OS's installed on this computer, Arch and 2 versions of Ubuntu on one hard drive.
    The MBR belonged to Ubuntu, using grub2. I decided to get rid of the older Ubuntu (sda8 and 9) and add it's HDD space to my Arch home (sda12). Used the current Gparted live to modify the partitions and all went well, but of course, the numbers changed getting rid of 2 partitions.
    No boot upon restart so I decided to get Arch's grub back to the MBR with the new partition numbering scheme.
    Using a live CD, I used the grub shell, find /boot/grub/stage1.....etc, etc. and after a bit of fumbling, grub indicated success in the shell. When I was through though, a reboot was not successful, although the current stable grub was now written to the MBR.  I edited the lines using grub edit option, and got Arch to boot, and figured out the correct partition numbers. Next I edited the menu.lst to reflect the new sda numbers.
    Now rebooting results in a long delay when grub should be on the screen, and the numbers on the Arch entries reflect the old numbers still!! I double checked thinking I forgot to save the edits to the menu.lst file, but they are correct. I can boot Arch, but have to edit the lines each time.
    The current partitions are as follows. I edited the terminal output to show details.
    [jeff@Arch2009p2 ~]$ sudo fdisk -l
    Password:
    Disk /dev/sda: 750.2 GB, 750156374016 bytes
    255 heads, 63 sectors/track, 91201 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x000383e7
    Device Boot Start End Blocks Id System
    /dev/sda1 * 1 91201 732572001 5 Extended
    /dev/sda5 1 255 2048224+ 82 Linux swap / Solaris
    /dev/sda6 (ubuntu /) 256 1471 9767488+ 83 Linux
    /dev/sda7 (ubuntu /home) 1472 22321 167477593+ 83 Linux
    /dev/sda8 (arch boot) 22322 22325 32098+ 83 Linux
    /dev/sda9 (arch /) 22326 23627 10458283+ 83 Linux
    /dev/sda10 (arch /home) 23628 91201 542788123+ 83 Linux
    I have a few questions regarding a separate boot partition for Arch.
    Should the grub> root (hd0.0) command be directed to the root or boot partition.
    My handy printed emergency guide says: Set grubs root device to the partition containing the boot directory.
    OK.....Writing it out now, it seems clear, so I'll try reinstalling grub from a live CD.
    Why does grub have incorrect partition numbers even though the menu.lst is correct?
    There are only 2 OS's on this box now, and one contains grub2.
    Is current grub able to interact with grub 2 if I screwed something up on the install?
    Last edited by jeff story (2010-05-24 20:05:06)

    OK
    I managed to fix the problem of grub not reading/using the menu.lst file. Not sure WTF it was reading and where that file was located!
    The problem seems to have been the most insignificant detail.
    When using the grub terminal, I did not execute the quit command when I was through. I just closed the terminal and rebooted.
    After repeating the following code via live CD a few times:
    $ sudo grub
    grub> find /grub/stage1
    grub> root (hd0,7)
    grub> setup (hd0)
    Grub still didn't read the current menu.lst.
    This morning I got things to work correctly and grub to read the current menu.lst by adding a quit command and returning to the linux shell prior to rebooting.
    I used the following commands:
    $ sudo grub
    grub> find /grub/stage1
    grub> root (hd0,7)
    grub> setup (hd0)
    grub> quit

  • Stuck with problems and no help

    hi,
    We are stuck with the following set of problems. Repeated entries to this forum have not fetced any response. If anybody can help us on any of these issues, please reply -
    1. We are not able to define any custom validator. We made our own validator that extends CompareValidor, but when we try to apply this rule to an attribute in the validation tab, we get the error - "no properties defined". Do i need to do something else besides creating a new class that extends CompareValidator and then writing my own code in the vlaidate method.
    2. While deploying our jspApplication on java web server, we are getting the message "error - null". The details are as mentioned in the Topic 'can anyone help!!!' that has been posted by Prabhdeep ().
    3. I have two tables, Customer and address. There is no FK between them (there cannot be because address is shared between many entities). In the address, i have 2 fields, BpType and BpId. BpType will contain 'C' to identity that this address is for a customer and id will have the customer id. In jdev 3.1, i have created entity and view objects for the 2 tables. also, i have made a view link. i need to put the condition Address.bpid = customer.customeid and address.bptype = 'c'. but it is not letting me put the second part of the condition. the chk on id works fine. as soon as i add a chk on type and test the application module, then while insertion of address i get the following error - "set method for BpType cannot be resolved".
    4. I have made a jsp appl based on bc4j. now, i need to put a check on any entity in such a manner that if the check fails, my jsp should ask the user that an exception is occuring and does he want to save even with the exceptional data. if he says yes, i want that the same entity should now save the data without giving an exception. How do i achieve this interaction between my entity and my jsp.
    Thanks a lot for any help,
    Aparna.

    I will answer Question #3:
    I'm not sure if I understand exactly what is
    happening. At first I thought you meant that you couldn't even add the second part of the association clause. But, later it sounds like you were able to add the second part of the clause (namely "address.bptype =
    'c'") and that you are experiencing some runtime error.
    Assuming the latter (that it is a RT problem), I take it this
    "...cannot be resolved" error is the error with code 27020.
    Under normal error conditions, you shouldn't get this error. Something "unusual" (or unforeseen by us) is happening if you are getting this error. Anyway, if you wrote your own client code, you should wrap a try/catch block around it, pick out the detail exception, and see what's going
    on. See the example code below:
    try
    ... make call that causes the exception ...
    catch(oracle.jbo.AttrSetValException ex)
    // Print stack trace for the outer ex
    ex.printStackTrace();
    // Get the inner exception
    Object[] details = ex.getDetails();
    if (details.length > 0)
    Exception innerEx = (Exception) details[0];
    // Now, print the inner exception's
    // stack.
    innerEx.printStackTrace();
    This will help shed some light on the exception and the cause of it.
    John - JDeveloper Team

Maybe you are looking for

  • BRF expression to check company code in SC

    Hello, I need to check company code in SC as a starting condition. There is standard expression 0V_IN_COMPANYCODE to check Company code in Invoice with those parameters : Result Type : C Access FM : /SAPSRM/WF_BRF_0EXP000 0C_C1_C_FWFINRLCNTNT     Cla

  • FI-AR drilldown report

    Hello, I use the drilldown report to display the due date analysis for open Item for the customer. But I see that only the amount in Local currency (field name DMSHB) is available. In our system, in FI, we have activated the parallel currency (group

  • 10.5.8 to 10.6  Can I use an internal SATA drive in my MacPro for back up..

    10.5.8 to 10.6 Can I use an INTERNAL SATA drive in my MacPro for back up.. or must I use an External hard dive. I prefer to use an internal for anti "desk-clutter" purposes. I am looking at a 2TB drive to install into my Mac Pro tower for the purpose

  • Need to protect Excel sheet

    Hi All, I am using Labview 7.0 and have successfully transported my data in to excel file. Further my requirement is to protect the excel sheet cell. I found many examples and codes for protecting sheet but my question is Can i make the excel sheet'

  • RMAN Oracle 9i - restore

    Gurus I want to restore a complete RMAN backup on my stage server (same layout, same binaries) from the NFS location. The method I follow is: - launch full backup from source on NFS drive accessible to both servers - startup nomount at target - resto