Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Installation Debian 9.7 Laptop HP 240G

Ask for help with issues regarding the Installations of the Debian O/S.
Post Reply
Message
Author
felipegdm
Posts: 4
Joined: 2019-01-29 13:46

Installation Debian 9.7 Laptop HP 240G

#1 Post by felipegdm »

Hello everyone,

I'm trying to install debian using the debian 9.7 64 bits non-free firmware iso in a HP 240G laptop, with 120Gb SSD and 4Gb of RAM. The non-free firmware is needed by the Realtek network adapters

I'm using a 8Gb pendrive for usb booting and have already tried with a 16Gb pendrive

The instalation fails in the end, when triyng to configure package manager, using the cli installer, the error messages are:

Code: Select all

fclose: No space left in the disk
libkmod: kmod_load_new_from_loaded could not open /proc/modules: No such file or directory
error: could not get a list of modules: No such file or directory
grep: /proc/meminfo: no such file or directory
Cannot determine system memory
It says there is no space left in the disk, but there is nothing in the disk. I've selected automatic partiotining in a clean disk.

Thank you in advance!

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 132 times

Re: Installation Debian 9.7 Laptop HP 240G

#2 Post by Head_on_a_Stick »

How did you transfer the ISO image to the USB stick?

Hint: unetbootin doesn't work.
deadbang

felipegdm
Posts: 4
Joined: 2019-01-29 13:46

Re: Installation Debian 9.7 Laptop HP 240G

#3 Post by felipegdm »

Thanks for the reply!

I've used Rufus tool on Windows 10 PC and also tried to use dd comand from another Debian instalation. Both produced the same result

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 132 times

Re: Installation Debian 9.7 Laptop HP 240G

#4 Post by Head_on_a_Stick »

felipegdm wrote:I've used Rufus tool on Windows 10 PC
Did you select "DD" [sic] mode?
felipegdm wrote:tried to use dd comand
Did you manage to find the correct syntax?

I prefer

Code: Select all

cp debian.iso /dev/sdX ; sync
^ That's easier to remember and also (slightly) quicker than dd.
deadbang

felipegdm
Posts: 4
Joined: 2019-01-29 13:46

Re: Installation Debian 9.7 Laptop HP 240G

#5 Post by felipegdm »

Head_on_a_Stick wrote:
felipegdm wrote:I've used Rufus tool on Windows 10 PC
Did you select "DD" [sic] mode?
No, I've used the recomended ISO mode
Head_on_a_Stick wrote:
felipegdm wrote:tried to use dd comand
Did you manage to find the correct syntax?
The command I've used:

Code: Select all

sudo dd if=./firmware-9.7.0-amd64-DVD-1.iso of=/dev/sdb bs=1M status=progress
Can this be the cause of the problem?

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 132 times

Re: Installation Debian 9.7 Laptop HP 240G

#6 Post by Head_on_a_Stick »

felipegdm wrote:
Head_on_a_Stick wrote:
felipegdm wrote:I've used Rufus tool on Windows 10 PC
Did you select "DD" [sic] mode?
No, I've used the recomended ISO mode
I don't think that works for Debian's isohybrid images.
felipegdm wrote:The command I've used:

Code: Select all

sudo dd if=./firmware-9.7.0-amd64-DVD-1.iso of=/dev/sdb bs=1M status=progress
Well that should work.

Did you check the integrity of the image when you downloaded it?

If you did then copying the image back from the stick to another file and comparing SHA sums with the original will expose any errors on the USB stick.
deadbang

felipegdm
Posts: 4
Joined: 2019-01-29 13:46

Re: Installation Debian 9.7 Laptop HP 240G

#7 Post by felipegdm »

Head_on_a_Stick wrote: Did you check the integrity of the image when you downloaded it?
I've downloaded from torrent, the client says the file is fine. But i will copy the image back and compare SHA sums to be sure.

julra197
Posts: 6
Joined: 2019-04-06 09:10

Re: Installation Debian 9.7 Laptop HP 240G

#8 Post by julra197 »

Are there any updates on this issue?
I have the exact same problem installing a current Debian distro on my HP notebook.

I have tried several images, created in different ways and on different storage devices (USB sticks and DVDs).
Every time i get the same issue.

Installing Windows works fine and the notebook works fine.

I think it is an HP problem, but how can I fix it?

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 132 times

Re: Installation Debian 9.7 Laptop HP 240G

#9 Post by Head_on_a_Stick »

julra197 wrote:Every time i get the same issue.
You get the same error message posted in the OP?

Did you try switching to one of the console screens and running df to check the disk space?

