Hi Eric,
Well I gave it my best shot--twice.
The advice was really helpful. In this end this is how I distilled the
commands:
cd /tmp
mknod hde1 (b 3 didn't work because I had to provide a major AND minor
number)
mount -t xfs /mnt/A
chroot /mnt/A
And volia! The partition is mounted at /
There was nothing wrong with lilo.conf. And it was parsed by lilo fine. I
also tried booting with the non-smp kernel.
Unfortunately with my particular hardware configuration I couldn't get it to
boot. Not even a solitary boot message.
I'm sure I could get it to work by removing my hard disk from the third ide
controller (hde, first HPT366 controller) and putting it on the first
standard IDE controller (hda). But I'm not prepared to do that at the
moment.
Anyway, thanks for your assistance. I've learned some new recovery
techniques, even if they weren't successful this time.
Does anyone know if SGI is talking with Redhat about including the XFS file
system in Redhat's next release?
Regards,
Adam
-----Original Message-----
From: owner-linux-xfs@xxxxxxxxxxx [mailto:owner-linux-xfs@xxxxxxxxxxx]On
Behalf Of Eric Sandeen
Sent: Thursday, 1 February 2001 3:54 p.m.
To: Adam Warner
Cc: linux-xfs@xxxxxxxxxxx
Subject: Re: xfs installer (SGI Pre-Release ISO)
Adam Warner wrote:
> Thanks. Knowing how to create my own devices is beyond me at this stage. I
> was not able to properly mount /dev/hde1 and received this error message:
> mount failed: block device required.
See the installer caveats at
http://oss.sgi.com/projects/xfs/pr_installer.html for hints on making
devices...
It's not too bad.
Use "linux rescue" off the installer CD.
Check /proc/devices to make sure you have IDE support at all (you should
see "hd" or "ide" - I'm not sure...). Insert modules as necessary
(ide-mod, ide-disk, ide-cd...).
You can make devices as follows:
cd /tmp
mknod hda<partition # of root fs> b 3 (i.e. mknod hda1 b 3)
mknod hda<partition # of /boot fs> b 3 (if you have /boot)
mount hda<part#> /mnt/A
mount hda<part#> /mnt/A/boot
chroot /mnt/A
Now you should be able to do some lilo work...
if you need to recreate the initial ramdisk:
/sbin/mkinitrd /boot/initrd-2.4.0-SGI_XFS_PR.img 2.4.0-SGI_XFS_PR
vi /etc/lilo.conf
add to the correct kernel entry:
initrd=/boot/initrd-2.4.0-SGI_XFS_PR.img
/sbin/lilo -v
When you're done:
exit (out of chrooted shell)
umount /mnt/A/boot
umount /mnt/A
|