[OpenIndiana-discuss] How to boot oi-dev-151a7-ai-x86.usb inot 64-Bit mode ?

x11max Unitymedia x11max at unitybox.de
Wed Feb 6 16:19:03 UTC 2013


I found myself a workaround. Very awkward, but it is working so far.

- make a USB Boot Device using oi-dev-151a7-ai-x86.usb

- install openindiana in 32 bit mode on a 8GB USB flash drive
   after installation has finished and rebooting the system 64 bit kernel is available: /platform/ipc86/kernel/amd64/

- after installation has finished, reboot then system, then edit menu.lst to start in 64 bit mode

  for that mount the grub boot vol:

  zfs set mountpoint=legacy rpool
  mount -F zfs rpool /mnt

  cd /mnt/boot/grub
  vi menu.lst

  # change $ISADIR into amd64

  kernel$ /platform/i86pc/kernel/amd64/unix -B $ZFS-BOOTFS,console=graphics
  module$ /platform/i86pc/amd64/boot_archive
  
   now the system is able to see and work with the 2TB disks after rebooting is done

   root at openindiana:~# isainfo -kv
   64-bit amd64 kernel modules

AVAILABLE DISK SELECTIONS:
       0. c6t0d0 <ATA-ST2000DL003-9VT1-CC3C-1.82TB>
          /pci at 0,0/pci1849,1c02 at 1f,2/disk at 0,0
       1. c6t1d0 <ATA-ST2000DL003-9VT1-CC3C-1.82TB>
          /pci at 0,0/pci1849,1c02 at 1f,2/disk at 1,0

 start format and set the disk c6t1d0 to support "Solaris2" so it can boot from zfs. EFI formated disk can't.

partition> l
[0] SMI Label
[1] EFI Label
Specify Label type[0]: 0
Ready to label disk, continue? y

Total disk cylinders available: 60797 + 2 (reserved cylinders)

Part      Tag    Flag     Cylinders         Size            Blocks
  0       root    wm       1 - 60796        1.82TB    (60796/0/0) 3906750960
  1 unassigned    wm       0                0         (0/0/0)              0
  2     backup    wu       0 - 60796        1.82TB    (60797/0/0) 3906815220
  3 unassigned    wm       0                0         (0/0/0)              0
  4 unassigned    wm       0                0         (0/0/0)              0
  5 unassigned    wm       0                0         (0/0/0)              0
  6 unassigned    wm       0                0         (0/0/0)              0
  7 unassigned    wm       0                0         (0/0/0)              0
  8       boot    wu       0 -     0       31.38MB    (1/0/0)          64260
  9 unassigned    wm       0                0         (0/0/0)              0

After the disk is ready I do a copy from the running system to the new one.

Rebooting from the new disk and all is perfect.


If there is a way to make the ISO image oi-dev-151a7-live-x86.iso bootable from a USB device it makes it simple to run in 64 bit mode from scratch.
Because the ISO image has a directory named /platform/ipc86/kernel/amd64/ oi-dev-151a7-ai-x86.usb has not.


On 06.02.2013, at 10:16, x11max Unitymedia <x11max at unitybox.de> wrote:

