Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Solaris / OpenSolaris This forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.


  Search this Thread
Old 06-02-2019, 05:05 PM   #1
Registered: Sep 2004
Distribution: Debian, Void
Posts: 237

Rep: Reputation: 19
Linux installation/boot not visible after Openindiana reinstall


I've both slackware and openindiana installed on a portable harddrive, after i reinstall openindiana this weekend, i couldn't see the linux boot option anymore on OI hipster's boot screen. I used Slackware's LILO boot menu before the reinstallation to boot both OI and linux.

here are the partition info:
root@openindiana:~# rmformat -l
Looking for devices...
     1. Logical Node: /dev/rdsk/c5t0d0p0
        Physical Node: /pci@0,0/pci103c,2a69@1d,7/storage@5/disk@0,0
        Connected Device: Generic- Compact Flash    1.00
        Device Type: <Unknown>
        Bus: USB
        Size: <Unknown>
        Label: <Unknown>
        Access permissions: <Unknown>
     2. Logical Node: /dev/rdsk/c5t0d1p0
        Physical Node: /pci@0,0/pci103c,2a69@1d,7/storage@5/disk@0,1
        Connected Device: Generic- SM/xD-Picture    1.00
        Device Type: <Unknown>
        Bus: USB
        Size: <Unknown>
        Label: <Unknown>
        Access permissions: <Unknown>
     3. Logical Node: /dev/rdsk/c5t0d2p0
        Physical Node: /pci@0,0/pci103c,2a69@1d,7/storage@5/disk@0,2
        Connected Device: Generic- SD/MMC           1.00
        Device Type: <Unknown>
        Bus: USB
        Size: <Unknown>
        Label: <Unknown>
        Access permissions: <Unknown>
     4. Logical Node: /dev/rdsk/c5t0d3p0
        Physical Node: /pci@0,0/pci103c,2a69@1d,7/storage@5/disk@0,3
        Connected Device: Generic- MS/MS-Pro        1.00
        Device Type: <Unknown>
        Bus: USB
        Size: <Unknown>
        Label: <Unknown>
        Access permissions: <Unknown>
     5. Logical Node: /dev/rdsk/c6t0d0p0
        Physical Node: /pci@0,0/pci103c,2a69@1d,7/storage@8/disk@0,0
        Connected Device: StoreJet Transcend            
        Device Type: Removable
        Bus: USB
        Size: 76.3 GB
        Label: <None>
        Access permissions: Medium is not write protected.
root@openindiana:~# fdisk -l
fdisk: illegal option -- l
Usage: fdisk
[ -A id:act:bhead:bsect:bcyl:ehead:esect:ecyl:rsect:numsect ]
[ -b masterboot ]
[ -D id:act:bhead:bsect:bcyl:ehead:esect:ecyl:rsect:numsect ]
[ -F fdisk_file ] [ -h ] [ -o offset ] [ -P fill_patt ] [ -s size ]
[ -S geom_file ] [ [ -v ] -W { creat_fdisk_file | - } ]
[ -w | r | d | n | I | B | E | g | G | R | t | T ] rdevice

Detailed help is available with the -h option.
root@openindiana:~# format
Searching for disks...done

       0. c6t0d0 <StoreJet-Transcend- cyl 2608 alt 2 hd 255 sec 63>
Specify disk (enter its number): 0
selecting c6t0d0
[disk formatted]
/dev/dsk/c6t0d0s0 is part of active ZFS pool rpool. Please see zpool(1M).

        disk       - select a disk
        type       - select (define) a disk type
        partition  - select (define) a partition table
        current    - describe the current disk
        format     - format and analyze the disk
        fdisk      - run the fdisk program
        repair     - repair a defective sector
        label      - write label to the disk
        analyze    - surface analysis
        defect     - defect list management
        backup     - search for backup labels
        verify     - read and display labels
        save       - save new disk/partition definitions
        inquiry    - show vendor, product and revision
        volname    - set 8-character volume name
        !<cmd>     - execute <cmd>, then return
format> partition

        0      - change `0' partition
        1      - change `1' partition
        2      - change `2' partition
        3      - change `3' partition
        4      - change `4' partition
        5      - change `5' partition
        6      - change `6' partition
        7      - change `7' partition
        select - select a predefined table
        modify - modify a predefined partition table
        name   - name the current table
        print  - display the current table
        label  - write partition map and label to the disk
        !<cmd> - execute <cmd>, then return
partition> print
Current partition table (original):
Total disk cylinders available: 2608 + 2 (reserved cylinders)

Part      Tag    Flag     Cylinders        Size            Blocks
  0       root    wm       1 - 2607       19.97GB    (2607/0/0) 41881455
  1 unassigned    wm       0               0         (0/0/0)           0
  2     backup    wu       0 - 2607       19.98GB    (2608/0/0) 41897520
  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        7.84MB    (1/0/0)       16065
  9 unassigned    wm       0               0         (0/0/0)           0

it looks that OI has adapted freebsd's boot menu, but freebsd's 'boot0cfg' command which select boot disk/partition doesn't work on OI
Old 06-03-2019, 01:11 PM   #2
Registered: Jan 2009
Location: Maryland-Pennsylvania border, USA
Distribution: openSUSE 15.1, Tumbleweed, macOS 10.12, Ubuntu 19.04, Mageia 6, Fedora 30, and Linux Mint 19.1
Posts: 767
Blog Entries: 11

Rep: Reputation: 108Reputation: 108
I was waiting for someone who might have more personal experience with LILO and dual booting OI before knocking this off the Zero Reply List. I haven't dual booted OI since it was OpenSolaris, and haven't gotten too deep into the guts of LILO for a few years. But these guides look right:

But you're probably going to have to boot to the Slackware install medium to reinstall LILO since OI overrode your old LILO bootloader:

This has some tidbits on adding non-Linux operating systems to LILO.conf - this hopefully would work with OI as well:
Old 06-04-2019, 01:56 AM   #3
Registered: Sep 2004
Distribution: Debian, Void
Posts: 237

Original Poster
Rep: Reputation: 19
i fixed the issue by attaching the portable HDD to my Void linux desktop and issuing:
to detect and add Slackware to the Void bootloader.

then i was able to boot into Slackware and run
# lilo
to reinstall LILO bootloader onto the portable HDD


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
busybox: nc command password visible while entering; it should not be visible learnlinux2017 Linux - Networking 3 06-12-2017 03:33 PM
USB drives visible in fdisk and gparted, but not mounting or visible in /media/ Ibilata_Bingbingbing Linux - Newbie 4 10-12-2016 03:51 PM
cscope usage options not visible, but the search results are visible balemarthy Linux - Newbie 1 02-15-2012 02:46 PM
Reinstall Slack's LILO after WIndows XP reinstall __spc__ Linux - Newbie 3 02-15-2009 09:04 AM
How to use samba implementing some files can visible and some files can not visible willie118 Linux - Server 7 09-18-2007 12:27 AM > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 12:51 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration