unmount the partition which you want to check
run the fsck on the partition, not the mount point. (ie the parameter is
/dev/hda6 not /mnt/hda6)
add read-only to your kernel line in grub so that it boots readonly from
nowe on, and fsck can check it.

On Wed, 19 May 2004 01:41:29 +1200
InfoHelp <[EMAIL PROTECTED]> wrote:

> NB - have run these commands from a Suse terminal:
> 
> P4-2656:~ # fsck.reiserfs  /mnt/hda6
> reiserfsck 3.6.9 (2003 www.namesys.com)
>  
> *************************************************************
> ** If you are using the latest reiserfsprogs and  it fails **
> ** please  email bug reports to [EMAIL PROTECTED], **
> ** providing  as  much  information  as  possible --  your **
> ** hardware,  kernel,  patches,  settings,  all reiserfsck **
> ** messages  (including version),  the reiserfsck logfile, **
> ** check  the  syslog file  for  any  related information. **
> ** If you would like advice on using this program, support **
> ** is available  for $25 at  www.namesys.com/support.html. **
> *************************************************************
>  
> Will read-only check consistency of the filesystem on /mnt/hda6
> Will put log info to 'stdout'
>  
> Do you want to run this program?[N/Yes] (note need to type Yes if you
> do):Yes
> bread: Cannot read the block (2): (Is a directory).
> reiserfs_open: bread failed reading block 2
> bread: Cannot read the block (16): (Is a directory).
> reiserfs_open: bread failed reading block 16
>  
> reiserfs_open: the reiserfs superblock cannot be found on /mnt/hda6.
>  
> Failed to open the filesystem.
>  
> If the partition table has not been changed, and the partition is
> valid  and  it really  contains  a reiserfs  partition,  then the
> superblock  is corrupted and you need to run this utility with
> --rebuild-sb.
>  
> Aborted
> 
> P4-2656:~ # fsck.reiserfs  /mnt/hda6 --rebuild-sb
> reiserfsck 3.6.9 (2003 www.namesys.com)
>  
> *************************************************************
> ** If you are using the latest reiserfsprogs and  it fails **
> ** please  email bug reports to [EMAIL PROTECTED], **
> ** providing  as  much  information  as  possible --  your **
> ** hardware,  kernel,  patches,  settings,  all reiserfsck **
> ** messages  (including version),  the reiserfsck logfile, **
> ** check  the  syslog file  for  any  related information. **
> ** If you would like advice on using this program, support **
> ** is available  for $25 at  www.namesys.com/support.html. **
> *************************************************************
>  
> Will check superblock and rebuild it if needed
> Will put log info to 'stdout'
>  
> Do you want to run this program?[N/Yes] (note need to type Yes if you
> do):Yes
> bread: Cannot read the block (2): (Is a directory).
> reiserfs_open: bread failed reading block 2
> bread: Cannot read the block (16): (Is a directory).
> reiserfs_open: bread failed reading block 16
>  
> reiserfs_open: the reiserfs superblock cannot be found on /mnt/hda6.
> super.c 333 rebuild_sb
> rebuils_sb: cannot open device /mnt/hda6
> 
> 
> Gentoo booted, but alerted me to compile in DFVFS (?) & turn hdd DMA on.
> Then it gave warnings about its ReiserFS partition, offering root login
> for maintenance or Ctrl-D for normal startup. After root login I got
> similar results as above, so I tried it again from Suse mounted. =X!
> 
> Seems I need write permission to the Gentoo ReiserFS drive first?
> 
> (Next I would just try booting Gentoo normal startup anyway .. ?)
> 
> -- 
> InfoHelp Services http://www.infohelp.co.nz.linux.html i686 2.4.21-215-default
> Suse Linux 9.0, Gnome 2.2.2, OpenOffice 1.1.0, Evolution 1.4.4, Mozilla 1.4.2

-- 
Nick Rout <[EMAIL PROTECTED]>

Reply via email to