I recently revived this old computer with Ubuntu to use it as a local network fileserver and all has worked out well. I've been able to connect all my hard drives laying around and get samba working.
Unfortunately I only have 3 sata ports available on my motherboard and all those three are connected to my hard drives, which leaves my dvd-drive just sitting in the case.
I tried just plugging the sata cable out of one of the drives (not the boot drive) and connect it to the dvd-drive. Ubuntu wouldn't boot and would display the following message:
ACPI PCC probe failed
starting version 219
sd 4:0:0:0: [sde] No Caching mode page found
sd 4:0:0:0: [sde] Assuming drive cache: write trough
Welcome to emergency mode! After logging in, type 'journalctl -xb' to view
system logs, "systemctl reboot" to reboot, "systemctl default" or ^D to try
again to boot into default mode.
When I reconnect the drive instead of the dvd-drive I can boot into the desktop again. [sde] is ofcourse the drive disconnected
All the drives were setup with fstab and this is my fstab:
UUID=deviceuuidhere /home/thibaultmaekelbergh/mounts/folder1 ext4 defaults 0 0
UUID=deviceuuidhere /home/thibaultmaekelbergh/mounts/folder2 ext4 defaults 0 0
UUID=deviceuuidhere /home/thibaultmaekelbergh/mounts/folder3 ext4 defaults 0 0
UUID=deviceuuidhere /home/thibaultmaekelbergh/mounts/folder4 ext4 defaults 0 0
UUID=deviceuuidhere /home/thibaultmaekelbergh/mounts/folder5 ext4 defaults 0 0
Before I used /dev/sda1, /dev/sdb1 etc instead of UUID but I thought UUID might solve the problem and changing fscheck option to 0. They both didn't unfortunately.
I'm really stuck on how to be able to switch the cable to the dvd drive when I want, but still being able to boot. Hope someone here can help.
Thanks in advance