Persistent home and opt directories not working?
Topic: Persistent home and opt directories not working?
started by: xpt
Posted by xpt on May 11 2007,14:21Seems 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:
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.
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?
Posted by ^thehatsrule^ on May 11 2007,15:32According to the wiki, you should use home=sdb2
if it is the same under DSL.
Posted by xpt on May 11 2007,18:31Thanks,
when my usb will show up as either sda or sdc sometimes, what should I do?
Posted by ^thehatsrule^ on May 12 2007,02:40I 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).