xfs
[Top] [All Lists]

Re: xfs and lilo on a second disk

To: lembree@xxxxxxxxxxxxx, linux-xfs@xxxxxxxxxxx
Subject: Re: xfs and lilo on a second disk
From: "Thomas Duffy" <duffy_thomas@xxxxxxxxxxx>
Date: Wed, 13 Jun 2001 11:39:43 -0700
Sender: owner-linux-xfs@xxxxxxxxxxx
hey Rob!  long time no hear!

the problem is most likely a result of a mismatch between what linux thinks is int 80 and what the bios thinks is int 80.

I would suggest that you but hdb into the hda slot, then boot off of a recovery CD and mount the drive.

change the lilo.conf to point to hda and rerun lilo.

the other option, if you do not like the idea of using a recovery CD is to specifically tell lilo that hdb is int 80 by doing something like this...

                 disk=/dev/hda
                         bios=0x80

-tduffy


Hi there,

        I put xfs onto my RH7.1 system by first upgrading the
RPMs, adding a disk, making xfs partitions, and the cp -a
each of the partitions to the new xfs partitions.

        I modified lilo.conf to do the right thing, and ran
lilo chrooted and pointing to the right disk, then ran lilo.
I swapped drives (pri and sec), and get "LI" instead of
LILO.

        I then switched pir and sec drives so that the original
pri is pri again, and added an 'xfs' stanza to the lilo.conf.
This boots the sec drive nicely.

        I tried to run LILO from this again, but with the same LI
result.

        So how should I get LILO booting off this new drive so
that I can put the old drive to use someplace else?

        I've been using Linux since '92, so I've tried all the
obvious stuff.

        Below is my lilo.conf.  Note that right now, /dev/hdb is
the xfs disk that I want to make /dev/hda, hence the /dev/hda and
/dev/hdb inconsistency.  WHen I run lilo, it should (and does)
modify /dev/hdb, when I boot, it is configed as /dev/hda.

thanks,
rob



boot=/dev/hdb
map=/boot/map
install=/boot/boot.b
prompt
timeout=50
message=/boot/message
linear
default=linux

image=/boot/vmlinuz-2.4.2-SGI_XFS_1.0
        label=linux
        read-only
        append="root=/dev/hda6"
#       root=/dev/hda6

_________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com


<Prev in Thread] Current Thread [Next in Thread>