Sponsored Content
Operating Systems Solaris dual boot solaris/solaris zfs file system Post 302577096 by estammis on Monday 28th of November 2011 07:53:59 AM
Old 11-28-2011
dual boot solaris/solaris zfs file system

Hi,

I am running into a some problems creating a dual boot system of 2 solaris instances using ZFS file system and I was wondering if someone can help me out.

First some back ground. I have been asked to change the file system of our server from UFS to ZFS. Currently we are using Solaris 10/09 release (x86) using an Areca raid controller. This controller is configured into a raid 5 system and 1 single passthrough system on the same controller. The file system currently used is UFS. Which is ok, and the configuration of the grub boot settings at start up is fairly simple and basic.
The main raid5 system is booting from hd0 (c1t0d0s0) and the passthrough from hd1 (c1t1d0s0). Setting this up in menu.lst is simple.
The reason for the passthrough disk to be present is to have this instance running as emergency backup, with the latest available back up from the main raid5 instance.
Twice a day there is a backup script running on the raid5 system that copies all the information over to the passthrough disk (including servername, IP, routing etc).
Using UFS and mounting points, this is simple.

However, i have been asked to change the UFS file system for our new servers to ZFS. So clean install of the solaris OS etc.
This I have done and I have created several file system under the main rpoool.
This I did for both the raid5 system and the passthrough disk.
Both disks look like this:

NAME USED AVAIL REFER MOUNTPOINT
rpool 13.4G 132G 36K /rpool
rpool/ROOT 4.39G 132G 21K legacy
rpool/ROOT/s10x_u8wos_08a 4.39G 132G 4.39G /
rpool/dump 2.00G 132G 2.00G -
rpool/export 44K 132G 23K /export
rpool/export/home 21K 132G 21K /export/home
rpool/swap 2G 134G 98.9M -
rpool/usr3 24K 10.0G 24K /usr3
rpool/wtllog 122K 72.0G 122K /wtllog
rpool/wtlsw 239M 82.8G 239M /wtlsw

The problem I have now, is that i don't know how to configure menu.list in order to have the 3 options in the grub boot menu.
i need to have the following menu:
1- boot main production
2- boot from passthrough disk
3- boot fail safe

option 1 and 3 are automatically created by the installation of the OS. But how do i get the proper settings for booting completely from the passthrough?
(using UFS makes the creating of the boot order and execution in menu.lst easy by selecting either hd0 or hd1).

I went through the forum already and did a google search, but what i find is mainly dual boot between solaris and windows systems or linux.

Any help or direction to an online article for this problem is highly appreciated.

Thanks in advance and best Regards,

Epco
 

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

dual boot windows 2000 and solaris 8

Hello I recently purchased solaris 8 and I want to dual boot with windows 2000. What is the easiest way to install the solaris OS with the existing windows 2000? mogfog (4 Replies)
Discussion started by: mogfog
4 Replies

2. UNIX for Dummies Questions & Answers

Installing Dual Boot Xp is in first want Solaris

I'm looking to add a 2nd hard drive to my computer and make one hard drive Solaris and keep the 2nd as my origional Xp home edition. To basically keep them seperated in what they do. Now saying I have the hard drive in installed and everything and it's blank. I work for Sun Microsystems so i know... (2 Replies)
Discussion started by: Cyrix142
2 Replies

3. UNIX for Dummies Questions & Answers

Dual Boot Solaris 8

Greetings, I have learned much since joining the message board, but I was unable to locate any information concerning dual booting Solaris with Windows on a machine with standardized equipment. I have read on the sun.com page that it is possible and can even be pushed to the rear partition, but... (3 Replies)
Discussion started by: TStoddard
3 Replies

4. UNIX for Dummies Questions & Answers

solaris dual boot

Hello friends, On sparc 5 with solaris 8 i like to have dual boot with solaris 9. is this correct that the minimum memmory must be 96 mb for dual boot? do you recommand dual boot on unix? solaris 8 will be the testing environment and solaris 9 the production. does any one has this type... (5 Replies)
Discussion started by: grep
5 Replies

5. Solaris

solaris dual boot

hi ;) So I have 2 HDD (SATA and ATA). On the SATA I've installed WindwosXP and now I want to install solaris 10 on the ATA disk. Is it possible if the ATA disk is primary to make dual boot ? thank you very much (0 Replies)
Discussion started by: nocture
0 Replies

6. Solaris

Dual Boot XP Solaris

Does here know how to configure the Windows XP Boot loader to dual boot XP and Solaris 10? I installed Solaris after XP but it did not detect the XP installation, and I really can't reformat right now. (3 Replies)
Discussion started by: Super User
3 Replies

7. Solaris

Solaris and Xp in dual boot

Hello,I've a big problem. On my hd I've Windows Xp and after I've installed Solaris 10. Solaris now run perfectly but I can't boot the Xp partition.I've tried with grub super disk and I receive an error 12 when I try to boot the Windows partition.However with the windows cd the partition is... (2 Replies)
Discussion started by: bgf0
2 Replies

8. Solaris

Solaris/Linux Dual Boot

From googling around, I have found that dual booting isn't so hard... if you are installing both for the first time. However, I couldn't find anything on if I can preserve my Solaris 10 partition that is already installed. Any words of advice? (1 Reply)
Discussion started by: GeekMasterFlash
1 Replies
installgrub(1M) 														   installgrub(1M)

NAME
installgrub - install GRUB in a disk partition or a floppy SYNOPSIS
/sbin/installgrub [-fm] stage1 stage2 raw-device The installgrub command is an -only program. GRUB stands for GRand Unified Bootloader. installgrub installs GRUB stage 1 and stage 2 files on the boot area of a disk partition. If you specify the -m option, installgrub installs the stage 1 file on the master boot sector of the disk. The installgrub command accepts the following options: -f Suppresses interaction when overwriting the master boot sector. -m Installs GRUB stage1 on the master boot sector interactively. The installgrub command accepts the following operands: stage1 The name of the GRUB stage 1 file. stage2 The name of the GRUB stage 2 file. raw-device The name of the device onto which GRUB code is to be installed. It must be a character device that is readable and writable. For disk devices, specify the slice where the GRUB menu file is located. (For Solaris it is the root slice.) For a floppy disk, it is /dev/rdiskette. Example 1: Installing GRUB on a Hard Disk Slice The following command installs GRUB on a system where the root slice is c0d0s0: example# /sbin/installgrub /boot/grub/stage1 /boot/grub/stage2 /dev/rdsk/c0d0s0 Example 2: Installing GRUB on a Floppy The following command installs GRUB on a formatted floppy: example# mount -F pcfs /dev/diskette /mnt # mkdir -p /mnt/boot/grub # cp /boot/grub/* /mnt/boot/grub # umount /mnt # cd /boot/grub # /sbin/installgrub stage1 stage2 /dev/rdiskette /boot/grub Directory where GRUB files reside. See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWcsu | +-----------------------------+-----------------------------+ |Interface Stability |Evolving | +-----------------------------+-----------------------------+ boot(1M), fdisk(1M), fmthard(1M), kernel(1M), attributes(5) Installing GRUB on the master boot sector (-m option) overrides any boot manager currently installed on the machine. The system will always boot the GRUB in the Solaris partition regardless of which fdisk partition is active. 24 May 2005 installgrub(1M)
All times are GMT -4. The time now is 05:24 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy