s i s t e m a o p e r a c i o n a l m a g n u x l i n u x | ~/ · documentação · suporte · sobre |
Next
Previous
Contents
3. Preparing Linux3.1 Building a new kernelSome people don´t like building a custom kernel. For those of you: you must build your own kernel if you want to share data between Solaris and Linux on one hard disk. If, however, you do not want to share data, you are safe with your old kernel. Here are your kernel options for ``Solaris compatibility'':
3.2 Preparing your boot loaderBefore messing with your boot loader, please make sure that you have an emergency disk ready which enables you to boot your old system. Unfortunately the Solaris install overwrites the master boot record (MBR) and overwrites your old boot manager. Fortunately, the Solaris boot manager is able to chain-boot. For this to work you have to put your old boot loader (e.g. lilo) into the boot sector of one primary Linux partition. For lilo this means: look at your
/etc/lilo.conf. Look for the A way to check if your boot-loader is chain-loadable is installing lilo in to the MBR and trying to chain load your other boot-manager. I used the following file called lilo.conf.mbr for this: #lilo.conf.mbr #Lilo in Master Boot Record doing nothing but chain-loading another lilo boot=/dev/hda root=/dev/hda5 install=/boot/boot.b map=/boot/map vga=ask delay=50 other=/dev/hda1 label=lilochain You can then run lilo -C lilo.conf.mbr to install lilo into your
MBR. And don´t forget to run lilo to have lilo in
the boot sector of your hard-drive.
If you reboot
now, you should have a lilo-prompt. When you select Next Previous Contents |