kirby@magnaspeed.net n00b
Joined: 16 Mar 2005 Posts: 3
|
Posted: Wed Mar 16, 2005 5:06 pm Post subject: jfs root doesn't 'recover' after power failure |
|
|
Using grub, its config looks like this:
----start grub.conf-------
default 0
timeout 5
splashimage=(hd0,0)/grub/splash.xpm.gz
title=Gentoo Linux 2.6.8-r7
root (hd0,0)
kernel /kernel-2.6.8-gentoo-r7 root=/dev/ram0 init=/linuxrc ramdisk=8192 real_ro
ot=/dev/hda3
initrd /initrd-2.6.8-gentoo-r7
----end grub.conf--------
If the power to the system 'drops', the jfs filesystem needs to be 'recovered' by running jfs_fsck.... But with that grub config, it doesn't appear to... It can't mount /dev/hda3. If I 'edit' the kernel line to remove everything 'past' 'root=', and boot with that, jfs_fsck runs and 'repairs' the root, and life is good. Any hints?
Additional info: at the 'fail screen' this is the text:
>> Mounting filesystems...
Started device management daemon v1.3.5 for /dev
>> Determining root device...
>> Mounting root...
mount: Mounting /dev/hda3 on /newroot failed: Invalid argument
>> Could not mount specified ROOT, try again
>> The root block device is unspecified or not detected.
Please specify a device to boot, or "shell" for a shell...
If I do a 'shell' and try to mount /dev/hda3, it keeps spitting out 'Invalid argument' |
|