PDA

View Full Version : Unable to boot Ubuntu 15.10 on Toshiba laptops after several trials and tests



david474
December 8th, 2015, 05:51 AM
Hello Ubuntu community. I happend to get 2 different toshiba satellite laptops (2007 and 2012) which have exactly the same boot system and bios (no choice between bios en UEFI...). I used a 16Gb pendrive to try Ubuntu and they both work very well when working from the USB drive. I installed Ubuntu 15.10 on both laptops: one with a 250Gb old HDD and the newest one with a Sandisk 120Gb SSD. I tried installing besides Windows and also from a custom install. No luck, after 3 days of searching and trying different ways, I get the same results on both systems: boot hangs with the black screen with the message saying "Gave up waiting for root device... Busybox...(initramsfs)". I tried the Boot-Repair, it did repair different files, but no luck, neither laptop can boot by itself, but the GRUB file boots ok, I have the choice of OS on the old one (I want to keep Windows Vista on that one in another partition on the same disk). But on the newest one, I only have Ubuntu installed and I still see the GRUB file. Here is the result of the repair report on the newest system:

http://paste2.org/n80mJcK5

What did I overlooked ?

Thank you
David - new to Ubuntu
Montreal

oldfred
December 8th, 2015, 06:14 AM
Some Intel chips need a boot parameter. The nomodeset is for nVidia & AMD, but you add the Intel one the same way. And some laptops need other boot parameters in addition, like the acpi examples below.

At grub menu you can use e for edit, scroll to linux line and replace quiet splash with nomodeset.
How to set NOMODESET and other kernel boot options in grub2 - both BIOS liveCD & grub first boot ( also UEFI with grub)
http://ubuntuforums.org/showthread.php?t=1613132
Possible boot options suggested by ubfan1
http://ubuntuforums.org/showthread.php?t=2184839&p=12871710#post12871710
Installer BIOS screens shown and other boot parameters
https://help.ubuntu.com/community/BootOptions
(https://help.ubuntu.com/community/BootOptions)
# Usually Intel works with one of these:
i915.modeset=0
i915.i915_enable_rc6=1
video=1280x1024-24@60 # but change to your monitor size not 1280x1024
video=VGA-1:1280x1024-24@60 # but change to your monitor size
# Other settings in addition to above for other hardware related issues
acpi=0
acpi_osi=linux
acpi_backlight=vendor
noalpic


(https://help.ubuntu.com/community/BootOptions)

david474
December 8th, 2015, 02:41 PM
Thanks for you reply oldfred (http://ubuntuforums.org/member.php?u=852711), when doing this command, here is what I get:
ubuntu@ubuntu:~$ sudo update-grub
/usr/sbin/grub-prob: error: failed to get canonical path of '/cow.
ubuntu@ubuntu:~$

(http://ubuntuforums.org/member.php?u=852711)

oldfred
December 8th, 2015, 03:16 PM
You are trying to update grub on the live installer, you want to do that on your install.
You can chroot into your install, or use Boot-Repair which semi-automates it.

Boot Repair -Also handles LVM, GPT, separate /boot and UEFI dual boot.:
Precise, Trusty, Vivid, & Utopic all should work now with current ppa
https://help.ubuntu.com/community/Boot-Repair

david474
December 10th, 2015, 03:54 AM
Since the beginning, I installed 15.10 on the SSD and because it does not boot, I boot from the USB key with 15.10 installed.
I then make my changes to grub using the xterm with the gedit command. Is that the good way ? (of course its kind of slow I have to reboot everytime on the SSD to check if the changes take effect ...).
This is now the content of my grub:



# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
# info -f grub -n 'Simple configuration'

GRUB_DEFAULT=0
GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash nomodeset"
GRUB_CMDLINE_LINUX=""

# Usually Intel works with one of these:
i915.modeset=0
i915.i915_enable_rc6=1
video=1366X768-24@60 # but change to your monitor size not 1280x1024 : 1280X1024 is not a choice on that laptop...
video=VGA-1:1366X768-24@60 # but change to your monitor size
# Other settings in addition to above for other hardware related issues
acpi=0
acpi_osi=linux
acpi_backlight=vendor
noalpic

# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"

# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=console

# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
#GRUB_GFXMODE=640x480

# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true

# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_RECOVERY="true"

# Uncomment to get a beep at grub start
GRUB_INIT_TUNE="480 440 1"

I cannot update-grub, I still receive an error message:
ubuntu@ubuntu:~$ sudo update-grub
/usr/sbin/grub-prob: error: failed to get canonical path of '/cow.
ubuntu@ubuntu:~$

because of that message, I do a "boot-repair" and then I reboot.

What happens now when I reboot from the SSD is that after the GRUB menu, I select Ubuntu, I see a black screen, I see a purple screen (15.10) with the logo Ubuntu for 1-2 seconds, the cursor appears (bigger than normal) and it ends up with the purple background of 15.10. I can move the cursor and see it moving, but there is nothing on screen. It hangs there...

Thank you for your follow-up oldfred

oldfred
December 10th, 2015, 05:36 AM
Do not add the lines I posted to /etc/default/grub.
You need to convert it back to its default.

And you cannot run sudo update-grub from the live installer. The error on /cow is because the command is running on the live installer which it cannot update and not on your install.

Please go back to post #2 and how to add nomodeset. Review the links.
You add nomodeset or one of the Intel boot parameters when booting and you get the grub menu. It is not saved and has to be added each time, but usually nomodeset is not required once you install a proprietary video driver. Only if you have to add one of the other optional boot parameters may after you have booted may you want to add it to grub.

Do you get grub menu when you boot, or do you have to hold shift key from BIOS until menu appears when you reboot.

david474
December 15th, 2015, 02:16 AM
Dear oldfred,
I got it !
Although I spent 15hours trying to make my 2 laptops working, when I found how, it took me 5min to make both work.

SUMMARY OF SOLUTION:
I installed unbuntu 15.10 from a USB pendrive on 2 toshiba laptops (2007 with HDD and 2011 with SSD)
Still running from the USB drive, I installed Boot-repair and run it from the USB drive
In boot repair, I went into the advanced menu and there was an option (can't remember exactly) to choose NOMODESET
I executed boot-repair and said yes to make the proposed corrections to the boot files
I removed the USB drive and reboot
It went correctly to the Grub menu where I could choose to boot Ubuntu and it did it ok.

No more black screen, it is very fine and I am discovering with amusement the wonders you guys did in the last 15 years with that OS. Thank you to the Linux/Ubuntu active community. I will probably install it on other computers also in the next few months (mine and others...)