LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-03-2017, 06:30 AM   #1
floppy_stuttgart
Member
 
Registered: Nov 2010
Location: EU mainland
Distribution: Debian like
Posts: 919
Blog Entries: 4

Rep: Reputation: 87
How to make Debian9 running AGAIN on a Thinkpad T560 (full SSD install done)


Hello,
I achieved to make running Debian9 on my Lenovo T560.
But..
the motherboard was exchanged this morning because it was defect (the same SSD is used again), then the BIOS was updated to the latest version, and now it dont boot anymore (it dont goes into Grub).
This is perhaps again a question of legacy/UEFI boot. If somebody can help and inform of its BIOS setup, I will have a look again there.
THANKS a lot.
Attached Thumbnails
Click image for larger version

Name:	IMG_20170503_132930.jpg
Views:	24
Size:	89.4 KB
ID:	24914  

Last edited by floppy_stuttgart; 05-03-2017 at 07:55 AM.
 
Old 05-03-2017, 04:37 PM   #2
jefro
Moderator
 
Registered: Mar 2008
Posts: 20,991

Rep: Reputation: 3406Reputation: 3406Reputation: 3406Reputation: 3406Reputation: 3406Reputation: 3406Reputation: 3406Reputation: 3406Reputation: 3406Reputation: 3406Reputation: 3406
Guess you could see if a live usb would boot.

Can look at any bios entry for how it detects hard drive.

Motherboard may or may not be OK.

Try booting to grub to try safe mode I think by pressing space bar.

What happens when you boot?
 
Old 05-04-2017, 05:15 AM   #3
floppy_stuttgart
Member
 
Registered: Nov 2010
Location: EU mainland
Distribution: Debian like
Posts: 919

Original Poster
Blog Entries: 4

Rep: Reputation: 87
Thanks. The remarks/questions & answer are

Guess you could see if a live usb would boot.
yes. see the old dmesg status when it worked and the new dmesg from live boot in the attachment. same bios version. I see all data on the SSD. The SSD is recognized as boot with GPARTED and see the screen copy in the attachment for that.

Can look at any bios entry for how it detects hard drive.
A photo is posted and the USB live and the SSD are detected

Motherboard may or may not be OK.
..

Try booting to grub to try safe mode I think by pressing space bar.
it dont goes into Grub ab all. it stay at a situation where the SSD is recognized. see picture in previous post.

What happens when you boot?
the BIOS standard message comes up and it tray to boot the SSD. It dont boot it but display the message it is recognized by the BIOS in the picture of the previous post. The whole drive can be seen and all data can be seen with the Debian8 live booted via USB.
Attached Thumbnails
Click image for larger version

Name:	SSD.png
Views:	5
Size:	50.7 KB
ID:	24925   Click image for larger version

Name:	IMG_20170504_131348.jpg
Views:	21
Size:	114.1 KB
ID:	24926  
Attached Files
File Type: log dmesg.log (53.7 KB, 1 views)
File Type: txt dmesgT560liveDeb8boot.txt (52.9 KB, 2 views)

Last edited by floppy_stuttgart; 05-04-2017 at 06:27 AM.
 
Old 05-04-2017, 02:53 PM   #4
jefro
Moderator
 
Registered: Mar 2008
Posts: 20,991

Rep: Reputation: 3406Reputation: 3406Reputation: 3406Reputation: 3406Reputation: 3406Reputation: 3406Reputation: 3406Reputation: 3406Reputation: 3406Reputation: 3406Reputation: 3406
What is that NVMe0 at the bottom???? Hummm.
 
Old 05-05-2017, 01:55 PM   #5
floppy_stuttgart
Member
 
Registered: Nov 2010
Location: EU mainland
Distribution: Debian like
Posts: 919

Original Poster
Blog Entries: 4

Rep: Reputation: 87
I asked 2h ago in a lenovo forum: perhaps the BIOS was not updated correctly after the mainboard was updated etc. ?
 
Old 05-05-2017, 03:09 PM   #6
jefro
Moderator
 
Registered: Mar 2008
Posts: 20,991

Rep: Reputation: 3406Reputation: 3406Reputation: 3406Reputation: 3406Reputation: 3406Reputation: 3406Reputation: 3406Reputation: 3406Reputation: 3406Reputation: 3406Reputation: 3406
What is this bios issue? Did you do it already? Is there any bios setting that reports devices like drives or ssd's?
Don't start with the bios update, that is the last choice.

From a brief look at your problem I mentioned if NvMe0 isn't the ssd.

Last edited by jefro; 05-05-2017 at 03:11 PM.
 
Old 05-06-2017, 03:58 AM   #7
floppy_stuttgart
Member
 
Registered: Nov 2010
Location: EU mainland
Distribution: Debian like
Posts: 919

Original Poster
Blog Entries: 4

Rep: Reputation: 87
To the questions in the previous post:

What is this bios issue?
when the service person from LENOVO came and exchanged the mainboard, the mainboard was not with the newest BIOS. After the new motherboard was mounted, the service person flashed with an USB stick (if I remember, for sure it was not done with an ISO on CD) the motherboard with the newest BIOS version. When I boot the notebook with a Debian8 live USB, I can see the BIOS version indicated in DMESG is the same than the BIOS of the "old defect" motherboard (I have an DMESG file from the defect mainboard).

Did you do it already?
With the "old defect" motherboard, I made a BIOS update with an ISO on CD (from the LENOVO page). It worked fine. After that BIOS update I made End February I could boot the PC. Only the new motherboard with the updated BIOS dont boot my SSD.

Is there any bios setting that reports devices like drives or ssd's?
The view of the BIOS settings is in a previous post. We can see an ATA HDD0 Samsung (which is in fact the SSD)

From a brief look at your problem I mentioned if NvMe0 isn't the ssd.
I had a look at LENOVO page where they speak about that "drive". https://forums.lenovo.com/t5/ThinkPa...t/td-p/3295287 This is perhaps a partition recognized by the BIOS. I moved that NvMe0 as first in the boot priority but it did not boot.

The question which came in my head is: perhaps I should re-install Debian9 again? during the installation, perhaps few key parameters are overtaken by the UEFI setup of Debian9 on the SSD. Or perhaps there is a Debian9 UEFI setup to run again in order to have a correct link between the BIOS, the MBR and the Grub bootloader. But: it should be a remote setup because the notebook dont boot from the SSD.

And: https://wiki.debian.org/GrubEFIReinstall a repair is perhaps necessary after each BIOS update and/or motherboard change.

In the Debian8 USB boot session, I made..
download the deb package from http://www.rodsbooks.com/refind/getting.html
install it
Quote:
sudo dpkg -i refind_0.10.7-1_amd64.deb
Quote:
Selecting previously unselected package refind.
(Reading database ... 152599 files and directories currently installed.)
Preparing to unpack refind_0.10.7-1_amd64.deb ...
Unpacking refind (0.10.7-1) ...
Setting up refind (0.10.7-1) ...
/var/lib/dpkg/info/refind.postinst: line 4: efibootmgr: command not found
ShimSource is none
Installing rEFInd on Linux....
The ESP doesn't seem to be mounted! Trying to find it....
Mounting ESP at //boot/efi
ESP was found at //boot/efi using vfat
Running in BIOS mode with no existing default boot loader; installing to
//boot/efi/EFI/BOOT
Note: IA32 (x86) binary not installed!
Copied rEFInd binary files

Copying sample configuration file as refind.conf; edit this file to configure
rEFInd.


Installation has completed successfully.

Processing triggers for man-db (2.7.0.2-5) ...
So, now the notebook boot into "rEFInd" before it goes into my Debian9 (update/upgrade works; all partitions and files accessible). Now, I should find a method to get rid of rEFInd and boot directly into grub & Debian9 as previously (whatever, booting first in rEFInd is not a massive issue; just not necessary for the usual use).
Topic CLOSED (I open another thread later to get rid out of rEFInd).

Thanks to jefro for the help.

Last edited by floppy_stuttgart; 05-06-2017 at 02:04 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] How to make Debian8 running on a Thinkpad T560 (full SSD install done) floppy_stuttgart Linux - Newbie 16 03-04-2017 09:39 AM
Install Linux in Toshiba u940 series with 32gb ssd and 750gb hdd I would like to have boot code in ssd only cvkchary Linux - Laptop and Netbook 4 08-31-2016 04:26 PM
Lenovo Thinkpad x100e + SSD 0siris Linux - Laptop and Netbook 6 05-29-2015 11:35 AM
No make or gmake in Solaris 10 full install? Randux Solaris / OpenSolaris 6 02-21-2009 11:27 AM
Slackware install - will running the full install twice hurt anything? overlook1977 Slackware - Installation 6 04-06-2007 08:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:33 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration