Solved

Root Superblock and System Commander

Posted on 1998-06-16
7
289 Views
Last Modified: 2013-12-15
I need to set up a root superblock for my present version of Linux,
Caldera's OpenLinux Lite.

How do I create this "root superblock" and get LILO into it? The installation
program for this did not offer this as an option. I'll need to do this after
I've launched Linux, I guess.

Jim
0
Comment
Question by:jnowlin
  • 4
  • 2
7 Comments
 
LVL 5

Expert Comment

by:laeuchli
ID: 1627896
I  belive it will just install itself into the main boot place. I was a long time since I have installed lilo but I belive that if you choose this option it place its self there without any help. You don't have to create it it is already there.
0
 

Author Comment

by:jnowlin
ID: 1627897
Hello laeuchli,

I did do that once but Linux took over my machine.
When I booted, Linux was there but my other OSes were not. My goal is to have Linux as an OS selection along with DOS/Windows 3.11, Windows95(98) and Windows NT 4.0 Workstation. These are already individual operating system
entities.
0
 
LVL 5

Expert Comment

by:laeuchli
ID: 1627898
You can do that. All you have to do is set it up so that it asks you which os to boot. I don't get what your problem is it tells you how to do it in the lilo setup. Maybe you could post the messages that confuse you and I will help.
0
Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

 

Accepted Solution

by:
periclis earned 100 total points
ID: 1627899
Hi, I'm using System Commander Deluxe with Slackware Linux 3.4.
I think I can help...

Every directory has a superblock with information about all the files in the directory on it. The root directory (the one known as / from which the directory tree grows) has one as well and this is where you need to install lilo if you're going to use system Commander.

You need to tell lilo to ONLY boot Linux. You can boot other OS's from the System Commander menu.

I got lucky, the Slackware setup utility asked me where I wanted to install lilo and which OS's I wanted it to boot and I chose the root superblock and Linux only, respectively. Are you sure Caldera didn't give you these options during installation? Have you tried reinstalling to see if it does?

If it doesn't, all is not lost, you can install lilo manually-
if you've managed to boot and install Linux, that is, not before...

You need to know the following:

1. The name of the disk partition your root filesystem is on. If it's the first partition on the first IDE disk, it'll be /dev/hda1, if it's the second /dev/hda2, if it's the first partition on a SCSI hard disk it'll be /dev/sda1. Mine is /dev/sda4, for example.

2. Where the kernel image you want to boot is and what it's called. Mine is /vmlinuz, but yours could be this or /zImage2.0.30 or whatever, or it could be in another directory. Try
find -mount -iname vmlinuz
to find it. Substitute another name for vmlinuz if that isn't what it's called.

Make sure you're root (login as root or do su root).
Edit the following file and save it as /etc/lilo.conf

Lines starting with # are comments and won't do anything.


# Suggested lilo.conf file
#
# Tell lilo which parition is the boot device, mine is /dev/sda4
boot = /dev/sda4
# Select vga text mode
vga = normal
# Only one kernel image as a boot option, mine is /vmlinuz
image = /vmlinuz
# Tell lilo which partition the root filesystem is on
# Mine is on /dev/sda4
  root = /dev/sda4
# Give this OS choice a name which must be ONE WORD
  label = Linux
# Mount the root filesystem read-only at first for checking
  read-only
# End

Set the permissions to this file

chmod 644 /etc/lilo.conf

Run the executable lilo which installs the linux loader, with the option -C (use configuration file, note capital C)

lilo -C

If this succeeds, the next time you select to boot Linux from the System Commander menu the message

lilo loading Linux

or whatever name you chose to give this OS choice instead of Linux in /etc/lilo.conf

and Linux should successfully boot.

Good luck!
0
 

Author Comment

by:jnowlin
ID: 1627900
Hello periclis.

This is a freebe version of Linux distribution from Caldera, so
it didn't come with any support. The above looks like good stuff.
I can check the install program following your advice regarding LILO.
Jim
0
 

Author Comment

by:jnowlin
ID: 1627901
Hi periclis.

I haven't forgotten. I've just been very busy(too much so). Please Experts Exchange:
do *not* delete this question.

0
 

Author Comment

by:jnowlin
ID: 1627902
Experts Exchange:
Please do not delete this question!
Jim N. - 07/25/98
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
The purpose of this article is to fix the unknown display problem in Linux Mint operating system. After installing the OS if you see Display monitor is not recognized then we can install "MESA" utilities to fix this problem or we can install additio…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

815 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now