Quick Host Registration Error
-
This post is deleted! -
I’ve removed buildroot-2013.08 and replaced it with 2013.11, however it needs to contain the stuff from [url]https://svn.code.sf.net/p/freeghost/code/trunk/src/buildroot[/url] to work properly.
No, you wouldn’t need to put that though.
-
This post is deleted! -
You need to be root.
try:
[code] sudo “mv /tftpboot/fog/kernel/bzImage /tftpboot/fog/kernel/bzImage.ORIG” [/code] -
This post is deleted! -
It looks like you missed the second quotation mark.
Type CTRL+C in the terminal. you’ll be back at the:
savu@savu-MS-7673:~$ promptTry copy and paste the below command:
[code]sudo mv /tftpboot/fog/kernel/bzImage /tftpboot/fog/kernel/bzimage.ORIG; sudo cp bzImage /tftpboot/fog/kernel/bzImage[/code]
-
This post is deleted! -
That’s perfectly fine. You should be set.
sudo command gives temporary access as your user (savu) to root. This is why you have to type your password.
You can, more easily, use this same method by signing in directly as root.
Open the terminal.
Type
[code]sudo su -[/code]Enter the user’s password. You will then be presented with a command prompt of something like:
root@savu-MS-7673:~#The $ symbol is usually used to describe a user. # symbol usually represents “root” access.
Then you can type the commands without sudo preceding it.
-
This post is deleted! -
another neat trick I learned is that if you try to execute a really long and complicated command and it gives you access denied because it needs sudo, you can just type[CODE]sudo !![/CODE] and it will execute the previous command with sudo.
-
It’s actually way more useful than just the last stated command.
!! (bang bang) as is often used in my tech world, basically in *nix systems means to redo the last command.
So lets say you type:
[code]mv /tftpboot/fog/kernel/bzImage /tftpboot/fog/kernel/bzImage.ORIG[/code]
And get the last command permission denied, you are literally just telling it with:
[code]sudo !![/code]
Repeat the last command typed but prepend sudo to that command.
If you type the command:
[code]history[/code]You be presented with a screen similar to this:
[code]1000 exit
1001 history[/code]
The Number columns are the number of commands stored, and the iteration of that command you’re on. In this case, the 1000 command I typed was exit, and 1001 was history.If let’s say the mv command from above was 200 on the list, and I typed many other commands, but need to repeat the 200 command. I would just type:
[code]!200[/code] It will redo the 200 command. -
This post is deleted! -
This post is deleted!