Results 1 to 10 of 19

Thread: resizing knoppix-data.img

Threaded View

  1. #5
    Senior Member registered user
    Join Date
    Dec 2009
    Posts
    423
    Quote Originally Posted by klaus2008 View Post
    But if the persistent image is encrypted I think the only way to get a larger persistent image is to create a new persistent image and copy the data from the old filesystem to the new one.
    This is a very old thread, I thought I just want to post a follow up to this :-

    To increase the size of an encrypted image, the following can be done :-

    # dd if=/dev/zero bs=1M count=100 >> knoppix-data.aes
    ( same as the non-encrypted one )
    # echo 'password' | losetup -e aes -p 0 /dev/loop6 knoppix-data.aes
    ( Now you can use /dev/loop6 for your resizing purposes )
    # e2fsck -fy /dev/loop6
    # resize2fs /dev/loop6
    Once you are done, destroy the loop device association of knoppix-data.aes :-
    # losetup -d /dev/loop6

    Cheers
    Last edited by kl522; 05-24-2010 at 07:22 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


BUNDLE Apple MacBook Air 13 inch CORE i7 8GB RAM 256GB SSD + EXTRAS picture

BUNDLE Apple MacBook Air 13 inch CORE i7 8GB RAM 256GB SSD + EXTRAS

$295.00



Dell 9020 Optiplex Micro-Intel Core i5 - 1TB SSD 8GB RAM Window 11 picture

Dell 9020 Optiplex Micro-Intel Core i5 - 1TB SSD 8GB RAM Window 11

$119.49



HP Z420 Workstation Xeon E5-2690 v2 3ghz 10-Cores 64gb  240gb SSD  1TB  Win10 picture

HP Z420 Workstation Xeon E5-2690 v2 3ghz 10-Cores 64gb 240gb SSD 1TB Win10

$199.99



HP Z2 Mini G5 i7-10700 8-Core 32GB 512GB SSD Win 11 Pro Wifi AC Adapter picture

HP Z2 Mini G5 i7-10700 8-Core 32GB 512GB SSD Win 11 Pro Wifi AC Adapter

$449.00



24

24" APPLE iMAC M1 4.5K RETINA 1TB SSD 16GB RAM 8-CORE 8-CORE GPU YELLOW TOUCH ID

$1595.00



NEW OEM Tray AMD Ryzen 7 5700X 8-Core 16-Thread 3.4GHz Socket AM4 CPU Processor picture

NEW OEM Tray AMD Ryzen 7 5700X 8-Core 16-Thread 3.4GHz Socket AM4 CPU Processor

$149.00



Intel - Core i5-13600K 13th Gen 14 cores 6 P-cores + 8 E-cores 24M Cache, 3.5... picture

Intel - Core i5-13600K 13th Gen 14 cores 6 P-cores + 8 E-cores 24M Cache, 3.5...

$283.99



Intel Xeon E5-2667 V2 LGA 2011 3.3GHz 8 Core 130W 25MB 8GT/s CPU Processor picture

Intel Xeon E5-2667 V2 LGA 2011 3.3GHz 8 Core 130W 25MB 8GT/s CPU Processor

$24.00



Intel NUC Core i7 8th Gen - Mini PC Kit BOXNUC8I7BEH1 picture

Intel NUC Core i7 8th Gen - Mini PC Kit BOXNUC8I7BEH1

$310.00



Dell OptiPlex 3060 MT Core i5 8th Gen 32GB Ram 1TB SSD Windows 11 Computer picture

Dell OptiPlex 3060 MT Core i5 8th Gen 32GB Ram 1TB SSD Windows 11 Computer

$299.00