We use cookies on our website to ensure we provide you with the best experience on our website. By using our website, you agree to the use of cookies for analytics and personalized content.This website uses cookies. More Information
It seems like your browser didn't download the required fonts. Please revise your security settings and try again.
Barracuda NextGen Firewall X

Manual file system check in runlevel 1

  • Type: Knowledgebase
  • Date changed: 5 months ago
Solution #00005094 
 
Scope:
This solution replies to:
- NG Firewall firmware versions 4.2.x
- netfence firmware versions 4.2.x

 
Symptoms:

You want to run a manual file system check in runlevel 1. When the boot process stops at "Freeing unused kernel memory" you may use this mode.

 

Note:

In Barracuda NG Firewall 5.0 and below, you can use the Active Recovery Technology (ART) to run a filesystem check.
 

 
Solution:

1. Press the "TAB" button at the LILO boot prompt.

 

2. Enter the boot image name, which is equal to the kernel-version-number f.e. "2.4.32-3.4.0.13") with following a "blank" and the number "1" (for runlevel 1) and press enter.

 

    Example:
  2.4.32-3.4.0.13 1

 

4. You will be asked to enter the bootloader password. Default is "ph10n".

 

5. The box now starts in runlevel 1. You will be requested to enter the root password. Enter the password.

 

6. Perform the manual file system check by supplying the following commands:

 

    For IDE HDD systems:

  /bin/umount /dev/hda1
  /bin/umount /dev/hda2
  /bin/umount /dev/hda3
  
/bin/umount /dev/hda4
  /bin/umount /dev/hda5

 

    ext2 file system:

  /sbin/fsck.ext2 -y /dev/hda1
  /sbin/fsck.ext2 -y /dev/hda2
  /sbin/fsck.ext2 -y /dev/hda3
  /sbin/fsck.ext2 -y /dev/hda4
  /sbin/fsck.ext2 -y /dev/hda5
  /sbin/fsck.ext2 -y /dev/hda6

 

    ext3 file system:

  /sbin/fsck.ext3 -y /dev/hda1
  /sbin/fsck.ext3 -y /dev/hda2
  /sbin/fsck.ext3 -y /dev/hda3
  /sbin/fsck.ext3 -y /dev/hda4
  /sbin/fsck.ext3 -y /dev/hda5
  /sbin/fsck.ext3 -y /dev/hda6

 

 

    For SCSI HDD systems:

  /bin/umount /dev/sda1
  /bin/umount /dev/sda2
  /bin/umount /dev/sda3
  /bin/umount /dev/sda4
  /bin/umount /dev/sda5

 

    ext2 file system:

  /sbin/fsck.ext2 -y /dev/sda1
  /sbin/fsck.ext2 -y /dev/sda2
  /sbin/fsck.ext2 -y /dev/sda3
  /sbin/fsck.ext2 -y /dev/sda4
  /sbin/fsck.ext2 -y /dev/sda5
  /sbin/fsck.ext2 -y /dev/sda6

 

    ext3 file system:

  /sbin/fsck.ext3 -y /dev/sda1
  /sbin/fsck.ext3 -y /dev/sda2
  /sbin/fsck.ext3 -y /dev/sda3
  /sbin/fsck.ext3 -y /dev/sda4
  /sbin/fsck.ext3 -y /dev/sda5
  /sbin/fsck.ext3 -y /dev/sda6

 

7. Reboot the system
  reboot

 

 

Link to This Page:
https://campus.barracuda.com/solution/50160000000IKYBAA4