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

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



I've created binary.hybrid.iso and copied using dd into usb stick:

# dd if=binary.hybrid.iso of=/dev/sdb

Then I've created a persistence volume:

# dd if=/dev/null of=persistence bs=1 seek=330M
# /sbin/mkfs.ext4 -F persistence
# mount -t ext4 persistence /mnt
# echo "/home" >> /tmp/persistence.conf
# umount /mnt

Now cannot copy performance volume into root of the usb stick, because it is read only.

Howto mount the binary.hybrid.iso with write permission, or howto copy persistence volume into nto usb stick after dd binary.hybrid.iso?


On Oct 5, 2012, Arne de Boer <arnedeboer22@yahoo.com> wrote:

Did you try the hybrid iso version?
It creates binary-hybrid.iso ready to dd to usb.

--- On Thu, 10/4/12, upiter77@lycos.com <upiter77@lycos.com> wrote:

From: upiter77@lycos.com <upiter77@lycos.com>
Subject: persistence wheezy live hdd doesn't work
To: debian-live@lists.debian.org
Date: Thursday, October 4, 2012, 10:55 PM

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







-- To UNSUBSCRIBE, email to debian-live-request@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org Archive: [🔎] 1678744654.65905.1349384148728.JavaMail.mail@webmail16" target="_blank">http://lists.debian.org/[🔎] 1678744654.65905.1349384148728.JavaMail.mail@webmail16

Reply to: