You are not logged in.

#1 2010-05-30 18:58:50

abraham10
Member
Registered: 2010-04-20
Posts: 77

Archlinux Startup - How can I speed it up?

How can I make it so that when I start up arch it doesn't check the file systems automatically.

This is what I mean:

chkdisc.jpg

Also, could someone explain to me what is happening here:

unknown.jpg

and is there anyway I could speed up the timeout in blue area.

I don't know if what I want to do is good practice but I just want to speed up my boot time... thanks in advance!

Last edited by abraham10 (2010-05-30 21:24:36)


Most of the question asked can be solved just by reading:
Beginner's Wiki.
Pacman Man.
AUR.

Offline

#2 2010-05-30 19:05:24

loafer
Member
From: the pub
Registered: 2009-04-14
Posts: 1,772

Re: Archlinux Startup - How can I speed it up?


All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.

Offline

#3 2010-05-30 19:16:01

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: Archlinux Startup - How can I speed it up?

File system checking is always done at boot time, I don't know what you want to achieve by removing that. It's pretty vital after all... Unless you implement some substitute for it I'd keep my hands off it if I were you. Judging by your second question (which gives us a hint about what you do and don't know), I don't think you fully understand how essential it is. No offense smile.


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#4 2010-05-30 19:22:40

schen
Member
Registered: 2009-06-06
Posts: 468

Re: Archlinux Startup - How can I speed it up?

fsck doesn't take a lot of time. If you use windows, chkdsk takes like an hour and forces you to reboot. Not fsck. Also, for your second question, that is when it mounts the filesystem and starts the init process, which basically is the part when it allows your data to be read. init starts the programs in you /etc/inittab, and basically spawns the processes for a usable system.

Offline

#5 2010-05-30 19:23:27

abraham10
Member
Registered: 2010-04-20
Posts: 77

Re: Archlinux Startup - How can I speed it up?

@ .:B:. That is why I'm asking and I would like my questions to be answered not criticized. Also if you would look at the area I'm in maybe that would tell you that I'm a newb... and damn proud of it wink!

Last edited by abraham10 (2010-05-30 19:25:00)


Most of the question asked can be solved just by reading:
Beginner's Wiki.
Pacman Man.
AUR.

Offline

#6 2010-05-30 19:24:06

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: Archlinux Startup - How can I speed it up?

1) it doesn't actually check. is just list some information nothing more. if it was checking, you should have a progress bar.
2) what to speed up if is nothing to speed up? in that blue area is just saying it could wait 10 second but actually doesn't since the device is already there.

in conclusion, nothing that was marked in there is an issue.


Give what you have. To someone, it may be better than you dare to think.

Offline

#7 2010-05-30 19:27:59

abraham10
Member
Registered: 2010-04-20
Posts: 77

Re: Archlinux Startup - How can I speed it up?

Yeah thanks for everyone that helped I know that what I'm posting is not really an issue but more of accommodation. I'm just looking for ways to speed up the start up process. I've seen on youtube where people have been successful in booting up fully under 5 seconds and I would like to achieve something close to that.

Last edited by abraham10 (2010-05-30 19:28:17)


Most of the question asked can be solved just by reading:
Beginner's Wiki.
Pacman Man.
AUR.

Offline

#8 2010-05-30 19:38:43

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: Archlinux Startup - How can I speed it up?

I am not criticising your endeavour; I am trying to understand why you want to do it (and I guess you just explained by mentioning the < 5s boot time). Explaining why you wanted it in the first place wouldn't have prompted me to ask that question - so excuse me for being curious.

You can disable the check in the init scripts I believe; you should also unset the flag on the file systems themselves that tell the mount utilities to fsck the partitions after X mounts.


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#9 2010-05-30 19:45:51

abraham10
Member
Registered: 2010-04-20
Posts: 77

Re: Archlinux Startup - How can I speed it up?

First post:

abraham10 wrote:

I don't know if what I want to do is good practice but I just want to speed up my boot time... thanks in advance!

Yeah... ok cool.


Most of the question asked can be solved just by reading:
Beginner's Wiki.
Pacman Man.
AUR.

Offline

#10 2010-05-30 19:49:10

fsckd
Forum Fellow
Registered: 2009-06-15
Posts: 4,173

Re: Archlinux Startup - How can I speed it up?

