Upgraded to 14.04 reboot fail

121

I had the same problem this morning, after my 13.10 to 14.04 upgrade last night. My setup is a dual boot with Windows, using the windows boot manager.

I found the solution here: same issue with Win 8

The precis is:

  1. When I select Ubuntu from the boot manager, I hold the shift key
  2. This brings up Grub manager
  3. With the first line selected, hit "e" (for edit)
  4. Hunt down through the boot instructions to a long command line that includes options "ro quiet splash"
  5. Change the "ro" to "rw" (readonly to read-write)
  6. ctl-x to save and run

This brought me right up in 14.04 LTS. The disclaimer is that I don't have any idea why it worked. I then edited /boot/grub.cfg to make this same change permanent (suggestions on the correct way to do this appreciated).

Share:
121

Related videos on Youtube

user198989
Author by

user198989

Updated on September 18, 2022

Comments

  • user198989
    user198989 over 1 year

    I have a working splashscreen activity. However, if user hits back button, and after resume the application again, i don't want to show splashscreen. How can I do that ?

    SplashScreen.java

    public class SplashScreen extends Activity {
    
        @Override
        public void onCreate(Bundle savedInstanceState) {
            super.onCreate(savedInstanceState);
            setContentView(R.layout.activity_splash);
    
            Thread t = new Thread() {
                public void run() {
                    try {
                        int time = 0;
                        while (time < 4000) {
                            sleep(100);
                            time += 100;
                        }
                    }
                    catch (InterruptedException e) {
                        // do nothing
                    }
                    finally {
    
                        Intent i = new Intent(SplashScreen.this, MainActivity.class);
                        startActivity(i);
                        finish();
                    }
                }
            };
            t.start();
    
        }
    }
    

    AndroidManifest.xml

    <?xml version="1.0" encoding="utf-8"?>
    <manifest xmlns:android="http://schemas.android.com/apk/res/android"
        package="com.fardrop.radarso">
    
        <uses-permission android:name="android.permission.INTERNET" />
        <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
    
        <application
            android:allowBackup="true"
            android:icon="@mipmap/ic_launcher"
            android:label="@string/app_name"
            android:roundIcon="@mipmap/ic_launcher"
            android:supportsRtl="true"
            android:theme="@style/app_theme">
    
            <activity
                android:name="com.fardrop.radarso.SplashScreen"
                android:label="@string/app_name"
                android:screenOrientation="portrait"
                android:theme="@android:style/Theme.Black.NoTitleBar" >
                <intent-filter>
                    <action android:name="android.intent.action.MAIN" />
    
                    <category android:name="android.intent.category.LAUNCHER" />
                </intent-filter>
            </activity>
    
        <activity android:name=".MainActivity"
                android:label="@string/app_name"
                android:launchMode="singleInstance"
                android:alwaysRetainTaskState="true"
                android:icon="@mipmap/ic_launcher"
                android:screenOrientation="portrait"
                android:theme="@style/AppTheme">
            </activity>
    
        </application>
    
    </manifest>
    
    • Mohamed Sami
      Mohamed Sami over 9 years
      This solved the problem, I see the desktop but it keeps loading without entering Ubuntu environment
    • Azim Shaikh
      Azim Shaikh almost 7 years
    • King of Masses
      King of Masses almost 7 years
      store your splash screen state in shared pref and check it in onCreate of the spalsh screen and if user already visited it simply navigate to homescreen
  • Blaine
    Blaine almost 7 years
    well dang, I have no idea how you figured that out, but it works! I was on wubi if that makes any difference...
  • user3304007
    user3304007 almost 7 years
    Tried both of the methods, it still shows the splash :/