Skip to content

Daily Archives: November 24th, 2009

Adding google repository to Ubuntu or Debian based distros

24-Nov-09

Adding google repository to Ubuntu or Debian based distros. Add the following rule to e.g. /etc/apt/sources.list, or if your distro has the /etc/apt/sources.list.d/ directory, add it to a file called google.list in that directory: # Google software repository deb http://dl.google.com/linux/deb/ stable non-free main Once the above entry is added we can run apt as usual. [...]

running fsck on reboot

24-Nov-09

The -F option force fsck on reboot, login as root and type the following command to reboot and run fsck: # shutdown -rF now -F Force fsck on reboot. -r Reboot after shutdown. -k Don’t really shutdown; only send the warning messages to everybody. or Login as user root and create a file called forcefsck: [...]

Running fsck on your server

24-Nov-09

Q. My laptop partition  /dev/sdb1  is showing file system error, how  do i use fsck command to check for file system error and repair the partition. Solution  is to use   fsck – check and repair a Linux file system or use e2fsck – check a Linux ext2/ext3 file system. Device              Start       End Blocks      [...]