Thank you for being a valued part of the CNET community. As of December 1, 2020, the forums are in read-only format. In early 2021, CNET Forums will no longer be available. We are grateful for the participation and advice you have provided to one another over the years.

Thanks,

CNET Support

General discussion

Ubuntu 8.04 Hard Disk Checking during boot up

Jun 20, 2008 11:21AM PDT

Can any experts here help me, after I installed Ubuntu 8.04 LTS for a few days, it automatically scans for hard disk error stuffs everytime when I boot up. This is annoying, but how should I turn it off?

Technical details: Windows XP and Ubuntu Dual- boot machine, XP on /dev/hdb1 (NTFS), Ubuntu on /dev/hda (Ext3) and Personal Music / Document Stuffs on /dev/hdb5 (Ext3, despite Windows XP shows Ext2, using the Ext2IFS program.)

Discussion is locked

- Collapse -
Check your fstab
Jun 28, 2008 12:12AM PDT

Open /etc/fstab in a root text editor:

gksudo gedit /etc/fstab

You'll see a line beginning with /dev/hda, I'm hoping. If not, it might have the following sort of thing:

# /dev/hda
UUID= <lots of letters and numbers with some dashes>

At the end of the /dev/hda line or the UUID= line, you'll see a zero, then a tabbed space, then a one. Change the one to a zero; we want both of them to be zeroes.

Save changes, and close the text editor. This should disable automatic filesystem checks. Very useful if you've got a 500 gigabyte hard disk Happy Be sure to manually check the drive every so often for safety!

- Collapse -
Thank you
Jul 1, 2008 11:45PM PDT

Thank you, this works, yes i see :

# /etc/fstab: static file system information.

#

# -- This file has been automaticly generated by ntfs-config --

#

# <file system> <mount point> <type> <options> <dump> <pass>


proc /proc proc defaults 0 0

# Entry for /dev/hda1 :

UUID=d78bea77-675b-435f-8312-c160d0352d06 / ext3 defaults,errors=remount-ro 0 0

# Entry for /dev/hda5 :

UUID=bdbb6811-a510-40ff-a6f0-92c621829ef9 none swap sw 0 0

/dev/hdc /media/cdrom0 auto rw,user,auto,exec 0 0

/dev/fd0 /media/floppy0 auto rw,user,auto,exec 0 0

# Entry for /dev/ !! UNKNOW DEVICE !! :

UUID=B078AF2C78AEEFF0 /media/hdb1 /windows ntfs 0 0

/dev/hdb5 /personal ext3 defaults,errors=remount-ro 0 0


And that is after I replaced the 1 to 0. Thank again, it works! (Only the first boot may not see it, need to reboot for it to take effect.)