http://damnsmalllinux.org/cgi-bin/forums/ikonboard.cgi?;act=ST;f=37;t=18469
Seems that I can't get the persistent home and opt directories working for
my DSL-N. Take a look at the following syslinux.cfg configuration:
DEFAULT fb1280x1024
#APPEND home=/dev/sdb2 opt=/dev/sdb2 ramdisk_size=100000 init=/etc/init lang=us apm=power-off vga=791 initrd=minirt.gz nomce quiet BOOT_IMAGE=knoppix
APPEND bootfrom=/dev/sda2 home=/dev/sdb2 opt=/dev/sdb2 restore=sdb2 ramdisk_size=100000 init=/etc/init lang=us apm=power-off vga=791 initrd=minirt.gz nomce quiet BOOT_IMAGE=knoppix
TIMEOUT 300
The commented out line is what I want my new DSL-N looks like. The actual
line, that next to it, is what I configured my test DSL-N, and copied here
because I can't get the "right" way works.
I have /home and /opt directory duplicated from my test USB to new usb. The
content are the same as what's in backup.tar.gz. All in all, the test and
new usb only differ is the "APPEND" line, yet test USB works while new usb
won't.
Any comment?
While writing, I realized that the way DSL restore persistent home and opt
directories and backup.tar.gz might be different. The "sdb" is what the USB
will be at in my prime working PC, but while testing, I used two other PCs
that my usb will show up as either sda or sdc. Would it be the culprit?
Any way to use udev/disk-label to restore persistent home and opt
directories instead of hard-coded sdb, which would mostly fail?
thx
Persistent home and opt directories not working?
According to the wiki, you should use home=sdb2
^thehatsrule^
Persistent home and opt directories not working?
Thanks,
when my usb will show up as either sda or sdc sometimes, what should I do?
Persistent home and opt directories not working?
I think plugging it under the same usb port each time will have the same
letter…
If that doesn't help, then you might need to do something extra, such as
editing the startup scripts… (not sure if specifying more than one home=
will act as a backup).
^thehatsrule^