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:
- When I select Ubuntu from the boot manager, I hold the shift key
- This brings up Grub manager
- With the first line selected, hit "e" (for edit)
- Hunt down through the boot instructions to a long command line that includes options "ro quiet splash"
- Change the "ro" to "rw" (readonly to read-write)
- 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).
Related videos on Youtube
Author by
user198989
Updated on September 18, 2022Comments
-
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 over 9 yearsThis solved the problem, I see the desktop but it keeps loading without entering Ubuntu environment
-
Azim Shaikh almost 7 years
-
King of Masses almost 7 yearsstore 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 almost 7 yearswell dang, I have no idea how you figured that out, but it works! I was on wubi if that makes any difference...
-
user3304007 almost 7 yearsTried both of the methods, it still shows the splash :/