Hard Disk (device) issue during boot

Hello,

Noob in Linux here switching from windows 7 and trying to make it work. I was expecting for it to work out of the box but now I’m starting to fell like playing puzzle. I got my first issue with wireless adapter and now my second one is related to Hard Disk. Once i’m open mind and I like to learn I’m going to push this as much as I can, the target is to not need windows anymore. I already replace a lot of software yet in this sense.

Currently I have 5 hard disks in my PC as indicated below:

SATA_0 - SSD - Bootable with windows 7 [ntfs]
SATA_1 - SSD - Windows Games [ntfs]
SATA_2 - SSD - Bootable with Linux Manjaro [ext4]
SATA_3 - SSD - Linux Games [ext4]
SATA_4 - HDD - Personal Data [ntfs]

They do not share boot loader, I choose from what to boot from BIOS. All driver were not bought at the same time, so the architecture could be more optimized, but this is what I have now. My first intention was to used the system with only 3 HD plugged into motherboard, so when needs to change to the other OS i need to unplug some HD and plug other and this led me to have concern about damages so I decided to let all plug and this led to error when using Linux.

When using windows I can let all HD plugged in the mother boards and it works well.

During Manjaro KDE Linux installation, and all OS I let ony one HD plugged for data safe reason, in this case only SATA_2 was plugged, them when everything was working fine the SATA_3 was plugged and mounted, next the SATA_4 was plugged and mounted. everything works fine until here.

Next, when I plug the HD from windows files (SATA_0 and SATA_1) the linux present error during the boot:
[FAILED] Failed to mount XXXXXX
[DEPEND] Dependency failed for local file system.
You are in emergency mode.

SATA_3 and SATA_4 were mounted from KDE Partition Manager and during Mounting process there option were offered:

  • Device Node (default) - I choose this one
  • UUID
  • Label

Maybe the issue is related to this option, don’t know, any suggestion?

System:
  Kernel: 5.4.101-1-MANJARO x86_64 bits: 64 compiler: gcc v: 10.2.1 
  parameters: BOOT_IMAGE=/boot/vmlinuz-5.4-x86_64 
  root=UUID=c2987d0a-3ccc-4056-bdcb-22de9c2fbb5f ro quiet apparmor=1 
  security=apparmor resume=UUID=87d4ac5e-e22c-413e-806a-74ff152a793e 
  udev.log_priority=3 
  Desktop: KDE Plasma 5.21.2 tk: Qt 5.15.2 wm: kwin_x11 dm: SDDM 
  Distro: Manjaro Linux 
Machine:
  Type: Desktop Mobo: Gigabyte model: GA-870A-UD3 v: x.x serial: <filter> 
  BIOS: Award v: F5 date: 08/01/2011 
Memory:
  RAM: total: 7.77 GiB used: 1.57 GiB (20.2%) 
  RAM Report: permissions: Unable to run dmidecode. Root privileges required. 
CPU:
  Info: Quad Core model: AMD Phenom II X4 965 bits: 64 type: MCP arch: K10 
  family: 10 (16) model-id: 4 stepping: 3 microcode: 10000C8 L2 cache: 2 MiB 
  bogomips: 27337 
  Speed: 800 MHz min/max: 800/3400 MHz Core speeds (MHz): 1: 800 2: 800 
  3: 2200 4: 800 
  Flags: 3dnow 3dnowext 3dnowprefetch abm apic clflush cmov cmp_legacy 
  constant_tsc cpuid cr8_legacy cx16 cx8 de extapic extd_apicid fpu fxsr 
  fxsr_opt ht hw_pstate ibs lahf_lm lbrv lm mca mce misalignsse mmx mmxext 
  monitor msr mtrr nonstop_tsc nopl npt nrip_save nx osvw pae pat pdpe1gb pge 
  pni popcnt pse pse36 rdtscp rep_good sep skinit sse sse2 sse4a svm svm_lock 
  syscall tsc vme vmmcall wdt 
  Vulnerabilities: Type: itlb_multihit status: Not affected 
  Type: l1tf status: Not affected 
  Type: mds status: Not affected 
  Type: meltdown status: Not affected 
  Type: spec_store_bypass status: Not affected 
  Type: spectre_v1 
  mitigation: usercopy/swapgs barriers and __user pointer sanitization 
  Type: spectre_v2 
  mitigation: Full AMD retpoline, STIBP: disabled, RSB filling 
  Type: srbds status: Not affected 
  Type: tsx_async_abort status: Not affected 
Graphics:
  Device-1: AMD Ellesmere [Radeon RX 470/480/570/570X/580/580X/590] 
  vendor: Micro-Star MSI driver: amdgpu v: kernel bus ID: 01:00.0 
  chip ID: 1002:67df class ID: 0300 
  Display: x11 server: X.Org 1.20.10 compositor: kwin_x11 driver: 
  loaded: amdgpu,ati unloaded: modesetting,radeon alternate: fbdev,vesa 
  display ID: :0 screens: 1 
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.0x11.2") 
  s-diag: 582mm (22.9") 
  Monitor-1: DVI-D-0 res: 1920x1080 hz: 60 dpi: 96 
  size: 510x290mm (20.1x11.4") diag: 587mm (23.1") 
  OpenGL: renderer: Radeon RX 570 Series (POLARIS10 DRM 3.35.0 
  5.4.101-1-MANJARO LLVM 11.1.0) 
  v: 4.6 Mesa 20.3.4 direct render: Yes 
Audio:
  Device-1: AMD SBx00 Azalia vendor: Gigabyte GA-880GMA-USB3 
  driver: snd_hda_intel v: kernel bus ID: 00:14.2 chip ID: 1002:4383 
  class ID: 0403 
  Device-2: AMD Ellesmere HDMI Audio [Radeon RX 470/480 / 570/580/590] 
  vendor: Micro-Star MSI driver: snd_hda_intel v: kernel bus ID: 01:00.1 
  chip ID: 1002:aaf0 class ID: 0403 
  Sound Server: ALSA v: k5.4.101-1-MANJARO 
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet 
  vendor: Gigabyte driver: r8169 v: kernel port: 9e00 bus ID: 06:00.0 
  chip ID: 10ec:8168 class ID: 0200 
  IF: enp6s0 state: down mac: <filter> 
  Device-2: Qualcomm Atheros TP-Link TL-WN821N v2 / TL-WN822N v1 802.11n 
  [Atheros AR9170] 
  type: USB driver: carl9170 bus ID: 4-4:2 chip ID: 0cf3:1002 class ID: ff00 
  serial: <filter> 
  IF: wlp0s19f2u4 state: up mac: <filter> 
  IP v4: <filter> type: dynamic noprefixroute scope: global 
  broadcast: <filter> 
  IP v6: <filter> type: dynamic noprefixroute scope: global 
  IP v6: <filter> type: dynamic noprefixroute scope: global 
  IP v6: <filter> type: noprefixroute scope: link 
  WAN IP: <filter> 
Bluetooth:
  Message: No Bluetooth data was found. 
RAID:
  Message: No RAID data was found. 
Drives:
  Local Storage: total: 2.15 TiB used: 17.5 GiB (0.8%) 
  SMART Message: Unable to run smartctl. Root privileges required. 
  ID-1: /dev/sda maj-min: 8:0 vendor: Patriot model: Burst size: 223.57 GiB 
  block size: physical: 512 B logical: 512 B speed: 6.0 Gb/s rotation: SSD 
  serial: <filter> rev: KB.3 scheme: MBR 
  ID-2: /dev/sdb maj-min: 8:16 vendor: Crucial model: CT120BX100SSD1 
  size: 111.79 GiB block size: physical: 512 B logical: 512 B speed: 6.0 Gb/s 
  rotation: SSD serial: <filter> rev: MU01 scheme: GPT 
  ID-3: /dev/sdc maj-min: 8:32 vendor: Western Digital model: WD20PURZ-85GU6Y0 
  size: 1.82 TiB block size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s 
  rotation: 5400 rpm serial: <filter> rev: 0A80 scheme: MBR 
  Optical-1: /dev/sr0 vendor: HL-DT-ST model: DVDRAM GH22NS50 rev: TN02 
  dev-links: cdrom 
  Features: speed: 48 multisession: yes audio: yes dvd: yes 
  rw: cd-r,cd-rw,dvd-r,dvd-ram state: running 
Partition:
  ID-1: / raw size: 214.77 GiB size: 210.4 GiB (97.96%) used: 17.44 GiB (8.3%) 
  fs: ext4 dev: /dev/sda1 maj-min: 8:1 label: N/A 
  uuid: c2987d0a-3ccc-4056-bdcb-22de9c2fbb5f 
  ID-2: /home/<filter>/Games raw size: 111.79 GiB size: 109.53 GiB (97.98%) 
  used: 60 MiB (0.1%) fs: ext4 dev: /dev/sdb1 maj-min: 8:17 label: ssd-games 
  uuid: 49fbfc03-2923-49f0-a550-312f1f31aae3 
Swap:
  Kernel: swappiness: 60 (default) cache pressure: 100 (default) 
  ID-1: swap-1 type: partition size: 8.8 GiB used: 0 KiB (0.0%) priority: -2 
  dev: /dev/sda2 maj-min: 8:2 label: N/A 
  uuid: 87d4ac5e-e22c-413e-806a-74ff152a793e 
Unmounted:
  ID-1: /dev/sdc1 maj-min: 8:33 size: 1.82 TiB fs: ntfs label: DATA_2T 
  uuid: 28A6726FA6723CFE 
USB:
  Hub-1: 1-0:1 info: Full speed (or root) Hub ports: 5 rev: 2.0 
  speed: 480 Mb/s chip ID: 1d6b:0002 class ID: 0900 
  Hub-2: 2-0:1 info: Full speed (or root) Hub ports: 2 rev: 2.0 
  speed: 480 Mb/s chip ID: 1d6b:0002 class ID: 0900 
  Hub-3: 3-0:1 info: Full speed (or root) Hub ports: 2 rev: 3.0 speed: 5 Gb/s 
  chip ID: 1d6b:0003 class ID: 0900 
  Hub-4: 4-0:1 info: Full speed (or root) Hub ports: 5 rev: 2.0 
  speed: 480 Mb/s chip ID: 1d6b:0002 class ID: 0900 
  Device-1: 4-4:2 info: Qualcomm Atheros TP-Link TL-WN821N v2 / TL-WN822N v1 
  802.11n [Atheros AR9170] 
  type: Network driver: carl9170 interfaces: 1 rev: 2.0 speed: 480 Mb/s 
  chip ID: 0cf3:1002 class ID: ff00 serial: <filter> 
  Hub-5: 5-0:1 info: Full speed (or root) Hub ports: 4 rev: 2.0 
  speed: 480 Mb/s chip ID: 1d6b:0002 class ID: 0900 
  Hub-6: 6-0:1 info: Full speed (or root) Hub ports: 5 rev: 1.1 speed: 12 Mb/s 
  chip ID: 1d6b:0001 class ID: 0900 
  Hub-7: 7-0:1 info: Full speed (or root) Hub ports: 5 rev: 1.1 speed: 12 Mb/s 
  chip ID: 1d6b:0001 class ID: 0900 
  Hub-8: 8-0:1 info: Full speed (or root) Hub ports: 2 rev: 1.1 speed: 12 Mb/s 
  chip ID: 1d6b:0001 class ID: 0900 
  Hub-9: 9-0:1 info: Full speed (or root) Hub ports: 4 rev: 1.1 speed: 12 Mb/s 
  chip ID: 1d6b:0001 class ID: 0900 
  Device-1: 9-3:2 info: SINO WEALTH USB KEYBOARD type: Keyboard,HID 
  driver: hid-generic,usbhid interfaces: 2 rev: 1.1 speed: 1.5 Mb/s 
  chip ID: 258a:0001 class ID: 0300 
  Device-2: 9-4:3 info: Pixart Imaging Optical Mouse type: Mouse 
  driver: hid-generic,usbhid interfaces: 1 rev: 1.1 speed: 1.5 Mb/s 
  chip ID: 093a:2521 class ID: 0301 
Sensors:
  System Temperatures: cpu: 36.0 C mobo: N/A gpu: amdgpu temp: 42.0 C 
  Fan Speeds (RPM): N/A gpu: amdgpu fan: 917 
Info:
  Processes: 210 Uptime: 41m wakeups: 0 Init: systemd v: 247 Compilers: 
  gcc: N/A Packages: 1298 pacman: 1295 lib: 417 flatpak: 3 Shell: Bash 
  v: 5.1.0 running in: konsole inxi: 3.3.01 

check your /etc/fstab file and try to mount the Linux partitions using UUID (I think by default, they don’t)

Once i’m noob I still have some concern to change things directly from file so I use used again the GUI from KDE Partition Manager and change the mount to use UUID and then i went to the /etc/fstab to check it the file was updated and it was.

The HD SATA_0 and SATA_1 plugged and the system boot properly.

Looks like the Device Node and defined based on the Sata controller order and the amount of driver plugged base on what happened with me, the UUID should the the default choice.

Thank you shaunakhub

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.