From: Account for Debian group mail on

Hello,

On one of my machines that I'm trying to upgrade to Lenny has a XFS
root-boot file system.

The upgrade docs state that I need to switch from lilo to grub for a Lenny
upgrade. But I cannot get grub to install on this XFS boot file system, it
just hangs up.

Anyone know how to get this done?

Thanks,

Ken


# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
/dev/hda1 / xfs defaults 0 1
/dev/hda2 none swap sw 0 0
/dev/hdb1 /mirror ext3 defaults 0 2
/dev/hdd /media/cdrom0 udf,iso9660 user,noauto 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto 0 0


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
From: Tony Nelson on
On 10-01-28 22:40:09, Account for Debian group mail wrote:
>
> Hello,
>
> On one of my machines that I'm trying to upgrade to Lenny has a XFS
> root-boot file system.
>
> The upgrade docs state that I need to switch from lilo to grub for a
> Lenny upgrade.

From what I read on this list, you can use lilo. Never done it myself.

>But I cannot get grub to install on this XFS boot file
> system, it just hangs up.
>
> Anyone know how to get this done?
...

Well, there should be a xfs_stage1_5 file that grub-install will use.
`info grub` says XFS is supported.

--
____________________________________________________________________
TonyN.:' <mailto:tonynelson(a)georgeanelson.com>
' <http://www.georgeanelson.com/>


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
From: Account for Debian group mail on
On Thu, 28 Jan 2010, Tony Nelson wrote:

> On 10-01-28 22:40:09, Account for Debian group mail wrote:
>>
>> Hello,
>>
>> On one of my machines that I'm trying to upgrade to Lenny has a XFS
>> root-boot file system.
>>
>> The upgrade docs state that I need to switch from lilo to grub for a
>> Lenny upgrade.
>
>> From what I read on this list, you can use lilo. Never done it myself.
>
>> But I cannot get grub to install on this XFS boot file
>> system, it just hangs up.
>>
>> Anyone know how to get this done?
> ...
>
> Well, there should be a xfs_stage1_5 file that grub-install will use.
> `info grub` says XFS is supported.

Well it might be but it hangs up on install. And the file is there in the
/usr/lib/grub/i386-pc/ directory.


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
From: Stan Hoeppner on
Account for Debian group mail put forth on 1/28/2010 9:40 PM:

> On one of my machines that I'm trying to upgrade to Lenny has a XFS
> root-boot file system.
>
> The upgrade docs state that I need to switch from lilo to grub for a
> Lenny upgrade. But I cannot get grub to install on this XFS boot file
> system, it just hangs up.

> Anyone know how to get this done?

Yes. Stop messing with grub and stick with lilo. This part of the Lenny
release notes threw me for a loop as well, but it's no big deal. Keep in mind
that the distribution upgrade process does not replace the kernel or sysklogd
automatically. You must manually swap them out after the upgrade. Same with
lilo. The upgrade itself will go off without a hitch if your Etch kernel is
somewhere close to 2.6.24. I upgraded to 2.6.24 right before doing the dist
upgrade to Lenny and all went smoothly. For that matter you could keep on
running with 2.6.24 without upgrading to 2.6.26, and this becomes a non-issue.

The problem described in the release notes arises when you try to install a
stock Lenny initrd 2.6.26 kernel _after_ the dist upgrade. Apparently some of
the stock Lenny kernels have an initrd image that's too large for lilo to handle.

My recommendation: After the upgrade, grab the 2.6.32.7 source from kernel.org
and build yourself a non-initrd custom kernel with only the drivers and modules
you need, and you'll never come close to this "lilo limit". I've been using
small custom kernels for years, and I'm still using lilo with Lenny, and will be
using lilo with the next Debian stable, and beyond.

Lastly, IIRC, the latest versions of lilo don't have this initrd size issue.
I'm not sure about the lilo rev that ships with Lenny.

Hope this information is helpful in one way or another.

--
Stan


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
From: Stan Hoeppner on
Account for Debian group mail put forth on 1/28/2010 10:40 PM:

> Well it might be but it hangs up on install.

Could this be due to "BIOS boot sector write/virus protection" being enabled?

--
Stan


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org