[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Swapfile on a NTFS partition. Posible, doable or already done?



In the previous mail I forgot to actualy mount the partition to /mnt. So before all that, 

sudo mount /dev/sdxx  /mnt

where xx is the host partition for your future swap file (like /dev/sdb2). It looks like NTFS works just fine.


2013/12/11 Marcos Núñez <silver94@gmail.com>
Update: not only doable, but done.

This would be a way:

sudo dd if=/dev/zero of=/mnt/512MiB.swap bs=1024 count=524288
sudo chmod 600 /mnt/512MiB.swap
sudo mkswap /mnt/512MiB.swap
sudo swapon /mnt/512Mib.swap

I didn't know that one could mount and unmount swap so easily with the system already running. I understand now why this is low priority, since it can be done outside live-build.

I know I didn't exactly discovered America here, but anyways, I hope it's useful for those like me who had no clue.


2013/12/11 Marcos Núñez <silver94@gmail.com>
Would this imply changes to the scripts or something more complex? To be short: is it already possible to create a swapfile on an NTFS partition? As far as I understand, it is not... and if so, I believe this would be beyond live-debian


2013/12/11 Daniel Baumann <daniel.baumann@progress-technologies.net>
On 12/11/2013 08:21 PM, Marcos Núñez wrote:
> Is there any way to create a swapfile in an NTFS partition (to be chosen
> at boot time) and to be deleted during shutdown?

there's initial code in live-boot lingering around for a couple of
years. patches welcome to finish it up.

--
Address:        Daniel Baumann, Donnerbuehlweg 3, CH-3012 Bern
Email:          daniel.baumann@progress-technologies.net
Internet:       http://people.progress-technologies.net/~daniel.baumann/


--
To UNSUBSCRIBE, email to debian-live-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: [🔎] 52A8BD50.4030100@progress-technologies.net" target="_blank">http://lists.debian.org/[🔎] 52A8BD50.4030100@progress-technologies.net





Reply to: