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

persistence wheezy live hdd doesn't work



Hi

According to:

http://live.debian.net/manual-3.x/html/live-manual.en.html#538

I've created hdd live image: using this boot options in config/includes.binary/syslinux/live.cfg:

    label live
    menu label Live -> just wait!
    kernel /live/vmlinuz
    append initrd=/live/initrd.img boot=live config username=wheezy hostname=my name persistence quickreboot noeject locales=de_DE.UTF-8 keyboard-layouts=de utc=no timezone=Europe/Amsterdam

and the binary .img was sucessfully created.

Then I've copied this image into usb stick using this command:

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

To make just /home persistent, I've created an additional /dev/sdb2 ext4 partition on a free space from the usb stick using gparted and:

# mkfs.ext4 -L persistence /dev/sdb2
mke2fs 1.42.5 (29-Jul-2012)
Filesystem label=persistence
OS type: Linux
Block size=1024 (log=0)
Fragment size=1024 (log=0)
Stride=0 blocks, Stripe width=0 blocks
99176 inodes, 395264 blocks
19763 blocks (5.00%) reserved for the super user
First data block=1
Maximum filesystem blocks=67633152
49 block groups
8192 blocks per group, 8192 fragments per group
2024 inodes per group
Superblock backups stored on blocks:
    8193, 24577, 40961, 57345, 73729, 204801, 221185

Allocating group tables: done                            
Writing inode tables: done                            
Creating journal (8192 blocks): done
Writing superblocks and filesystem accounting information: done

End on the end I've created persistence.conf file on the second persistence partition:

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

Now if I boot from this usb stick, I get these messages during the startup:

mount: mounting /dev/sd1 on /live/persistence/sd1 failed: No such device
mount: mounting /dev/sdb on /live/persistence/sdb failed: No such device

Why still don't get a persistent /home partition?


kind regards
Piotr








Reply to: