LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 06-28-2021, 11:09 AM   #1
dedec0
Senior Member
 
Registered: May 2007
Posts: 1,372

Rep: Reputation: 51
Angry Installing Debian in a Lenovo computer


Hello,

I have got a Lenovo computer which has something that I do not care: Windows 10. I want to install Debian in it. "It should be easy and quick!" - I thought.

I opened debian.org page (it is amazing how M$ can turn a good browser engine in something so shitty!), looked for the downloads section, looked for the Debian installer, so I can do it without a pendrive or a CD. It says I have to choose between Debian and Windows in the boot that will follow - also expected. But this screen or option never appears! After asking to reboot, the computer turns off, starts booting, the Lenovo logo stays on for a while, and then, it is W$ again.

What is happening? What can I do?
 
Old 06-28-2021, 11:23 AM   #2
Timothy Miller
Moderator
 
Registered: Feb 2003
Location: Arizona, USA
Distribution: Debian, EndeavourOS, OpenSUSE, KDE Neon
Posts: 4,006
Blog Entries: 26

Rep: Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522
Probably your pc is booting in UEFI mode with Compatibility mode enabled (CSM). So the Debian USB boots in legacy mode, installs in legacy mode, but UEFI won't boot from a legacy mode hard drive, only external media. If this is accurate, go into BIOS and disable legacy mode/compatibility mode, this will force Debian installer to boot in UEFI mode, and install in UEFI mode.

Lenovo Thinkpad T14 w/ Debian.
Lenovo Thinkpad T495 w/ Debian.
 
1 members found this post helpful.
Old 06-28-2021, 11:32 AM   #3
dedec0
Senior Member
 
Registered: May 2007
Posts: 1,372

Original Poster
Rep: Reputation: 51
USB? No USB. I am using Debian installer, so I do not need pendrive or CD.

Pressing 'del' key should open the BIOS? I tried it a few times, no use. What happens is just what I described: W$ is booted.
 
Old 06-28-2021, 11:36 AM   #4
dedec0
Senior Member
 
Registered: May 2007
Posts: 1,372

Original Poster
Rep: Reputation: 51
Quote:
Originally Posted by dedec0 View Post
USB? No USB. I am using Debian installer, so I do not need pendrive or CD.

Pressing 'del' key should open the BIOS? I tried it a few times, no use. What happens is just what I described: W$ is booted.
"Creap" manufacturers... I found how to open my BIOS here:

https://www.wikihow.com/Enter-BIOS

Last edited by dedec0; 06-28-2021 at 11:45 AM.
 
Old 06-28-2021, 11:50 AM   #5
Trihexagonal
Member
 
Registered: Jul 2017
Posts: 362
Blog Entries: 1

Rep: Reputation: 334Reputation: 334Reputation: 334Reputation: 334
Quote:
Originally Posted by dedec0 View Post
USB? No USB. I am using Debian installer, so I do not need pendrive or CD.
Yes, you do. You don't understand what you're doing.

If you have a 64bit machine burn the needed .iso to a DVD to install it. This is the page to go to:

https://cdimage.debian.org/debian-cd...amd64/iso-dvd/


Quote:
Originally Posted by dedec0 View Post
It says I have to choose between Debian and Windows in the boot that will follow - also expected. But this screen or option never appears! After asking to reboot, the computer turns off, starts booting, the Lenovo logo stays on for a while, and then, it is W$ again.

What is happening? What can I do?
Reboot your Lenovo. When it starts the boot process press key F12 repeatedly to open the boot menu. That will give you the option to boot from an inserted USB stick, DVD, HDD, etc.

Last edited by Trihexagonal; 06-28-2021 at 12:13 PM.
 
1 members found this post helpful.
Old 06-28-2021, 12:21 PM   #6
dedec0
Senior Member
 
Registered: May 2007
Posts: 1,372

Original Poster
Rep: Reputation: 51
Post

I made a video showing it, but it is too big. Optimizing it will take long too.

What I did is:

1. Download debian-10.10.0-amd64-netinst (I expect to use a local wifi here)

2. Open the downloads folder, double click the file, and double click the "setup.exe" program.

3. Allow it to change hardware.

4. Choose language.

5. Normal install mode.

6. Begin install on this computer.

7. Click next. A progress bar is shown, it takes a few seconds to fill. Now, the only option is to close the window.

