Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
you haven't told us what access you have to the servers. You could use a USB stick, or you could bring up networking manually and SCP/SFTP/RSYNC it across /etc. Do you have physical access or is it remote?
If you are logged in to a remote server I'd be betting the network is already up.
How you ship the file depends on what you have - and what impediments are in place (thinking PAM here). scp might work.
Giving more detail rather than terse responses will allow to to get better help.
I see enoX-ifcfg in network-scripts. X is number > 0. can one of these be configured in rescue mode? Would i use DEVICE, IP, NETMASK, GATEWAY then a systemctl start for the network?
Get "Connection actiavation failed: No available devices found"
if you are able to work on the remote server, that means you're "in" already, no?
have you tried scp?
how are you "getting into" the server?
what is the host machine? linux? windows with putty? something else?
and possibly more info required. without it, Ambiguous answers internet-wide.
In remote server via ILO. In rescue mode, booted to CentOS iso. Set interface file ifcfg-ino1 with IP, netmask, gateway, etc. Created mbr. Need to get mbr file to another server. systemctl restart network.service give error described above. scp does not work. Ifconfig shows the interface ino1 is set with IP, netmask. Cannot ping gateway. Brand new server with no OS.
What else can I tell you?
May have to have tech at remote site put usb in and copy to that. Slow.
Have you mounted the disks/partitions as I recommended earlier? After that you should then do a chroot to partition containing / to do the "systemctl start network".
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524
Rep:
Rescue mode on the install CD/DVD is good for a very few things, such as reinstalling the boot loader, or working in a chroot environment. If you just want to copy a file, use a live CD, like Knoppix.
The rescue shell is primitive. But it is indispensable for certain tasks. In this instance you want to use a live CD/DVD.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.