Solved

Root Superblock and System Commander

Posted on 1998-06-16
7
285 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

 

Accepted Solution

by:
periclis earned 100 total points
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
Experts Exchange:
Please do not delete this question!
Jim N. - 07/25/98
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

In my business, I use the LTS (Long Term Support) versions of Linux. My workstations do real work, and so I rarely have the patience to deal with silly problems caused by an upgraded kernel that had experimental software on it to begin with from a r…
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

771 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

8 Experts available now in Live!

Get 1:1 Help Now