8. Now, comes the notice saying that I must reboot and, during the reboot, I will be asked if I want to continue the install process or boot W$. This is where I lost myself.
 
Old 06-28-2021, 01:33 PM   #7
dedec0
Senior Member
 
Registered: May 2007
Posts: 1,372

Original Poster
Rep: Reputation: 51
Quote:
Originally Posted by Trihexagonal View Post
Yes, you do. You don't understand what you're doing.

If you have a 64bit machine burn the needed .iso to a DVD to install it. This is the page to go to:

https://cdimage.debian.org/debian-cd...amd64/iso-dvd/




Reboot your Lenovo. When it starts the boot process press key F12 repeatedly to open the boot menu. That will give you the option to boot from an inserted USB stick, DVD, HDD, etc.
No CD/DVD drives here.
 
Old 06-28-2021, 02:04 PM   #8
dedec0
Senior Member
 
Registered: May 2007
Posts: 1,372

Original Poster
Rep: Reputation: 51
Unhappy Since none commented my steps, I tried something else

With the pendrive unmounted, I wrote the iso to it with

Code:
# dd if=debian-10.10.0-amd64-netinst.iso of=/dev/sdb1 bs=4M
After that, I turned on everything about legacy on BIOS: support for it, priority to boot legacy, fast boot off.

With the pendrive inserted, I turn on the computer, press F12 to choose boot option (like Trihexagonal suggested), choose USB and wait. W$ is booted again.

Last edited by dedec0; 06-28-2021 at 03:56 PM.
 
1 members found this post helpful.
Old 06-28-2021, 02:21 PM   #9
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,750

Rep: Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928
Code:
dd if=debian-10.10.0-amd64-netinst.iso of=/dev/sdb1 bs=4M
of should be the device i.e. /dev/sdb not /dev/sdb1.
 
1 members found this post helpful.
Old 06-28-2021, 02:32 PM   #10
dedec0
Senior Member
 
Registered: May 2007
Posts: 1,372

Original Poster
Rep: Reputation: 51
Talking

Thank you all!

Thanks, michaelk. Your message has what I missed in the second era of this thread. Now, Debian installer booted. I am looking at it.

Now, if any problem occurs - and I think none will -, another thread will be opened.

