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

Re: Re: Re: Re: persistence wheezy live hdd doesn't work



I cannot understand, I've created new hdd images last days using exact the same way like before and persistence doesn't work again.
What's wrong again?

greetings
Piotr



On Oct 8, 2012, upiter77@lycos.com <upiter77@lycos.com> wrote:


Thx, now it's more clear.
I've pin live-boot and live-boot-initramfs-tools from sid to /config/packages.chroot and created hdd binary.img.
First I copy binary.img into usb stick:

# dd if=binary.img of=/dev/sdb

I'd like to use extra, additional partition on usb stick for persistence.
So, I've created a new ext4 partition labeled persistence on the free space in usb stick:

# mkfs.ext4 -L persistence /dev/sdb2
# mount -t ext4 /dev/sdb2 /mnt
# echo "/home" >> /mnt/persistence.conf
# umount /mnt

Now, if I boot from this usb stick the second sdb2 partition is mounted as /lib/live/persistence/sdb2 and works well!

# df -h
Dateisystem    Größe Benutzt Verf. Verw% Eingehängt auf
rootfs          501M    8,3M  493M    2% /
udev             10M       0   10M    0% /dev
tmpfs           101M    576K  100M    1% /run
/dev/sdb1       622M    604M   19M   98% /lib/live/image
/dev/loop0      587M    587M     0  100% /lib/live/rootfs/filesystem.squashfs
tmpfs           501M    8,3M  493M    2% /lib/live/overlay
aufs            501M    8,3M  493M    2% /
/dev/sdb2       356M     62M  276M   19% /lib/live/persistence/sdb2
/dev/sdb2       356M     62M  276M   19% /home
tmpfs           5,0M       0  5,0M    0% /run/lock
tmpfs           201M     76K  201M    1% /run/shm
tmpfs           501M     24K  501M    1% /tmp


BTW can I use persistence-media=removable-usb as a boot parameter to mount just this second partition as persistence from the usb stick, instead look for other persistence partitions on the hard drive? 




On Oct 8, 2012, chals <chals@altorricon.com> wrote:


Reply to: