Software :: Unable To Get To Bash After Booting

Feb 22, 2011

I have a linux system in a target board(Not GUI), which boots up and doesn't give me a bash prompt. So to get a bash terminal, I always need to telnet to it. (It is starting a telnet server during bootup) Please let me know how to get the terminal in the same window where it boots. In otherwords, once the rc.sysinit completes, I need to have a bash terminal there.

View 4 Replies


ADVERTISEMENT

Red Hat / Fedora :: Unable To Mount 'LogVol00' While Booting

Jun 23, 2011

I reduced my size of "LogVol00" by "lvreduce -L" command. Then i tried to reboot for mounting. But i am getting error as below. please help me in this, i don't have data in "LogVol00". but i don't want to reinstall OS. error i am getting when i boot:

"mount: wrong fs type, bad option, bad Superblock of /dev/mapper/VolGroup00-LogVol00

Missing codepage or helper program, or other error In some casses useful info is found in syslog -try dmesg| tail or so"

View 1 Replies View Related

General :: Unable To Use Chicken-Egg In Booting Sequence

Jul 13, 2010

chicken-Egg problem in booting sequence.......

View 6 Replies View Related

General :: Unable To Use Functions With Bash

Dec 24, 2009

Code:

#!/bin/bash
#Functions
CallFunct() {
functio()

[code]....

When I try to run the current code, it stops on the bracket after functio() in CallFunct(). The only way I could get this to run was by removing CallFunct and just calling functio.

View 3 Replies View Related

Fedora :: Unable To Find Root Device Booting 14?

Mar 19, 2011

I've installed Fedora 15 with Fedora 14 already installed in other partitions, but now I can't boot Fedora 14 as it prompts "no root device found", these are both grub.confQuote:

#boot=/dev/sda
default=0
timeout=120

[code]...

View 2 Replies View Related

General :: Unable To Start X When Booting With Acpi=off Or Modeset=0

Jun 30, 2011

Yesterday I thought I had solved my "Blank screen boot"-issue when I successfully got to the terminal login screen without the screen going black by booting with

Code:
Linux acpi=off
I spoke too soon. I found out shortly after that when trying to "startx" with acpi off gave me these errors:
Code:
WARNING: Error inserting i2c_algo_bit ("filepath"): No such device
WARNING: Error inserting intel_agp ("filepath"): No such device

[Code]....

Then I read somewhere that booting with "i915.modeset=0" might work. So I removed acpi=off from lilo and added this, and sure enough, I got to terminal login, but I get the same errors with "startx".

I must make it clear that I can successfully perform startx when I boot without "acpi=off" or "i915.modeset=0", I am unable to see the screen but I can hear the KDE fanfare, etc.

View 8 Replies View Related

Hardware :: Unable To Get Shell When Booting Through Serial Port

Feb 22, 2011

I am working on a embedded target board which runs on linux. The target board is connected to a linux machine through serial port. To bootup the target board, I run the minicom in the linux machine, boot the kernal of the target board through giving the boot command through the serial console (minicom). Now the question is when the target board boots up, it doesn't starts a shell. The rc scripts are getting executed. There are target specific applications getting started from the rc scripts. I appended & to the last launched application. Still I don't get shell prompt.

View 2 Replies View Related

Ubuntu :: 10.04 Booting Slow - Unable To Enumerate USB Device To Port 1

Jul 16, 2010

Recently my Ubuntu 10.04 was booting slow and to figure out what was going wrong, I booted Ubuntu in text mode. There I found it was hanging on for 5-6 sec showing "unable to enumerate usb device to Port 1". I know it has something to do with Port1 / usb device, but could not understand and solve it.

View 3 Replies View Related

Ubuntu :: Unable To Select <OK> Or <Cancel> In A Bash Dialog?

May 27, 2011

I am attempting to put a SystemRecoveryCD ISO onto a USB drive by using a shell script that is bundled with the ISO file (usb_inst.sh). When I run this script, I am presenting with a dialog box with a blue background (see attachment) with two options: <OK> and <Cancel>. I am able to switch between the options by using the arrow keys and Tab, but if I try to select an option by pressing Enter, O, or C, a new terminal line appears (as in the attachment), preventing me from selecting anything in the dialog. I feel like I'm not doing something extremely obvious;

View 3 Replies View Related

General :: Unable To Execute Simple Bash Scripts ?

Dec 24, 2010

All of a sudden,i can't execute a simple script as follows:

exit 0

and:

exit

View 18 Replies View Related

Ubuntu Networking :: Unable To Use Zonet ZEW2500P Module - NetworkManager Won't Start On Booting

May 2, 2010

After upgrading to Lucid said adapter is nonfunctional - NetworkManager won't start on booting (I'm using 2870sta module) and it finds no networks - neither does WICD. The device itself is identified: "lsusb" gives a line "Bus 001 Device 005: ID 148f:3070 Ralink Technology Corp." "iwconfig" gives nothing under lo and eth0 and this under wlan0:

Code:

RTxx70 Wireless ESSID:""
Mode:Auto Frequency=2.412GHz
Link Quality=10/100 Signal level:0 dbBm Noise level:-143 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0

And a "lsmod | grep -e rt2 -e rt3" gives:

Code:

rt2870sta 525366 0

(Note: I had a similar problem going from Jaunty to Karmic, but blacklisting rt2800usb in my blacklist.conf fixed it. No such luck this time.)Using a Zonet ZEW2500P.x86-64 Lucid.

View 9 Replies View Related

Programming :: Unable To Use SFTP File Upload Bash Script

Oct 7, 2010

upload a file to a business partner of ours in another country. Currently they have an SFTP server set up for us that I am using to download a daily generated file from a previous requirement. I use a bash script to download it since its fairly simple.

Quote:

sftp username@address/filename_filedate.zip /home/user/filedirectory > /var/log/joblog

(removed private info) To satisfy the new requirement I have been trying to write something similar to this;

Quote:

sftp /home/user/filedirectory/filename_filedate.zip username@address:/remotedirectory/

sftps manual page only gives a hint about using a batchfile, however i still cannot get it to work. Does anyone know another way? Or if you can even suggest another method or application? It seems like a bit of a cop out you can EASILY download using the sftp command but can't upload.

EDIT - forgot to mention I have already got keyless entry set up using ssh keys.

View 1 Replies View Related

Slackware :: Kernel Panic Not Syncing: VFS: Unable To Mount Root Fs On Unknown- Block(8,4) While Booting

Jun 5, 2010

im a rookie at configuring linux and i have problem booting slackware 13.1 just installed. i get a message similar to this Kernel panic - not syncing: VFS: Unable to mount root fs on unknown- block(8,4) i got this one from another user who has a similar problem, they say i should fix lilo.conf and it actually was pointing to a wrong partition so i fixed it. i also fixed /etc/fstab to make it point to the right partition /dev/sda3. but after fixing the files, it still wants to load something in /dev/sda4, i dont know why so what should i do next, please explain with commands and not just words. edit this is my lilo.conf

# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
# Append any additional kernel parameters:
append=" vt.default_utf8=0"
boot = /dev/sda3
[Code]...

View 12 Replies View Related

Software :: Unable To Compile Gnome Commander - Bash: ./configure: No Such File Or Directory

Feb 2, 2011

I have downloaded the latest gnome commander source code from the gnome commander home page. Following the instructions in the readme I have extracted it from the tar ball and changed to the top level directory of the source code. I execute ./configure and get a bunch of "checking" results.

Quote:

bash: ./configure: No such file or directory
ken@ubuntu:~/Desktop/gnome-commander-1.2.8.9/src$ cd ..
ken@ubuntu:~/Desktop/gnome-commander-1.2.8.9$ ./configure

[code]....

I find Makefile.am and Makefile.in present in the directory. I generally install from deb packages. Still, I don't think it should be this hard to compile a package given the seemingly simple directions provided.

View 4 Replies View Related

Ubuntu :: On Booting System I Get Login Menu But Unable To Login, It Says Some Critical Error Occurred?

Mar 15, 2010

System was fine with :Ubuntu 9.04 (had also installed kde )then....I wanted to try some change to gdm so i downloaded gdm while building it , it asked "PAM" libraries to be installed so i installed PAM ... but ignored the instruction to reinstall SHADOW (library i guess..),Now :on booting system i get login menu but i am not able to login , it says some critical error occured

1) install new copy of UBUNTU and remove old

ps :1) i can log into system through live cd

2) i can use recovery mode boot and log into terminal as root(startx is not working from this terminal..

View 9 Replies View Related

Ubuntu :: Booting After Installation (Dual Booting With Vista) - Error: No Such Devide Found

Jun 24, 2010

i decided to install ubuntu in my PC,i downloaded the .ISO image and i installed it in my USB. After trying it and all that i observed that i really liked it and i decided to formally install it to my computer in the hard drive. When i reached the partition thing,i selected to dual boot with Vista and select between each them in every startup,when i clicked FORWARD it gave me an error which i did not read(because,again im a noob) so i clicked cancel.

Today i wanted to go through the process again and now really install it,so again i went to the time zone part and i clicked forward but then,instead of taking me straight to the partition phase,it appeard a window saying "The installer has detected that the following disks have mounted partitions: /dev/sda ...." I clicked yes,to unmount this partitions so it took me to the partition thing,once there i selected the option to install Ubuntu with Vista and select between them i neach startup,then i clicked forward and went to the username/computer name process,once i finished i continued to the next part,the installation,but i selected to import all of my WIndows VIsta default user data,after that i clicked forward and went to the installation process,i went down stairs to eat soemthing while it finishes,i came back and it was finished,it asked me to reboot so i clicked in Restart Now.

When it tried to boot,appeared an error saying: Error: no such devide found: #################### Grub load(or something like that) grub rescue: and it was a command line,since there i havent been able to boot into vista or Ubuntu,im really scared because is the first thing related to OS installing ive done,so i booted my USB and ran the trial and right now im trying to find out what to do from that trial version.
I just went to the INSTALL UBUNTU 10.04 LTS application under the System>Administration Menu and found out that in the partition phase the Install and allow to select between both systems in eahc startup option,i dont know what to do,i foudn out that my HD has still all its data(MUsic/Videos/Folders/Programs/ect.)its just that i cannot boot from it. Also in GParted it appears as /dev/sda1/ and a warning icon besides it,also when i go into information, thers this warning there [URL]

View 9 Replies View Related

General :: Booting Live Cd Of Fedora 15 / Change Argument During Booting Mode?

Jun 1, 2011

I am in a situation to boot fedora 15 live cd in to command line mode, not graphical mode, for some testing purpose. how to change argument during booting mode

View 4 Replies View Related

General :: Not Booting Through Nfsroot But Booting Properly Through Flash

Jan 6, 2011

I am using a linux kernel 2.6.36 using mips architecture. I have succesfully booted the machine through Flash memory, but it is not booting through nfs. It is getting stuck at the stage where the image starts loading. In short the vmlinux.img file is being copied properly to nfsroot but the image is not loading.

View 5 Replies View Related

Ubuntu :: Slow Booting Of BIOS When Booting?

Jan 18, 2010

I've been searching the forums for any posts that cover my problem, but most of the booting problems I've found are different from mine.Anywho, the situation:ell laptop, 2 partitions, first is Windows XP, second is Ubuntu Karmic.Whenever I turn on my computer the first loading screen that shows up (is this the BIOS? Excuse my little knowledge of this stuff), before GRUB loads, is really slow. It takes about a minute to load.However, whenever I restart from my XP partition, it suddenly loads fast! And this does not happen when restarting from my Ubuntu partition or anything

View 7 Replies View Related

Programming :: Bash: Printing The Line Number In Bash Script?

Feb 4, 2011

I would like to know how do I print the line # in a script. My requirement is, I have a script which is about ~5000 lines long. If there are any errors happen I just exit. And I would like to add the line # of the script where the error happened.

View 3 Replies View Related

General :: Write A Literal Bash Command In A Bash File?

Nov 29, 2010

I create a bash script that writes another bash file. But in the generated bash file I want to write a bash command in the file and not executing it.Here's my bash file:

Code:
#!/bin/bash
cat > ~/generateGridmix2data.sh << END

[code]...

View 6 Replies View Related

General :: Running Bash But Common Bash Commands Not Working?

Jul 17, 2010

below are the details of my system. I have bash as my current shell, some really common commands aren't working.

Do I need to do a re-installation of bash? Or how do I install a selection of bash commands which I need? (for example a subset of [URL])

Code:
root@sdptfw:~ # uname -a
Linux sdptfw.sdpt.co.za 2.4.36 #1 Tue Jul 22 13:13:24 GMT 2008 i686 i686 i386 GNU/Linux
root@sdptfw:~ # echo $SHELL$
/bin/bash$

[Code]....

View 13 Replies View Related

Programming :: Bash Ctrl+c Tarp And Bash Read With Timeout?

Jan 24, 2010

simple bash code:

Code:
#!/bin/bash
trap "echo 'you got me'" SIGINT SIGTERM # to trap ctrl+c
echo "Press ctrl+c during 5 sec loop"
for ((i=0;i<5;i++)); do

[Code]...

How come code behaves normally and stops when ctrl+c signal is caught and resumes, but after I use at least one timeout read in the code it looks like, if signal is caught again it doesn't pause the execution but skips the loop. If you remove -t (timeout) option from the read, both loops look the same!

View 10 Replies View Related

Ubuntu :: Terminal Bash / -bash: Ls: Command Not Found

Jun 5, 2011

I got a problem with terminal, since i'm really a noob with terminal i don't know how to fix it.Everytime i type in a command it shows for example:

-bash: ls: command not found

Even the basic commands don't work... just cd <directory> and those things works

View 9 Replies View Related

Programming :: Reading A Bash Variable In Bash Scripting ?

Nov 26, 2008

I have a config file that contains:

my.config:

Code:

Now in my bash script, I want to get the output /home/user instead of $HOME once read. So far, I have managed to get the $HOME variable but I can't get it to echo the variable. All I get is the output $HOME.

Here is my parse_cmd script:

Code:

View 3 Replies View Related

Programming :: Run Multiple Bash And Php Scripts From A Bash Script?

Jul 25, 2011

I have written quite a few separate bash & scripts and php scripts that up to now I have run from cron jobs. However I have to estimate how long each takes to run, before running the next and so it probably takes much longer than necessary to run them all. They have to run in order.

Now there are so many I am thinking it would be better to have a master bash script that would run one after the other, but I am not sure how to get the master script to wait before starting to run the next script. Is this possible and is there a command that will make the script wait between bash and php scripts , for them to finish, before running the next?

View 5 Replies View Related

Slackware :: Bash - Random Headers When Starting Bash In X?

Jan 13, 2011

I have searched and searched and maybe I don't know how to articulate this issue with out just posting the problem I'm having. Every time I bring up a terminal window I get the following "Header"

declare -x COLORTERM="gnome-terminal"
declare -x CPLUS_INCLUDE_PATH="/usr/lib64/qt/include"
declare -x DBUS_SESSION_BUS_ADDRESS="unix:abstract=/tmp/dbus-xSFd6zqrYQ,guid=dc5e07974559da016842742900000090"
declare -x DISPLAY=":0.0"

[Code]...

To be honest I cheated and used the .bashrc / .profile files from Ubuntu and all was working fine for a while now and it seems something changed to cause this... any ideas on why I am getting this? I checked my .bashrc and my /etc/profile and it doesn't look like anything is amiss..

View 3 Replies View Related

Programming :: Bash: Get Filename And Extension Using Bash?

Jan 9, 2010

I would like to get the filename (without extension) and the extension separately. The best solution I found so far is:

Let FILE="thefilenameofsomefilesfor_instance.txt"

Code:

NAME=`echo "$FILE" | cut -d'.' -f1`
EXTENSION=`echo "$FILE" | cut -d'.' -f2`

I think it would be better to count the len and remove 3 chars to right to get the extension, but it can be macintosh filenames with have 4 chars for extensions.

View 5 Replies View Related

Slackware :: If Close Terminal Ran Bash Script Inside / Bash Script Stops

Apr 28, 2011

I've noticed something, and hoped there was a work around.when I write a simple bash script, and run it, if I close the terminal i ran the bash script inside, the bash script stops. What are the solutions for this? Basically I want to run my bash script and close the terminal, keep the bash script running.

View 6 Replies View Related

General :: SSH Connection From BASH Script Stops Further BASH Script Commands

Dec 3, 2010

What happens when the script executes is that the ssh connection works and parks me at the remote hosts's shell login. Therefore, the "firefox" command refuses to execute. I need to know how to make the "ssh" connection occur, stay open, and go into the background so that the rest of the script can execute.If I could also do this with the "firefox" line so that the entire term window could be closed would also be helpful.

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved