On Tue, Dec 10, 2002 at 10:48:38AM -0500, George Georgalis wrote:
>On Mon, Dec 09, 2002 at 11:49:21PM -0900, Ethan Benson wrote:
>>On Mon, Dec 09, 2002 at 04:51:31PM -0500, George Georgalis wrote:
>>>
>>> yes, accept in this case it looks as if /sbin/xfsrestore would have
>>> fixed my / quickly and easily, however it was easier to rebuild the os
>>> than to get xfsrestore on a running xfs compatible rescue image.
>>>
>>> In retrospect, I think it makes good sense to keep fs repair tools
>>> on both /sbin and /usr/sbin no need to link -s /usr/sbin/xfsrestore
>>> /sbin/xfsrestore when cp can save your arse.
>>
>>no that makes no sense at all, if / is hosed your box won't boot, if
>>you don't have a rescue disk with xfs_repair (or whatever fsck goes
>>with the filesystem your using) your a loon.
>
>I beg your pardon?
>
>Indeed /sbin/xfs_repair was the recommended tool. If I had copied it to
>/usr/sbin I (supposidly) could have repaired my root partition in no
>time. Oddly, I still think it makes good sence, even if I have lost my
>loon.
Then again maybe you are right, I am a duck, and not sure why xfs repair
utilities are not on blade's rescue.
http://people.debian.org/~blade/XFS-Install/download/floppies/root1440bf2.4-xfs.bin
$ mv root1440bf2.4-xfs.bin root1440bf2.4-xfs.bin.gz
$ gzip -d root1440bf2.4-xfs.bin.gz
$ mkdir mnt
# mount -oloop root1440bf2.4-xfs.bin mnt
$ find mnt/ -type f | grep sbin
mnt/sbin/udbootstrap
mnt/sbin/lilo
mnt/sbin/MAKEDEV
mnt/sbin/badblocks
mnt/sbin/depmod
mnt/sbin/dhclient-2.2.x
mnt/sbin/e2fsck
mnt/sbin/tune2fs
mnt/sbin/insmod
mnt/sbin/ksyms
mnt/sbin/lsmod
mnt/sbin/modprobe
mnt/sbin/mke2fs
mnt/sbin/mkfs.ext2
mnt/sbin/rmmod
mnt/sbin/update-modules
mnt/sbin/losetup
mnt/sbin/cfdisk
mnt/sbin/fdisk
mnt/sbin/mkreiserfs
mnt/sbin/mkfs.xfs
mnt/sbin/dbootstrap
mnt/sbin/halt
mnt/sbin/ifconfig
mnt/sbin/init
mnt/sbin/klogd
mnt/sbin/loadkmap
mnt/sbin/mkswap
mnt/sbin/poweroff
mnt/sbin/reboot
mnt/sbin/route
mnt/sbin/swapoff
mnt/sbin/swapon
mnt/sbin/syslogd
mnt/usr/sbin/debootstrap
mnt/usr/sbin/rdev
mnt/usr/sbin/chroot
Regards,
// George
--
GEORGE GEORGALIS, System Admin/Architect cell: 347-451-8229
Security Services, Web, Mail, mailto:george@xxxxxxxxx
Multimedia, DB, DNS and Metrics. http://www.galis.org/george
|