All of lore.kernel.org
 help / color / mirror / Atom feed
* hdparm and prefix invalidation
@ 2009-11-09  6:33 Pedro A ARANDA
  2009-11-09  8:19 ` Vladimir 'phcoder' Serbinenko
  0 siblings, 1 reply; 2+ messages in thread
From: Pedro A ARANDA @ 2009-11-09  6:33 UTC (permalink / raw)
  To: grub-devel

[-- Attachment #1: Type: text/plain, Size: 1340 bytes --]


> After 'insmod ata', loading of further modules typically fails because 
> the drive in the 'prefix' variable is no longer valid.
> The following works for me:
>
> # Load needed modules first
> insmod hdparm
>
> # Switch to ATA driver and load ATA pass-through support
> # (this invalidates prefix)
> insmod ata_pthru
>  
> # Turn APM off
> hdparm -B 255 (ata0)
>
> -- 
> Regards,
> Christian Franke

Thanks Christian :-) that works now. I now understand that the last module
I have to load is ata_pthru That's great. So currently I can turn off APM
and got rid of the clunking. Next step is to make OSX load.

I'm now using 

insmod hfsplus
set root=(hd0,1)
multiboot /boot

I moved 'insmod hfsplus' *before* 'insmod ata_pthru' and
changed set 'root=(hd0,1)' to 'set root=(ata0,1)'

Problem seems to be that after loading ata_pthru it
has some problems with the prefix and still wants to
/boot in (hd0,1)

I have also tried 

search --file --set=root /boot
multiboot /boot

Thanks for any help
 		 	   		  
_________________________________________________________________
Windows Live: Keep your friends up to date with what you do online.
http://www.microsoft.com/middleeast/windows/windowslive/see-it-in-action/social-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:en-xm:SI_SB_1:092010

[-- Attachment #2: Type: text/html, Size: 1652 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: hdparm and prefix invalidation
  2009-11-09  6:33 hdparm and prefix invalidation Pedro A ARANDA
@ 2009-11-09  8:19 ` Vladimir 'phcoder' Serbinenko
  0 siblings, 0 replies; 2+ messages in thread
From: Vladimir 'phcoder' Serbinenko @ 2009-11-09  8:19 UTC (permalink / raw)
  To: The development of GNU GRUB

Pedro A ARANDA wrote:
> Thanks Christian :-) that works now. I now understand that the last module
> I have to load is ata_pthru That's great. So currently I can turn off APM
> and got rid of the clunking. Next step is to make OSX load.
>   
Booting OSX on non-Apple computer constitutes an EULA violation.
Depending on the law in action this may be either enforceable or not.
But even if it isn't it constitutes an attempt on freedom to run
software which is essential to every software freedom. Imagine that
someone tries to tie you to a chair but you're able to get loose only
because a cord was of bad quality, would you give him second chance? We
encourage you to boycott OSX altogether. On a side note I tested OSX and
haven't found anything out of ordinary in it. There are a lot of free OS
for any taste, my personal choice would be GNU/Linux or FreeBSD. You may
also consider GNUStep which is reimplementation of NextStep/Cocoa API.
There is also an effort to create a Darwin (core parts of OSX)
distribution with only free software which can be found at
http://www.puredarwin.org/ . It uses the same kernel as OSX which can be
booted directly from GRUB2 as described here:
http://grub.enbug.org/XNUSupport

-- 
Regards
Vladimir 'phcoder' Serbinenko




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-11-09  8:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-11-09  6:33 hdparm and prefix invalidation Pedro A ARANDA
2009-11-09  8:19 ` Vladimir 'phcoder' Serbinenko

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.