i am running a sco unix v3.2 4.2. someone programmer
delete from the root disk some files and the system cannot boot not even the single user. i boot from floppy using
the root and boot diskette.
i can see all the file systems included the root file system
i mounted the root file system to the /mnt directory of the diskete using mount /dev/hd0root /mnt
i go to the mounted directory
cd /mnt to my root disk.
the problem begins now. i try to restore the system back up
but the files don't go to the /mnt directory (the mounted directory of my root disk) but to the / directory which is the floppy.
i backup my system using the command
find / -depth -print |cpio -ovcB - O /dev/rct0
and i try to restore them using the command
cpio -iBudvcm -I/dev/rct0
or
cpio -icvdum -I/dev/rct0
any ideas who i can restore to the original location?
to the /mnt directory which is my root disk?
moreover i try (i am not sure if that can works)
to copy from the boot and the root disketes files to root directory of my disk. do you know , if it is possible of cource, which files shall i copy in order to boot not from the floppy but from the hard disk ?
i managed to copy all the files (boot , unix /etc) from boot diskette but i i dont now which files
shall i copy from the root diskete. some files cannot be copied from the root diskette
if i can boot from my hard disk to single user its easy from me then
thank you and i hope that you will understand what iam asking. (my english are very bad)
delete from the root disk some files and the system cannot boot not even the single user. i boot from floppy using
the root and boot diskette.
i can see all the file systems included the root file system
i mounted the root file system to the /mnt directory of the diskete using mount /dev/hd0root /mnt
i go to the mounted directory
cd /mnt to my root disk.
the problem begins now. i try to restore the system back up
but the files don't go to the /mnt directory (the mounted directory of my root disk) but to the / directory which is the floppy.
i backup my system using the command
find / -depth -print |cpio -ovcB - O /dev/rct0
and i try to restore them using the command
cpio -iBudvcm -I/dev/rct0
or
cpio -icvdum -I/dev/rct0
any ideas who i can restore to the original location?
to the /mnt directory which is my root disk?
moreover i try (i am not sure if that can works)
to copy from the boot and the root disketes files to root directory of my disk. do you know , if it is possible of cource, which files shall i copy in order to boot not from the floppy but from the hard disk ?
i managed to copy all the files (boot , unix /etc) from boot diskette but i i dont now which files
shall i copy from the root diskete. some files cannot be copied from the root diskette
if i can boot from my hard disk to single user its easy from me then
thank you and i hope that you will understand what iam asking. (my english are very bad)