Today (Saturday) We will make some minor tuning adjustments to MySQL.

You may experience 2 up to 10 seconds "glitch time" when we restart MySQL. We expect to make these adjustments around 1AM Eastern Daylight Saving Time (EDT) US.


Help Me edit the menu.lst !

Login or Register to Reply

 
Thread Tools Search this Thread
# 1  
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 tried editing the /boot/grub/menu.lst to add the entry for Solaris 11 Express I get errors still. Could someone help me how I can accomplice this! I tried to google for examples but those examples are not helping. Thanks in advance.SmilieSmilie
# 2  
Please provide a full copy of your existing menu.lst and details of which disks/partitions each of the operating systems is on.
# 3  
This is what I have for the menu.lst located in /rpool/boot/grub:-
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,4,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-------------------- 

# MicroSoft Windows Vista 

title MicroSoft Windows Vista 
    rootnoverify (hd0,1) 
    chainloader +1 

# OpenSUSE 11.3 

title OpenSUSE 11.3 
    rootnoverify (hd0,6) 
    chainloader +1

For the menu.lst in the OpenSUSE dir /boot/grub:-
Code:
default 0
timeout 8
##YaST - generic_mbr
gfxmenu (hd0,6)/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,6)
    kernel /boot/vmlinuz-2.6.34-12-desktop root=/dev/disk/by-id/ata-TOSHIBA_MK2035GSS_674VF1ZNS-part7 resume=/dev/disk/by-id/ata-TOSHIBA_MK2035GSS_674VF1ZNS-part6 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,6)
    kernel /boot/vmlinuz-2.6.34-12-desktop root=/dev/disk/by-id/ata-TOSHIBA_MK2035GSS_674VF1ZNS-part7 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 MicroSoft Windows VISTA
    rootnoverify (hd0,1)
    chainloader +1[/FONT]
   
title Solaris 11
    rootnoverify (hd0,2) 
    chainloader +1

The windows VISTA is 2nd partition.
The solaris is 3rd partition.
OpenSUSE is on 4, 5 & 6 partitions.

Last edited by Scott; 02-18-2011 at 02:12 PM.. Reason: Code tags, please...
# 4  
Menu.lst is basically Grub commands for the Grub shell.

I'm working on the same problem but don't have an answer for you unfortunately.

Grub has it's own shell apart from BASH so grub is a interpreter also.
Anywhere you have "title" the following name of the OS will be listed in the boot selection at startup. Just adding commands to this (Grub script) will not load an O.S It might supply arguments for the Grub bootloader binary (actual compiled program). You will notice if you have a boot/grub directory that only two of the files are not binary and interesting enough is that they have different names (menu.lst and grub.conf) but hold the exact same data..The exact same files is a choice of how to access the data and is not important here but I thought I would point it out because it is confusing. You can add commands to this (Grub batch file) but it has dependencies that are not probably in place.

I hope this bit of info helps.Smilie
Login or Register to Reply

|
Thread Tools Search this Thread
Search this Thread:
Advanced Search

More UNIX and Linux Forum Topics You Might Find Helpful
Missing menu.lst file in Ubuntu
rupeshkp728
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?... UNIX for Dummies Questions & Answers
3
UNIX for Dummies Questions & Answers
Help with UUID replacement in fstab and menu.lst
arunj
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...... Shell Programming and Scripting
6
Shell Programming and Scripting
Need to edit the menu.lst so it can work
Tenyhwa
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...... SuSE
0
SuSE
shell script to alter grub menu.lst
ppucci
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...... Shell Programming and Scripting
1
Shell Programming and Scripting
menu.lst, boot options?
wrapster
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?...... Shell Programming and Scripting
8
Shell Programming and Scripting

Featured Tech Videos