Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hibernation is a process whereby whatever you have in RAM is stored to the hard drive and later retrieved in the same state it was in before hibernation. If you have 8gb of active files in ram, it will take a while to save all that to disk. Some people prefer sleep mode for faster access. But even that will have files in use.
If you have something updated while files are in use, they aren't going to be replaced when hibernating or sleeping.
Files in use aren't replaced until reboot. If they were, the system could crash hence files are usually locked while in use. Or loaded into ram.
Try launching firefox. While it is running, go directly into it's folder and make some sort of change (deletion would be a good method of some file it needs).
Even deleting the whole folder while firefox is still running will still show firefox still running.
If you are brave enough, delete your FSTAB file while the computer is running. (not recommended for those who do not know about making a backup of it and how to restore the backup from command line)
The computer will still run until you restart.
Deleting say fstab and hibernating will still allow the computer to resume as if the file was never deleted.
My MSI GT72 6QD Dominator G laptop currently has 16GB ram.
I don't agree with anything you say yaminator.
It boots Windows 10 and Debian testing in 18 seconds or less, neither of which go into hibernation on shutdown as I disabled this default behavior in Windows, when I close the lid and put it into hibernation, no more than 15 seconds to a usable desktop, (because I wait for the blue tooth mouse to get paired, it could be faster for all I know).
When you look at the specs of this unit, you may be able to figure out why it's so fast.
My advice for you to get things up and running faster is, " upgrade your hardware ", and disable applications checking for updates upon startup, or applications being started automatically.
Last edited by Brains; 03-17-2017 at 01:45 AM.
Reason: Added last 8 words or so
The sixth field (fs_passno).
This field is used by the fsck(8) program to determine the order in which filesystem checks are done at reboot time. The root filesystem should be specified with a fs_passno
of 1, and other filesystems should have a fs_passno of 2. Filesystems within a drive will be checked sequentially, but filesystems on different drives will be checked at the
same time to utilize parallelism available in the hardware. If the sixth field is not present or zero, a value of zero is returned and fsck will assume that the filesystem
does not need to be checked.
Thread isn't necessarily meant to be marked as solved. But if mods want it that way then it is fine with me.
Just wanted to post something that can speed up things a bit.
Others can add additional speedup tweaks if desired. May want to keep thread open for a week or two just in case.
The sixth field (fs_passno).
This field is used by the fsck(8) program to determine the order in which filesystem checks are done at reboot time. The root filesystem should be specified with a fs_passno
of 1, and other filesystems should have a fs_passno of 2. Filesystems within a drive will be checked sequentially, but filesystems on different drives will be checked at the
same time to utilize parallelism available in the hardware. If the sixth field is not present or zero, a value of zero is returned and fsck will assume that the filesystem
does not need to be checked.
so we're just skipping fsck?
which isn't run on every boot anyways, only every 10th or so?
build a custom kernel with all the device and file system (the ones you use) modules built into the kernel this saves the time it tacks to load the modules
you may need to add a kernel command line to configure the built in modules to your boot loader configuration
with
make localyesconfig
then tune the kernel with
make {your preferred kernel configuration tool}
make all
make install
add the new kernel to your boot loader configuration file as an option for testing
run the boot loader
test it reboot
if it works make it the default
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.