|
order vicodin Linux+Solaris HOWTO Max Berger v0.8-$Revision: 1.1 $, $Date: 2000/04/17 23:48:03 $ Describes how to use Linux (x86) and Solaris (x86) together order vicodin n one machine ______________________________________________________________________ Table of Contents 1. Introduction 1.1 Why Solaris? 1.2 Things covered in this order vicodin HOWTO 1.3 Referenced versions 1.4 Warning 2. Preparing your Hard Drive 2.1 Traditional PC partitions 2.2 Solaris partition labels 2.3 Hard disk space order vicodin 2.4 Quick check list 3. Preparing Linux 3.1 Building a new kernel 3.2 Preparing your boot loader 4. Installing Solaris 4.1 Solaris interactive 4.2 Web-Start order vicodin 4.3 Getting GNU-tools 5. Boot managing 5.1 Using the Solaris boot manager 5.2 Using lilo 5.3 Using grub 6. Sharing data 6.1 Using a shared partition order vicodin 6.2 Alternative ways 7. Running foreign binaries 7.1 Linux binaries on Solaris 7.2 Solaris binaries on Linux 8. Finding additional info 9. Credits and legal stuff order vicodin 9.1 Credits 9.2 Questions, comments, suggestions 9.3 License ______________________________________________________________________ 1. Introduction 1.1. Why S order vicodin laris? This is actually a good question. Why use Solaris, when you can have Linux? Solaris is a commercial system, the hardware support is scarce. But if you are reading order vicodin his you have probably already decided on using Solaris. If not, here are some reasons: · I have a part-time job administrating Solaris machines. It is of no use that I order vicodin learning all the neat command parameters and nifty Linux tricks at home, when I can't use them on my Solaris-Box. · Sun was giving away Solaris for what they call ``Shi order vicodin ping and handling cost only'' for some time. They might do that again. And almost-free-of-charge is always a good deal. · Another reason might be that you like CDE. order vicodin 1.2. Things covered in this HOWTO This HOWTO tries to help you install Solaris 7 or 8 on an x86 computer already running Linux. The main targets are · not to destroy an order vicodin data, see section ``Preparing your Harddrive'' · To make Linux and Solaris coexist (boot manager), see section ``Boot-Managing'' · To share data between Linux and So order vicodin aris, as described in section ``Sharing Data'' 1.3. Referenced versions The reference versions used while creating this document where: · Solaris 7 x86 (= Solaris 2. order vicodin / SunOS 5.7) · Solaris 8 x86 (= Solaris 2.8 / SunOS 5.8) · Linux 2.2.14, 2.3.99-pre3 · fdisk v2.10f The information might apply to other versions of the software, order vicodin r it might all be different. 1.4. Warning Please back up any data before messing with your system! A lot of the things described in this document may result in exces order vicodin ive data loss! I am not responsible for any data loss! See also section ``Legal stuff'' 2. Preparing your Hard Drive To Prepare your hard-drive for Solaris, you need to order vicodin now about standard PC partition tables and about Solaris disk slices. In this HOWTO I talk about single-disk systems only, but all the information should also apply to a m order vicodin lti-disk environment. 2.1. Traditional PC partitions The standard partition-table has only 4 entries. The entries important for us are the following: A Primary Partit order vicodin on Takes up one entry, and contains exactly one partition. A waste of resources, but the only partition you can boot from! An extended Partition Take order vicodin up one entry, but can contain multiple DOS, Linux, and other partitions A Solaris Partition Takes up one entry, but can contain multiple Solaris Partitions order vicodin To find out what partitions are present on your system, use the fdisk program. Partitions numbers 1 to 4 (hda1..4, sda1..4, ...) are the ones in your partition table. 2.2 order vicodin Solaris partition labels Solaris has its own partitioning scheme. It uses one entry in the partition table, and this entry is and acts as this partition would be the ent order vicodin re disk. This virtual disk is then divided in up to 8 slices. The third slice, s2, covers the whole virtual disk, so you actually have up to 7 slices for Solaris. Unfortu order vicodin ately, the Solaris partition entry has the same type as a Linux Swap partition (82). Therefore, you should not have any Linux swap partitions as primary partitions. Linux d order vicodin esn't care about this, but who knows what Solaris does? Although the Linux fdisk program has some ``Sun disklabel'' support, this doesn't seem to help any. 2.3. Hard dis order vicodin space Of course, Solaris needs disk space. The minimum installation of Solaris 8 is about 300 MB. For the normal tools its about 700 MB, and for a ``developer-system'' ab order vicodin ut 1 GB. But this is only the space required for the base installation. You might want to add a lot of GNU-Tools, and other stuff. And if you want to share data between So order vicodin aris and Linux, this has to happen on the Solaris partitions. You might even think of sharing your home directories between Solaris and Linux. As the time of this writing: order vicodin Forget it! I messed up my home directory doing so and I was very happy about my backup. See also section ``sharing data'' 2.4. Quick check list Here's the quick check li order vicodin t. Make sure you: · have used no more than 3 entries in your partition table · have no Linux swap partitions as primary partitions · Have at least 1 Linux ext2 partitio order vicodin as primary · Have at least 1 GB unpartitioned space 3. Preparing Linux 3.1. Building a new kernel Some people donīt like building a custom kernel. For those of you: y order vicodin u 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 k order vicodin rnel. Here are your kernel options for ``Solaris compatibility'': · Under code maturity: Prompt for development drivers Unfortunately UFS writing is still exper order vicodin mental. · In file systems: UFS file system support UFS is the Solaris file system UFS file system write support" The only way to pass data to Solaris order vicodin partition types / Solaris (x86) partition table support" Is needed for the slices within your Solaris partition to be found. Additional info about kernel order vicodin building can be found in the Kernel- HOWTO 3.2. Preparing your boot loader Before messing with your boot loader, please make sure that you have an emergency disk read order vicodin 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, th order vicodin 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 lil order vicodin this means: look at your /etc/lilo.conf. Look for the boot= line. If it is something like boot=/dev/hda1 everything is fine. But if itīs something like boot=/dev/hda it po order vicodin nts to the MBR. Please change it to point to a primary Linux partition (e.g. boot=/dev/hda1) A way to check if your boot-loader is chain-loadable is installing lilo in to order vicodin he MBR and trying to chain load your other boot-manager. I used the following file called lilo.conf.mbr for this: __________________________________________________________ order vicodin ___________ #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 order vicodin ask delay=50 other=/dev/hda1 label=lilochain ______________________________________________________________________ You can then run lilo -C lilo.conf.mbr to install lil order vicodin 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 other t order vicodin is chain loads the old lilo, which in turn loads Linux. 4. Installing Solaris 4.1. Solaris interactive Solaris 7 Solaris Interactive is on the first CD. Boot i order vicodin , select Solaris interactive Solaris 8 On the Solaris 8 CDs the interactive installer is on the first software CD. You don't need the install CD at a order vicodin l. The Solaris installation itself is quite straight forward. One thing that might be confusing is the partitioning. Solaris will automati cally use all the free space on order vicodin your hard disk, and create it's own virtual disk in it. And when it comes to slicing up your virtual disk, donīt forget to add space for Solaris/Linux exchange. A good plac order vicodin for this is an extra /export/share partition. Please Note: If you abort during the Solaris installation, the MBR of your hard disk may already be overwritten and you may not be able to boot from the hard disk at all. 4.2. Web-Start I couldn't get Web-Start to work at all. Please mail me if you have any experience using it. However, once Solaris was installed, I had no problems adding web- start-packages 4.3. Getting GNU-tools Solaris standard installation doesn't even have a less command. Some people recommend getting the Redhat Package Manager (RPM) for Solaris, but the standard packaging tool will usually do it. You can find many nice packages at http://www.sunfreeware.com The standard packages can be used with pkgadd , and the web-start packages with java 5. Boot managing 5.1. Using the Solaris boot
|