hide devices from linux?

Mikkel L. Ellertson mikkel at infinity-ltd.com
Sat Jul 22 21:34:13 UTC 2006


Tom Horsley wrote:
> Is there any way early in kernel boot time to "hide" devices
> from the kernel? Tell it something like /dev/sdc and /dev/sdd
> aren't there - don't look at them - don't confuse yourself
> trying to automagically detect a RAID on them, just pretend
> they aren't there at all.
> 
> The original FC5 kernel apparently comes up with this
> poop out of nowhere when booting my current system that
> happens to have a Windows XP RAID on some other disks
> I don't want it to use:
> 
> If I update the kernel to the latest FC5 from updates, it
> hangs at boot time right after it says it is starting nash (sigh :-).
> 
> I have no desire to access these disks when I've got linux booted,
> and I'd really like to make them logically disappear (which is
> a lot less work than opening the case and unplugging them :-).
> 
If you are not using RAID, you may want "raid=noautodetect" to the
boot parameters. For IDE drives, you can use "hdx=noprobe", but I do
not think that works for SCSI drives.

Mikkel
-- 

  Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!




More information about the users mailing list