~~~ Rohan ~~~ wrote:
Hey, i really need it. Does someone have a pkgbuild for a resume enabled kernel ? i am real bad at pkgbuilds thats why :)
http://www.suspend2.net/ has excellent instructions. When I did this for my notebook I grabbed a vanilla kernel from kernel.org, slapped their patch on it and built it. (You can use the Arch .config, but that builds practically everything so takes far longer than necessary.) Read up on it first, their instructions are excellent. Also, make sure you have a sufficiently sized swap partition.
MAKE SURE YOU KEEP A KNOWN-GOOD KERNEL TO BOOT WITH IN CASE IT DOESN'T WORK. ;-)
(This goes for any kernel build, but doubly for something like this.)
The advice below about *never* mounting filesystems between OS's when one of them is suspended is very good. Suspending means that buffers may not be flushed, etc., so corruption is easy and damaging. Since you said it was your Dad booting into windows, I didn't think moving stuff between the OS's would be that much of a problem..
-P
Rohan.
On 11/05/05, *iphitus* <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote:
Suspend doesnt play nice with a dual boot setup generally.
Dont mount a partition within linux, that you are going to use within windows, it's quite common for hard disk writes to be delayed and such or for the system to cache certain info about filesystems.
I learnt the hard way, i edited a document, in windows, suspended, loaded up linux, wasnt there ........ i hadto shut down windows for it to be visible within linux, same happened vice versa.
Apparently filesystem corruption can be a problem too if doing as i just mentioned. Fun.
OTOH, you dont need initng to have a fast boot, i boot to my arch desktop in a minute flat. i recompiled my kernel with drivers as modules. moved the module loading from /etc/rc.sysinit to a script at /etc/rc.d/modules, and i have x's inittab line set to 'once' so that it and rc.multi start at the same time. I explicitly load usbhid beforehand so that X can have mouse right up, with out any problems.I have gdm autologging in, though theres probably a better way, using xdm or something.
James Rayner < iphitus >
On 5/11/05, Paul Bohme <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote: > ~~~ Rohan ~~~ wrote: > > > Actually, this is a desktop pc... So i need to restart that > > frequently. Also, i poweroff the computer when not needed. And my dad > > uses windows, so it a dual boot hell :) > > > > Hence the need for initng. > > Perhaps not - there's no reason that you can't use the suspend on a > desktop. The cool part is that it keeps your apps where they were. I > regularly work in hour-long stints on the train, then power the machine > down for the walk to the office. I power it up several hours later and > my 6 gvim sessions are still waiting for me. ;-) > > The suspend functionality dumps the current contents of memory to the > swap partition, then powers the machine down completely. You can then > reboot to another OS, leave it off for a year or whatever you like. > When you kick it back into your resume-enabled kernel, it sees the > image, loads it back into memory and you pick up where you left off. > > Even with a different init, this would probably be quite a bit faster > (and from the sound of it a lot less work..) > > OTOH the only caveat I can think of is that there are some drivers that > don't deal well with the suspend, so definitely give it a look to see if > anything you're running currently has issues. > > -P > > > > > Rohan. > > > > On 11/05/05, *Paul Bohme* < [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> <mailto:[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>>> wrote: > > > > ~~~ Rohan ~~~ wrote: > > > > > And there are also some people like me who reboot atleast thrice a > > > day. For them, the change is warranted.. Anyway, lets just wait and > > > watch whether someone does come up with initng packages :) > > > > Yow! Have you considered swsusp2 (software suspend > > http://www.suspend2.net/) <http://www.suspend2.net/%29> <http://www.suspend2.net/%29> if it's a > > laptop? I use this on my Sharp > > Actius MM10 notebook - which doesn't have usable suspend/hibernate > > under > > Linux. While it is a full power down/power up of the machine, it > > returns to functionality much faster than a normal reboot (and I > > keep my > > application state, to boot!) Even if you're rebooting that much > > because > > of dual (duel? ;-)) booting, it's still an effective way to speed > > boots > > as well as keeping your environment. > > > > Then again, all of my other machines get rebooted a few times a > > year (if > > that) unless I get rambunctious with kernel tinkering. ;-) > > > > -P > > > > _______________________________________________ > > arch mailing list > > [email protected] <mailto:[email protected]> <mailto:[email protected] <mailto:[email protected]>> > > http://www.archlinux.org/mailman/listinfo/arch > > < http://www.archlinux.org/mailman/listinfo/arch> > > > > > > > > > > -- > > Rohan Dhruva > > Registered Linux user : #371916 > > Please register yourself at http://counter.li.org/ if you are using > > GNU/Linux. > > > > ------------------------------------------------------------------------
> > > > _______________________________________________ > > arch mailing list > > [email protected] <mailto:[email protected]> > > http://www.archlinux.org/mailman/listinfo/arch > > > > > > _______________________________________________ > arch mailing list > [email protected] <mailto:[email protected]> > http://www.archlinux.org/mailman/listinfo/arch >
-- iphitus - www.iphitus.tk <http://www.iphitus.tk>
_______________________________________________ arch mailing list [email protected] <mailto:[email protected]> http://www.archlinux.org/mailman/listinfo/arch
--
Rohan Dhruva
Registered Linux user : #371916
Please register yourself at http://counter.li.org/ if you are using GNU/Linux.
------------------------------------------------------------------------
_______________________________________________
arch mailing list
[email protected]
http://www.archlinux.org/mailman/listinfo/arch
_______________________________________________ arch mailing list [email protected] http://www.archlinux.org/mailman/listinfo/arch
