Re: [SOLVED] Trouble/bug with initramfs-tools adding encrypted swap partition

2024-04-29 Thread Jonathan Dowland
On Wed Apr 24, 2024 at 1:50 PM BST, Richard wrote: > upon gathering my thoughts for answering to you I found the solution to > this: update-initramfs can't handle the case that crypttab ends in the line > of the last entry and not in a new line character. I think there either > should be a fix for

Re: [SOLVED] Trouble/bug with initramfs-tools adding encrypted swap partition

2024-04-26 Thread John Crawley
On 26/04/2024 12:56, David Wright wrote: On Fri 26 Apr 2024 at 11:27:24 (+0900), John Crawley wrote: Innocent question: what difference does the comment make vs just ending the file with an empty line? Nothing for the computer, but visibility for me. Say you print the file on paper. All you

Last line [was: Re: [SOLVED] Trouble/bug with initramfs-tools adding encrypted swap partition]

2024-04-26 Thread Max Nikulin
On 26/04/2024 10:56, David Wright wrote: Editor examples: a windowed emacs buffer has a ≣ decoration at the extreme left edge after the last line of text, so that you can distinguish an absence of lines from empty lines. Perhaps that decoration should be explicitly enabled. However it reminded

Re: [SOLVED] Trouble/bug with initramfs-tools adding encrypted swap partition

2024-04-25 Thread David Wright
On Fri 26 Apr 2024 at 11:27:24 (+0900), John Crawley wrote: > On 24/04/2024 22:37, David Wright wrote: > > On Wed 24 Apr 2024 at 14:50:36 (+0200), Richard wrote: > > > upon gathering my thoughts for answering to you I found the solution to > > > this: update-initramfs can't handle the case that cry

Re: [SOLVED] Trouble/bug with initramfs-tools adding encrypted swap partition

2024-04-25 Thread John Crawley
On 24/04/2024 22:37, David Wright wrote: On Wed 24 Apr 2024 at 14:50:36 (+0200), Richard wrote: upon gathering my thoughts for answering to you I found the solution to this: update-initramfs can't handle the case that crypttab ends in the line of the last entry and not in a new line character. I

Re: [SOLVED] Trouble/bug with initramfs-tools adding encrypted swap partition

2024-04-24 Thread David Wright
On Wed 24 Apr 2024 at 14:50:36 (+0200), Richard wrote: > upon gathering my thoughts for answering to you I found the solution to > this: update-initramfs can't handle the case that crypttab ends in the line > of the last entry and not in a new line character. I think there either > should be a fix

Re: [SOLVED] Trouble/bug with initramfs-tools adding encrypted swap partition

2024-04-24 Thread Richard
Hi Michel, upon gathering my thoughts for answering to you I found the solution to this: update-initramfs can't handle the case that crypttab ends in the line of the last entry and not in a new line character. I think there either should be a fix for this or at least a way to handle this case with

Re: Trouble/bug with initramfs-tools adding encrypted swap partition

2024-04-24 Thread Richard
Hello Hans, this is exactly what I did. To be precise, I followed this guide [1], with the difference that instead of "crypt" I used the actual name, luks- (Disks thanksfully shows everything relevant). It's not the first time I'm doing this. Yet I experience the errors mentioned. Sure, I'm not usi

Re: Trouble/bug with initramfs-tools adding encrypted swap partition

2024-04-24 Thread Michel Verdier
On 2024-04-23, Richard wrote: > luks-775ea946-6797-4c4d-a042-72924309f3d2 > UUID=775ea946-6797-4c4d-a042-72924309f3d2 /crypto_keyfile.bin > luks,keyscript=/bin/cat > luks-78362aa3-760c-41de-b911-6531b684e3f7 > UUID=78362aa3-760c-41de-b911-6531b684e3f7 /crypto_keyfile.bin > luks,keyscript=/

Re: Trouble/bug with initramfs-tools adding encrypted swap partition

2024-04-23 Thread Hans
Am Dienstag, 23. April 2024, 22:26:17 CEST schrieb Richard: Hi Richard, this is, what I am doing when this happens: 1. booting into a live system (any new is working, I prefer kali-linux) 2. If you are using encrypted filesystems, open it. But you have to name it like it is named in / etc/crypt

Trouble/bug with initramfs-tools adding encrypted swap partition

2024-04-23 Thread Richard
Hi, I've just set up a new computer with Debian Testing. I initially set it up without a swap partition, but I want to add it now. The partition has already been created as a LUKS2 partition, but I can't get update-initramfs to add it so it will automatically be decrypted at boot (both

Re: Bullseye default swap partition size?

2022-01-15 Thread Andrei POPESCU
the Graphical Install option on a Live USB SD. > > > > > > The swap partition size installed on the HD is 1 GB. > > > > > > Buster, etc., used to be about the size of memory, (8 GB in my case,) > > > for the swap partition size. > > > > >

Re: Bullseye default swap partition size?

2022-01-09 Thread Peter Ehlert
On January 9, 2022 3:24:18 PM Charles Curley wrote: On Sun, 9 Jan 2022 22:27:20 +0100 Marco Möller wrote: It might be difficult to start without a swap partition, but then realize over time that you need it and getting headaches from where to free space for it. Gparted, do a little

Re: Bullseye default swap partition size?

2022-01-09 Thread Charles Curley
On Sun, 9 Jan 2022 22:27:20 +0100 Marco Möller wrote: > It might be difficult to start without a swap partition, but then > realize over time that you need it and getting headaches from where > to free space for it. You can always add a swap file later on. Linux will work with bo

Re: Bullseye default swap partition size?

2022-01-09 Thread Charlie
On Sun, 09 Jan 2022 18:57:26 +0100 Hans wrote: > Am Sonntag, 9. Januar 2022, 18:45:22 CET schrieb Tixy: > However, I believe, hibernating will use the swap partition, so I > think, it might be a good idea, to create a swap partition twice as > big as the memory, if you want to use

Re: Bullseye default swap partition size?

2022-01-09 Thread Marco Möller
On 08.01.22 17:54, John Conover wrote: I just installed Bullseye, using default "use entire disk" as the HD configuration from the Graphical Install option on a Live USB SD. The swap partition size installed on the HD is 1 GB. Buster, etc., used to be about the size of memory, (

Re: Bullseye default swap partition size?

2022-01-09 Thread Peter Ehlert
On January 9, 2022 10:02:21 AM Hans wrote: Am Sonntag, 9. Januar 2022, 18:45:22 CET schrieb Tixy: However, I believe, hibernating will use the swap partition, so I think, it might be a good idea, to create a swap partition twice as big as the memory, if you want to use it. Double the 64 GB

Re: Bullseye default swap partition size?

2022-01-09 Thread Hans
Am Sonntag, 9. Januar 2022, 18:45:22 CET schrieb Tixy: However, I believe, hibernating will use the swap partition, so I think, it might be a good idea, to create a swap partition twice as big as the memory, if you want to use it. Of course you can use any other partition for hibernating, but

Re: Bullseye default swap partition size?

2022-01-09 Thread Tixy
> > > > > it's possible not to use swap. Debian installer (in expert mode) shows a > warning if the user doesn't create swap partition. Thanks, that's what I do. (My comment about 4MB minimum was with regard to Windows 2000 ;-) -- Tixy

Re: Bullseye default swap partition size?

2022-01-09 Thread David Wright
On Sun 09 Jan 2022 at 10:14:41 (+), Tixy wrote: > On Sat, 2022-01-08 at 14:24 -0600, David Wright wrote: > [...] > > the alternative is running out of memory, and the OOM killer. > > Obviously I don't know what you run that clogs the system. Most of my > > machines have much less RAM than the t

Re: Bullseye default swap partition size?

2022-01-09 Thread John Conover
Andrew M.A. Cater writes: > On Sat, Jan 08, 2022 at 08:54:43AM -0800, John Conover wrote: > > > > I just installed Bullseye, using default "use entire disk" as the HD > > configuration from the Graphical Install option on a Live USB SD. > > > > The swap

Re: Bullseye default swap partition size?

2022-01-09 Thread Andrew M.A. Cater
On Sat, Jan 08, 2022 at 08:54:43AM -0800, John Conover wrote: > > I just installed Bullseye, using default "use entire disk" as the HD > configuration from the Graphical Install option on a Live USB SD. > > The swap partition size installed on the HD is 1 GB. > >

Re: Bullseye default swap partition size?

2022-01-09 Thread Georgi Naplatanov
rt mode) shows a warning if the user doesn't create swap partition. On installed system swap can be turned off with swapoff command and swap partition can be removed from /etc/fstab manually. Kind regards Georgi

Re: Bullseye default swap partition size?

2022-01-09 Thread Tixy
On Sat, 2022-01-08 at 14:24 -0600, David Wright wrote: [...] > the alternative is running out of memory, and the OOM killer. > Obviously I don't know what you run that clogs the system. Most of my > machines have much less RAM than the two mentioned, though they get > less memory-intensive use nowa

Re: Bullseye default swap partition size?

2022-01-08 Thread David Wright
the Graphical Install option on a Live USB SD. > >> > >> The swap partition size installed on the HD is 1 GB. > >> > >> Buster, etc., used to be about the size of memory, (8 GB in my case,) > >> for the swap partition size. > >> > >> Is th

Re: Bullseye default swap partition size?

2022-01-08 Thread Cindy Sue Causey
On 1/8/22, Georgi Naplatanov wrote: > On 1/8/22 18:54, John Conover wrote: >> >> I just installed Bullseye, using default "use entire disk" as the HD >> configuration from the Graphical Install option on a Live USB SD. >> >> The swap partition size ins

Re: Bullseye default swap partition size?

2022-01-08 Thread Tixy
On Sat, 2022-01-08 at 19:18 +0200, Georgi Naplatanov wrote: > On 1/8/22 18:54, John Conover wrote: > > > > I just installed Bullseye, using default "use entire disk" as the HD > > configuration from the Graphical Install option on a Live USB SD. > > > &g

Re: Bullseye default swap partition size?

2022-01-08 Thread Georgi Naplatanov
On 1/8/22 18:54, John Conover wrote: > > I just installed Bullseye, using default "use entire disk" as the HD > configuration from the Graphical Install option on a Live USB SD. > > The swap partition size installed on the HD is 1 GB. > > Buster, etc., used to be

Bullseye default swap partition size?

2022-01-08 Thread John Conover
I just installed Bullseye, using default "use entire disk" as the HD configuration from the Graphical Install option on a Live USB SD. The swap partition size installed on the HD is 1 GB. Buster, etc., used to be about the size of memory, (8 GB in my case,) for the swap partition

Re: Help! Borked suspend/hibernate after adding swap partition

2019-12-14 Thread Pascal Hambourg
Le 14/12/2019 à 16:35, Ottavio Caruso a écrit : On Sat, 14 Dec 2019 at 13:47, Pascal Hambourg wrote: Le 14/12/2019 à 14:20, Ottavio Caruso a écrit : I've also added: GRUB_CMDLINE_LINUX_DEFAULT="resume d823f1ee-2e16-4327-b0c1-639f377002bb" Wrong syntax. It should be "resume=UUID=d823...".

Re: Help! Borked suspend/hibernate after adding swap partition

2019-12-14 Thread Ottavio Caruso
On Sat, 14 Dec 2019 at 13:47, Pascal Hambourg wrote: > > Le 14/12/2019 à 14:20, Ottavio Caruso a écrit : > (...) > > I've also added: > > GRUB_CMDLINE_LINUX_DEFAULT="resume d823f1ee-2e16-4327-b0c1-639f377002bb" > > Wrong syntax. It should be "resume=UUID=d823...". > This will override the RESUME

Re: Help! Borked suspend/hibernate after adding swap partition

2019-12-14 Thread Pascal Hambourg
Le 14/12/2019 à 14:20, Ottavio Caruso a écrit : $ sudo update-initramfs -u -k all update-initramfs: Generating /boot/initrd.img-4.9.0-11-amd64 I: The initramfs will attempt to resume from /dev/sda7 I: (UUID=d823f1ee-2e16-4327-b0c1-639f377002bb) I: Set the RESUME variable to override this. (...)

Re: Help! Borked suspend/hibernate after adding swap partition

2019-12-14 Thread Pascal Hambourg
Le 14/12/2019 à 12:26, Ottavio Caruso a écrit : $ sudo update-initramfs -u -k all update-initramfs: Generating /boot/initrd.img-4.9.0-11-amd64 I: The initramfs will attempt to resume from /dev/sda7 I: (UUID=d823f1ee-2e16-4327-b0c1-639f377002bb) I: Set the RESUME variable to override this. I'll

Re: Help! Borked suspend/hibernate after adding swap partition

2019-12-14 Thread Pascal Hambourg
Le 14/12/2019 à 10:43, Alexander V. Makartsev a écrit : Simple swap partition creation is not enough for hibernation to work, it also has to be configured in initrd. [2] Despite the file name it is no longer an initrd but an initramfs. https://wiki.debian.org/Hibernation

Re: Help! Borked suspend/hibernate after adding swap partition

2019-12-14 Thread Alexander V. Makartsev
oment, the only workaround is to disable swap before suspending. > > I have the latest kernel. Where do I start troubleshooting? Any ideas? > Best way is to start here. [1] Dealing with powerstates\hibernation could be complicated, because it depends on many factors. Simple swap

Re: kFreeBSD: can't create swap partition

2014-07-23 Thread berenger . morel
hink. I should try the same with regular Linux kernel to check this hypothesis). Now, when coming to the partition creation, it seems that it is unable to create the swap partition. I will probably try to continue without one, but in the meantime, if someone have any clue about the problem, it wi

