This is a discussion on files disappear when boot in single user mode with boot cdrom within the Sun Solaris Administration forums, part of the Solaris Operating System category; --> I copy some files to the directory /bsmbootstrap and /lib in multi-user mode with solaris 8. After I reboot ...
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| I copy some files to the directory /bsmbootstrap and /lib in multi-user mode with solaris 8. After I reboot the machine in single user mode with boot cdrom, the directory /bsmbootstrap disappear, but the /lib is still there when I do a ls. The files I copied to /lib disappear. What should I do in order that the files I create in multi-user mode still appear when I reboot the machine in single user mode with boot cdrom. Please help. Thanks. |
| ||||
| >> On 25 Jul 2003 16:38:49 -0700, >> ma7777772@hotmail.com (TingChong) said: > I copy some files to the directory /bsmbootstrap and > /lib in multi-user mode with solaris 8. After I reboot I hope you know what you're doing -- fiddling with directories that Solaris wants specifically to know about and maintain packages in could be disastrous. > the machine in single user mode with boot cdrom, the > directory /bsmbootstrap disappear, but the /lib is still > there when I do a ls. The files I copied to /lib > disappear. What should I do in order that the files I > create in multi-user mode still appear when I reboot the > machine in single user mode with boot cdrom. Please > help. The root (/) depends on what you're booting from. When from disk, / is one of the disk partitions. When from CD, the root is on the CD. The files/directories are still there, it's just that "there" isn't where you think it is. To see the files, you have to mount the appropriate disk partition into the file system provided by the CD, e.g. # mkdir /a # mount /dev/dsk/c0t0d0s0 /a to get the root partition. If /usr (where /lib really is, as "ls -l /" will show) is on its own partition, you should mount that under /a too (in case you need the correct file system layout from the disk). (This is how Solaris/linux etc. get installed from a distribution onto a system initially.) hth t |