Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Slackware boot issue

61 views
Skip to first unread message

lokus

unread,
Mar 8, 2006, 8:11:20 AM3/8/06
to
Hey everyone! I am new to slackware. I have a few issues with my
install and I am looking for advice. I will number them out. Please see
if you can help me.

1)Lilo configuration: During install I select expert LILO setup because
I need to point it to /dev/hdb (my hdd). My harddrive has 2 partitions,
/dev/hdb1 for swap (512) and /dev/hdb2 for '/'. During expert setup I
set LILO to /dev/hdb2, boot from MBR, booting using /boot/vmlinuz and
defined the boot partition to be /dev/hdb2. For some reason when my
installation is completed it tells me to reboot. Ok. I'm fine with
that. When it reboots the screen is black and a bunch of 02 02 start to
scroll across my computer screen. It just goes 02 02 02 02 02 02 02 02
02...etc. Very wierd. It does not boot into linux then. Did I do
something wrong? During the install I chose a standard linux view (i
forget what it is exactly called, but I chose Normal Mode instead of
like VGA 1024x768x256). I really don't know what the issue is but it is
frustrating me.

Douglas Mayne

unread,
Mar 8, 2006, 9:46:49 AM3/8/06
to

This is a lilo issue. L 02 02 02 02, not 02 02 02. The loader was
not setup properly on the hard disk for some reason.

The good news is you can fix this fast with a boot floppy. Did you make a
boot floppy as part of the install?

Figure 5-10 in this document shows where setup offers to make a boot disk:
http://www.slackbasics.org/html/installation.html

Wait, does you computer even have a floppy disk?

--
Douglas Mayne

Message has been deleted

lokus

unread,
Mar 8, 2006, 12:30:23 PM3/8/06
to
I did not create a floppy but i have the Slackware setup cds and no I
do not have a floppy drive.

Douglas Mayne

unread,
Mar 8, 2006, 1:12:56 PM3/8/06
to
On Wed, 08 Mar 2006 09:30:23 -0800, lokus wrote:

> I did not create a floppy but i have the Slackware setup cds and no I
> do not have a floppy drive.
>

The Slackware setup CD issues this message at boot:

In a pinch, you can boot your system from here with a command like:

For example, if the Linux system were on /dev/hda1.

boot: bare.i root=/dev/hda1 noinitrd ro

This prompt is just for entering extra parameters. If you don't need to enter
any parameters, hit ENTER to boot the default kernel "bare.i" or press [F2]
for a listing of more kernel choices.

Notice: You need to provide the proper information for your system as
the arguments to "boot:".

When you get into your setup this way, then you can assess how well the
setup went. You can fix lilo if that is the only thing broken.

Unfortunately, I am not a lilo expert (I prefer grub). Perhaps, the
first thing to do when you get back in is post your partition tables for
all discs and explain how you intend to boot your system. From there,
this group may offer more advice or the fix may be obvious.

--
Douglas Mayne

Sylvain Robitaille

unread,
Mar 8, 2006, 1:29:41 PM3/8/06
to
lokus wrote:

> I did not create a floppy but i have the Slackware setup cds ...

Boot the installation CD, using the same kernel you booted for the
original installation, with the following arguments (replacing the
kernel name, target disk, etc. as required):

bare.i root=/dev/hdb2

Then at the login prompt, you should be able to login as root, using the
password you setup during installation. run "lilo -v" and examine the
output carefully. If Lilo encounters any problems either with getting
the bootstrap loader onto your disk or with the configuration file
created during installation, you should be able to see evidence of that
in the output. If it installs fine, try rebooting (without the CD)
again. If it still gives you trouble, please try and collect more
information when you come back, and someone will certainly continue
trying to help you.

I hope that helps ...

--
----------------------------------------------------------------------
Sylvain Robitaille s...@alcor.concordia.ca

Systems and Network analyst Concordia University
Instructional & Information Technology Montreal, Quebec, Canada
----------------------------------------------------------------------

Melissa Danforth

unread,
Mar 8, 2006, 3:47:49 PM3/8/06
to
lokus <charles.d...@lmco.com> wrote:
: When it reboots the screen is black and a bunch of 02 02 start to

: scroll across my computer screen. It just goes 02 02 02 02 02 02 02 02
: 02...etc. Very wierd. It does not boot into linux then.

First off, look at 'man lilo' where you will see that boot error 02 means
there was an "address mark not found". If you plug in lilo "address mark
not found" into your web search engine of choice, you will find this is
usually related to some issue with the hardware or media. Without more
info on the rest of the machine setup, it's hard to be more specific than
this though.

Chu Mai Fat

unread,
Mar 9, 2006, 5:53:42 AM3/9/06
to
Melissa Danforth wrote:
> lokus <charles.d...@lmco.com> wrote:
> : When it reboots the screen is black and a bunch of 02 02 start to
> : scroll across my computer screen. It just goes 02 02 02 02 02 02 02 02
> : 02...etc. Very wierd. It does not boot into linux then.
>
> First off, look at 'man lilo' where you will see that boot error 02 means
> there was an "address mark not found".

No, "first off" he should have printed out "man lilo" before he rebooted
his computer, then he could actually have taken your advice.

Regards

Chu

Ron Gibson

unread,
Mar 9, 2006, 2:22:12 PM3/9/06
to
On Wed, 08 Mar 2006 09:30:23 -0800, lokus wrote:

> I did not create a floppy but i have the Slackware setup cds and no I do
> not have a floppy drive.

Go here...

http://slax.linux-live.org/download.php

Dowload the ISO (about 170MB)

Burn CD
Boot CD
Chroot to broken install
Run: source /etc/profile
Edit /etc/lilo.conf
Run: lilo

It's fixed.

If you need help after you run source use the man pages and/or HOWTO's
and other docs. Just be sure you install lilo in the right place and set
it up properly.

Grant

unread,
Mar 9, 2006, 2:43:23 PM3/9/06
to
On Thu, 09 Mar 2006 19:22:12 GMT, Ron Gibson <rsgi...@verizon.net> wrote:

[download 170MB iso and burn rescue CD to complete a Slack install]

One may repair an install with the Slackware install CD, no need
to download some other rescue CD to edit lilo.conf and run lilo

Boot Slack install CD
- mount target / partition to /mnt
- check /mnt/etc/fstab to see if /boot is separate, if so, mount
/boot partition to /mnt/boot
- (rare systems may need to mount /proc, common systems may skip)
- chroot /mnt
- edit /etc/lilo.conf and repair the boot, root references
- lilo
- exit
- reboot

The lilo warning about missing /proc may be ignored for common systems.

Grant.
--
Cats are smarter than dogs. You can't make eight cats pull
a sled through the snow.

Ron Gibson

unread,
Mar 9, 2006, 5:47:03 PM3/9/06
to
On Fri, 10 Mar 2006 06:43:23 +1100, Grant wrote:

> [download 170MB iso and burn rescue CD to complete a Slack install]

> One may repair an install with the Slackware install CD, no need to
> download some other rescue CD to edit lilo.conf and run lilo

Of course they can but the Slax CD is nice as it has many extra
features. One may find oneself needing to search the net, for example. No
problem with Slax. Of course you can always chroot and use ftp or links
or lynx.

Most certainly the Slackware CD is great to have on hand, however, some
of us prefer to use tools like jed or perhaps even kate.

I understand that flies in the face of the vi purist, etc, however I've
been using Slack over 10 years and no longer feel obligated to resort to
tools for one disk boot floppies. I've done it the hard way many
many times and built my own rescue floppies with yarn.

Today I prefer the easy way.

Having said that if you think using the type of tools mentioned is
heresy, then good for you - Whatever floats your boat.

Item two - The method I outlined works with all distros.

In summary there are several ways to attain the same objective. The only
real problem I see in downloading 170MB is if you are on dialup and I've
downloaded ISO's with dial up in the past. Set up the download and get a
good nights sleep.


0 new messages