For a LiveUSB PCLOS LXDE 2012 I tried to edit "fstab" in order to activate a sawp partition that I have in the second HDD.
The original "fstab" file for the LiveUSB is:
/dev/root / rootfs defaults 0 0
none /proc proc defaults 0 0
none /dev/pts devpts defaults 0 0
For the edited "fstab" I used the file from my main install PCLOS KDE 2012 in a second HDD:
# Entry for /dev/sdb1 :
UUID=e16abe2f-bc1b-4ad3-b96a-55af35463483 / ext4 defaults 1 1
none /proc proc defaults 0 0
# Entry for /dev/sdb5 :
UUID=09c72ba9-ba1b-4487-9aa9-13174246afff swap swap defaults 0 0
none /dev/pts devpts defaults 0 0
I copied this file for the "fstab" in the LiveUSB PCLOS LXDE 2012, and saved changes.
At boot, for the LiveUSB PCLOS LXDE 2012 entry, I found that the its "fstab" returned to:
/dev/root / rootfs defaults 0 0
none /proc proc defaults 0 0
none /dev/pts devpts defaults 0 0
I notice that in "menu.lst" I have the option "fstab=rw,noauto", as you can see:
timeout 10
color black/cyan yellow/cyan
gfxmenu (hd3,1)/boot/gfxmenu
default 0
title LXDE with Persistence
kernel (hd3,1)/LXDE1/vmlinuz livecd=/LXDE1 fromusb root=UUID=50e9131d-4b6e-4f95-b873-33608559fd87 changes_dev=UUID=50e9131d-4b6e-4f95-b873-33608559fd87 acpi=on
fstab=rw,noauto vga=791 quiet splash=silent vmalloc=256M
initrd (hd3,1)/LXDE1/initrd.gz
title LXDE
kernel (hd3,1)/LXDE1/vmlinuz livecd=/LXDE1 fromusb root=UUID=50e9131d-4b6e-4f95-b873-33608559fd87 acpi=on vga=791 quiet splash=silent vmalloc=256M
initrd (hd3,1)/LXDE1/initrd.gz
title LXDE with Copy to RAM
kernel (hd3,1)/LXDE1/vmlinuz livecd=/LXDE1 fromusb copy2ram root=UUID=50e9131d-4b6e-4f95-b873-33608559fd87 acpi=on vga=791 quiet splash=silent vmalloc=256M
initrd (hd3,1)/LXDE1/initrd.gz
title Memory Test
kernel (hd3,1)/boot/memtest-4.20
I already reviewed the two related threads in this Forum:
http://www.pclinuxos.com/forum/index.php/topic,85594.0.htmlhttp://www.pclinuxos.com/forum/index.php/topic,81077.0.htmlFrom both threads I have the impression that it is not possible to make changes to "fstab" for LiveUSB, or at least it has not been worked out so far.
Given the above:
- Is it possible to edit "fstab" for LiveUSB?
- In case it were possible, will it be not so complex or risky to implement for a Linux user with limited experience?
- Is there an alternate way to activate automatically at boot a swap partition for a LiveUSB?
Thank you.