IceWalkers.com - Linux Software downloads and news
Name : Password :
Linux SoftwareLinux RPMLinux HowtosLink UsAboutAdvertise

HOWTOs

Search Howtos :Match :
Next Previous Contents

3. Preparing Linux

3.1 Building a new kernel

Some 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'':

  • Under code maturity:
    Prompt for development drivers

    Unfortunately UFS writing is still experimental.

  • 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

    partition types / Solaris (x86) partition table support

    Is needed for the slices within your Solaris partition to be found.

Additional info about kernel 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 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 boot= line. If it is something like boot=/dev/hda1 everything is fine. But if itīs something like boot=/dev/hda it points 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 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 other this chain loads the old lilo, which in turn loads Linux.


Next Previous Contents
Search Howtos :Match :
Transmission 1.41 beta 2
Lightweight, yet powerful BitTorrent client
X-Moto 0.5.0
2D motocross platform game
Gdm 2.25.1
Reimplementation of the well known xdm program.
Linux Kernel 2.6 2.6.28-rc7
Linux Kernel
Linux Kernel 2.4 2.4.37
Linux Kernel
RIP 7.3
Small linux system for the purpose of system booting or repairing
GEdit 2.25.1
Small but powerful text editor
VLC media player 0.9.7
Cross-platform media player and streaming server
GNOME 2.25.2
GNOME desktop environment
WebGUI 7.6.5
A fully featured content management system.
Free IT Magazines, White Papers, eBooks, and more !
Dr. Dobb's Journal

Dr. Dobb's Journal enables programmers to write the most efficient and sophisticated programs and help in daily programming quandaries.

The 7 Things that IT Security Professionals MUST KNOW!

Gain key insight into security problem and find the safest means to protect your technological assets.

Database Trends and Applications

Provides timely coverage of the technology, intelligence and insight needed to plan, implement and manage information-rich projects.

Linux Software Map
Find Linux RPM
Best Rated Linux Software
Most Rated Linux Software
Linux Distributions
Linux Howtos
Quick Survey

Please take our survey and help us improve our website to serve you better.

Thank you.
Linux Software
Linux / IT Resources
Site Resources
Google
Privacy Policy
Contact Us
Submit Software
Advertising info