Is the disk recognised in the partitioning section?

As a last resort you could use this method to install from the "live" environment:

https://www.debian.org/releases/stretch ... 03.html.en
deadbang

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: Installation Debian 9.7 Laptop HP 240G

#10 Post by stevepusser »

How old is the laptop?
Debian 9.X may have trouble seeing some newer nvme SSD drives.
MX Linux packager and developer

julra197
Posts: 6
Joined: 2019-04-06 09:10

Re: Installation Debian 9.7 Laptop HP 240G

#11 Post by julra197 »

I think I should start at the beginning.
Kali (a Debian Distro) was installed on the HP laptop.
Last week I got error messages when trying to install packages via apt.
The message was about a failure in initramfs.
I tried to repair the package but finally I removed it. Then installing new packages was sucessfull.

After a restart the system was not bootable, tried to repair but finally decided to reinstall the OS.

Tried to install the current Kali release -> failure as pelipegdm (no matter usb or dvd)
Tried to install Debian 9.7 -> same failure (dvd & usb)
Tried to boot the kali live system from USB/DVD -> different failure after about 1 to 10 minutes (irregular).
Tried to boot Knoppix7 from DVD -> works fine
Tried to install Windows 7 from DVD -> works fine

The laptop houses a 128GB SSD and a 1TB HDD. Both are recognised in the disk overfiew of the installation.
The laptop is about 1.5 years old.

For installing the os I used the 128 SSD.
Have not tried to install it on the HDD, because it holds my data and I have not copied it to another drive.
Could using the HDD for the OS help?
Could using an older release help? What would you recommend?

Kind regards
Last edited by julra197 on 2019-04-07 09:52, edited 1 time in total.

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 132 times

Re: Installation Debian 9.7 Laptop HP 240G

#12 Post by Head_on_a_Stick »

julra197 wrote:What would you recommend?
Try Debian stable.
deadbang

julra197
Posts: 6
Joined: 2019-04-06 09:10

Re: Installation Debian 9.7 Laptop HP 240G

#13 Post by julra197 »

Have tried to install Debian 9.8 stable.

During the installation process (about 90%), a message about a missing kernel occurs:

Selecting yes to install the kernel, brings the same error message as before

Curiously enough, running the same installation process a second time, brings no message and the system installation completes without message. Following the process and installing additional software packages aborts during the installation process with a black screen and white blinking in a 4 seconds rhythm. The third attempt fails right after the system installation.
I always used the 128 GB SSD for installation.

df shows the correct sizes of hdd and ssd (used Knoppix on DVD)

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: Installation Debian 9.7 Laptop HP 240G

#14 Post by stevepusser »

Curiouser and curiouser. Do you want to give MX Linux a try to see if it strikes out too? The LiveUSB does have a safer mode of booting if the standard one doesn't work.
MX Linux packager and developer

julra197
Posts: 6
Joined: 2019-04-06 09:10

Re: Installation Debian 9.7 Laptop HP 240G

#15 Post by julra197 »

I actually need to install Kali for security research.
Installing Debian is just a step back to see whether I get it installed or not.

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 132 times

Re: Installation Debian 9.7 Laptop HP 240G

#16 Post by Head_on_a_Stick »

Could it be a bad USB stick?
deadbang

julra197
Posts: 6
Joined: 2019-04-06 09:10

Re: Installation Debian 9.7 Laptop HP 240G

#17 Post by julra197 »

Have tried 4 different USB sticks of distinct manufacturers and DVDs as well :/

kevinthefixer
Posts: 190
Joined: 2018-05-05 22:30

Re: Installation Debian 9.7 Laptop HP 240G

#18 Post by kevinthefixer »

Your laptop is only 1-1/2 years old? Possible you need a newer kernel, although it seems odd that Kali worked before. Perhaps try the non-free live DVD? May have firmware you need.

julra197
Posts: 6
Joined: 2019-04-06 09:10

Re: Installation Debian 9.7 Laptop HP 240G

#19 Post by julra197 »

Finally, I got Kali running on my laptop.
Tried to install Debian and Kali on the 1TB HDD -> same issue

Installed Win 10 on the SSD -> runs perfect.
Installed all current Windows drivers as well as the latest Bios version.
Installed Kali on the HHD as a second OS -> installed but got an error while booting:
piceport ... PCIe Bus Error...
Error status/mask= 00000001/00002000
However, kali booted and I added
pci=noaer to /etc/default/grub
https://askubuntu.com/questions/863150/ ... eceiver-id
Now, I can boot Kali from HHD as well es Win10 from SSD.
Not that what I have actually planned, but it works :)

Post Reply