"Taong Bahay" <[EMAIL PROTECTED]> writes:

> On 7/18/07, Jay Jesus Amorin <[EMAIL PROTECTED]> wrote:
>> Taong Bahay wrote:
>> > I was playing with the "hibernate" button of my Ubuntu desktop. I was
>> > surprised when the computer turned off, and when I turned it on again
>> > I was right where I started. Cool, even if it wasn't really instant
>> > on. However, I'm worried. Where does Ubuntu and other Linux distros
>> > store the hibernate info?
>> I depends on how you configure hibernate, either it will store its info
>> on the swap or on a file, i think by default it uses swap.
>> > Is it in the swap partition? I have two hard
>> > disks SATA (boot drive) and PATA, and I want to remove PATA. Will this
>> > not corrupt the data on my computer if I removed the disk where the
>> > hibernate file is?
>> >
>> you've got to check first on whether you put your swap partition on your
>> PATA or SATA.
>
> Ubuntu configured two swap partitions, the one I picked for the
> install (SATA) and also recognized the old swap (PATA). Does this mean
> the resume info is stored on two disks? I don't see any resume= line
> in grub/menu.lst. So I want to know what is the Ubuntu default.

You can check which swap partition was configured to be the resume
partition by looking in /etc/initramfs-tools/conf.d/resume -- this is
used by the tools to build the proper initrd image, which should know
what disk partition to look at to resume.

It's presented via a partition UUID, which can be translated to the
standard dev node by looking at /dev/disk/by-uuid/, which contains
symlinks from the UUID to the /dev node.


-- 
JM Ibanez
Software Architect
Orange & Bronze Software Labs, Ltd. Co.

[EMAIL PROTECTED]
http://software.orangeandbronze.com/
_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
[email protected] (#PLUG @ irc.free.net.ph)
Read the Guidelines: http://linux.org.ph/lists
Searchable Archives: http://archives.free.net.ph

Reply via email to