Need to create a menu.lst for Solaris 11 Express, OpenSUSE 11.3 & Windows Vista


 
Thread Tools Search this Thread
Operating Systems Solaris Need to create a menu.lst for Solaris 11 Express, OpenSUSE 11.3 & Windows Vista
# 1  
Old 03-17-2011
Need to create a menu.lst for Solaris 11 Express, OpenSUSE 11.3 & Windows Vista

I have partitioned and installed Windows Vista, OpenSUSE and Solaris 11 Express on a LapTop hardDrive. However I am not able to boot OpenSUSE 11.3 although I have it in menu.lst which I put in a Solaris partition directory /rpool/boot/grub. Could someone tell me how to go about it. See what I did below and tell me what is wrong:-

I have my LapTop HardDisk partitioned as below:-

Code:
OrigUser@LAPTOP:~/Downloads# pfexec prtpart

Failed to inquiry this logical disk
Fdisk information for device /dev/rdsk/c8d0p0

Block Size : 512 bytes
Controller : ide
Disk       : cmdk
Capacity   : 186 GB
 
#  start block  # nblocks    startCylSecHd endCylSecHd   OSType
 1: 0000002048   0003072000     0/21/20    bf/1a/59      Unknown
 2: 0003074048   0177932288    bf/1b/59     3/1c/df      IFS: NTFS
 3: 0181006336   0104859648    ff/ff/fe    ff/ff/fe      WIN95 Extended(LBA)
 
#  start block  # nblocks    startCylSecHd endCylSecHd   OSType
 5: 0000002048   0041940992    ff/ff/fe    ff/ff/fe      Linux native
 0: 0041945025   0062914623    ff/ff/fe    ff/ff/fe      DOS Extended
 
#  start block  # nblocks    startCylSecHd endCylSecHd   OSType
 6: 0000000063   0062914560    ff/ff/fe    ff/ff/fe      Linux native
 
 4: 0285865984   0104850944    ff/ff/fe    ff/ff/fe      Solaris x86

OrigUser@LAPTOP:~/Downloads# pfexec prtpart /dev/rdsk/c8d0p0 -ldevs

Fdisk information for device /dev/rdsk/c8d0p0

** NOTE **
/dev/dsk/c8d0p0      - Physical device referring to entire physical disk
/dev/dsk/c8d0p1 - p4 - Physical devices referring to the 4 primary partitions
/dev/dsk/c8d0p5 ...  - Virtual devices referring to logical partitions

Virtual device names can be used to access EXT2 and NTFS on logical partitions

/dev/dsk/c8d0p1    Unknown
/dev/dsk/c8d0p2    IFS: NTFS
/dev/dsk/c8d0p3    WIN95 Extended(LBA)
/dev/dsk/c8d0p5    Linux native
/dev/dsk/c8d0p6    Linux native
 
/dev/dsk/c8d0p4    Solaris x86

The Grub menu.lst for OpenSUSE is as below after I installed it:-

Code:
# Modified by YaST2. Last modification on Tue Mar  1 12:20:44 EST 2011
# THIS FILE WILL BE PARTIALLY OVERWRITTEN by perl-Bootloader
# Configure custom boot parameters for updated kernels in /etc/sysconfig/bootloader

default 0
timeout 8
##YaST - generic_mbr
gfxmenu (hd0,4)/boot/message
##YaST - activate

###Don't change this comment - YaST2 identifier: Original name: linux###
title Desktop -- openSUSE 11.3 - 2.6.34-12
    root (hd0,4)
    kernel /boot/vmlinuz-2.6.34-12-desktop root=/dev/disk/by-id/ata-TOSHIBA_MK2035GSS_674VF1ZNS-part5 resume=/dev/disk/by-id/ata-TOSHIBA_MK2035GSS_674VF1ZNS-part4 splash=silent quiet showopts vga=0x361
    initrd /boot/initrd-2.6.34-12-desktop

###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- openSUSE 11.3 - 2.6.34-12
    root (hd0,4)
    kernel /boot/vmlinuz-2.6.34-12-desktop root=/dev/disk/by-id/ata-TOSHIBA_MK2035GSS_674VF1ZNS-part5 showopts apm=off noresume edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 nomodeset x11failsafe vga=0x361
    initrd /boot/initrd-2.6.34-12-desktop

###Don't change this comment - YaST2 identifier: Original name: windows###
title Windows
    rootnoverify (hd0,1)
    chainloader +1

The Grub menu.lst for Solaris 11 Express is as below after I installed it:-


Code:
splashimage /boot/grub/splash.xpm.gz
foreground 343434
background F7FbFF
default 0
timeout 30
#---------- ADDED BY BOOTADM - DO NOT EDIT ----------
title Oracle Solaris 11 Express snv_151a
findroot (pool_rpool,3,a)
bootfs rpool/ROOT/solaris
splashimage /boot/solaris.xpm
foreground FF0000
background A8A8A8
kernel$ /platform/i86pc/kernel/$ISADIR/unix -B $ZFS-BOOTFS,console=graphics
module$ /platform/i86pc/$ISADIR/boot_archive
#---------------------END BOOTADM--------------------

# Unknown partition of type 55 found on /dev/rdsk/c8d0p0 partition: 1
# It maps to the GRUB device: (hd0,0) .

title Windows
    rootnoverify (hd0,1)
    chainloader +1

# Unknown partition of type 15 found on /dev/rdsk/c8d0p0 partition: 3
# It maps to the GRUB device: (hd0,2) .

# Unknown partition of type 131 found on /dev/rdsk/c8d0p0 partition: 5
# It maps to the GRUB device: (hd0,4) .

# Unknown partition of type 131 found on /dev/rdsk/c8d0p0 partition: 6
# It maps to the GRUB device: (hd0,5) .

# Unknown partition of type 0 found on /dev/rdsk/c9t0d0p0 partition: 4
# It maps to the GRUB device: (hd0,3) .

Finally the new Grub menu.lst to multiboot Solaris 11 Express, Windows and OpenSUSE is as below:-


Code:
splashimage /boot/grub/splash.xpm.gz
foreground 343434
background F7FbFF
default 0
timeout 30
#---------- ADDED BY BOOTADM - DO NOT EDIT ----------
title Oracle Solaris 11 Express snv_151a
findroot (pool_rpool,3,a)
bootfs rpool/ROOT/solaris
splashimage /boot/solaris.xpm
foreground FF0000
background A8A8A8
kernel$ /platform/i86pc/kernel/$ISADIR/unix -B $ZFS-BOOTFS,console=graphics
module$ /platform/i86pc/$ISADIR/boot_archive
#---------------------END BOOTADM--------------------

# Unknown partition of type 55 found on /dev/rdsk/c8d0p0 partition: 1
# It maps to the GRUB device: (hd0,0).

title Windows
    rootnoverify (hd0,1)
    chainloader +1

# Unknown partition of type 15 found on /dev/rdsk/c8d0p0 partition: 3
# It maps to the GRUB device: (hd0,2).

# Unknown partition of type 131 found on /dev/rdsk/c8d0p0 partition: 5
# It maps to the GRUB device: (hd0,4).

# Unknown partition of type 131 found on /dev/rdsk/c8d0p0 partition: 6
# It maps to the GRUB device: (hd0,5).

# Unknown partition of type 0 found on /dev/rdsk/c9t0d0p0 partition: 4
# It maps to the GRUB device: (hd0,3).

##YaST - generic_mbr
gfxmenu (hd0,4)/boot/message
##YaST - activate

###Don't change this comment - YaST2 identifier: Original name: linux###
title Desktop -- openSUSE 11.3 - 2.6.34-12
    root (hd0,4)
    kernel /boot/vmlinuz-2.6.34-12-desktop root=/dev/disk/by-id/ata-TOSHIBA_MK2035GSS_674VF1ZNS-part5 resume=/dev/disk/by-id/ata-TOSHIBA_MK2035GSS_674VF1ZNS-part4 splash=silent quiet showopts vga=0x361
    initrd /boot/initrd-2.6.34-12-desktop

