[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Getting debian to ignore hdb on bootup

NN_il_Confusionario wrote:

> On Tue, Apr 22, 2008 at 11:16:35AM +0200, Jonathan Kaye wrote:
>> > On Mon, Apr 21, 2008 at 06:55:30PM +0200, Jonathan Kaye wrote:
>> >> kernel          /boot/vmlinuz-2.6.24-1-686 root=/dev/hda1 ro
>> >> hdb=noprobe
>> I tried both hdb=noprobe and hdb=none but the boot up
>> routine paid absolutely no attention. The same problem persists. Is there
>> any other place I could tell the bootup routine to ignore hdb?
> See also
>    Linkname: Linux-Kernel Archive: Re: ide0=noprobe, hda=noprobe, hda=none
>    ignored?
>         URL:
>         http://www.ussg.iu.edu/hypermail/linux/kernel/0706.1/1645.html
Hi NN,
Again, thanks so much for your patience and knowledge. I'm learning a lot
this way.

The above link you sent seems to be exactly what I need! I've followed the
1) check if you have ide_core loaded as module:
Yes, I do.
 lsmod | grep ide_core
ide_core  108292  4 ide_cd,ide_disk,via82cxxx,generic
2) Check if you have an initrd in /boot:
Yes, I do.
ls /boot/initrd*`uname -r`
3) Check if you use /etc/modprobe.conf, or /etc/modprobe.d
I use /etc/modprobe.d
ls -ld /etc/modprobe.conf /etc/modprobe.d
drwxr-xr-x 3 root root 4096 2008-04-19 09:07 /etc/modprobe.d

4) So if I understand things correctly, to stop my system from probing hdb I
should execute the following command:
echo 'options ide_core options="hdb=noprobe"' >/etc/modprobe.d/noprobe
This will create a file, noprobe in my /etc/modprobe.d folder.

Then I execute
sudo update-initramfs -u

5) I'll skip this step

After that I just reboot and as they say "enjoy the no probing".
6) reboot

Does all this seem correct?
Thanks again.
Registerd Linux user #445917 at http://counter.li.org/

Reply to: