Fedora Installation :: Aanaconda Install And Bash Prompt?
Jun 10, 2010
Just tried to install a minimal F13 from the first CD. Picked minimal as the choice and it still asked for CD #1 and #2. I'll have to doublecheck if that can be averted by manually unchecking everything. However, a bit more disturbing--though that's annoying enough--was the fact that I, on a VM at least, couldn't get to a bash prompt during the anaconda installation. Is that normal now? Can anyone confirm or correct that on an actual hardware install, vs. a VM?
One used to be able to, with F5, or maybe F1, IIRC, get to, during a Fedora installation, a shell prompt, the way the vast majority of distributions do. I'm wondering if this is just an oddity due to the VM and possibly Fkeys not working properly, or something else that they've taken away from from Anaconda.
View 3 Replies
ADVERTISEMENT
Feb 2, 2011
I'm running Red Hat Linux 5.4 on HP DL580 server with 16 processors and 64 GB of RAM. I'm connecting to the server remotely through SSH. after entering the password, it takes time to return the command line, if I click ctrl+c during this time, I'll have the command line prompt but not the correct bash prompt (I have to run bash to pass to my correct prompt).I tried to install Apache on the server, ./configure took 4 hours to finish instead of 1 or two minutes, Oracle installation same behavior. Server Disks are mirrored using RAID controller.
View 6 Replies
View Related
Aug 19, 2010
I've run into something odd:
Code:
jdougher jdougher> cd
jdougher jdougher> echo $PS1
u W>
jdougher jdougher>
For some reason, rather than replacing $HOME with "~", my prompt just displays the name of my home directory.
View 2 Replies
View Related
Mar 24, 2010
I was attempting to change the bash shell color prompt on my RHEL / CentOS 5 server. When I login as my user account on my server I can see my 'PS1':
Code:
[carlos@srv1 ~]$ echo $PS1
[u@h W]$
I want to change my PS1 to:
PS1='[e[1;32m][u@h W]$[e[0m] '
When I look in ~/.bashrc, I don't see my 'PS1' line so I am confused and wondering how I do this on RHEL / CentOS systems.
View 2 Replies
View Related
May 29, 2011
I'm trying to change the Xfce Terminal Emulator prompt from bash-4.1$ to something like what kconsole has. If i issue a /bin/bash -l in the terminal, then I get the prompt and the colors that I want, but I'd like this to automagically happen when I click the Terminal icon in the Xfce panel.This is for Slackware 13.37 (32bit) and Terminal 0.4.6
View 2 Replies
View Related
Feb 19, 2010
I'm playing around with my prompt, and for some reason under certain conditions part of the prompt is output twice.
- When my terminal window isn't maximized it always outputs the prompt correctly.
- When the window is maximized it outputs the prompt correctly when I enter an empty command (ie, when I just hit enter).
- When it is maximized and I enter any command, it outputs the second line of my prompt twice.
I'm using urxvt.. I tested in xterm and it seems to work correctly, so I guess it's an issue with urxvt. My prompt code:
Code:
#!/bin/bash
function redblue {
local BLUE="[33[0;34m]"
local RED="[33[0;31m]"
local LIGHT_RED="[33[1;31m]"
[code]....
View 3 Replies
View Related
Jul 28, 2010
I changed the default SUSE prompt setting by modifying the shell variable PS1 to display the following information:
u : the username of the current user
h : the hostname up to the first '.'
w : the current working directory, with $HOME abbreviated with a tilde
I used export command to setup a new shell prompt:
export PS1="[u@h: w]$ " To add colors to the shell prompt and make a regular user prompt blue I used the following command syntax:export PS1="e[0;34m[u@h: w]$ e[m "
[Code]...
View 3 Replies
View Related
May 6, 2010
I would like to change the formatting on my BASH prompt from this:
anon@machinename.domain.poo:~/some/very/annoying/long/path$
to something like this:
anon@machinename.domain.poo:~/some/very/annoying/long/path
$
The idea is that I would be able to type a reasonably long command on one line without it wrapping to the next line so quickly.
View 2 Replies
View Related
Oct 26, 2010
Currently the terminal prompt looks like this:[karlis@karlis-desktop current_folder]$How can I minimize the prompt, so that it only shows $ or # without extra info in square brackets?I checked the preferences for the default Gnome-Terminal and Terminator - there are no settings for this. It is pretty hard to use terminal when working in directories with long names.
View 1 Replies
View Related
Feb 2, 2011
I have one account on an Ubuntu server with the correct PS1 variable and I want to make one of my other accounts on the same server have the same PS1 variable, so that my prompt on this new account (when I ssh into the machine) is the same as the original account.
Is there a way that I can pass this PS1 variable between accounts so the prompt is the same?
I have tried printing it out, copying the output, and then reassigning it to PS1 on the new account, but it just doesn't work.
Here is what is printed when I type echo $PS1:
[e]0;u@h: wa]${debian_chroot:+($debian_chroot)}[�33[01;32m]u@h[�33[00m]:[�33[01;34m]w[�33[00m]$
I want to assign that prompt (shown above) to my new account.
View 2 Replies
View Related
Apr 17, 2011
After writing a new prompt for Bash, I noticed that one character of my commands were being lost when it wrapped to the new line. Here is an image of the example (I typed 1234567890 over and over):
Here is my $PS1
PS1="
[[e[0;90m]d [e[0m]] [[e[0;90m]$(/bin/ls -1 | /usr/bin/wc -l | /bin/sed 's: ::g') files, $(/usr/bin/du -sh | cut -f1)[e[0m]
[[e[0;36m]#[e[0m]] [e[0;95m]u[e[0;90m]@[e[1;92m]h[e[0m]: [e[1;34m]w [e[1;30m]$[e[0m] "
What have I done wrong?
View 1 Replies
View Related
Jan 25, 2011
I'm trying to change the bash prompt and based on the man pages $ should show a $ which changes to a # for a SU. However, this doesn't happen on my machine, it's $ for both user and SU.The line in .bashrc is:export PS1="u@h:w$"
View 7 Replies
View Related
Feb 28, 2011
Everytime I log into the linux server at my workplace (I use putty), I don't get the bash prompt right away. I need to execute the command 'bash' to get it. Anyway to make this automatic? e.g.
Code:
host:1>
host:1> bash
user@host:~$
View 17 Replies
View Related
Jun 10, 2011
I have installed Ubuntu 11.04 on my desktop. When prompted to restart after installation, I select Ubuntu (not recovery mode) at the prompt and Ubuntu will not start. All I get is a big bright purple screen which does nothing. I have read some forums that suggested that setting the partition space was wrong and to try to reinstall it. I have tried to reinstall it but I do not get the option to adjust the partition at all. I did the first time I installed it but never saw it again. It just goes right through the installation process and asks me to restart. I again, select Ubuntu and I get another very brightly colored screen. I am trying to use it as a dual boot. I have Windows 7 right now and it works just fine. I have no idea what to do now. I also do not get any error messages. If there are any, they pass way to fast for me to see them.
View 7 Replies
View Related
Jan 5, 2010
Is running a command in the Alt+F2 prompt possible in a bash script?I need this for a launcher for gnome-shell.For it I have written a little script to check if the process gnome-shell is alive and act accordingly.The script works fine, I just don't know how to write "debugexit" to the Alt+F2 prompt, as that is the only decent way I have found to shut gnome-shell down and going back to gdm desktop smoothly.
View 1 Replies
View Related
Jun 3, 2015
I recently attempted to install Debian 8 on my iMac (late 2011). I partitioned my drive using disk utility to create FAT partitions (100GB for Debian and 2GB for SWAP) and installed rEFInd to boot into Debian.During the installation process I selected the drives I partitioned and set the mount points for each as / and swap.
Everything was fine and installation was successful and was prompted to restart to set up Debian. However when I did Grub did not recognise the Bluetooth keyboard. Unable to do anything it started the "Debian GNU/LINUX option" and loaded into what seems to be the grub prompt/terminal with the following displayed in bold:
[ 3.538535] i8042: No controller found
Loading, please wait...
Fsck from util-linux 2.25.2
/dev/sda5: clean, 112838/6119424 files, 1276387/24455424 blocks
[ 9.123670] [drm:radeon_pci_probe] *ERROR* Radeon kernel modsetting for R600 or later requires firmware-Linux-nonfree.
[ 10.715321] systemd-fsck[363] : fsck.fat 3.0.27 (2014-11-12)
[ 10.715690]systemd-fsck[363] : /dev/sda1: 248 files, 35995/403218 clusters
Debian GNU/Linux 8 iMac tty1/I was able to get my hands on a USB keyboard which works. Obviously I can't boot into Mac now because grub has taken over.
View 7 Replies
View Related
May 30, 2011
Does Fedora Now Prompt End Users To Install New Versions? If so, what a terrible idea and how do I disable it? So, I get a late night call from one of the people I support with their PC. You know, the basic PC user who barely knows enough to be dangerous. I'm sure we all have friends like this, who we help out and keep Linux running for them. Anyway, he says Fedora prompted him to upgrade to Fedora 15 (from 13) and of course, he says OK. He usually says OK when fedora asks to update his software.
Now things are hosed, he can't get on-line and worst of all, he's running F15 with Gnome3 and can't find his way around or do the things he's used to doing. Why on earth would fedora prompt to upgrade to a new version via the net? (..btw - he said it took forever.. ) I'm sure this exact scenario will be played out 1000s of times and peeps like me will be wasting lots of time straightening things out after the fact. Seems to me Fedora should not prompt for full version upgrades. It's trouble waiting to happen and that kind of thing should be user initiated by someone who actually knows what they are doing, so as to avoid the scenario that just played out with me.
View 7 Replies
View Related
Dec 20, 2010
I decided to upgrade my FC installation to the latest version - FC itself offered the upgrade when I turned the machine on, so it appeared that it was nicely packaged to make the upgrade easy.After a long download of packages, the machine rebooted and then started taking me through configuration options (timezone, disks to use for the installation etc) but then it crashed trying to write to disk and now leaves me at a grub prompt whenever I boot.Is there any way to "get at" the installation files and get back into trying to install or do I now need to download an ISO and burn a DVD and start all over again?
View 1 Replies
View Related
Jan 13, 2010
I am getting more and more comfortable working with the shell, thus I would like to change its prompt color to my liking, as it will be easier for me to distinguish commands vs. outputs.
I've read a couple of instructions of how to change the .bashrc file and am familiar with what the codes in PS1 mean. Except, this file can be intimidating to newbie eyes.
Where exactly on the file is it that I need to make the change?
Here is what I am trying to do. I would like my prompt to like exactly like the prompt I use in Backtrack - which consist in two different colors, one for the host and another for the pwd. Here is what the Backtrack .bashrc file looks like:
# /etc/profile: This file contains system-wide defaults used by
# all Bourne (and related) shells.
# Set the values for some environment variables:
export MINICOM="-c on"
export MANPATH=/usr/local/man:/usr/man:/usr/X11R6/man:/usr/local/share/man:/usr/bin/man:/usr/share/man
export HOSTNAME="`cat /etc/HOSTNAME`"
[Code]....
I also read that in order to have the same results when I log in as root, I will have to copy the modified .bashrc file into /root
View 8 Replies
View Related
Jun 1, 2011
I've written custom prompts for several boxes but this one has an error I just can't identify and need a second set of eyes to help solve it.
I've set the following as my prompt: PS1="[e[30;42m]u@h[e[0m][e[30;47m] #][e[0m][e[32;1;40m]w>[e[0m] "
(hostname/un obscured & image enlarged slightly to make it easier to read.)
Everything looks fine initially as you can see here:url
1- It sets the username@host in back on green text.
2- It then changes to an off-white an prints the command number for the terminal.
3- Next, changes to a green on black font and prints the working directory.
4- Finally is prints a ">" character and a space.
The problem occurs when I try to "up arrow" to reuse and/or edit a prior command. It prints the prior command fine, but if I arrow over to edit the command sometimes the first character can not be deleted from displaying as you can see in the following composite screen-shot
url
Here I did a simple ps and piped it through grep. After getting the output, I up-arrow to repeat the command. As you can see by the second section the cursor only goes back to the "s" in ps. The "p" can not be deleted. Hitting enter just displays a new line, so the "p" was just a ghost being displayed and not really there.
View 2 Replies
View Related
Oct 20, 2009
Im running fedora10 and have installed quite a few extra apps etc that are not from yum. Things like vmware workstation, Lotus notes, crossover etc. Every now an then I get a popup asking to upgrade to fedora 11. I do want to move onto 11 but does this way of upgrading work well or is there a better way to upgrade. I was thinking of making an image on my laptop first but have not found a good image tool that allows me to save and restore an image to a network.
View 1 Replies
View Related
Oct 15, 2010
I would like to modify Bash Prompt so it does not show the whole $PATH but just the current and parent directory. I am using Ubuntu.
View 3 Replies
View Related
Oct 9, 2009
I have a script almost working except for 1 thing. What I'm trying to do is read a file that has the files that need to be FTP'd using a bash script. I have everything working except the reading of the file. It works outside of the ftp script I've wrote but once I put it in the FTP script it doesn't.
Here's the Script:
#Here's where the problem is that I know of
I've been playing w/ the exclamation points to see if that could be the problem, but so far no luck.
View 6 Replies
View Related
Jun 17, 2011
I installed Umbuntu (MythBuntu 11.04 as backend system) and initially when starting it just went to a blank screen (no prompt, nothing). After going through safe mode I was able to get to a prompt and into the UI in low graphic mode.After updating the graphic drivers (nvidea) to the latest and changing some grub options (GRUB_CMDLINE_LINUX_DEFAULT="acpi=off splash") when I restarted it went to the busybox initramfs prompt. I typed "exit" and the UI started up normally.
The next time I restarted it went through to a blank screen. I typed "exit" again and enter and the UI started up normally again (even though I couldn't see what I was typing at the time).While I was going through the recovery mode I do remember some messages about disk not found/mounted, when I googled it I found stuff about entering rootdelay=90 in menu.lst which doesn't exist anymore. Is there a similar option I can enter somewhere in 11.04?Also I'm new to Ubuntu (in fact any Linux distro as an admin), where would I find any log files that may help with finding the problem.
View 2 Replies
View Related
Jul 30, 2009
I'm trying to install F11 in my new laptop [URL] and I'm unfortunately about to give up, but I want to give this option. What I want to do is use the live cd (on a usb stick) to boot on a text-only session. Supposedly the way to do that is type "linux text" on the boot prompt but the problem is that I can't even get there. After booting I get the grub menu with two options: boot, and verify and boot. Hitting esc doesn't bring me to the boot prompt. I can get to the grub menu, but I'm not sure what to do from there. And I can edit the boot and kernel options, but I'm not sure whether that will allow me to log in a text-only session.
View 4 Replies
View Related
Jul 30, 2011
I'm creating a bash script to do some tasks for me. I would like the script to be run at a set time of everyday. My first question is if it is possible that if one of the commands in the script requires sudo, is there a way to get around it with out making sudo not require a password. Such as, is there a way to include the password in the script? If that is the case, I can always just set the file as read only by sudo. I've been looking for a way to do this, with no success. if I have a command that wants input, how do I give it to the program. For example, if I want to make a zip file that is encrypted, the command would go as:
Code:
zip -r example * -e
now how would I get the script to insert my wanted password.
View 14 Replies
View Related
May 5, 2011
I just installed a test Natty VirtualBox server from the "mini" iso. After doing that the normal boot always ends with a blank screen and cannot login. The recovery boot option does work normally. After much digging around and various tests I found that the "splash quiet" boot options cause this issue.
I removed them from the /etc/defaults/grub file and ran update-grub. Next boot the login screen came up after as normal. It seems when the splash flashes that purple screen with the Ubuntu 11.04 message it is breaking something and does not get back out of some graphics mode.
This is in a VirtualBox window and I noticed that vesa framebuffers seem to be used by default in grub now. I never had this issue in previous releases and I'm just wondering if others have seen this and if there is a better fix than disabling splash. I don't mind having it disabled as this is a server install anyway and I'm fine with seeing debug messages during boot. If other have seen this then perhaps it needs to be logged as a bug?
View 1 Replies
View Related
Nov 22, 2009
i could manage to install fedora 12 on my laptop (asus f6a) using the iommu=off option, but when i try to boot it i just reboot without even seeing the fedora logo, i just see the the prompt for 5 seconds and then it reboots.
View 3 Replies
View Related
Feb 17, 2011
I am working on different versions of Ubuntu & I looking for a script that will prompt the user to enter the host name & user name that he wanted for that system at initial boot up.
View 2 Replies
View Related
Mar 20, 2009
I finally got my system to boot to a console prompt. This is a fresh installation of fc10 that I have struggled to get working with my old Adaptec 2940 scsi hardware. I am a little fuzzy on the whole gtk, gdm, gnome thing. So how do I go from this console prompt to configuring the new installation with desktop?So let's say I am logged on as root on the console.
View 8 Replies
View Related