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 <[email protected]>

> 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 <[email protected]>
>
>> 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 <[email protected]>
>>
>>> 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:          [email protected]
>>> Internet:       http://people.progress-technologies.net/~daniel.baumann/
>>>
>>>
>>> --
>>> To UNSUBSCRIBE, email to [email protected]
>>> with a subject of "unsubscribe". Trouble? Contact
>>> [email protected]
>>> Archive:
>>> http://lists.debian.org/[email protected]
>>>
>>>
>>
>

Reply via email to