xfs
[Top] [All Lists]

Re: xfs and lilo on a second disk

To: Rob Lembree <lembree@xxxxxxxxxxxxx>
Subject: Re: xfs and lilo on a second disk
From: Adam Cioccarelli <alciocca@xxxxxxxxxx>
Date: Wed, 13 Jun 2001 20:39:15 +0200 (CEST)
Cc: <linux-xfs@xxxxxxxxxxx>
In-reply-to: <3B27ADD1.5D1EF959@metrolink.com>
Sender: owner-linux-xfs@xxxxxxxxxxx
try adding disk=/dev/hdb bios=0x80 as the first line
and using root=/dev/hdb? whatever the partition is that you have as the
new root partition..

-------------------------------------------------------------------------------
Adam Cioccarelli (B.E Mechanical)                Adam.Cioccarelli@xxxxxxxxxx
Database Administrator                           Phone: +43 1 536 89 7725
                                                 Fax:   +43 1 536 89 7719
ecetra Central European e-Finance AG             Mobile:+43 664 181 4195
-------------------------------------------------------------------------------

On Wed, 13 Jun 2001, Rob Lembree wrote:

> 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
>
>
>
> --
>
> Rob Lembree                        Metro Link Incorporated
> 29 Milk St.                        lembree@xxxxxxxxxxxxx
> Nashua, NH 03064-1651             http://www.metrolink.com
> Phone:  954.660.2460               Alternate: 603.577.9714
> PGP: 1F EE F8 58 30 F1 B1 20       C5 4F 12 21 AD 0D 6B 29
>
>


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