LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-03-2007, 05:14 AM   #1
fuzzyash
Member
 
Registered: Aug 2003
Location: Melbourne Australia
Distribution: Fedora Core 4
Posts: 184

Rep: Reputation: 30
How to force kernel to ignore a HDD at boot?


Hey All,

I've got an ASUS P5W DH Deluxe motherboard which has a "phantom" hard drive. I have asked ASUS about this & they say it's a know problem. During boot the kernel tries to initiate it which makes boot take a lot longer than it should.

Is there a way to force the kernel to ignore the drive at boot? in this case /dev/sda

Thanks
 
Old 07-03-2007, 07:40 AM   #2
emi_ramo
Member
 
Registered: Apr 2007
Location: Barcelona, Spain
Distribution: Debian, KUbuntu
Posts: 213

Rep: Reputation: 36
Can you put some log info from dmesg?
May be you can do kernel ignore it by passing some options to the module loader... I'm not sure at all if it's possible...

Take a look at:
/etc/initramfs-tools/conf.d/resume
/etc/udev/devfs.rules
/etc/udev/rules.d/udev.rules
/etc/udev/udev.rules
 
Old 07-03-2007, 07:56 AM   #3
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Before you try anything, flash the BIOS. The latest version may have a fix or an option to turn it off. (If the "drive" shows in bios it may be possible to "remove" it there too.)

Make sure the bad drive ain't in fstab or mtab and there are no rules about it.

The kernel line used to be: hdx=noprobe or hdx=none
 
Old 07-05-2007, 04:35 AM   #4
fuzzyash
Member
 
Registered: Aug 2003
Location: Melbourne Australia
Distribution: Fedora Core 4
Posts: 184

Original Poster
Rep: Reputation: 30
Thanks Guys.

The problem is at the very start of the boot process, before any module loading.
dmesg doesn't show much 'cause it's as the kernel searches for & initiates any drives it finds, I can't find a log of this part of the boot process, if anyone knows, I'll post it.

The manufactures, ASUS, said they knew of this problem & claimed it was fixed in their latest BIOS update, which was over 6 months ago, so I tried flashing the BIOS but it did not work!! I've even tried the latest one at the time of writing this, but still no fix.
Definitely no rules in fstab or mtab, anywhere else for that matter.
Ain't in the BIOS either, hence a "phantom drive", which is why I want to tell the kernel to ignore it by passing an argument to it via the boot loader.
You say:
Quote:
The kernel line used to be: hdx=noprobe or hdx=none
"Used To"?? Does this still work? 'Spose I'll just try it & see!
 
Old 07-05-2007, 04:46 AM   #5
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,128

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
Have a look in your source tree - ../Documentation/kernel-parameters.txt

IDE only I thought; although if you are later than 2.6.19 I don't know how the changes to libata would affect things.
 
  


Reply



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
How do I force hotplug to ignore a PCI slot? apsteffe Slackware 3 09-24-2006 04:50 PM
kernel panic when changing boot location from hdb to hdd loninappleton Linux - Hardware 7 11-08-2005 03:48 PM
Dual boot XP(internal IDE HDD) Debian(external USB-IDE HDD) using boot.ini PolarDog Linux - Laptop and Netbook 2 07-01-2005 09:50 PM
Dual boot 2.6 kernel HDD Geometry Install question morrolan Linux - Software 0 09-30-2004 06:11 AM
How to ignore SATA on boot? planktonguy Linux - Hardware 1 03-12-2004 01:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:52 AM.

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