You can get Arch to boot in 5 seconds with the possible loss of stability, etc. Search the forums, there was a big thread on this last year.

And if you don't want any more confusion, change the subject to something like "Arch Startup Issues - How do I gotz speed?"

Edit: And change the first post accordingly.

Edit2: Better yet, start a new thread.

Edit3: MOAR Edits required.

Last edited by fsckd (2010-05-30 19:50:52)


aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies

Offline

#11 2010-05-30 20:21:07

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: Archlinux Startup - How can I speed it up?

abraham10 wrote:

First post:

abraham10 wrote:

I don't know if what I want to do is good practice but I just want to speed up my boot time... thanks in advance!

Yeah... ok cool.

My bad, obviously smile.


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#12 2010-05-30 20:23:50

cesura
Package Maintainer (PM)
From: Tallinn, Estonia
Registered: 2010-01-23
Posts: 1,867

Re: Archlinux Startup - How can I speed it up?

fsckd wrote:

You can get Arch to boot in 5 seconds with the possible loss of stability, etc..

My personal favorite way to lose stability is to pacman -Syu the sucker. wink

EDIT: Oh, I forgot to mention the part where I throw my laptop at the wall...that was a crucial part to losing stability

Offline

#13 2010-05-30 20:27:35

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: Archlinux Startup - How can I speed it up?

you can mess around with quick-init http://aur.archlinux.org/packages.php?ID=25563


Give what you have. To someone, it may be better than you dare to think.

Offline

#14 2010-05-30 21:16:17

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Archlinux Startup - How can I speed it up?

If you choose ext3 as your fs, then fsck takes a bit time. It's *much* faster w/ ext4.

And plz change teh title.

Offline

#15 2010-05-30 21:24:24

cesura
Package Maintainer (PM)
From: Tallinn, Estonia
Registered: 2010-01-23
Posts: 1,867

Re: Archlinux Startup - How can I speed it up?

wonder wrote:

you can mess around with quick-init http://aur.archlinux.org/packages.php?ID=25563

It works well yikes

I can haz 6 sekond boot

Offline

#16 2010-05-30 21:32:56

abraham10
Member
Registered: 2010-04-20
Posts: 77

Re: Archlinux Startup - How can I speed it up?

Yeah well I'll give a try @ quick-init thanks for the suggestion, but right now I have a 36 second startup and if I can cut down half the time I would be happy.

Last edited by abraham10 (2010-05-30 21:43:13)


Most of the question asked can be solved just by reading:
Beginner's Wiki.
Pacman Man.
AUR.

Offline

#17 2010-05-30 21:37:39

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: Archlinux Startup - How can I speed it up?

abraham10 wrote:

Yeah well I'll give a try @ quick-init thanks for the suggestion, but right now I have a 36 second startup and cut down half the time I will be happy.

36??? that's a lot but i guess that virtualbox is the fault here. i found it very slow this days. seems that along with success comes degradations.


Give what you have. To someone, it may be better than you dare to think.

Offline

#18 2010-05-30 21:42:09

abraham10
Member
Registered: 2010-04-20
Posts: 77

Re: Archlinux Startup - How can I speed it up?

VB is just for my test OS. Once I have it fully configured the way I want I will implement it for real.

Last edited by abraham10 (2010-05-30 21:44:02)


Most of the question asked can be solved just by reading:
Beginner's Wiki.
Pacman Man.
AUR.

Offline

#19 2010-05-30 21:57:15

abraham10
Member
Registered: 2010-04-20
Posts: 77

Re: Archlinux Startup - How can I speed it up?

Is there a tutorial on the installation of quick-init I found the original page http://www.obliquo.net/?articles/quick-init.html  and this http://bbs.archlinux.org/viewtopic.php?id=72156 if there is one there I can't find it. I also downloaded the tarball from here: http://aur.archlinux.org/packages.php?ID=25563


Most of the question asked can be solved just by reading:
Beginner's Wiki.
Pacman Man.
AUR.

Offline

#20 2010-05-30 22:08:06

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: Archlinux Startup - How can I speed it up?

Read the wiki on how to use AUR smile.


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#21 2010-05-30 22:12:48

Netsu
Member
From: Poland
Registered: 2009-04-04
Posts: 182

Re: Archlinux Startup - How can I speed it up?

Also, I don't know if you tried it yet but backgrounding daemons can speed things a lot, it's usually the first thing to try. If you're not sure what this is about post the daemons part of your /etc/rc.conf file and we'll try to help smile


My Elegant Pattern GTK theme.
My game development blog, now on a new site.

'~/.xinitrc is an Archer's DE' - moljac024

Offline

#22 2010-05-30 22:13:20

andresp
Member
Registered: 2010-05-29
Posts: 62

Re: Archlinux Startup - How can I speed it up?

Just hack at rc.sysinit and friends

#if /bin/grep -q " verbose" /proc/cmdline; then
read opts /proc/cmdline; case $opts in *verbose*)

#if [ -f /etc/crypttab -a -n "$(/bin/grep -v ^# /etc/crypttab | /bin/grep -v ^$)" ]; then
if [ -f /etc/crypttab ] && /bin/grep -vq '^\(#\|$\)' /etc/crypttab

#    (
     {
    /sbin/modprobe -q dm-mod 2>/dev/null
    /sbin/hwclock --adjust
    /sbin/hwclock $HWCLOCK_PARAMS
#    ) &
     } &


etc... there are tons of lines like this

Offline

#23 2010-05-31 01:23:16

abraham10
Member
Registered: 2010-04-20
Posts: 77

Re: Archlinux Startup - How can I speed it up?

Here are my daemons from my rc.conf file:

DAEMONS=(@syslog-ng network netfs @crond @alsa hal slim)

Inittab:

#
# /etc/inittab
#

#  Runlevels:
#    0    Halt
#    1(S)    Single-user
#    2    Not used
#    3    Multi-user
#    4    Not used
#    5    X11
#    6    Reboot

## Only one of the following two lines can be uncommented!
# Boot to console
id:3:initdefault:
# Boot to X11
#id:5:initdefault:

rc::sysinit:/etc/rc.sysinit
rs:S1:wait:/etc/rc.single
rm:2345:wait:/etc/rc.multi
rh:06:wait:/etc/rc.shutdown
su:S:wait:/sbin/sulogin -p

# -8 options fixes umlauts problem on login
c1:2345:respawn:/sbin/agetty -8 38400 tty1 linux
c2:2345:respawn:/sbin/agetty -8 38400 tty2 linux
c3:2345:respawn:/sbin/agetty -8 38400 tty3 linux
c4:2345:respawn:/sbin/agetty -8 38400 tty4 linux
c5:2345:respawn:/sbin/agetty -8 38400 tty5 linux
c6:2345:respawn:/sbin/agetty -8 38400 tty6 linux

# Hypervisor Virtual Console for Xen and KVM
#h0:2345:respawn:/sbin/agetty -8 38400 hvc0 linux

ca::ctrlaltdel:/sbin/shutdown -t3 -r now

# Example lines for starting a login manager
#x:5:respawn:/usr/bin/xdm -nodaemon
#x:5:respawn:/usr/sbin/gdm -nodaemon
#x:5:respawn:/usr/bin/kdm -nodaemon
x:5:respawn:/usr/bin/slim >/dev/null 2>&1

# End of file

Last edited by abraham10 (2010-05-31 01:23:56)


Most of the question asked can be solved just by reading:
Beginner's Wiki.
Pacman Man.
AUR.

Offline

#24 2010-05-31 06:58:36

toad
Member
From: if only I knew
Registered: 2008-12-22
Posts: 1,775
Website

Re: Archlinux Startup - How can I speed it up?

Hm, I was wondering as well how to move the fsck check (granted, it only happens once a month...) from booting sequence to shutdown sequence - at least on my desktop. To disable it completely I'd change my fstab accordingly I suppose, but where does it get called on the bootup process? Hm, /scratches head and makes a mental note to read boot sequence wiki/...


never trust a toad...
::Grateful ArchDonor::
::Grateful Wikipedia Donor::

Offline

#25 2010-05-31 08:35:04

Barrucadu
Member
From: York, England
Registered: 2008-03-30
Posts: 1,158
Website

Re: Archlinux Startup - How can I speed it up?

Grep /etc/rc.sysinit for fsck, then I suppose you could just move that whole block of code to /etc/rc.shutdown.

Offline

Board footer

Powered by FluxBB