-
Knoppix 6 liveusb with persistent /home : how to resize?
hello everyone,
I'm running knoppix 6 adriane on my eee-pc 701 netbook, booting from an SDHC card with persistent data ; I'm really happy with this experience but... at 1st boot knoppix proposed to allocate free SDHC place for the persistent data. This worked well (even if you have to be patient when the installer allocates space), but I was too cautious and so the allocated 256 mb are already full
Is it possible to resize the space for persistent data? and how?
thanks for your help
-
noone?
ok maybe I can adapt this link to knoppix 6 :
http://www.mail-archive.com/cwe-lug@.../msg01327.html
(it seems I have to resize "knoppix.img")
edit : I did succeed with the link above ; search for "knoppix-data.img" (instead of "knoppix.img") in the folder "knoppix"
success from another debian based distro (ubuntu ibex) after having mounted my knoppix partition from there ; no persistent data lost in the process.
from ubuntu : if your knoppix partition is sdb1 : (in the example, you add 256MB to your persistent data)
Code:
sudo su
mkdir /mnt/flash
mount /dev/sdb1 /mnt/flash
dd if=/dev/zero bs=1M count=256 >> /mnt/flash/knoppix/knoppix-data.img
e2fsck -pf /mnt/flash/knoppix/knoppix-data.img
resize2fs /mnt/flash/knoppix/knoppix-data.img
unmount and/or reboot (unmount because I've used a second pc where i've plugged my flash drive in)
done
you can do it from knoppix, but then you would have to boot "live" WITHOUT persistent data first, then type the commands in the console/terminal.
Similar Threads
-
By bucodi in forum General Support
Replies: 2
Last Post: 04-19-2005, 10:05 PM
-
By amador in forum General Support
Replies: 3
Last Post: 03-25-2005, 06:57 PM
-
By drg55 in forum General Support
Replies: 2
Last Post: 12-30-2003, 01:15 AM
-
By dboffin in forum General Support
Replies: 3
Last Post: 03-19-2003, 07:20 PM
-
By Phredd in forum Customising & Remastering
Replies: 4
Last Post: 12-22-2002, 02:49 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
-
Forum Rules

Intel Core i7-7700 3.6 GHz 8 GT/s LGA 1151 Desktop CPU Processor SR338
$39.99

LOT OF 4 Intel Core i5-10505 6-Core 3.2GHz SRH38 CPU Processor
$349.95

READ Intel Core Ultra 9 285 Processor LGA 1851
$449.99

Corsair HX1500i 1500W 80+ Platinum Fully Modular ATX 3.1 PSU Certified Refurb
$207.99

Intel Core i5-12600 3.30 GHz Processor CPU
$119.99

AMD RYZEN 5 3600 PROCESSOR | 3.60GHZ | 100-000000031
$59.99

AMD Ryzen 5 5600X Desktop Processor (3.7GHz, 6 Cores, AM4 CPU) 100-100000065
$135.00

Intel Core i9-9900 3.10GHz CPU Processor SRG18
$165.00

INTEL CORE I7-870 SLBJG 2.93GHZ LGA1156 4 CORE CPU PROCESSOR
$23.00

Intel Core i7-11700F SRKNR 2.5GHz 8-Core 16MB CPU Processor Socket LGA1200
$149.99