Hi all,
I have access to a standalone COS box that I got from work, but for unknown reasons I am only able to boot it in emergency mode.
This might be basics for the average developer, but I need to copy a file from it and I have no idea where to start.
I was able to browse to the file locally and I found it, but I could use some help with copying it.
I cannot access this box with WinSCP or PuTTy, because I am unable to boot it up normally and make the changes so I could access it from my home network.
I only have FAT32 USB sticks and NTFS external USB drives.
Please advice,
John
Ps.
I would have liked to boot it up normally so I could copy some more settings from it, but I gave up on that.
I have access to a standalone COS box that I got from work, but for unknown reasons I am only able to boot it in emergency mode.
This might be basics for the average developer, but I need to copy a file from it and I have no idea where to start.
I was able to browse to the file locally and I found it, but I could use some help with copying it.
I cannot access this box with WinSCP or PuTTy, because I am unable to boot it up normally and make the changes so I could access it from my home network.
I only have FAT32 USB sticks and NTFS external USB drives.
Please advice,
John
Ps.
I would have liked to boot it up normally so I could copy some more settings from it, but I gave up on that.
Share this post:
Responses (3)
-
Accepted Answer
You'll just have to use classic command line stuff. If you don't have ntfs-3g installed, you can forget the NTFS disk.
Plug in the USB stick and then run the command "dmesg". You will see the device name you have just plugged in. Something like /dev/sdb. You now need to mount it somewhere. Typically you do this under /mnt but you can do it anywhere.:
You can now use the cp command to copy files and the -R switch will copy files recursively. After you have finished you have to unmount the drive before removing it:mkdir /mnt/usb # or call the folder anything you want.
mount /dev/sdX /mnt/usb # for sdX use the device name from dmesg. There may be a number after the X. Check with "fdisk -l"
Any mount done like this will be temporary and will have to be redone if you reboot.umount /mnt/usb
There are heaps of tutorials on the internet for mounting USB sticks. -
Accepted Answer
-
Accepted Answer
Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here.
Register Here »