GRUB: Difference between revisions

Jump to navigation Jump to search
[unchecked revision][unchecked revision]
Content deleted Content added
Line 186: Line 186:
Here, it's a 80MB disk, so the CHS values are 78, 32 and 63 respectively.
Here, it's a 80MB disk, so the CHS values are 78, 32 and 63 respectively.


3. Fire up FDISK (or your tool of choice) -- I'm using the OSX version here, so commands may differ. The concept is essentially identical.
3. Fire up FDISK (or your tool of choice) -- I'm using the OS X version here, so commands may differ. The concept is essentially identical.


What will show on your screen (in OSX anyway) is on the left, what you enter is on the right.
What will show on your screen (in OSX anyway) is on the left, what you enter is on the right.
Line 243: Line 243:
</source>
</source>


And there it is! You know have a disk.img, that will have GRUB2 installed, ready to go. It should be mountable in OSX simply by double clicking (or with the mount command).
And there it is! You know have a disk.img, that will have GRUB 2 installed, ready to go. It should be mountable in OSX simply by double clicking (or with the mount command).
Enjoy!
Enjoy!


Line 250: Line 250:
--modules="part_msdos"
--modules="part_msdos"


In general, if GRUB2 happens to fail to do what you want and you suspect that it needs some missing functionality, just try to add a module name you believe has the functionality you need to the --modules argument. The module files generally are in /boot/grub/i386-pc/.
In general, if GRUB 2 happens to fail to do what you want and you suspect that it needs some missing functionality, just try to add a module name you believe has the functionality you need to the --modules argument. The module files generally are in /boot/grub/i386-pc/.


== Multiboot ==
== Multiboot ==