Sponsored Content
Operating Systems Solaris Upgraded BIOS - cannot see Solaris partition?? Post 303004402 by kebabbert on Sunday 1st of October 2017 02:03:32 PM
Old 10-01-2017
I cannot even see the Solaris partition when pressing F11, which means I cannot get access to GRUB2.

My plan is to boot from the Solaris install USB stick, mount the correct Solaris partition, and then regenerate GRUB2 entries using "bootadm generate-menu". Now I need to figure out the commands how to do all this....

I should be doing something like this, I guess:
-boot from USB
-mount old zpool as /a
-cd /a
-bootadm generate-menu <----- I hope this generates GRUB2 on /a
-reboot

Does this sound fine?


UPDATE: It seems I should use "bootadm install-bootloader" command instead of "bootadm generate-menu"? Hmmm......?
x86: Advanced GRUB Administration and Troubleshooting - Booting and Shutting Down Oracle Solaris 11.1 Systems

In the Ubuntu link above I gave, they use "grub-install --bootloader-id ubuntu /dev/sda" so I maybe have to use the "bootadm install-bootloader" instead

UPDATE2: ok these are the commands, it seems. Taken from http://docs.oracle.com/cd/E19253-01/...psb/index.html
First I boot from USB stick Solaris, and then type:

Code:
zpool import -R /a rpool
zfs list
zfs mount rpool/ROOT/sol10-u6 <- this contains the operating system
cd /a
bootadm install-bootloader -P rpool
zpool export rpool


Ok here is another set of commands:
zfs - Solaris 11: Accessing a pool on disk from live DVD? - Unix & Linux Stack Exchange
From the live CD desktop:
Code:
# zpool import -f rpool
# beadm list
be_find_current_be: failed to find current BE name
be_find_current_be: failed to find current BE name
BE                 Active Mountpoint Space  Policy Created          
--                 ------ ---------- -----  ------ -------          
solaris            -      -          11.45M static 2011-10-22 00:30 
solaris-2          R      -          12.69G static 2011-10-21 21:04 
# mkdir /a
# beadm mount solaris-2 /a
# TERM=vt100
# export TERM
# cd /a
# bootadm install-bootloader -P rpool
# beadm umount solaris-2
# halt

Hmmm... these commands are used if I want to change a BE. But here I want to change the disk, not a BE. So these commands are not usable for me.


UPDATE3:
Ok i finally settled down for these commands. I am going to use these.
x86: Advanced GRUB Administration and Troubleshooting - Booting and Shutting Down Oracle Solaris 11.1 Systems


Boot from Solaris media.
Import root pool:
Code:
# zpool import -f pool-name

Install the boot loader:
# bootadm install-bootloader [-f] -P pool-name

Export the root pool:
# zpool export pool-name

reboot the system.


UPDATE3:
I am testing right now, and I will write a cleaned up version if I solve this. This is just my scratch notes while testing this.
I have done this:
-booted from Solaris 11.3 usb media
Code:
-su, password is "solaris"
-zpool import -f rpool
-zpool status
  pool: rpool
 state: ONLINE
  scan: none requested
config:

    NAME        STATE     READ WRITE CKSUM
    rpool       ONLINE       0     0     0
      c3t2d0s0  ONLINE       0     0     0

-bootadm list-menu -P rpool
root@solaris:~# bootadm install-bootloader -P rpool
bootadm: GRUB2 installation failed

And now I dont know what to do. man pages say I should add -M switch on x86.
Code:
root@solaris:~# bootadm install-bootloader -P rpool -M c3t2d0s0
bootadm: GRUB2 installation failed

Question: is the correct name of the partition really c3t2d0s0? Sometimes people exchange to c3t2d0p0

---------- Post updated at 10:03 AM ---------- Previous update was at 05:08 AM ----------

Ok, I think it boils down to this line, which I can not execute:
Code:
# bootadm install-bootloader -P rpool
bootadm: GRUB2 installation failed

Anyone knows why?

Last edited by kebabbert; 10-01-2017 at 01:11 PM..
 

10 More Discussions You Might Find Interesting

1. Filesystems, Disks and Memory

re-partition disks on solaris

hi all, i was wondering if i have some volume manager and i want to format all partitions/disks and re-create new slices can i use regular format command or what? i think veritas volume manager is already installed. (2 Replies)
Discussion started by: Bashar
2 Replies

2. Solaris

Solaris 8 partition - compression

Hi, Anyone know if I have a mount point /data , can it turn on compression like what the MS Windows does ???? Thanks (2 Replies)
Discussion started by: civic2005
2 Replies

3. Solaris

How to access a solaris partition

Hi, I have the present scenario on a x86 machine. fdisk c0d0p0 Cylinders Partition Status Type Start End Length % 1 Active Solaris2 1 2500 2500 61 2 ... (14 Replies)
Discussion started by: vibhor_agarwali
14 Replies

4. UNIX for Advanced & Expert Users

How to merge solaris partition

I m using solaris 8. I have some free space on my hard disk. I want to merge that space into /export/home. Please tell me complete procedure for doing it. (7 Replies)
Discussion started by: mansoorulhaq
7 Replies

5. Solaris

Problem with Solaris Partition, I cant see it

Hi All, First post, I work as database developer (Oracle) My task is to setup a solaris system on a VMware installation which sits on a x86 server. I have installed the Os, applied patches (I think) and on VMWARE I added new hardware (Disk) which is where my database will be. The... (5 Replies)
Discussion started by: platforminc
5 Replies

6. Solaris

Disabling Solaris 10 active partition

I have a dual boot system with windows xp and solaris 10 running. Solaris 10 is currently in the primary active partision. If it's possible, how do I make the windows partision the primary active one rather than solaris 10? (1 Reply)
Discussion started by: shakarho
1 Replies

7. Solaris

Solaris Filesystem - rename the partition

Hi all i got this filesystem Filesystem size used avail capacity Mounted on /dev/dsk/c0t600A0B80001F350A000033404A5D29D9d0s2 492G 64M 487G 1% /u10 How do i change the name for /dev/dsk/c0t600A0B80001F350A000033404A5D29D9d0s2 to the... (3 Replies)
Discussion started by: SmartAntz
3 Replies

8. Solaris

Dual Booting - Solaris image CD doesn't read in BIOS

I am trying to install solaris 10-x86 as second OS on top of Windows XP. I have downloaded iso image from Oracle website and burned into bootable cd. when I loaded into CD-drive and made changes in BIOS to boot from CD. Its not reading from CD drive. After restarting the system with CD(solaris... (8 Replies)
Discussion started by: SunSolars_admin
8 Replies

9. Solaris

Partition overlaps another partition while creating new parition in solaris

hi all while formatting hard disk i am getting following error. Partition 1 ends at 266338338 It must be between 34 and 143374704. label error: EFI Labels do not support overlapping partitions Partition 8 overlaps partition 1. Warning: error writing EFI. Label failed. I have formatted the... (2 Replies)
Discussion started by: nikhil kasar
2 Replies

10. What is on Your Mind?

Tapatalk Upgraded

Hello, FYI, I upgraded our Tapatalk Version to version 4.8.1 today (from version 4.3.2). All seem to be OK but we never know! Please post in this thread if you see any problems after the upgrade. Thanks! (1 Reply)
Discussion started by: Neo
1 Replies
All times are GMT -4. The time now is 08:04 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy