[SOLVED] Persistent not Working

You have a problem with Slackel? Post here and we'll do what we can to help.
Post Reply
atipp
Posts: 42
Joined: 04 May 2016 03:02

[SOLVED] Persistent not Working

Post by atipp »

Slackellive-kde-4.14.18

I can't get peristent working.
On reboot I see error:
Live changes not mounted or bad option
After installation on USB stick I did as instructed

Code: Select all

sudo sh install_on_usb.sh --persistent 32 /dev/sdb
and choose 2000 MB

fdisk /dev/sdb1

Code: Select all

Disk /dev/sdb1: 4003 MB, 4003171840 bytes
124 heads, 62 sectors/track, 1016 cylinders, total 7818695 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x20ac7dda

This doesn't look like a partition table
Probably you selected the wrong device.

     Device Boot      Start         End      Blocks   Id  System
/dev/sdb1p1   ?  3224498923  3657370039   216435558+   7  HPFS/NTFS/exFAT
/dev/sdb1p2   ?  3272020941   930513678   976730017   16  Hidden FAT16
/dev/sdb1p3   ?           0           0           0   6f  Unknown
/dev/sdb1p4        50200576   974536369   462167897    0  Empty

Partition table entries are not in disk order
What could be wrong?
Last edited by atipp on 22 May 2016 03:32, edited 1 time in total.
djemos
Site Admin
Posts: 696
Joined: 15 Apr 2016 06:03

Re: Persistent not Working

Post by djemos »

Two days ago i installed slackellive-openbox 32bit in a usb 16GB and created a persistent file 3998MB. It is working fine.
run fdisk -l /dev/sdb and not fdisk -l /dev/sdb1

Code: Select all

djemos[~]$ fdisk -l /dev/sdb
Disk /dev/sdb: 14,9 GiB, 16008609792 bytes, 31266816 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x7bf3c1e9

Device     Boot Start      End  Sectors  Size Id Type
/dev/sdb1  *     2048 31266815 31264768 14,9G  b W95 FAT32
Also be sure usb is not mounted when run install_on_usb.sh. So when plug usb in ypur laptop or pc unmounted from dolphin.
Install_on_usb.sh script is well tested since many editions and is working fine.

Code: Select all

ls -l /run/media/djemos/LIVE/
djemos[~]$ls -l /run/media/djemos/LIVE/
drwxr-xr-x 7 djemos users       8192 May 18 18:54 boot
-rw-r--r-- 1 djemos users 4192206848 May 18 23:24 persistent
df -ah

Code: Select all

/dev/sdb1        15G  5,5G  9,5G  37% /run/media/djemos/LIVE
atipp
Posts: 42
Joined: 04 May 2016 03:02

Re: [SOLVED] Persistent not Working

Post by atipp »

Silly me I was using install_on_usb.sh from another Slackel version.
:shock: :P

Now:
ls -l /media/LIVE
total 2048004
drwx------ 7 me users 4096 May 21 14:53 boot
-rw-r--r-- 1 me users 2097152000 May 22 11:27 persistent
:D

I have used persistent on previous versions. It always worked if done correctly. ;)
djemos
Site Admin
Posts: 696
Joined: 15 Apr 2016 06:03

Re: [SOLVED] Persistent not Working

Post by djemos »

Always use the install_on_usb.sh which is inside iso image. You can mount the iso and copy the install_on_usb.sh
Or read this http://www.slackel.gr/isos/slackel-live/README_INSTALL_ON_USB.TXT

And beware. Do not ever upgrade kernel-packages. You could not boot. Then you have to delete the persistent and create a new one.
Post Reply