You are not logged in.
Pages: 1
Hi, I heard somewhere else that the 0.8 install cd uses the pata driver instead of the ide one... how can I make that in my already installed arch (my wiki search didn't come out with anything interesting).
I even switched to use uuid in both grub and fstab.
Offline
if u are using a 2.6.20.x kernel its already been done for you
There shouldn't be any reason to learn more editor types than emacs or vi -- mg (1)
[You learn that sarcasm does not often work well in international forums. That is why we avoid it. -- ewaller (arch linux forum moderator)
Offline
unless you've still got the ide-hook instead of the pata-hook in your /ect/mkinitcpio.conf...
If such is the case, do this:
# vim /etc/mkinitcpio.conf
go to the HOOKS= line and replace ide with pata
:wq
# mkinitcpio
check for errors...
# mount /boot # if necessary
# mkinitcpio -g /boot/kernel26pata.img
Now, I hope you're using grub, because that's all i ever used, so i don't know how to do this in lilo, but here it goes:
reboot, select the kernel you normally boot in grub, but don't press enter.
Press 'e'. Select the initrd-line and press 'e' again.
You can now change "/kernel26.img" into "kernel26pata.img".
When you're done, press enter and 'b' to boot.
If all goes well, do this to make the change permanent:
# mount /boot # if necessary
# cp /boot/kernel26{pata,}.img
done
Stand back, intruder, or i'll blast you out of space! I am Klixon and I don't want any dealings with you human lifeforms. I'm a cyborg!
Offline
If I understand correctly, this will make all hd* devices appear as sd* devices? How would my devices nodes lay out be if I currently have two hardrives, hda and sda, one dvd drive hdc and 6 removable drives sd[b-f]?
Offline
Your dvd-drive would be /dev/sr0.
The rest is something else... There's realy no way to tell.
And that's exactly the reason why you should be using persistent block device naming if you want to make the switch.
Another great trick is to use LVM. Instant persistent naming
Stand back, intruder, or i'll blast you out of space! I am Klixon and I don't want any dealings with you human lifeforms. I'm a cyborg!
Offline
Nice, I think I've got it working. But hdparm doesn't work on my pata drives no more? Are the best settings auto detected then or something?
Last edited by Ramses de Norre (2007-04-24 16:42:45)
Offline
Don't forget to edit your /etc/fstab as well.
Offline
I've had no complaints about the performance of my drive... I'm quite happy with the kernel-chosen settings...
I don't know if it's of any use as to tuning performance, but there's also "sdparm", which is suitable for the scsi subsystem that pata uses... There's a PKGBUILD for it in AUR
Stand back, intruder, or i'll blast you out of space! I am Klixon and I don't want any dealings with you human lifeforms. I'm a cyborg!
Offline
Yeah, I already searched with pacman for sdparm but it couldn't find it. I'll look into the PKGBUILD when I've got time.
And I did edit my fstab
Oh it also seems like hal is acting funky on removable drives, it seems like they are mounted twice... Once by fstab and once by hal or so? Hal didn't do so before. They appear twice in nautilus but only once in /etc/mtab.
Thanks for the very useful info you all gave me, I appreciate it a lot and I'm having a very good time on Arch.
Offline
unless you've still got the ide-hook instead of the pata-hook in your /ect/mkinitcpio.conf...
If such is the case, do this:
...
Thanks!, it works like a charm.
Offline
Don't forget to edit your /etc/fstab as well.
True... although the original post already mentioned:
I even switched to use uuid in both grub and fstab.
But for others reading this thread... Better follow tomk's advice (or wiki's concerning persistent block device naming)
Stand back, intruder, or i'll blast you out of space! I am Klixon and I don't want any dealings with you human lifeforms. I'm a cyborg!
Offline
Pages: 1