Re: kFreeBSD: can't create swap partition

2014-07-23 Thread berenger . morel
seems that it is unable to create the swap partition. I will probably try to continue without one, but in the meantime, if someone have any clue about the problem, it will interest me. The log (TTY4) if filled with messages like this: Processing event '!system=DEVFS subsystem=CDEV type=CREA

kFreeBSD: can't create swap partition

2014-07-23 Thread berenger . morel
n one installation so I'll find them anew later to report them) and I did it. I also tried to do a remote installation through ssh for better interface (virtualbox is horrible on that) but the installer wa Now, when coming to the partition creation, it seems that it is unable to creat

Re: Question regarding swap partition when installing Linux Mint Debian.

2014-02-03 Thread Gilles Mocellin
Le 03/02/2014 12:50, Chen Wei a écrit : On Mon, Feb 03, 2014 at 02:38:16AM -0800, Rick Thomas wrote: For example, if you decide to put /tmp in a ramdisk, you may want to allocate a swap partition that's much larger than your RAM as backup in case somebody needs *lots* of space in /tmp. +

Re: Question regarding swap partition when installing Linux Mint Debian.

2014-02-03 Thread Scott Ferguson
On 03/02/14 23:48, Chen Wei wrote: > On Mon, Feb 03, 2014 at 11:03:19PM +1100, Scott Ferguson wrote: >> As long as the swap file is not sparse. >> > > Tried *fallocate* to create swapfile then swapon report error, something > like: > > swapon: /path2swapfile : swapon failed: Invalid argument > fa

