sda1 is not mounted automaticallyForum: Other Help Topics Topic: sda1 is not mounted automatically started by: RigasW Posted by RigasW on May 17 2007,08:35
Hello,I tried to configure a persistant home on my sda1 USB stick. The sticks is found when booting, but it is not mounted ... so it cannot be used as home. No wonder, because sda1 is listed in fstab with the option "noauto" ... "ADDED by Knoppix" How can I ever change fstab??? (I use DSL booting via PXE ... may be, that could be the reason ) I vaguely remember that I had to edit the file "linuxrc", when perparing the PXE installation .. Any ideas? Rigas Posted by ^thehatsrule^ on May 17 2007,14:23
Did you try using the home=sda1 cheatcode?If you wish to edit fstab, you can boot with nofstab and restore your own. If you wish to use linuxrc, you probably can also do that... It's not specific to your setup because, in general, DSL does not mount partitions automatically. Posted by RigasW on May 17 2007,16:39
Thanks for your answer,so I try the follwing: unzip my minirt24.gz file and mount it on a loop device. Inside is the /etc/fstab, that I want to use. Edit it. Create a directory /mnt/sda1 as a mountpoint. unmount. gzip minirt24 Add boot options "nofstab" and "home=sda1" ... to the PXE default booting config file. .. just did it: It boots and uses my fstab file. But when it tries a chown for /home/dsl/ ... and has no permission and asks for a password (which I do not have ...) Any ideas? Rigas Posted by RigasW on May 17 2007,16:52
Next retry:same scenario, but without option "home=sda1" Boots without problems, but the sda1 is not automatically loaded. I have the following entry in the fstab: /dev/sda1 /mnt/sda1 vfat user,exe 0 0 Is there something missing for a) mounting sda1 while booting b) being able to use /home/dsl on sda1 as home for the dsl user. Rigas Posted by ^thehatsrule^ on May 17 2007,20:44
There is no need to use the bootcode if you are editing fstab. Pick one.Using the home bootcode will basically try to use sda1 as /home. Change the mountpoint to /home or /home/dsl ? Pick one. If you need to set a password for root, you can use passwd or boot with secure. But since you are using a FAT type partition, the real problem is probably that it doesn't support changing permissions on it. You might be able to use uid/gid etc. on the fstab line. |