Multiboot mac linux

Fermé
database - 2 juil. 2004 à 19:33
johndoe Messages postés 2645 Date d'inscription jeudi 25 septembre 2003 Statut Contributeur Dernière intervention 15 avril 2006 - 4 juil. 2004 à 08:45
bonsoir!

j'ai un mac g4 et je souhaiterais faire un multiboot mac os x et linux, est ce possible? peut on installer linux sur un mac , j'ai lu que oui, mais je ne suis pas sur! pouvez vous m'aider? merci
A voir également:

3 réponses

johndoe Messages postés 2645 Date d'inscription jeudi 25 septembre 2003 Statut Contributeur Dernière intervention 15 avril 2006 386
4 juil. 2004 à 08:34
salut,
voilà enfin quelque chose qui sort de l'ordinaire !:)
Je vais voir si je trouve un truc la dessus...

_
No money, no honey, One Boss !
0
johndoe Messages postés 2645 Date d'inscription jeudi 25 septembre 2003 Statut Contributeur Dernière intervention 15 avril 2006 386
4 juil. 2004 à 08:42
Ce fut rapide :
http://www.claudio.ch/Linux/kernel.html
bon c'est en anglais, mais tout en bas tu peux lire ça :
Benjamin Herrenschmidt's web page contains the newest version of BootX and MountX. The first is the system extension, which let's you choose to boot Linux or MacOS. MountX allows you to mount your Linux partition under MacOS, but it didn't work for me.
donc c'est possible.
Maintenant ,... faut le faire. si j'avais un mac sous la main je ferais le test avec plaisir, mais : j'ai pas ça en rayon (j'en ai qu'un et je ne veux pas risquer de le massacrer :))
Tiens en voilà un autre plutot encourageant :
http://www-106.ibm.com/developerworks/linux/library/l-pmac.html
Distributions
For this article, I installed and evaluated four distributions of Linux for PowerPC machines: Debian, Knoppix, Yellow Dog, and Mandrake. All were installed and tested on a G4 iMac. I found two of the distributions to be well polished and easy to use, right on par with the best x86 Linux distributions; the other two I would have to describe as "not ready yet." A few other distributions exist as well -- and more will certainly be created over time. I was not aiming to provide a thorough comparison of every distribution readers might choose to use, but simply to get a sense of the "state of the art" -- no slight is intended towards those distributions I did not look at.

The two distributions that I found less that compelling were Debian (Woody) and Knoppix. The latter is an interesting creature that I've found useful on x86 machines. Knoppix uses a "live boot" CD -- that is, booting from the Knoppix CD gives you a working Linux environment with KDE, OpenOffice, and a good collection of utilities. Using Knoppix, there is no need to create any partitions or boot setup on a PC, and you can carry the Knoppix CD between various machines to have a uniform configuration on each. Unfortunately, testing on three separate systems, Knoppix/PPC never managed to boot quite right: KDE would not load, and the fallback was a crude TWM shell that did not get the video mode quite right (colormap and sizing problems). Networking, including wireless, however, seem to be recognized correctly; so you can use the command-line tools. Once Knoppix/PPC gets some more polish to it, it -- or something like it -- will be a very useful way to run Linux non-destructively on existing Mac OS X machines. (See Resources for links to full articles on Knoppix.)


Bon pi y en a d'autre, mais la deja t'as de quoi t'occuper cinq minutes :)
_
No money, no honey, One Boss !
0
johndoe Messages postés 2645 Date d'inscription jeudi 25 septembre 2003 Statut Contributeur Dernière intervention 15 avril 2006 386
4 juil. 2004 à 08:45
sur le multiboot, le meme article dit un peu plus bas, toujours là : http://www-106.ibm.com/developerworks/linux/library/l-pmac.html

Partitioning, multi-boot management, and emulation
Linux/PPC has an important disadvantage relative to Linux/x86: As of this writing, no tools yet exist for non-destructive repartitioning of HFS+ partitions (at least none that are post-alpha and can run from OS X or Linux). Unfortunately, this means that you cannot easily configure a multi-boot system from an existing Mac OS X system; most recent Linux/x86 distributions provide an analogous capability to add Linux to an existing Windows system. It is simple enough to destructively partition an existing drive, then reinstall OS X to one of those new partitions; but doing this means losing your existing data and system configuration (backup/restore might work, but can be tricky to get right). Of course, if you simply want a dedicated Linux machine, this is not something you need worry about.

Partitioning and bootstrapping work a bit differently on Apple machines compared to x86 ones. Specifically, Apple's Open Firmware (an enhanced version of the BIOS Linux users know from x86 PCs) relies on a small "Apple Bootstrap" partition (hda2) to load the subsequent operating system from one of the regular partitions. The partition map also occupies hda1, so the first partition in which you will install any operating system is numbered at least hda3. During machine startup -- using the multi-boot tool yaboot -- your boot process goes through two stages, rather than the one-level x86 MBR boot loaders such as lilo and grub use. At the first stage, you have a choice of booting from, for example, harddisk, CD-ROM, or to Open Firmware; assuming you proceed to the harddisk, you might have the option of booting various operating systems/versions that live on normal partitions.

Configuring yaboot is generally similar to working with lilo. A file called /etc/yaboot.conf contains options for various systems, kernels, partitions, and so on; the format is mostly the same as in lilo.conf. When you have configured yaboot.conf properly, you load yaboot onto the bootstrap partition using the command ybin (as root, of course). To find partition information, you must use the tool pdisk rather than the traditional fdisk on x86 Linux systems. Again, the interface is similar but not quite the same, between the tools. For Mandrake users, the tool DiskDrake is a much friendlier and more flexible GUI-based tool to do the same thing. Using yaboot, you can choose among multiple Linux distributions and/or MacOS versions at boot time.

One nice thing about running Linux on PPC machines is that you can run the Free Software tool Mac-on-Linux this way. This works much like the commercial VMWare does on x86 machines. An entire Mac OS system (either OS X, or an earlier version such as Mac OS 9) runs inside a window within a Linux/X11 display. In fact, you can run multiple Mac OS versions simultaneously, each in their own virtual display window. The Mac OS lives in a kind of "sandbox" where it cannot see its Linux environment, but PPC instructions nonetheless run at full native speed. Assuming you have enough memory to run such a sandbox, Mac-on-Linux gives you a nice way to continue using your Mac OS applications while running Linux -- even proprietary applications for which you have no source code. No need for recompilation as is needed to move Linux applications to an OS X environment.


_
No money, no honey, One Boss !
0