[OpenIndiana-discuss] help needed: reinstall bootloader
Till Wegmüller
toasterson at gmail.com
Fri Apr 13 21:27:10 UTC 2018
Hi Stephan
Is this a Linux dualboot machine?
Linux has the tendency to overwrite the device section of a zpool when
importing. /dev/sdc looks like a linux name.
If so you may have killed that zpool by importing it from linux.
AFAIK there is currently no good solution to fix the device name entry.
Also be sure to stick to either slices or partitions p1 != s1 in your
commands.
One is the traditional Solaris Slice layout of the disk the other the
Partitions in DOS style. They do not mix at all.
Hope this helps
Till
On 13.04.2018 21:01, Stephan Althaus wrote:
> Hello!
>
> Something weird happened (per ssh i killed X because of a not responding
> system, i had to power off)
> and now the boot loader hangs just before listing the installed drives
> "BIOS Drive C:" ...
> and therefore not showing the oi boot menu.
>
> Boot From DVD with
> #beadm activate openindiana-2 zfs:rpool
> #boot
> does work (so i am able to send EMails :-)
>
> #zpool status
> does list a wrong device name (/dev/sdc5 but the partition is
> /dev/dsk/c5t0d0p1),
> so i cannot use #bootadm install-bootloader -Mfv
>
> i tried
> #installgrub -m /boot/grub/zfs_stage1_5 /boot/grub/stage_2
> /dev/rdsk/ct5t0d0s1
> with the effect that i only see a cursor in the left upper edge, so its
> worse than before.
>
> Below are the details.
>
> Any hints are welcome :-)
>
> Stephan
>
>
> -----------------------------------------
>
> DETAILS:
>
> root at dell:~# zpool status rpool
> pool: rpool
> state: ONLINE
> status: Some supported features are not enabled on the pool. The pool can
> still be used, but some features are unavailable.
> action: Enable all features using 'zpool upgrade'. Once this is done,
> the pool may no longer be accessible by software that does not
> support
> the features. See zpool-features(5) for details.
> scan: none requested
> config:
>
> NAME STATE READ WRITE CKSUM
> rpool ONLINE 0 0 0
> /dev/sdc5 ONLINE 0 0 0
>
> errors: No known data errors
> root at dell:~# format
> Searching for disks...done
>
>
> AVAILABLE DISK SELECTIONS:
> 0. c5t0d0 <Samsung-SSD 850 EVO 250GB-EMT01B6Q cyl 36593 alt 2 hd
> 224 sec 56>
> /pci at 0,0/pci1028,24f at 1f,2/disk at 0,0
> Specify disk (enter its number): ^C
> root at dell:~# bootadm install-bootloader -Mfv
> be_do_installboot: device /dev/sdc5
> be_do_installboot: install failed for device /dev/sdc5.
> Command: "/usr/sbin/installboot -F -m -f //boot/pmbr //boot/gptzfsboot
> /dev/sdc5/r"
> Errors:
> installing loader to whole disk device is not supported
> open: No such file or directory
> Unable to open device /dev/sdc5/r
> be_run_cmd: command terminated with error status: 1
>
>
> _______________________________________________
> openindiana-discuss mailing list
> openindiana-discuss at openindiana.org
> https://openindiana.org/mailman/listinfo/openindiana-discuss
More information about the openindiana-discuss
mailing list