Re: Question regarding swap partition when installing Linux Mint Debian.

2014-02-03 Thread Chen Wei
On Mon, Feb 03, 2014 at 11:03:19PM +1100, Scott Ferguson wrote: > As long as the swap file is not sparse. > Tried *fallocate* to create swapfile then swapon report error, something like: swapon: /path2swapfile : swapon failed: Invalid argument Only figured it out several cups of tea and google-

Re: Question regarding swap partition when installing Linux Mint Debian.

2014-02-03 Thread Nuno Magalhães
On Mon, Feb 3, 2014 at 11:50 AM, Chen Wei wrote: > Besides, it > is easier to change the size of a swapfile than size of a swap > partition. How about with LVM? -- "On the internet, nobody knows you're a dog." -- To UNSUBSCRIBE, email to debian-user-requ...@lists.de

Re: Question regarding swap partition when installing Linux Mint Debian.

2014-02-03 Thread Scott Ferguson
On 03/02/14 22:50, Chen Wei wrote: > On Mon, Feb 03, 2014 at 02:38:16AM -0800, Rick Thomas wrote: >> For example, if you decide to put /tmp in a ramdisk, you may want to >> allocate a swap partition that's much larger than your RAM as backup >> in case somebody nee

Re: Question regarding swap partition when installing Linux Mint Debian.

2014-02-03 Thread Chen Wei
On Mon, Feb 03, 2014 at 02:38:16AM -0800, Rick Thomas wrote: > For example, if you decide to put /tmp in a ramdisk, you may want to > allocate a swap partition that's much larger than your RAM as backup > in case somebody needs *lots* of space in /tmp. +1 for the /tmp example. >

Re: Question regarding swap partition when installing Linux Mint Debian.

2014-02-03 Thread Nuno Magalhães
On Mon, Feb 3, 2014 at 10:38 AM, Rick Thomas wrote: > There is logic for having at least as much swap as you have RAM (in other > words, a multiplier of 1.0) because, when the system panics, it may want to > make a copy of RAM to the swap space for later analysis. Or if the system is a laptop a

Re: Question regarding swap partition when installing Linux Mint Debian.

2014-02-03 Thread Rick Thomas
an anyone > tell me how big should the swap partition be? > > I've read online that the size of the swap partition should be determined by > the memory. > I've therefore copypasted from my terminal below: > > free -m > total used free

Re: Question regarding swap partition when installing Linux Mint Debian.

2014-02-01 Thread Doug
hould the swap partition be? I've read online that the size of the swap partition should be determined by the memory. I've therefore copypasted from my terminal below: free -m total used free shared buffers cached Mem: 7871 1546

Question regarding swap partition when installing Linux Mint Debian.

2014-02-01 Thread Lauge Andersen
Hi. I intend to install Linux Mint Debian and give up on the Ubuntu based distros. However when I go through the installer, I get to the point where I'm supposed to choose the size of the different partitions, but can anyone tell me how big should the swap partition be? I've r

