public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "Tyler BIRD" <birdty@uvsc.edu>
To: <jeff_l@iprimus.com.au>, <linux-kernel@vger.kernel.org>
Subject: Re: Problems booting linux kernel
Date: Sat, 24 Nov 2001 17:16:46 -0700	[thread overview]
Message-ID: <sbffd600.008@MAIL-SMTP.uvsc.edu> (raw)

The kernel panics because it's unable to mount the root filesystem
which you have said is on the /dev/hdb2 partition

Check out the BootDisk Howto

It appears that end_request is returning an error code which means
that the disk device driver can't access the disk.  

When you re-run lilo with your new configuration
there should be something simmilar to

name=New Linux
root=/dev/hdb2
image=/boot/bzImage

you also might want to install lilo
on your new master drive.  
boot=/dev/hdb
so you can make sure that hdb is recognized as
the new master IDE Drive

you might also want to set the ramdisk work
which contains the major minor numbers of the root device
to boot from with rdev

rdev /boot/bzImage /dev/hdb2
this would configure the compressed kernel
on /dev/hda? in the file /boot/bzImage to try to mount the
root filesystem from /dev/hdb2
your slave hard disk.  So thus I believe you wouldn't even have
to change jumpers this way and keep lilo on 
your old disk boot sector.

Tyler

>>> Jeff <jeff_l@iprimus.com.au> 11/23/01 08:52PM >>>
Greetings,
	I have two eide hard drives arranged as master and slave on my primary
ide controller.  The 20G seagate is the master and it has LILO as the 
bootloader.  This drive also has an old RH 6.1 install on it that I hardly
use.  A 30G quantum is the slave and it has linux that I built from sources.  
This latter drive and OS is the one I use mostly.  
	Now I want to configure the 30G drive as the master and I want to use
the 20G (current master) for other things.

	My 30G drive has a / (root) partition (currently /dev/hdb2) and a /boot 
partition (currently /dev/hdb1).  I couldn't get LILO to start properly when I
installed it on my 30G drive so I've switched to GRUB.  (I'll switch back to 
LILO if need be and I get good advice.)   I can get GRUB to start my kernel 
but my kernel panics when trying to mount file systems.  Here is a transcript 
of the kernel output:

attempt to access beyond end of device
03:42: rw=0, want=1, liimt=1
EXT2-fs: unable to read superblock
FAT: bogus logical sector size 0
FAT: bogus logical sector size 0
attempt to access beyond end of device
03:42: rw=0, want=33, limit=1
isofs_read_super: bread failed, dev=03:42, iso_blknum=16, block=32
Kernel panic: VFS: Unable to mount root fs on 03:42

When I switch everything back to the way it was this kernel can be started 
without a problem.

In switching the drives' master/slave status around I have (of course) done 
the following:
* changed jumper settings on both drives
* edited /etc/fstab on the 30G drive (the one I want to boot as master).
* modified the bios settings (got bios to autodetect drives in new
  configuration).

Why does my kernel panic?  How do I fix the problem so that I can boot the 
linux kernel on my 30G drive when the drive is configured as master instead 
of slave?

Please help,
		Jeff
    
-- 
===============================================================================
I never saw a wild thing
sorry for itself.
A small bird will drop frozen dead from a bough
without ever having felt sorry for itself.
	-- "Self-Pity" by David Herbert Lawrence (1885-1930)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org 
More majordomo info at  http://vger.kernel.org/majordomo-info.html 
Please read the FAQ at  http://www.tux.org/lkml/


             reply	other threads:[~2001-11-25  0:16 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-11-25  0:16 Tyler BIRD [this message]
  -- strict thread matches above, loose matches on Subject: below --
2001-11-24  3:52 Problems booting linux kernel Jeff

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=sbffd600.008@MAIL-SMTP.uvsc.edu \
    --to=birdty@uvsc.edu \
    --cc=jeff_l@iprimus.com.au \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox