I have ArchLinux booted from USB and I already am confused on a few things. I have to mount root so that I can use it right? But how is it functioning without a mounted root from the beginning?
Are you refering to the chroot part of the installation process ?
This part of the installation is meant to configure your future "real" archlinux system.
For that, you are working with your live usb. This live usb runs a version of archlinux with all the useful package for the installation. This include a root folder among other things.
When I boot from USB am I looking at the file structure under my USB from where I start? I have to mount on the computers hard disk then from the USB?
Not sure to understand the second question, but for the first one : when you boot from your USB key, you are indeed looking to the file structure under your USB when you cd around.
If you only need ethernet, it should be rather simple once you have a dhcp client.
You mostly just need to plug in the ethernet cable. Now, you should still verify that your ethernet interface is up, as stated in the wiki :
ip link show dev <interface-name>
In the command above you have to replace the name of your ethernet interface with your own. You can find the name with ip link, which will list all your interface. My ethernet is called enp2s0 and follow the new naming scheme for interface name.
Once you have that, you should check that the interface state is UP.
If it's DOWN while your ethernet cable is plugged in, you should try enabling it :
Then this is even more valid
If you would do it every week, why not, but every 4 hours is brutal for the servers...
Good to know, thanks !
Hum... Never thought of that.
I guess
alias docker='sudo docker'is not good either.But, what if I was putting my special
sudoaliases in a file owned by root. It should be safe, right ?Good to know !
Are you refering to the
chrootpart of the installation process ? This part of the installation is meant to configure your future "real" archlinux system.For that, you are working with your live usb. This live usb runs a version of archlinux with all the useful package for the installation. This include a root folder among other things.
Not sure to understand the second question, but for the first one : when you boot from your USB key, you are indeed looking to the file structure under your USB when you
cdaround.Maybe this will help if you didn't see it already : https://archlinuxarm.org/forum/viewtopic.php?f=55&t=2106
If you only need ethernet, it should be rather simple once you have a dhcp client.
You mostly just need to plug in the ethernet cable. Now, you should still verify that your ethernet interface is up, as stated in the wiki :
In the command above you have to replace the name of your ethernet interface with your own. You can find the name with
ip link, which will list all your interface. My ethernet is calledenp2s0and follow the new naming scheme for interface name.Once you have that, you should check that the interface state is
UP.If it's
DOWNwhile your ethernet cable is plugged in, you should try enabling it :I'm pretty sure I would never plug my laptop with that setup, just to see the disco light ;)
Did you tried with Wine or running windows in a virtual machine ?
edit: On second thought VM is probably a dead-end given it has no access to the hardware, most of the time...
Now I can use bash, like everybody should :
End of this list.
Back to top