[SOLVED] Linux installation/boot not visible after Openindiana reinstall
Solaris / OpenSolarisThis 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.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Linux installation/boot not visible after Openindiana reinstall
hi,
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:
Code:
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
AVAILABLE DISK SELECTIONS:
0. c6t0d0 <StoreJet-Transcend- cyl 2608 alt 2 hd 255 sec 63>
/pci@0,0/pci103c,2a69@1d,7/storage@8/disk@0,0
Specify disk (enter its number): 0
selecting c6t0d0
[disk formatted]
/dev/dsk/c6t0d0s0 is part of active ZFS pool rpool. Please see zpool(1M).
FORMAT MENU:
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
quit
format> partition
PARTITION MENU:
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
quit
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
partition>
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
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: https://www.slackwiki.com/Reinstalling_Lilo
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.