LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-22-2016, 10:33 AM   #1
xiongnu
Member
 
Registered: Sep 2004
Distribution: Devuan, Void
Posts: 264

Rep: Reputation: 23
Can't boot Openindiana in a winxp/slackware14.1/OI multiboot system


hi, i've got openindiana installed along with slackware14.1 and windowsXP on an USB hard drive.

the sequence of my installation is windowsXP -> openindiana -> slackware 14.1.

the bootloader is defaulted to slackware LILO. on the LILO menu, i only have windows and SL, Openindiana is missing. how do i get it back and boot the Openindiana partition (sdb2)?

here're the setup: sda1 is internal harddrive with Voidlinux, sdb is USB hard drive with xp/OI/SL installed.
My other resolved but related thread topic is Here
Code:
bash-4.2# fdisk -l

WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.

Disk /dev/sda: 10.2 GB, 10202050560 bytes
120 heads, 13 sectors/track, 12773 cylinders, total 19925880 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00510051

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *        2048    19925879     9961916   83  Linux

WARNING: GPT (GUID Partition Table) detected on '/dev/sdb'! The util fdisk doesn't support GPT. Use GNU Parted.


Disk /dev/sdb: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders, total 156301488 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x3a393a38

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1              63    41942879    20971408+   7  HPFS/NTFS/exFAT
/dev/sdb2   *    41945715    83875364    20964825   bf  Solaris
/dev/sdb3        83875365    85867424      996030   82  Linux swap
/dev/sdb4   *    85867425   125805014    19968795   83  Linux
bash-4.2# blkid
/dev/sda1: UUID="6a95bebc-beaa-4b49-a99f-6ea23c81787f" TYPE="ext4" 
/dev/sdb1: UUID="8AA0E4F5A0E4E8A1" TYPE="ntfs" 
/dev/sdb3: UUID="6faddc5e-8660-406d-a8b1-da1124368b0e" TYPE="swap" 
/dev/sdb4: UUID="f487c8e1-a959-4cfa-8a2e-c8718660dcaf" TYPE="ext4" 
/dev/sdb5: LABEL="rpool" UUID="9443950123409513777" UUID_SUB="8757308412115109673" TYPE="zfs_member" 
bash-4.2#

Last edited by xiongnu; 12-22-2016 at 10:59 AM.
 
Old 12-22-2016, 11:38 AM   #2
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,541

Rep: Reputation: 2496Reputation: 2496Reputation: 2496Reputation: 2496Reputation: 2496Reputation: 2496Reputation: 2496Reputation: 2496Reputation: 2496Reputation: 2496Reputation: 2496
If the primary bootloader is Lilo on Slackware, what do you have in /etc/lilo.conf for your OpenIndiana? If you have boot code on the OpenIndiana partition, an entry similar to below should boot it. Put this in lilo.conf and then run /sbin/lilo as root and watch the output.

Quote:
other = /dev/sdb2
label = "OpenIndiana"
 
2 members found this post helpful.
Old 12-22-2016, 12:20 PM   #3
xiongnu
Member
 
Registered: Sep 2004
Distribution: Devuan, Void
Posts: 264

Original Poster
Rep: Reputation: 23
Quote:
Originally Posted by yancek View Post
If the primary bootloader is Lilo on Slackware, what do you have in /etc/lilo.conf for your OpenIndiana? If you have boot code on the OpenIndiana partition, an entry similar to below should boot it. Put this in lilo.conf and then run /sbin/lilo as root and watch the output.
Thank you! Works! SL LILO directs me to OI Grub bootloader with aforementioned entry in lilo.conf.

Although i was then caught in an endless boot loop at OI Grub, but i think it's an issue with OI boot.
 
Old 12-22-2016, 04:03 PM   #4
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,541

Rep: Reputation: 2496Reputation: 2496Reputation: 2496Reputation: 2496Reputation: 2496Reputation: 2496Reputation: 2496Reputation: 2496Reputation: 2496Reputation: 2496Reputation: 2496
Quote:
Although i was then caught in an endless boot loop at OI Grub, but i think it's an issue with OI boot.
Correct. The entry in lilo.conf will simply 'chainload' (point to) the boot code on the other system (Open Indiana) so you will need to investigate the Grub files on that system.
 
Old 12-22-2016, 04:21 PM   #5
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
oops wrong post:

@xiongnu

Quote:
Originally Posted by yancek View Post
Correct. The entry in lilo.conf will simply 'chainload' (point to) the boot code on the other system (Open Indiana) so you will need to investigate the Grub files on that system.
you might want to take a peek at this, instructions how to triple boot OpenIndiana, windows, linux, and OpenIndiana,

Quote:
Install Linux

Select ext3 (or ext2) as the file system type for Linux root. This will have to be readable by the OpenIndiana installer.

This will probably install grub2 as its bootloader and overwrite the current MBR. At this stage, you should be able to dual boot Windows and Linux.

FIXME : the bootloader may have to be stored in the Linux boot partition (problem encountered by Axelle ?)
https://wiki.openindiana.org/oi/Trip...+the+same+disk

Last edited by BW-userx; 12-22-2016 at 04:25 PM.
 
  


Reply



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
[SOLVED] Can't boot Openindiana in a winxp/slackware14.1/OI multiboot system xiongnu Solaris / OpenSolaris 3 12-22-2016 03:16 PM
[SOLVED] BIOS will only boot FAT16 File System, but I want to use my 8GB flash drive to Multiboot percy4209 Linux - Newbie 31 07-23-2016 12:27 AM
Replace WinXP in multiboot with image from WinXP in single boot AppFzx Linux - Newbie 11 09-10-2013 11:23 PM
GRUB multiboot: how to change the default boot system 4 one boot skipidar Linux - Software 2 06-22-2009 04:27 PM
reinstalling winXP on an existing dual boot system with winXP and FC4 grub not workin champion Fedora - Installation 3 02-13-2006 02:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:42 PM.

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