You are not logged in.

#1 2015-11-27 16:43:31

Ethys
Member
Registered: 2015-11-24
Posts: 11

How to completely ignore a failed disk at boot?

I had a macbook with failed disk that it still appear when i booted into arch (arch only), I installed arch on an USB to use.
So i really want to know how to completely ignore a disk out of my system.
I tried with this article: http://askubuntu.com/questions/352836/h … ot-even-co
I looked into kernel's source and saw that the patch from above article was applied to the current kernel so i tried to add boot parameters: libata.force=1.0:disable but disk still appreared after reboot

Because I got error msg: ata1: COMRESET failed (error -16) so I think that failed disk was number 1. (my failed at /dev/sdb)

Can you give me some explanations and hints?

Offline

#2 2015-11-27 18:06:13

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,741

Re: How to completely ignore a failed disk at boot?

If you use Grub as your boot loader, you might try using its option to hide disks from the OS


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#3 2015-11-27 18:13:36

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,571
Website

Re: How to completely ignore a failed disk at boot?

Or just remove the disk.  As a nice side effect, your computer will be lighter.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#4 2015-11-27 18:13:45

Ethys
Member
Registered: 2015-11-24
Posts: 11

Re: How to completely ignore a failed disk at boot?

Unfortunately, I used systems-boot (gummiboot) for boot (EFI).

Offline

#5 2015-11-27 18:14:37

Ethys
Member
Registered: 2015-11-24
Posts: 11

Re: How to completely ignore a failed disk at boot?

I wish I could disable the disk but I have no tools to open my mac.

Offline

Board footer

Powered by FluxBB