Announcement

Collapse
No announcement yet.

"check disk for defects" - what application is it running?

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    "check disk for defects" - what application is it running?

    When booting from an ISO disk image dvd, this is one of the initial options offered, along with running Kubuntu. I've been all over various forums and such and cannot find what this option actually does. Specifically is it running fsck on the whole hard drive?

    I need to run fsck on a partition prior to scrubbing its free space, and was booting from the ISO image dvd to get to the partition of interest while it's unmounted. I will go forward with this, but was wondering if that "check disk..." option was a more direct way of doing the same thing.

    It's odd that I cannot find documentation for this anywhere, and it appears that this question has not been asked here before.

    Thanks for any help!

    #2
    Check disc for defects

    http://www.dedoimedo.com/computers/ubuntu-install.html
    Check disc for defects - this option allows you to check your freshly burned CD for defect. This is a recommended step. You may discover errors that your burning software did not spot.
    http://askubuntu.com/questions/38184...eturns-defects
    It checks the install disks for defects i.e. the liveUSB.
    "check disk for defects" - what application is it running?

    Diy - Mount the iso:

    Code:
    sudo mkdir -p /media/iso
    
    sudo mount -o loop /path/to/disk.iso /media/iso
    Open the /media/iso/boot/grub/loopback.cfg with a text editor - the menuentry "Check disc for defects" is:
    Code:
    menuentry "Check disc for defects" {
    	linux	/casper/vmlinuz  boot=casper integrity-check iso-scan/filename=${iso_path} quiet splash --
    	initrd	/casper/initrd.lz
    (this is with older Kubuntu iso)




    If you want to check the hard drive

    Boot with the liveCD/DVD and run the diagnostic from the live session.
    A good place to start: Topic: Top 20 Kubuntu FAQs & Answers
    Searching FAQ's: Google Search 'FAQ from Kubuntuforums'

    Comment


      #3
      Originally posted by Rog132 View Post
      If you want to check the hard drive

      Boot with the liveCD/DVD and run the diagnostic from the live session.
      You can also request a one-off filesystem check on your hard drive(s) at next boot with this command:

      Code:
      sudo touch /forcefsck
      Which reminds me, previous versions of Kubuntu (but not for sometime) used to run random disk check on boot, does anyone know how to re-enable this feature?
      Kubuntu 20.04(AMD64)/KDE 5

      Comment


        #4
        Thanks, guys. Here's the key phrase, for me: "It checks the install disks for defects i.e. the liveUSB."

        So, it's not a hard drive check at all. The screen menu really should tell us that, don't you think? It's absurd to have to find out THIS way. I did run it, and I definitely thought it was checking my HD. After all, when I burnt the ISO dvd it was verified. I assume most folks do this, but Certainly, after a while it might go bad, I suppose. But by then, the ISO image would be irrelevant. (Just thinking out loud.)

        Comment


          #5
          That was the topic of this thread: https://www.kubuntuforums.net/showth...-being-checked
          "A nation that is afraid to let its people judge the truth and falsehood in an open market is a nation that is afraid of its people.”
          – John F. Kennedy, February 26, 1962.

          Comment


            #6
            Originally posted by GreyGeek View Post
            Thank you!
            Kubuntu 20.04(AMD64)/KDE 5

            Comment

            Working...
            X