xiongnu |
06-02-2019 05:05 PM |
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
|