hide devices from linux?

Les Mikesell lesmikesell at gmail.com
Sat Jul 22 23:01:16 UTC 2006


On Sat, 2006-07-22 at 16:34, Mikkel L. Ellertson wrote:
> 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.

That didn't look like normal software raid, which shouldn't try
to autodetect unless the partition type is set to 'FD' with
fdisk.  It looked like mdraid - something to do with one
of those embedded bios SATA drivers.

-- 
  Les Mikesell
   lesmikesell at gmail.com





More information about the fedora-list mailing list