Solved

Root Superblock and System Commander

Posted on 1998-06-16
7
290 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
Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

 

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

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.

Question has a verified solution.

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

Suggested Solutions

Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

807 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