LQ is a great place. I always recommend it. (:
 
Old 06-28-2021, 03:31 PM   #11
Trihexagonal
Member
 
Registered: Jul 2017
Posts: 362
Blog Entries: 1

Rep: Reputation: 334Reputation: 334Reputation: 334Reputation: 334
Quote:
Originally Posted by dedec0 View Post
With the pendrive unmounted, I wrote the iso to it with

Code:
# dd if=debian-10.10.0-amd64-netinst.iso of=/dev/sdb1 bs=4M
After that, I turned on everything about legacy on BIOS: support for it, priority to boot legacy, fast boot off.
Excuse me for being so slow, I can see you're annoyed, but if you know to do that what was all that business about:

Quote:
Originally Posted by dedec0 View Post
USB? No USB. I am using Debian installer, so I do not need pendrive or CD.

Quote:
Originally Posted by dedec0 View Post
With the pendrive inserted, I turn on the computer, press F12 to choose boot option (like our friend suggested), choose USB and wait. W$ is booted again.
***As a side note, when did you start speaking for everyone else, not to mention speaking to everyone else about me in the 3rd person in my presence, as to whether or not I am their friend? You don't know me very well.***

I've got an IBM Thinkpad T43, three Lenovo Thinkpad T61, one Lenovo Thinkpad T400, two Lenovo Thinkpad W520 and if you push the F12 button on any of them during the boot process it will bring up the boot menu:
Quote:
6. Interrupt boot, press F12 and select USB mass storage device as boot source.

https://thinkwiki.org/wiki/BIOS_Upgrade
But you didn't say you had a Thinkpad, did you?

Quote:
Originally Posted by dedec0 View Post
I have got a Lenovo computer which has something that I do not care: Windows 10. I want to install Debian in it. "It should be easy and quick!" - I thought.

I opened debian.org page (it is amazing how M$ can turn a good browser engine in something so shitty!), looked for the downloads section, looked for the Debian installer, so I can do it without a pendrive or a CD.
That's a real sign of intelligence.

You said you had a "computer".

Yes... Yes, I will... I'll speak for everyone and say we knew that.

I told you what works on what the majority of Lenovo users use. Thinkpads.

Learn to post more wisely and in the future, don't be so presumptuous.
 
Old 06-28-2021, 03:54 PM   #12
dedec0
Senior Member
 
Registered: May 2007
Posts: 1,372

Original Poster
Rep: Reputation: 51
Quote:
Originally Posted by Trihexagonal View Post
Excuse me for being so slow, I can see you're annoyed, but if you know to do that what was all that business about:






***As a side note, when did you start speaking for everyone else, not to mention speaking to everyone else about me in the 3rd person in my presence, as to whether or not I am their friend? You don't know me very well.***

I've got an IBM Thinkpad T43, three Lenovo Thinkpad T61, one Lenovo Thinkpad T400, two Lenovo Thinkpad W520 and if you push the F12 button on any of them during the boot process it will bring up the boot menu:


But you didn't say you had a Thinkpad, did you?



That's a real sign of intelligence.

You said you had a "computer".

Yes... Yes, I will... I'll speak for everyone and say we knew that.

I told you what works on what the majority of Lenovo users use. Thinkpads.

Learn to post more wisely and in the future, don't be so presumptuous.
Trihexagonal, I am very sorry if you got offended when I refered to you as a friend. I consider all people in LQ as friends, until something changes it to be something else. I have helped a few people, and I have counted with the help of numerous people here, along some years, and I consider everyone along this way as friends. There are several levels of friendship, and you do not seem to consider this. Anyway, I say to you: I am sorry, my post refering to you as a friend will be edited, and I will not treat you as such anymore.

What I have here is not a Thinkpad. It is a Lenovo B1M1 notebook. And now, my possible next thread is about its hardware (for wlan connection).

That 'dd' command I did was initially wrong, Trihexagonal. I am far from being an expert using it.

Thank you
 
Old 06-28-2021, 04:27 PM   #13
Trihexagonal
Member
 
Registered: Jul 2017
Posts: 362
Blog Entries: 1

Rep: Reputation: 334Reputation: 334Reputation: 334Reputation: 334
Quote:
Originally Posted by dedec0 View Post
That 'dd' command I did was initially wrong, Trihexagonal. I am far from being an expert using it.

Thank you
Now you made me feel guilty. I'd apologize but every time I do somebody says something that makes me regret it.

How about I show you the dd command I use on my FreeBSD box to make a USB stick for Kali, we shake hands and forget it:

Code:
# dd if=./kali-linux-2021.2-installer-amd64.iso of=/dev/da0 bs=512k
You're missing the period and / character in your syntax between if= and debian:

Code:
# dd if=debian-10.10.0-amd64-netinst.iso of=/dev/sdb1 bs=4M
That's the size I use for bs, it's up to you.

You're right about wanting the stick not to be mounted. CD / to the directory your .iso is in then use the correct dd command for your partitioning scheme. Yours is not going to be designated as /dev/da0 and I don't have my Kali box up to look at it to remember, so I'm not going to change my command.
 
Old 06-28-2021, 05:03 PM   #14
dedec0
Senior Member
 
Registered: May 2007
Posts: 1,372

Original Poster
Rep: Reputation: 51
No need to feel guilty, Trihexagonal. But we are on the newbie forum. Although I have used linux for several years, sometimes, I find it more appropriate to put my questions here. I do not follow the changes happening in everything, the evolution of things. So, at times, things work in strange ways for me.

After not being able to boot the notebook as I wanted, a few times, I even imagined it was blocked (somehow I do not know, no password was asked) to enter the BIOS, or doing these kinds of things. It is a rented notebook.

In theory, I expected no basic challenge. In practice, ... LQ helps a lot. (:
 
  


Reply

Tags
lenovo, windows 10



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] After having a successful installation of Debian Buster, Lenovo computer refuses to boot into Debian Buster 10.2 PicardDefendingData Debian 4 12-21-2019 07:51 PM
Lenovo G470 aka LENOVO 20078 (laptop) ; Essential IdeaPad www.rzr.free.fr Linux - Laptop and Netbook 4 06-16-2013 07:52 AM
LXer: Get a Lenovo computer cheap - and from Lenovo LXer Syndicated Linux News 1 01-07-2010 08:23 PM
moved harddrive from t61 lenovo to t60 lenovo, now cpu freezes Peter Shepard Ubuntu 3 10-26-2009 06:11 PM

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

All times are GMT -5. The time now is 04:39 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