You are not logged in.
Hi,
I decided to give refracta-snapshot a spin. I tried it on a fresh Devuan Chimaera install on a spare partition with a minimal desktop, which boots and function fine.
I followed the instructions given, edited /etc/refractasnapshot.conf to change snapshot_dir, log, and work_dir to another larger partition.
I also enabled the option to save a copy of the file system.
Everything went fine (apparently), no error messages of any kind in the log dir.
I dd the iso on a USB stick and rebooted.
The boot got stuck after the output message:
Begin: Running /scripts/live - premount... done.
[ 6.374655] EXT4-fs (sda1) : mounted filesystem with ordered data mode. Opts: (null)
And I finally got the error message:
Unable to find a medium containing a live file system
Any suggestions as to how troubleshoot the problem?
Offline
First thing I would do is check to make sure filesystem.squashfs was created. Mount the usb in a running system and look to make sure /live/filesystem.squashfs is on the usb. Mount the iso file and look for the same. Look in $work_dir/iso/live/ for the same.
Is this legacy bios boot or uefi boot?
Offline
First thing I would do is check to make sure filesystem.squashfs was created. Mount the usb in a running system and look to make sure /live/filesystem.squashfs is on the usb. Mount the iso file and look for the same. Look in $work_dir/iso/live/ for the same.
Is this legacy bios boot or uefi boot?
Hi,
I mounted the iso and yes, filesystem.squashfs is there in /live/filesystem.
boot is legacy bios.
Offline
UPDATE:
I installed a fresh minimal Chimaera on a spare partition with all the refracta required pkgs and ran refractasnapshot-base.
The process seemed to run fine, no error messages.
DDed the iso, booted... exactly the same error.
I checked the iso and the squashfs system is there.
How could I troubledshoot the problem?
Offline
I'd like to see the error log. Either paste.debian.net or send it to me at gmail.
Other things to try: see if the usb boots on another computer, see if it works better with a different usb stick.
Offline
Howdy,
In Chimaera, I use refractasnaphot-base all the time to build up systems.
By the way, it's not working right in Daedalus.
First I will comment on what you're doing then tell you what I do.
I've never dd'd the iso, I do it different.
But it's obviously booting working to some degree.
I suggest trying with the default config, I find some of the config a bit flaky.
How I,
Firstly, I'm a bit prehistoricschool, I don't have a bootloader on my system.
I have it on a flashdrive, like having the key and the lock in my pocket.
Lets be realistic, these days booting is a nightmare, Grub is an installation as big as a shed, what security vulnerability.
Contemporaniously I use Refind, I think it is out of sight, no competition at all, I mean Rod rodsbooks dot com is on the microcode at Ubuntu so we can actually boot our boxes dealing with that crappy reconnaissance.
Anyway, from sourceforge dot net, get verson 0.13.2 refind-flashdrive-0.13.2.zip and unzip and dd.
cp refind.conf _refind.conf
edit refind.conf
timeout 20 change if you fancy
textonly
textmode 0
also_scan_dirs live,boot,ESP2:EFI/linux/kernels
# the above line we have added, live
I cp /home/snapshot/snapshot-XX.iso /root/ss_00.iso
mount -o loop ss_00.iso /tmp
cp -r /tmp/live to_a_flashdrive
boot, tab the entry, and add to the line, boot=live toram
friend, please persevere, I think you'll be impressed, regards
Last edited by andyp67 (2022-11-04 17:00:59)
Offline
Since I don't have another computer where to test refracta, I made these further tests:
I booted the snapshot iso from grub using the following stanza (tested with daedalus live cd):
menuentry "My Refracta from ISO" {
set root='(hd0,5)'
set isofile="snapshot-20221104_0511.iso"
loopback aloop (hd0,5)/$isofile
linux (aloop)/live/vmlinuz apparmor=0 boot=live findiso=/$isofile live-media-path=/live components username=mac
initrd (aloop)/live/initrd.img
}
Get the same error.
Then I mounted the iso and copied the files to a folder and booted this frugal instal with the grub stanza (also tested with daedalus live):
menuentry "Refracta frugal" {
set root=(hd0,5)
linux /refracta/live/vmlinuz from=live ro root=/dev/null video=-32 autologin
initrd /refracta/live/initrd.img
}
Get the error:
Unable to open ´/dev/sda´
Begin: Running /scripts/local-block...done
Done
Gave up waiting for root file system...
Common problems:
And a standard mention of common problems.
So, I reinstalled refractasnapshot on the fresh minimal devuan install and rerun it with all the default parameters.
Burned the iso and got the same error.
Note that I tested making an iso with linux live scripts on the same install, and they worked fine.
here is the refractasnapshot error log:
/usr/bin/refractasnapshot: line 662: updatedb: command not found
140896 blocks
140895 blocks
sed: can't read /home/work/myfs/home/mac/.config/geany/geany.conf: No such file or directory
sed: can't read /home/work/myfs/etc/ssh/sshd_config: No such file or directory
sed: can't read /home/work/myfs/etc/ssh/sshd_config: No such file or directory
rm: cannot remove '/home/work/iso/pkglist*': No such file or directory
xorriso 1.5.2 : RockRidge filesystem manipulator, libburnia project.
Drive current: -outdev 'stdio:/home/snapshot/snapshot-20221104_1848.iso'
Media current: stdio file, overwriteable
Media status : is blank
Media summary: 0 sessions, 0 data blocks, 0 data, 7461m free
xorriso : WARNING : -volid text does not comply to ISO 9660 / ECMA 119 rules
Added to ISO image: directory '/'='/home/work/iso'
xorriso : UPDATE : 36 files added in 1 seconds
xorriso : UPDATE : 36 files added in 1 seconds
xorriso : NOTE : Copying to System Area: 432 bytes from file '/usr/lib/ISOLINUX/isohdpfx.bin'
libisofs: NOTE : Aligned image size to cylinder size by 373 blocks
xorriso : UPDATE : 11.37% done
ISO image produced: 120832 sectors
Written to medium : 120832 sectors at LBA 0
Writing to 'stdio:/home/snapshot/snapshot-20221104_1848.iso' completed successfully.
Offline
Forget daedalus,
computers are files and folders,
and folders have to be wrapped up as a file.
The latest wrapping is courtesy of Facebook.
The analogy is Chubb and Yale have been making locks forever and Facebook start making locks and it's got a monkey metal spring in it and it breaks and you're up shit creek without a paddle.
I don't understand what this has to do with the issue at hand.
I'm not even using daedalus, just mentioned that the grub stanza is tested to boot a live system without issues.
Last edited by amc252 (2022-11-04 23:38:02)
Offline
hello amc252,
we problem solve and the issue turns out to be something different.
if you do a vanilla snapshot & it don't work, try that extract live folder from iso method,
i am trying my best, we're all in different date locale on the planet,
please understand i'm doing my best to input
Offline
@amc252 . . . fsmithred, who creates the live isos, will show up eventually and sort things out. Don't be confused by the noise . . .
Online
@golinux .... LOL, I assumed that much. Thanks.
Offline
Hm, I thought I already said this, but I don't see it now -
Be sure to dd the iso to the whole device, and not to a partition, for example:
dd if=snapshot.iso of=/dev/sdb (not of=/dev/sdb1)
If you run the cli version of refractasnapshot (as you did) you can add the '-d' option to get a more verbose error log.
refractasnapshot -d
Offline
Yes, I used /dev/sdb.
I don't think the problem lies there since it happens even in the frugal mode where I simply copied the filesystem.squashfs to the folder.
I'll try again with the -d option to see if it sheds more light on what I am doing wrong.
Offline
Repeated the process, same result. Here is the new log produced by refractasnapshot -d:
+ echo 'configfile is /etc/refractasnapshot.conf'
+ echo 'make_efi is yes'
+ check_grub
+ [[ yes = \y\e\s ]]
+ dpkg -l
+ grep -v bin
+ grep grub-efi-amd64
+ grep '^ii'
+ echo 'grub-efi-amd64 is not installed'
+ grub_message='Warning: grub-efi-amd64 is not installed. The snapshot may not be compatible with UEFI.
To disable this warning, set make_efi=no in /etc/refractasnapshot.conf or set force_efi=yes for special use.
'
+ [[ no = \y\e\s ]]
+ make_efi=no
+ echo 'force_efi is no'
+ echo 'make_efi is no'
+ [[ ! -e /var/lib/dpkg/info/dosfstools.list ]]
+ choose_task
+ [[ no = \y\e\s ]]
+ uefi_message='uefi disabled'
+ true
+ echo '
Choose a task.
1. Create a snapshot (uefi disabled)
2. Re-squash and make iso (no-copy)
3. Re-make efi files and iso (no-copy, no-squash)
4. Re-run xorriso only. (make iso, no-copy, no-squash)
5. Help
6. Exit
'
+ read ans
+ case $ans in
+ echo 'This may take a moment while the program checks for free space. '
+ check_copies
+ [[ -d /home/snapshot ]]
+ ls /home/snapshot/snapshot-20221104_1848.iso
++ ls /home/snapshot/snapshot-20221104_1848.iso
++ wc -l
+ snapshot_count=1
++ du -sh /home/snapshot
++ awk '{print $1}'
+ snapshot_size=237M
+ [[ -z 237M ]]
+ [[ -d /home/work/myfs ]]
++ du -sh /home/work/myfs
++ awk '{ print $1 }'
+ saved_size=663M
++ echo '* You have a saved copy of the system using 663M of space
located at /home/work/myfs.'
+ saved_copy='* You have a saved copy of the system using 663M of space
located at /home/work/myfs.'
+ [[ yes = \y\e\s ]]
++ echo '* The temporary copy of the filesystem will be saved
at /home/work/myfs.'
+ save_message='* The temporary copy of the filesystem will be saved
at /home/work/myfs.'
+ check_directories
++ echo /home/snapshot
++ grep /media/
++ awk -F / '{ print "/" $2 "/" $3 }'
+ snapdir_is_remote=
++ echo /home/work
++ grep /media/
++ awk -F / '{ print "/" $2 "/" $3 }'
+ workdir_is_remote=
+ '[' -n '' ']'
+ '[' -n '' ']'
+ '[' -n '' ']'
+ '[' -n '' ']'
+ [[ -d /home/snapshot ]]
+ [[ yes = \n\o ]]
+ [[ yes = \y\e\s ]]
+ [[ -d /home/work ]]
+ check_space
++ df -h -x tmpfs -x devtmpfs -x iso9660
++ awk '{ print " " $2 "\t" $3 "\t" $4 "\t" $5 " \t" $6 "\t\t\t" $1 }'
+ disk_space=' Size Used Avail Use% Mounted Filesystem
9.6G 2.0G 7.1G 22% / /dev/sda8
384G 87G 278G 24% /media/mac/Files /dev/sda5'
+ check_initrd
+ lsinitramfs /initrd.img
+ grep -q conf.d/cryptroot
+ lsinitramfs /initrd.img
+ grep -q cryptroot/crypttab
+ lsinitramfs /initrd.img
+ egrep -q 'conf.d/resume|conf.d/zz-resume-auto'
+ remove_resume=yes
+ swap_message='The snapshot initrd will be modified to allow booting without the host'\''s swap partition.'
+ '[' '' = yes ']'
+ report_space
+ [[ -f /usr/bin/less ]]
+ pager=/usr/bin/less
+ /usr/bin/less
+ echo '
You will need plenty of free space. It is recommended that free space
(Avail) in the partition that holds the work directory (probably "/")
should be two times the total installed system size (Used). You can
deduct the space taken up by previous snapshots and any saved copies of
the system from the Used amount.
Warning: grub-efi-amd64 is not installed. The snapshot may not be compatible with UEFI.
To disable this warning, set make_efi=no in /etc/refractasnapshot.conf or set force_efi=yes for special use.
* You have 1 snapshots taking up 237M of disk space.
* You have a saved copy of the system using 663M of space
located at /home/work/myfs.
* The temporary copy of the filesystem will be saved
at /home/work/myfs.
* The snapshot directory is currently set to /home/snapshot
You can change these and other settings by editing
/etc/refractasnapshot.conf.
Turn off NUM LOCK for some laptops.
The snapshot initrd will be modified to allow booting without the host'\''s swap partition.
Current disk usage:
(For complete listing, exit and run '\''df -h'\'')
Size Used Avail Use% Mounted Filesystem
9.6G 2.0G 7.1G 22% / /dev/sda8
384G 87G 278G 24% /media/mac/Files /dev/sda5
To proceed, press q.
To exit, press q and then press ctrl-c
'
+ set_distro_name
+ [[ /usr/lib/refractasnapshot/iso = \/\u\s\r\/\l\i\b\/\r\e\f\r\a\c\t\a\s\n\a\p\s\h\o\t\/\i\s\o ]]
+ [[ live.cfg = \l\i\v\e\.\c\f\g ]]
++ lsb_release -i -s
+ DISTRO=Devuan
++ grep -q Refracta /etc/issue
+ true
+ echo '
This is the distribution name that will appear in the boot menu for the
live image. You can change it to something else, or you can blank this,
and the the menu entries will just say "GNU/Linux <kernel-version>"
'
+ exec
+ break
+ [[ -z Devuan ]]
+ DISTRO=Devuan
+ housekeeping
+ [[ '' = \y\e\s ]]
+ [[ -n '' ]]
++ awk -F: '/1000:1000/ { print $1 }' /etc/passwd
+ username=mac
+ [[ mac != user ]]
+ username_opt=username=mac
+ [[ -e /vmlinuz ]]
+ [[ -e /initrd.img ]]
+ [[ -n '' ]]
+ [[ -n '' ]]
+ [[ yes = \y\e\s ]]
+ echo -e '\nRunning updatedb...\n'
+ updatedb
/usr/bin/refractasnapshot: line 662: updatedb: command not found
+ [[ '' = \y\e\s ]]
+ cd /home/work
+ copy_isolinux
+ [[ -f /usr/lib/ISOLINUX/isolinux.bin ]]
+ isolinuxbin=/usr/lib/ISOLINUX/isolinux.bin
+ [[ -f /usr/lib/syslinux/modules/bios/vesamenu.c32 ]]
+ vesamenu=/usr/lib/syslinux/modules/bios/vesamenu.c32
+ rsync -a /usr/lib/syslinux/modules/bios/chain.c32 /usr/lib/refractasnapshot/iso/isolinux/
+ rsync -a /usr/lib/syslinux/modules/bios/ldlinux.c32 /usr/lib/refractasnapshot/iso/isolinux/
+ rsync -a /usr/lib/syslinux/modules/bios/libcom32.c32 /usr/lib/refractasnapshot/iso/isolinux/
+ rsync -a /usr/lib/syslinux/modules/bios/libutil.c32 /usr/lib/refractasnapshot/iso/isolinux/
+ rsync -a /usr/lib/ISOLINUX/isolinux.bin /usr/lib/refractasnapshot/iso/isolinux/
+ rsync -a /usr/lib/syslinux/modules/bios/vesamenu.c32 /usr/lib/refractasnapshot/iso/isolinux/
+ [[ '' = \y\e\s ]]
+ copy_kernel
+ rsync -a /usr/lib/refractasnapshot/iso/ /home/work/iso/
+ cp /vmlinuz /home/work/iso/live/
+ cp /initrd.img /home/work/iso/live/
+ copy_filesystem
+ [[ yes = \y\e\s ]]
++ type -p cpulimit
+ [[ -n /usr/bin/cpulimit ]]
+ pid=1339
+ cpulimit -e rsync -l 50
+ rsync -av / myfs/ --delete-before --delete-excluded --exclude=/home/work --exclude=/home/snapshot --exclude=/home/work/efi-files --exclude-from=/usr/lib/refractasnapshot/snapshot_exclude.list
+ [[ -n 1339 ]]
+ kill 1339
+ '[' '' = yes ']'
+ '[' yes = yes ']'
+ clean_initrd
+ extract_initrd
+ mkdir /tmp/extracted
+ pushd /tmp/extracted
++ file -L /initrd.img
++ egrep -o 'gzip compressed|XZ compressed|cpio archive'
+ COMPRESSION='gzip compressed'
+ '[' 'gzip compressed' = 'gzip compressed' ']'
+ echo 'Archive is gzip compressed...'
+ zcat /initrd.img
+ cpio -i
140896 blocks
+ popd
+ echo 'Initrd is extracted'
+ edit_initrd
+ pushd /tmp/extracted
+ '[' -f conf/conf.d/cryptroot ']'
+ '[' -f cryptroot/crypttab ']'
+ '[' -f conf/conf.d/resume ']'
+ echo 'Removing resume'
+ rm -f conf/conf.d/resume
+ rm -f /home/work/myfs/etc/initramfs-tools/conf.d/resume
+ '[' -f conf/conf.d/zz-resume-auto ']'
+ popd
+ rebuild_initrd
+ pushd /tmp/extracted
+ '[' 'gzip compressed' = 'gzip compressed' ']'
+ find . -print0
+ gzip -c
+ cpio -0 -H newc -o
140895 blocks
+ popd
+ rm -rf /tmp/extracted
+ edit_system
+ find myfs/var/log -name '*gz' -print0
+ xargs -0r rm -f
+ find myfs/var/log/ -type f -exec truncate -s 0 '{}' ';'
+ [[ yes = \y\e\s ]]
+ [[ -f /home/work/myfs/etc/pmount.allow ]]
+ [[ yes = \y\e\s ]]
+ sed -i 's/recent_files=.*;/recent_files=/' /home/work/myfs/home/mac/.config/geany/geany.conf
sed: can't read /home/work/myfs/home/mac/.config/geany/geany.conf: No such file or directory
+ [[ -e /home/work/myfs/lib/live/config/1161-openssh-server ]]
+ sed -i 's/PermitRootLogin yes/PermitRootLogin prohibit-password/' /home/work/myfs/etc/ssh/sshd_config
sed: can't read /home/work/myfs/etc/ssh/sshd_config: No such file or directory
+ [[ yes = \y\e\s ]]
+ sed -i 's|.*PasswordAuthentication.*no|PasswordAuthentication yes|' /home/work/myfs/etc/ssh/sshd_config
sed: can't read /home/work/myfs/etc/ssh/sshd_config: No such file or directory
+ touch /home/work/myfs/etc/fstab
+ '[' -e /home/work/myfs/etc/machine-id ']'
+ mknod -m 622 /home/work/myfs/dev/console c 5 1
+ mknod -m 666 /home/work/myfs/dev/null c 1 3
+ mknod -m 666 /home/work/myfs/dev/zero c 1 5
+ mknod -m 666 /home/work/myfs/dev/ptmx c 5 2
+ mknod -m 666 /home/work/myfs/dev/tty c 5 0
+ mknod -m 444 /home/work/myfs/dev/random c 1 8
+ mknod -m 444 /home/work/myfs/dev/urandom c 1 9
+ chown -v root:tty /home/work/myfs/dev/console /home/work/myfs/dev/ptmx /home/work/myfs/dev/tty
+ ln -sv /proc/self/fd /home/work/myfs/dev/fd
+ ln -sv /proc/self/fd/0 /home/work/myfs/dev/stdin
+ ln -sv /proc/self/fd/1 /home/work/myfs/dev/stdout
+ ln -sv /proc/self/fd/2 /home/work/myfs/dev/stderr
+ ln -sv /proc/kcore /home/work/myfs/dev/core
+ mkdir -v /home/work/myfs/dev/shm
+ mkdir -v /home/work/myfs/dev/pts
+ chmod 1777 /home/work/myfs/dev/shm
+ [[ -z '' ]]
+ echo '# The loopback network interface
auto lo
iface lo inet loopback
'
+ rm -f '/home/work/myfs/var/lib/wicd/configurations/*'
+ rm -f /home/work/myfs/etc/wicd/wireless-settings.conf
+ rm -f '/home/work/myfs/etc/NetworkManager/system-connections/*'
+ rm -f '/home/work/myfs/etc/network/wifi/*'
+ rm -rf '/home/work/myfs/var/lib/connman/*'
+ get_filename
+ [[ datetime = \d\a\t\e\t\i\m\e ]]
++ date +%Y%m%d_%H%M
+ filename=snapshot-20221105_2156.iso
+ [[ no = \y\e\s ]]
+ add_extras
+ dir_prefix=pkglist
+ for dir in "$work_dir"/iso/"$dir_prefix"*
+ rm -r /home/work/iso/pkglist_snapshot-20221104_1848
+ mkdir -p /home/work/iso/pkglist_snapshot-20221105_2156
+ dpkg -l
+ awk '{ print $2 }'
+ egrep 'ii|hi'
+ [[ -f /usr/share/doc/_Release_Notes/Release_Notes ]]
+ set_boot_options
+ '[' /usr/lib/refractasnapshot/iso = /usr/lib/refractasnapshot/iso ']'
+ sed -i 's:${DISTRO}:Devuan:g' /home/work/iso/isolinux/live.cfg
+ sed -i 's:${netconfig_opt}::g' /home/work/iso/isolinux/live.cfg
+ sed -i 's:${ifnames_opt}::g' /home/work/iso/isolinux/live.cfg
+ sed -i 's:${username_opt}:username=mac:g' /home/work/iso/isolinux/live.cfg
+ [[ no = \y\e\s ]]
+ [[ no = \y\e\s ]]
+ squash_filesystem
+ echo 'Squashing the filesystem...'
+ [[ yes = \y\e\s ]]
++ type -p cpulimit
+ [[ -n /usr/bin/cpulimit ]]
+ pid=1423
+ mksquashfs myfs/ iso/live/filesystem.squashfs -noappend
+ cpulimit -e mksquashfs -l 50
Warning: no target process found. Waiting for it...
+ [[ -n 1423 ]]
+ kill 1423
+ [[ yes = \n\o ]]
+ make_iso_fs
+ echo 'Creating CD/DVD image file...'
+ [[ yes = \y\e\s ]]
+ [[ -f /usr/lib/syslinux/mbr/isohdpfx.bin ]]
+ [[ -f /usr/lib/syslinux/isohdpfx.bin ]]
+ [[ -f /usr/lib/ISOLINUX/isohdpfx.bin ]]
+ isohybrid_opt='-isohybrid-mbr /usr/lib/ISOLINUX/isohdpfx.bin'
+ [[ -n liveiso ]]
+ xorriso -as mkisofs -r -J -joliet-long -l -iso-level 3 -isohybrid-mbr /usr/lib/ISOLINUX/isohdpfx.bin -partition_offset 16 -V liveiso -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table -o /home/snapshot/snapshot-20221105_2156.iso iso/
xorriso 1.5.2 : RockRidge filesystem manipulator, libburnia project.
Drive current: -outdev 'stdio:/home/snapshot/snapshot-20221105_2156.iso'
Media current: stdio file, overwriteable
Media status : is blank
Media summary: 0 sessions, 0 data blocks, 0 data, 7225m free
xorriso : WARNING : -volid text does not comply to ISO 9660 / ECMA 119 rules
Added to ISO image: directory '/'='/home/work/iso'
xorriso : UPDATE : 36 files added in 1 seconds
xorriso : UPDATE : 36 files added in 1 seconds
xorriso : NOTE : Copying to System Area: 432 bytes from file '/usr/lib/ISOLINUX/isohdpfx.bin'
libisofs: NOTE : Aligned image size to cylinder size by 362 blocks
xorriso : UPDATE : 3.23% done
xorriso : UPDATE : 74.89% done
ISO image produced: 120832 sectors
Written to medium : 120832 sectors at LBA 0
Writing to 'stdio:/home/snapshot/snapshot-20221105_2156.iso' completed successfully.
+ [[ yes = \y\e\s ]]
+ cd /home/snapshot
+ sha256sum snapshot-20221105_2156.iso
+ cd /home/work
+ cleanup
+ [[ yes = \n\o ]]
+ final_message
+ echo -e '\n\tAll finished!\n'
+ exit 0
Offline
I'm not seeing an obvious error there. Sorry. The only other idea I have right now is that somewhere between bios and grub and kernel there's confusion about the order of disks. And I'm not sure what to do to about that other than messing with the disk order in the bios.
Google says some other things to try are:
- use usb2 port instead of usb3 (or a usb2 hub if you don't have a usb2 port)
- try a different usb stick
- set bios to use AHCI instead of IDE (or RAID)
Offline
I'm not seeing an obvious error there. Sorry. The only other idea I have right now is that somewhere between bios and grub and kernel there's confusion about the order of disks. And I'm not sure what to do to about that other than messing with the disk order in the bios.
Google says some other things to try are:
- use usb2 port instead of usb3 (or a usb2 hub if you don't have a usb2 port)
- try a different usb stick
- set bios to use AHCI instead of IDE (or RAID)
I don't think usb ports or the stick are the problem since I get the same error whether I boot from usb, boot the iso on the hd from grub or boot the system in frugal mode.
I agree it's baffling. I mess around with lots of live iso and remasters (slitaz, antix, slax, etc) and never came across this issue in a DDed image.
Offline
Snapshot works well on a regular system, but I noticed this -
I also enabled the option to save a copy of the file system.
& wondered if that overrode making a 'live' - I suggest to try just making a 'live' system.
(I've changed the working directory before, & that works, but I haven't tried writing it to a different disk/partition.)
Offline
Snapshot works well on a regular system, but I noticed this -
I also enabled the option to save a copy of the file system.
& wondered if that overrode making a 'live' - I suggest to try just making a 'live' system.
(I've changed the working directory before, & that works, but I haven't tried writing it to a different disk/partition.)
I used refracta always from an installed system. AFAIK the file system copy option only preserve the first copy refracta makes in order to creates the squashfs file so to shorten the process if repeated.
Also, in the latest tries, I used refracta default options where the snapshot and work directories are in the /home folder in the same partition.
Offline
I was having a similar problem with Debian. To fix it, I needed to enter the following kernel modules into /etc/initramfs-tools/modules:
isofs
uas
xhci_pci
ehci_pci
And then run: sudo update-initramfs -u -k all
Just isofs was needed for a live-DVD, while all four were needed for a USB thumb drive created from a hybrid ISO (xhci for USB 3.0 port and ehci for USB 2.0 port compatibility). I read elsewhere that certain devices might require usb_storage instead of uas, if they don't function properly with uas.
Offline
But it looks like doing that would have been unnecessary, as long as the modules option in initramfs.conf had been set to "most". (Mine had been set to "dep".)
Offline