hdparm.conf
Wenzhuo Zhang
wenzhuo at zhmail.com
Fri Jul 29 08:17:09 UTC 2005
On Fri, Jul 29, 2005 at 07:17:45AM +0200, John Nilsson wrote:
> > $ sudo su -
> > # cp -p /etc/mkinitrd/modules /etc/mkinitrd/modules.orig
> > # vi /etc/mkinitrd/modules
>
> Good habits die hard? -p seems unnecesary in that line ;-)
Of course it's a very good habit. I consider "-p" necessary when backing
up files. It's a very good habit to backup a configuration file before
making changes to it so that you can always easily revert your changes
and find out how many configuration files you have modified since day 1
of your new OS.
> > and add the following lines to /etc/mkinitrd/modules:
> >
> > piix
> > ide-core
> > ide-cd
> > ide-disk
> > ide-generic
>
> Does ide-generic actually add some value? I was thinking that it's a
> fallback if via82cxx (my chipset) isn't availible...
Yes, ide-generic is necessary, and it should be loaded after the South
Bridge chipset driver and the ide-disk driver. The default Ubuntu kernel
initrd seems to load the drivers in the wrong order (I might be wrong
with it; please consult the kernel maintainers of the IDE subsystem).
> > # cp -p /boot/initrd.img-2.6.10-5-686 /boot/initrd.img-2.6.10-5-686.orig
> > # mkinitrd -o /boot/initrd.img-2.6.10-5-686 2.6.10-5-686
>
> So thats how you do it, my current initrd has got drivers for anything
> under the sun, quite annoying actually. No "dpkg-reconfigure" or other
> sillyness? I've got the impression that debian provides wrappers for
> anything you might want to do ;-)
Can you tell me explicitly whether you solved your problem by following
my suggestions? You wrote a lot, but didn't state clearly whether it
works or not.
Wenzhuo
More information about the ubuntu-users
mailing list