Visit Our UNIX and Linux User Community

Operating Systems Solaris How to add Solaris text console to Solaris grub2 menu? Post 302933998 by shamsat on Tuesday 3rd of February 2015 09:55:52 PM
Old 02-03-2015
Oracle How to add Solaris text console to Solaris grub2 menu?

Hi,
I am new to sloaris and just instlled the solaris 11.2, i know little more about linux, i open the /boot/grub/grub.cfg in solaris and there is many other entries forl solaris 11.2 one of them is for 'Oracle Solaris 11.2 text console' but at boot grub2 only show the first default entry that is 'Oracle Solaris 11.2' and start the solairs graphical or gnome interface.
I want to add the 'Oracle Solaris 11.2 text console' as well to boot the solaris to the text console not the gui, i read about the bootadm add-entry command and add the second entry to the grub menu but don't know to set the full other parameters for this entry:
Code:
menuentry "Oracle Solaris 11.2 text console" {
        search --no-floppy --file --set=root /.geranium.us.oracle.com-2014-06-24T14:46:09.003200
        set kern=/platform/i86pc/kernel/amd64/unix
        echo -n "Loading ${root}$kern: "
        $multiboot $kern $kern -B livemode=text
        set gfxpayload="1024x768x32;1024x768x16;800x600x16;640x480x16;640x480x15;640x480x32"
        insmod gzio
        echo -n "Loading ${root}/platform/i86pc/amd64/boot_archive: "
        $module /platform/i86pc/amd64/boot_archive
}

please any one help me with the full commands for this entry to grub2 menu?

Last edited by Scrutinizer; 02-03-2015 at 11:33 PM.. Reason: Changed icode to code tags
 
Test Your Knowledge in Computers #987
Difficulty: Medium
The FreeBSD TCP/IP stack is based on the 4.2BSD implementation of TCP/IP.
True or False?

9 More Discussions You Might Find Interesting

1. Solaris

solaris booting to probe menu

Hi all, everytime the sun fire server reboots in always boots to the probe menu. This needs to be manually booted by command named boot. Is there a boot file somewhere on the system that changes the boot script to boot fully not to the probe menu. (2 Replies)
Discussion started by: dennisca
2 Replies

2. Solaris

Howto edit solaris boot manager menu

Solaris boot manager menu seems to include partitions that cannot be boot and labeling that would be confusing to some people. How can I edit these? (4 Replies)
Discussion started by: maag
4 Replies

3. UNIX for Dummies Questions & Answers

solaris remote console

Hi all, Is there a quick and easy way to setup remote console of solaris machine please? Thanks in advance. (1 Reply)
Discussion started by: stancwong
1 Replies

4. Solaris

Solaris 10 console , how to ..?

Does anyone know how to change the default property of the Solaris 10 console?, I've installed solaris 10 x86 03/05. The property that I want to change is the console colors, to behave like Linux, FreeBSD, NetBSD, etc. (foreground white, background black) and not to be foreground black,... (1 Reply)
Discussion started by: infierno
1 Replies

5. Solaris

New to Solaris, want to only install the console

Hi all, I just found out I will need to start learning solaris at work. I downloaded Solaris and want to install it as a VM. The install ISO was about 2GB and I didn't see any options not to install the GUI. Is there a way to do the install so I only boot to the console and not install any of... (4 Replies)
Discussion started by: gojericho0
4 Replies

6. Solaris

Solaris X86 grub boot menu

I have a x4200 m2 that I've installed Solaris 10 on. I've created a raid 1 mirror using disk0 and disk1. I'm trying to add the mirror bootblk to the grub menu so in case of a failure of disk0, I can simply boot from the mirrored disk1. I'm looking for the syntax to add the alternate boot path to... (5 Replies)
Discussion started by: gonzotonka
5 Replies

7. Solaris

Can't have the GRUB menu for solaris x86 installation

Dears, I'm trying to install solaris x86 on sun x4170 M2 I started connecting consol to the machine but when I do the reset /SYS command nothing changed I can see that the /SYS is powered on but I can get the GRUB menu to start the installation of the solaris. the solaris DVD is already... (2 Replies)
Discussion started by: engwzwz
2 Replies

8. Emergency UNIX and Linux Support

Solaris: Not able to access E2900 console

Hi, I have a scheduled activity to reboot E2900 server. But suddenly I came to know that console ip is not pinging, not connecting via telnet, as it used to connect. I already checked with my onsite person and he changed cable, still no luck. Network person checked his switch, which is showing... (8 Replies)
Discussion started by: solaris_1977
8 Replies

9. Solaris

How to add new Solaris client IP into Solaris 10 DNS server?

Hi, We just built a new Solaris 10 zone. And would like to add it to our DNS server. Its also Solaris 10. Please let me know how can I get the IP resolved using this DNS server. I added entry into zone config file but not working. I did restarted the DNS services. And also added nameserver name... (5 Replies)
Discussion started by: snchaudhari2
5 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)

Featured Tech Videos

All times are GMT -4. The time now is 10:31 PM.
Unix & Linux Forums Content Copyright 1993-2021. All Rights Reserved.
Privacy Policy