Solved

Root Superblock and System Commander

Posted on 1998-06-16
7
291 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

 

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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

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…
Fine Tune your automatic Updates for Ubuntu / Debian
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…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Suggested Courses

752 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