>> Also, why would you want to boot the installer in 64-bit mode? The
>> functionality of either kernel is identical. It's the performance that
>> differs in 32/64-bit and that isn't really a concern for the *installer*
>> image.
> 
> Because I have two 2TB disks installed, it is not possible to run the installer. 
> 
> If the system comes up I receive the message: Feb  6 09:01:22 openindiana     disk has 3907029168 blocks, which is too large for a 32-bit kernel
> 
> Feb  6 09:01:22 openindiana sata: [ID 663010 kern.info] /pci at 0,0/pci1849,1c02 at 1f,2 :
> Feb  6 09:01:22 openindiana sata: [ID 761595 kern.info]         SATA disk device at port 0
> Feb  6 09:01:22 openindiana sata: [ID 846691 kern.info]         model ST2000DL003-9VT166                      
> Feb  6 09:01:22 openindiana sata: [ID 693010 kern.info]         firmware CC3C    
> Feb  6 09:01:22 openindiana sata: [ID 163988 kern.info]         serial number             5YD80B37
> Feb  6 09:01:22 openindiana sata: [ID 594940 kern.info]         supported features:
> Feb  6 09:01:22 openindiana sata: [ID 981177 kern.info]          48-bit LBA, DMA, Native Command Queueing, SMART, SMART self-test
> Feb  6 09:01:22 openindiana sata: [ID 643337 kern.info]         SATA Gen2 signaling speed (3.0Gbps)
> Feb  6 09:01:22 openindiana sata: [ID 349649 kern.info]         Supported queue depth 32
> Feb  6 09:01:22 openindiana sata: [ID 349649 kern.info]         capacity = 3907029168 sectors
> Feb  6 09:01:22 openindiana scsi: [ID 107833 kern.warning] WARNING: /pci at 0,0/pci1849,1c02 at 1f,2/disk at 0,0 (sd2):
> Feb  6 09:01:22 openindiana     disk has 3907029168 blocks, which is too large for a 32-bit kernel
> 
> The system definitely starts in 32-bit mode.
> 
> jack at openindiana:~$ isainfo -v
> 32-bit i386 applications
> 	vmx avx xsave pclmulqdq aes sse4.2 sse4.1 ssse3 popcnt tscp ahf cx16 
> 	sse3 sse2 sse fxsr mmx cmov sep cx8 tsc fpu 
> jack at openindiana:~$ uname -a
> SunOS openindiana 5.11 oi_151a7 i86pc i386 i86pc Solaris
> jack at openindiana:~$
> 
> Feb  6 09:01:15 openindiana genunix: [ID 366299 kern.notice] ^MOpenIndiana Build oi_151a7 32-bit (illumos 13815:61cf2631639d)
> Feb  6 09:01:15 openindiana genunix: [ID 107366 kern.notice] SunOS Release 5.11 - Copyright 1983-2010 Oracle and/or its affiliates.
> Feb  6 09:01:15 openindiana genunix: [ID 864463 kern.notice] All rights reserved. Use is subject to license terms.
> Feb  6 09:01:15 openindiana unix: [ID 223955 kern.info] x86_feature: lgpg
> Feb  6 09:01:15 openindiana unix: [ID 223955 kern.info] x86_feature: tsc
> Feb  6 09:01:15 openindiana unix: [ID 223955 kern.info] x86_feature: msr
> Feb  6 09:01:15 openindiana unix: [ID 223955 kern.info] x86_feature: mtrr
> Feb  6 09:01:15 openindiana unix: [ID 223955 kern.info] x86_feature: pge
> Feb  6 09:01:15 openindiana unix: [ID 223955 kern.info] x86_feature: de
> Feb  6 09:01:15 openindiana unix: [ID 223955 kern.info] x86_feature: cmov
> Feb  6 09:01:15 openindiana unix: [ID 223955 kern.info] x86_feature: mmx
> Feb  6 09:01:15 openindiana unix: [ID 223955 kern.info] x86_feature: mca
> Feb  6 09:01:15 openindiana unix: [ID 223955 kern.info] x86_feature: pae
> Feb  6 09:01:15 openindiana unix: [ID 223955 kern.info] x86_feature: cv8
> Feb  6 09:01:15 openindiana unix: [ID 223955 kern.info] x86_feature: pat
> Feb  6 09:01:15 openindiana unix: [ID 223955 kern.info] x86_feature: sep
> Feb  6 09:01:15 openindiana unix: [ID 223955 kern.info] x86_feature: sse
> Feb  6 09:01:15 openindiana unix: [ID 223955 kern.info] x86_feature: sse2
> Feb  6 09:01:15 openindiana unix: [ID 223955 kern.info] x86_feature: htt
> Feb  6 09:01:15 openindiana unix: [ID 223955 kern.info] x86_feature: sse3
> Feb  6 09:01:15 openindiana unix: [ID 223955 kern.info] x86_feature: cx16
> Feb  6 09:01:15 openindiana unix: [ID 223955 kern.info] x86_feature: cmp
> Feb  6 09:01:15 openindiana unix: [ID 223955 kern.info] x86_feature: tscp
> Feb  6 09:01:15 openindiana unix: [ID 223955 kern.info] x86_feature: mwait
> Feb  6 09:01:15 openindiana unix: [ID 223955 kern.info] x86_feature: cpuid
> Feb  6 09:01:15 openindiana unix: [ID 223955 kern.info] x86_feature: ssse3
> Feb  6 09:01:15 openindiana unix: [ID 223955 kern.info] x86_feature: sse4_1
> Feb  6 09:01:15 openindiana unix: [ID 223955 kern.info] x86_feature: sse4_2
> 
> 
> On 06.02.2013, at 10:02, Sašo Kiselkov <skiselkov.ml at gmail.com> wrote:
> 
>> Sorry, I noticed that my post is irrelevant, I only skimmed your e-mail.
>> If the ISO or USB installer only include the 32-bit kernel, then you
>> cannot by definition boot into 64-bit mode (since there's no 64-bit
>> kernel to load).
>> 
>> Also, why would you want to boot the installer in 64-bit mode? The
>> functionality of either kernel is identical. It's the performance that
>> differs in 32/64-bit and that isn't really a concern for the *installer*
>> image.
>> 
>> Cheers,
>> --
>> Saso
>> 
>> On 02/06/2013 09:24 AM, x11max Unitymedia wrote:
>>> Hi, 
>>> 
>>> my problem is, that it is not possible to boot oi-dev-151a7-ai-x86.usb into 64-bit mode on the system I would like running openindiana on.
>>> It comes up in 32-bit mode only.
>>> 
>>> On the download site there is a hint:  
>>> 
>>> All downloads support both 32-bit and 64-bit processors. 64-bit mode is automatically selected if at least 900 megabytes of memory (RAM) are available.
>>> 
>>> I have 16G RAM installed, so more than 900 megabytes of memory are availale, but openindiana always boot in 32-bit mode. 
>>> Because I have two 2TB disks installed, it is not possible to run the installer. 
>>> 
>>> My system information: 
>>> 
>>> Asrock Z68 Pro3-M Sockel 1155 Mainboard (Micro ATX, Intel Z68, 4x DDR3 Speicher, 2x USB 3.0)
>>> Intel Core i7-2700K Quad-Core Prozessor Boxed 3,5GHz, Sockel 1155, 8MB Cache
>>> 16GB RAM
>>> 2TB Disks
>>> 
>>> My question now is how to run the usb installer in 64-bit mode ? 
>>> How to change the GRUB startup manually to point to 64-bit kernel ?
>>> Or it is possible to make oi-dev-151a7-live-x86.iso bootable on an usb device ?
>>> 
>>> The ISO file oi-dev-151a7-live-x86.iso contains a directory /platform/ipc86/kernel/amd64/. 
>>> So i can change the grub startup to load the 64-bit kernel if installing openindiana in a virtual machine.
>>> 
>>> On oi-dev-151a7-ai-x86.usb there are only 32-bit kernel available and I can't choose the 64-bit kernel for startup.
>>> _______________________________________________
>>> OpenIndiana-discuss mailing list
>>> OpenIndiana-discuss at openindiana.org
>>> http://openindiana.org/mailman/listinfo/openindiana-discuss
>>> 
>> 
>> 
>> _______________________________________________
>> OpenIndiana-discuss mailing list
>> OpenIndiana-discuss at openindiana.org
>> http://openindiana.org/mailman/listinfo/openindiana-discuss
> 



More information about the OpenIndiana-discuss mailing list