help-grub
[Top][All Lists]
Advanced

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

Re: grub in mac


From: Andrei Borzenkov
Subject: Re: grub in mac
Date: Wed, 11 Nov 2015 08:08:09 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0

11.11.2015 07:34, Peter Cheung пишет:
I tried grub-install, but same error message, another thing i discovered is "the 
size of hostdisk//dev/rdisk2 is 204800", but my hd.img file is 100MB.thanksfrom Peter

...

/toolchain/sbin/grub-install: info: drive = 0.
/toolchain/sbin/grub-install: info: the size of hostdisk//dev/rdisk2 is 204800.
/toolchain/sbin/grub-install: info: guessed root_dev `hostdisk//dev/rdisk2' 
from dir `/Users/peter/NetBeansProjects/PeterI/temp/grub/i386-pc'.
/toolchain/sbin/grub-install: info: setting the root device to 
`hostdisk//dev/rdisk2,1'.
/toolchain/sbin/grub-install: error: attempt to read or write outside of disk 
`hostdisk//dev/disk2'.



No, it is not the same message. Now it correctly detects disk2, but it lacks MAC OS X specific code for BIOS device guessing.

grub-install expects device.map in /boot/grub; so put it there (i.e. on filesystem on /dev/disk2s1).

Someone more familiar with OS X need to contribute device detection code for it.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]