Re: Swap partition vs swap file

2012-11-22 Thread Darac Marjal
When setting up Linux systems, I've always set up a separate swap > partition. I was reading a few days ago that apparently there's a nifty > way to do like Windows does (that alone should probably be good enough > reason to *not* do it... :-) ) and set up a swap *file* instead.

Re: Swap partition vs swap file

2012-11-21 Thread Rob Owens
When setting up Linux systems, I've always set up a separate swap > partition. I was reading a few days ago that apparently there's a nifty > way to do like Windows does (that alone should probably be good enough > reason to *not* do it... :-) ) and set up a swap *file* instead.

Re: Swap partition vs swap file

2012-11-21 Thread Claudius Hubig
Hello David, David Guntner wrote: > swap *file* instead. > > So, anyone? Pros & cons? Is there any reason to prefer one over the other? Are you sure you need swap at all? If so, will your server still deliver acceptable performance if it is actively swapping? If yes, then the performance of t

Re: Swap partition vs swap file

2012-11-21 Thread Kelly Clowers
wrote: > Hi all, > > While still trying to figure out why Thunderbird isn't working so well > with Dovecot, I figured I'd move onto another mystery; thought I'd seek > out some opinions here. :-) > > When setting up Linux systems, I've always set up a separate s

Swap partition vs swap file

2012-11-21 Thread David Guntner
Hi all, While still trying to figure out why Thunderbird isn't working so well with Dovecot, I figured I'd move onto another mystery; thought I'd seek out some opinions here. :-) When setting up Linux systems, I've always set up a separate swap partition. I was reading

Re: swap-partition

2012-11-03 Thread Klaus Jantzen
Klaus Jantzen wrote: Hello, on my machine I have two HDDs with Windows, Debian and another Linux system. Because of the two Linux systems I have two swap partitions. As I want to remove the other Linux I want to get rid of one of the swap partitions. How can I find out which swap partition

Re: swap-partition

2012-11-03 Thread Pedro Eugênio Rocha
ems I have two swap partitions. > > > > As I want to remove the other Linux I want to get rid of one of the swap > > partitions. > > How can I find out which swap partition is used by Debian and by the > > other Linux, respectively? > > > > With 'df'

Re: swap-partition

2012-11-02 Thread Karl E. Jorgensen
of one of the swap > partitions. > How can I find out which swap partition is used by Debian and by the > other Linux, respectively? > > With 'df' I only see the file systems mounted e.g. / (root) and /home of > Debian but not the swap partition. Actually, even with two

Re: swap-partition

2012-11-02 Thread Tom H
titions. > How can I find out which swap partition is used by Debian and by the other > Linux, respectively? > > With 'df' I only see the file systems mounted e.g. / (root) and /home of > Debian but not the swap partition. "blkid" and "grep swap /

swap-partition

2012-11-02 Thread Klaus Jantzen
Hello, on my machine I have two HDDs with Windows, Debian and another Linux system. Because of the two Linux systems I have two swap partitions. As I want to remove the other Linux I want to get rid of one of the swap partitions. How can I find out which swap partition is used by Debian and by

Re: Installing with no swap partition

2009-07-28 Thread Stefan Monnier
> Question 1: In the Debian manual it says a swap partition isn't needed but > recommended for efficiency. Anyone else installed without swap and had > success? Is my installation a ticking time bomb if I don't have a swap > partition? "Recommended for eff

[SOLVED] Re: Installing with no swap partition

