LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 12-08-2019, 08:07 AM   #1
plaf2000
LQ Newbie
 
Registered: Dec 2019
Posts: 5

Rep: Reputation: Disabled
Error: The attempt to mount a file system with type ext4 [...] at / failed while installing debian server


Hi everyone,
I'm new to this forum, so I'm sorry if this is in the wrong section.
I recently assembled a new PC (see below) and I wanted to use it as a server, so I decided to install a server version of debian (=> amd64).
When I try to install it, it shows an issue with missing drivers, but I don't know if this has something to do with the main problem. I also tried to put the CD with the drivers in (the one from the motherboard box), but nothing changed.
However, the main problem is another. In fact, when I select the partitions' configuration and I confirm, I always end up with the same error: The attempt to mount a file system with type ext4 in SCSI11 (0,0,0), partition #1 (sdh) at / failed.
What I would like to do is set a RAID0 for the 2 pairs of HDDs (4 in total) and install the OS on my M.2 SSD (see below). I'm able to install the OS on one of the for HDDs, but not on the SSD, I always end up with the same error. Here are some things I've tried:
  • Boot directly, without UEFI
  • Leave the 4 HDDs with freespace, not RAID0
  • Select the option "yes, format it"
  • Select all the mount option (for example "noatime")
I'm not sure whether my SSD is corrupted, or something else is wrong. I just would like to know it before I buy a new one.
I've some experience in Linux world, but I'm a newbie in the hardware world. And sorry if my English is not perfect
 
Old 12-08-2019, 10:52 AM   #2
teckk
LQ Guru
 
Registered: Oct 2004
Distribution: Arch
Posts: 5,384
Blog Entries: 7

Rep: Reputation: 1946Reputation: 1946Reputation: 1946Reputation: 1946Reputation: 1946Reputation: 1946Reputation: 1946Reputation: 1946Reputation: 1946Reputation: 1946Reputation: 1946
Does debian have a non free software repository? You need to enable it. It is looking for a wifi module for your hardware.
https://packages.debian.org/buster/firmware-iwlwifi
https://packages.debian.org/sid/firmware-iwlwifi
https://wiki.debian.org/iwlwifi

Next it says it can't mount /dev/sdh1 with an ext4 file system on it. That would be drive number 8 partition 1.
Is that your boot device? Is it partitioned and formated?
You'll have to sort that out.

Look at:
man fdisk
man parted
https://linux.die.net/man/8/fdisk
https://linux.die.net/man/8/parted

Read the debian docs for what you are trying to do. No way of telling from that what you have.

https://www.debian.org/doc/
https://wiki.debian.org/SoftwareRAID
https://wiki.debian.org/DebianInstaller/SataRaid
https://unix.stackexchange.com/quest...g-a-raid-array
https://www.digitalocean.com/communi...dm-on-debian-9
 
Old 12-10-2019, 11:35 AM   #3
plaf2000
LQ Newbie
 
Registered: Dec 2019
Posts: 5

Original Poster
Rep: Reputation: Disabled
Sorry for late reply. I have to say that I can't do anything until the WE, because I'm not home.

Quote:
Does debian have a non free software repository? You need to enable it. It is looking for a wifi module for your hardware.
https://packages.debian.org/buster/firmware-iwlwifi
https://packages.debian.org/sid/firmware-iwlwifi
https://wiki.debian.org/iwlwifi
Thanks for the informations. To be honest, I don't know and I didn't look that much at this problem because I thought the other was more important. Also, I don't need wifi, so I don't care that much. Anyway I will try it

Quote:
Next it says it can't mount /dev/sdh1 with an ext4 file system on it. That would be drive number 8 partition 1.
Is that your boot device? Is it partitioned and formated?
Yes, it should be all right.

I would like to run these two commands, but I can't do it directly from the usb stick (I fount a shell, but these two commands are not installed there). I guess I have to install the OS in one of the 4 HDDs or install a live CD on the usb stick.

This is interesting, thanks! I think the others describe the procedure once you have already installed the OS (with mdadm).


I thik one more thing I will try to do is to install the OS on one HDD and then run a dd on the SSD, do you think it can work?


Thank you!
 
Old 12-20-2019, 05:42 PM   #4
plaf2000
LQ Newbie
 
Registered: Dec 2019
Posts: 5

Original Poster
Rep: Reputation: Disabled
After completely messing up the SSD I had (I tried with "dd" command and it gave me "in/out" errors everywhere), I bought a new one and now it works without any problem. No idea if I did something wrong while bulding up the pc/installing the OS or it was already defective.

In any case, this thread can be closed

I hope this can help someone
 
Old 12-31-2019, 09:04 AM   #5
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
May I ask how old the old SSD was?
 
Old 12-31-2019, 09:14 AM   #6
plaf2000
LQ Newbie
 
Registered: Dec 2019
Posts: 5

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by ondoho View Post
May I ask how old the old SSD was?
It was new, I took it out from the box and installed it directly.
 
Old 12-31-2019, 10:14 AM   #7
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
'k thanks.
Maybe just a monday model then.
 
  


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
hard drive SATA with XFS file system connected using USB - mount failed - attempt to access beyond end of device bronek dzikus torres Linux - Hardware 1 02-18-2019 08:52 PM
How to change file system from ext4 journeying to ext4 writeback ? 5883 Linux - Newbie 6 03-10-2014 08:04 AM
My 2nd attempt at a 1st post - the 1st attempt got snafued somehow hawkfeather LinuxQuestions.org Member Intro 1 07-13-2013 04:24 AM
boot error mount:unknown filesystem type 'ext4' vinvishwa Linux - Distributions 3 02-06-2010 08:19 AM
boot error mount:unknown filesystem type 'ext4' vinvishwa Fedora 1 02-05-2010 03:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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