###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- openSUSE 11.3 - 2.6.34-12
    root (hd0,4)
    kernel /boot/vmlinuz-2.6.34-12-desktop root=/dev/disk/by-id/ata-TOSHIBA_MK2035GSS_674VF1ZNS-part5 showopts apm=off noresume edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 nomodeset x11failsafe vga=0x361
    initrd /boot/initrd-2.6.34-12-desktop


Last edited by pludi; 03-17-2011 at 06:45 PM..
# 2  
Old 03-17-2011
The simplest way would be to chainload openSUSE grub instead of trying to boot this OS directly.
# 3  
Old 03-17-2011
I have tried chain loading and did not work. This is was the code:-

title OpenSUSE
root (hd0,4)
chainloader +1
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Missing menu.lst file in Ubuntu

I am not able to find menu.lst in /boot. During the Linux Kernel Compilation I installed the kernel using make install. Next I created an initrd image. I had to modify the Grub configuration file - /boot/grub/menu.lst which I am not able to find. Any resolution for the issue? (3 Replies)
Discussion started by: rupeshkp728
3 Replies

2. Boot Loaders

Help Me edit the menu.lst !

I am trying to install three OS (Windows VISTA, OpenSUSE 11.3 & Solaris 11 Express) on a single drive of a laptop. However when I go to edit the /rpool/boot/grub/menu.lst to put the entry so it can boot the OpenSUSE 11.3 I get errors some of which result into starting all over again. I have also... (3 Replies)
Discussion started by: Tenyhwa
3 Replies

3. UNIX for Dummies Questions & Answers

Windows vista unable to ping to Solaris 10 on VM

Hi all, I have a VM on Solaris 10 setup on a windows vista host machine. 1) Vista host i configure VMnet 1: 10.1.1.10 Mask : 255.255.255.0 Subnet : 10.1.1.2 DNS : 10.1.1.100 2) Solaris on VM Network device is on Custom(VMNET1) IP : 10.1.1.4 Mask : 255.255.255.0 ... (8 Replies)
Discussion started by: JuveZzZ
8 Replies

4. Shell Programming and Scripting

Help with UUID replacement in fstab and menu.lst

I am trying to write a small backup application for Linux systems file by file if partitions are created by the user using fdisk. I am facing a problem when I am done with restoring the files. The problem is with UUID mismatch in restored fstab and menu.lst. Using C I could create a partlist.txt... (6 Replies)
Discussion started by: arunj
6 Replies

5. SuSE

Need to edit the menu.lst so it can work

I am trying to install three OS (Windows VISTA, OpenSUSE 11.3 & Solaris 11 Express) on a single drive of a laptop. However when I go to edit the /rpool/boot/grub/menu.lst to put the entry so it can boot the OpenSUSE 11.3 I get errors some of which result into starting all over again. I have also... (0 Replies)
Discussion started by: Tenyhwa
0 Replies

6. Solaris

SOLARIS & VISTA

I WANTED TO INSTALL SOLARIS 10 on my HP laptop but I wanted to do it in Dual mode, I mean I don't wanna loose Vista but also wanted to use Solaris 10. I have original Solaris 10 Installation Media kit and If you know how to do it, Please let me know. DUAL OS SETUP HELP NEEDED. (4 Replies)
Discussion started by: santy23
4 Replies

7. Shell Programming and Scripting

shell script to alter grub menu.lst

Hi folks, I have a dual-boot Ubuntu/Windows machine and I wanted to create a script to change the menu.lst file so it will change the default boot partition (this is so I can reload the machine remotely and allow it to boot to the Windows partition). Today I have to sudo cp a template file I... (1 Reply)
Discussion started by: ppucci
1 Replies

8. Shell Programming and Scripting

menu.lst, boot options?

Hi all, I would like to have some details on menu.lst!! the reason is ,if i am trying to add my own boot option where do i need to add it? is it in menu.lst only or elsewere(am referring to unix os) because i tried adding a unique boot option and it was not reflected when the system booted?... (8 Replies)
Discussion started by: wrapster
8 Replies
Login or Register to Ask a Question