2009-07-27 Thread Mark
Thanks for the help! Mark On Mon, Jul 27, 2009 at 2:46 PM, Boyd Stephen Smith Jr. < b...@iguanasuicide.net> wrote: > In <631fe46c0907271429n387f32bp42606b1755eae...@mail.gmail.com>, Mark > wrote: > >I like this idea of using a swap file instead of partition (for both my > >Debian and Ubuntu mach

Re: Installing with no swap partition

2009-07-27 Thread Boyd Stephen Smith Jr.
In <631fe46c0907271429n387f32bp42606b1755eae...@mail.gmail.com>, Mark wrote: >I like this idea of using a swap file instead of partition (for both my >Debian and Ubuntu machines). Is the following code correct for creating > the swap file (assuming 1 GB swap file size)? > ># dd if=/dev/zero of=/sw

Re: Installing with no swap partition

2009-07-27 Thread Mark
;, Mark > wrote: > >A couple of questions (background is below the questions if you want to > >read): > > > >Question 1: In the Debian manual it says a swap partition isn't needed but > >recommended for efficiency. Anyone else installed without swap and had &g

Re: Installing with no swap partition

2009-07-27 Thread Jochen Schulz
Mark: > > Question 1: In the Debian manual it says a swap partition isn't needed but > recommended for efficiency. Anyone else installed without swap and had > success? Is my installation a ticking time bomb if I don't have a swap > partition? I ran my previous lap

Re: Installing with no swap partition

2009-07-27 Thread Boyd Stephen Smith Jr.
In <631fe46c0907271347g341e048udf74d5ee643e1...@mail.gmail.com>, Mark wrote: >A couple of questions (background is below the questions if you want to >read): > >Question 1: In the Debian manual it says a swap partition isn't needed but >recommended for efficiency. Any

Installing with no swap partition

2009-07-27 Thread Mark
A couple of questions (background is below the questions if you want to read): Question 1: In the Debian manual it says a swap partition isn't needed but recommended for efficiency. Anyone else installed without swap and had success? Is my installation a ticking time bomb if I don't h

Re: label swap partition

2009-02-19 Thread Marc Auslander
The last posting asking about previous windows use. Also, blkid thought it was ntfs. This made me guess there was a stale superblock from the previous NTFS use that was confusing linux. So I took the swap partition off line, used dd to zero the beginning of it, and did mkswap again. All is now

Re: label swap partition

2009-02-19 Thread Ron Johnson
On 02/19/2009 02:10 AM, Adrian Levi wrote: [snip] Why do you want 2 swap partitions? One on sda1 and another on hda1. Spread the pain. Accessing two "small" swap partitions each thru a different cable gives you better throughput than one huge swap file thru a single cable. -- Ron Johnson,

Re: label swap partition

2009-02-19 Thread Adrian Levi
2009/2/19 Marc Auslander : > Adrian Levi writes: > It follows. /dev/hda1 looks funny, doesn't it? Like no UUID. How do > I fix? > > > fdisk -l /dev/hda > > Disk /dev/hda: 500.1 GB, 500107862016 bytes > 255 heads, 63 sectors/track, 60801 cylinders > Units = cylinders of 16065 * 512 = 8225280 by

Re: label swap partition

2009-02-18 Thread Marc Auslander
Adrian Levi writes: > 2009/2/18 : > > Adrian Levi writes: > > > >> 2009/2/18 : > >> > I'm trying to prepare my etch system for upgrade, and am converting to > >> > labels in fstab. > >> > > >> > I tried t

Re: label swap partition

2009-02-18 Thread Adrian Levi
2009/2/18 : > Adrian Levi writes: > >> 2009/2/18 : >> > I'm trying to prepare my etch system for upgrade, and am converting to >> > labels in fstab. >> > >> > I tried to label my swap partition (which is swap type in part table) by >>

Re: label swap partition

2009-02-18 Thread marcslists
Adrian Levi writes: > 2009/2/18 : > > I'm trying to prepare my etch system for upgrade, and am converting to > > labels in fstab. > > > > I tried to label my swap partition (which is swap type in part table) by > > doing > > mkswap -L rootswap

Re: label swap partition

2009-02-17 Thread Adrian Levi
2009/2/18 : > I'm trying to prepare my etch system for upgrade, and am converting to > labels in fstab. > > I tried to label my swap partition (which is swap type in part table) by doing > mkswap -L rootswap /dev/hda1 (the current dev name of my swap partition) > > but

label swap partition

2009-02-17 Thread marcslists
I'm trying to prepare my etch system for upgrade, and am converting to labels in fstab. I tried to label my swap partition (which is swap type in part table) by doing mkswap -L rootswap /dev/hda1 (the current dev name of my swap partition) but swapon -L rootswap says it can't find the

Re: swap partition question?

2008-05-05 Thread NN_il_Confusionario
> * From: ISHWAR RATTAN <[EMAIL PROTECTED]> >I have a 1Gb primary swap partition (/dev/sda1) >and fdisk -l shows that. fdisk read the partition table from the disk, but the kernel data can be seen in /proc/partitions (it is read at boot time) > # swapon /dev/sda1 >says

Re: swap partition question?

2008-05-05 Thread Jochen Schulz
ISHWAR RATTAN: > > I have a 1Gb primary swap partition (/dev/sda1) > and fdisk -l shows that. But the command > > # swapon /dev/sda1 > > says that ..:/dev/sda1: is invalid argument. Did you create a "swap filesystem" on the partition? # mkswap /dev/sda1 &&a

Re: swap partition question?

2008-05-05 Thread Ron Johnson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 05/05/08 08:17, ISHWAR RATTAN wrote: > > I have a 1Gb primary swap partition (/dev/sda1) > and fdisk -l shows that. But the command > > # swapon /dev/sda1 > > says that ..:/dev/sda1: is invalid argument. > I made an

swap partition question?

2008-05-05 Thread ISHWAR RATTAN
I have a 1Gb primary swap partition (/dev/sda1) and fdisk -l shows that. But the command # swapon /dev/sda1 says that ..:/dev/sda1: is invalid argument. I made an entry in /etc/fstab (too): /dev/sda1 none swap sw 0 0 but swapon -a still syays that it is invalid argument! Any pointers

Re: hibernate and swap partition size (newbie question)

2008-02-26 Thread Kamaraju S Kusumanchi
what I did when I found out that my RAM size >> is larger than my swap partition. >> > > Please correct me if I'm wrong, but I think the options for resizing > partitions without losing data is pretty limited. I recently went > through a round of resizing, and whil

Re: hibernate and swap partition size (newbie question)

2008-02-26 Thread Kamaraju S Kusumanchi
Jimmy Wu wrote: > I always thought resizing or doing any partition editing carried some > risk of losing data (ie no guarantees), but perhaps ext3 is different. > The "no guarantees" disclaimer goes with pretty much all of the GPL software. The users always have to make backups. No software is 1

Re: hibernate and swap partition size (newbie question)

2008-02-26 Thread Jimmy Wu
On Fri, Feb 22, 2008 at 12:15 PM, Jimmy Wu <[EMAIL PROTECTED]> wrote: > Just as an experiment, I did a sudo hibernate -v3 > hibernate.out, and > it says that it was unable to unload nvidia and aborts hibernation > (see attached file). So I guess pm-hibernate kind of went ahead and > shut down

Re: hibernate and swap partition size (newbie question)

2008-02-22 Thread Tyler Smith
RAM size is larger > than my swap partition. > Please correct me if I'm wrong, but I think the options for resizing partitions without losing data is pretty limited. I recently went through a round of resizing, and while I could move swap into adjacent unused space, I could only alter the

Re: hibernate and swap partition size (newbie question)

2008-02-22 Thread Jimmy Wu
On Fri, Feb 22, 2008 at 7:52 AM, Kamaraju S Kusumanchi <[EMAIL PROTECTED]> wrote: > Jimmy Wu wrote: > > >>From what I've read online, I get the general idea that in order to be > > able to hibernate/suspend to disk properly, the swap partition has to > >

Re: hibernate and swap partition size (newbie question)

2008-02-22 Thread Jimmy Wu
On Fri, Feb 22, 2008 at 1:07 AM, Chris Riley <[EMAIL PROTECTED]> wrote: > Is High memory support turned on in the kernel? This could explain why > hibernation is working whilst you have 2gig's in the system. > > Processor type and features > -> High Memory Support > I remember seeing suc

Re: hibernate and swap partition size (newbie question)

2008-02-22 Thread Kamaraju S Kusumanchi
Jimmy Wu wrote: >>From what I've read online, I get the general idea that in order to be > able to hibernate/suspend to disk properly, the swap partition has to > be big enough to hold all of the RAM inside it, right? > > Is it possible to hibernate if my swap partition i

Re: hibernate and swap partition size (newbie question)

2008-02-22 Thread Sudev Barar
On 22/02/2008, Bob Proulx <[EMAIL PROTECTED]> wrote: > Jimmy Wu wrote: > > From what I've read online, I get the general idea that in order to be > > able to hibernate/suspend to disk properly, the swap partition has to > > be big enough to hold all of the RAM i

Re: hibernate and swap partition size (newbie question)

2008-02-21 Thread Bob Proulx
Jimmy Wu wrote: > From what I've read online, I get the general idea that in order to be > able to hibernate/suspend to disk properly, the swap partition has to > be big enough to hold all of the RAM inside it, right? > > Is it possible to hibernate if my swap partition is s

Re: hibernate and swap partition size (newbie question)

2008-02-21 Thread Chris Riley
ea that in order > to be > > > > able to hibernate/suspend to disk properly, the swap partition has > to > > > > be big enough to hold all of the RAM inside it, right? > > [...] > > > > > Yes, you'll need to have the same sized swap as

Re: hibernate and swap partition size (newbie question)

2008-02-21 Thread Jimmy Wu
be > > > able to hibernate/suspend to disk properly, the swap partition has to > > > be big enough to hold all of the RAM inside it, right? > [...] > > > Yes, you'll need to have the same sized swap as RAM, although from > > memory there is a way

Re: hibernate and swap partition size (newbie question)

2008-02-21 Thread Jimmy Wu
On Thu, Feb 21, 2008 at 11:47 PM, Rich Healey <[EMAIL PROTECTED]> wrote: [...] > Jimmy Wu wrote: > >>From what I've read online, I get the general idea that in order to be > > able to hibernate/suspend to disk properly, the swap partition has to > > be big e

hibernate and swap partition size (newbie question)

2008-02-21 Thread Jimmy Wu
>From what I've read online, I get the general idea that in order to be able to hibernate/suspend to disk properly, the swap partition has to be big enough to hold all of the RAM inside it, right? Is it possible to hibernate if my swap partition is smaller than my RAM? I have 2 GB of

Re: Where do you put your swap partition?

2008-02-04 Thread Nate Duehr
On Jan 26, 2008, at 3:56 AM, Mike Kuhar wrote: I think that's quite reasonable. -mike (Sorry to be late to the show.) All my systems run from a single disk drive. I put the swap partition as close to the middle of the disk on the theory that that'll minimize seek time for a

RE: Where do you put your swap partition?

2008-01-26 Thread Mike Kuhar
I think that's quite reasonable. -mike (Sorry to be late to the show.) All my systems run from a single disk drive. I put the swap partition as close to the middle of the disk on the theory that that'll minimize seek time for a function I want to run as quickly as possible

Re: Where do you put your swap partition?

2008-01-25 Thread Max Hyre
(Sorry to be late to the show.) All my systems run from a single disk drive. I put the swap partition as close to the middle of the disk on the theory that that'll minimize seek time for a function I want to run as quickly as possible. Is this reasonable? -- Best w

Re: Where do you put your swap partition?

2008-01-25 Thread Michelle Konzack
Am 2008-01-18 23:48:28, schrieb ??. : > I don't think it would make too much a difference on modern HDs. Most > read-write > will occur in user's home directories anyways - loading binaries and libes > alright, but the data and config files come from the home-d

Re: Where do you put your swap partition?

2008-01-25 Thread Michelle Konzack
Am 2008-01-18 14:18:50, schrieb [EMAIL PROTECTED]: > I like to put mine on a disk. > > Just kidding. My actual question is, should I put any thought into > where on the disk I place the swap partition? At the beginning of the > disk? At the end? I thought it might be best to

Re: Where do you put your swap partition?

2008-01-24 Thread Brian McKee
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 24-Jan-08, at 12:40 PM, Douglas A. Tutty wrote: On Thu, Jan 24, 2008 at 08:50:26AM -0500, Brian McKee wrote: On 23-Jan-08, at 9:09 PM, Ron Johnson wrote: On 01/23/08 19:44, Douglas A. Tutty wrote: The last time I had an actual real-live VT2

Re: Where do you put your swap partition?

2008-01-24 Thread Douglas A. Tutty
On Thu, Jan 24, 2008 at 08:50:26AM -0500, Brian McKee wrote: > On 23-Jan-08, at 9:09 PM, Ron Johnson wrote: > >On 01/23/08 19:44, Douglas A. Tutty wrote: > >The last time I had an actual real-live VT220 on my desk was 1991. > > I've got a bunch of them here on a skid if you want another one :-) >

Re: Where do you put your swap partition?

2008-01-24 Thread Dave Sherohman
On Wed, Jan 23, 2008 at 09:28:06PM -0500, Douglas A. Tutty wrote: > On Wed, Jan 23, 2008 at 08:09:39PM -0600, Ron Johnson wrote: > > On 01/23/08 19:44, Douglas A. Tutty wrote: > > > On Wed, Jan 23, 2008 at 07:17:50PM -0600, Ron Johnson wrote: > > >> Have you yet bitched and complained how kids toda

Re: Where do you put your swap partition?

2008-01-24 Thread Brian McKee
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 23-Jan-08, at 9:09 PM, Ron Johnson wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 01/23/08 19:44, Douglas A. Tutty wrote: On Wed, Jan 23, 2008 at 07:17:50PM -0600, Ron Johnson wrote: I'm really gettin' old! Have you yet bitched and

Re: Where do you put your swap partition?

2008-01-23 Thread Ron Johnson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 01/23/08 20:28, Douglas A. Tutty wrote: > On Wed, Jan 23, 2008 at 08:09:39PM -0600, Ron Johnson wrote: >> On 01/23/08 19:44, Douglas A. Tutty wrote: >>> On Wed, Jan 23, 2008 at 07:17:50PM -0600, Ron Johnson wrote: Have you yet bitched and compl

  1   2   3   >