Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
jfs root doesn't 'recover' after power failure
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
kirby@magnaspeed.net
n00b
n00b


Joined: 16 Mar 2005
Posts: 3

PostPosted: Wed Mar 16, 2005 5:06 pm    Post subject: jfs root doesn't 'recover' after power failure Reply with quote

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'
Back to top
View user's profile Send private message
timblech
Tux's lil' helper
Tux's lil' helper


Joined: 28 Oct 2003
Posts: 89

PostPosted: Mon May 23, 2005 10:54 pm    Post subject: Reply with quote

hi ...

i've got the same problem on my machine ... did you succeed on your machine?

thanks ... t
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum