Slackware :: Attempting To "speed Up Boot Time" By Using The "dash" Shell Instead Of "bash"?

Apr 23, 2010

i was attempting to "speed up boot time" by using the "dash" shell instead of "bash"there is a post on here which describes this.i installed the scripts and uhhhh....rebootednow it seems that i kinda sorta forgot to install "dash" before reboot and now ihave no system shell.no root user accessonly my regular user works, kinda...it seems that i cannot edit anything eitherit won't do any temp dataso with mc i cannot save any edited files.....prompt looks like thismichael@(none):i am hoping i just need to install dash....but with limited power at the command prompt this may be interesting.

View 5 Replies


ADVERTISEMENT

Programming :: Perl About System Command / Fails If The Standard Shell Is Dash And Not Bash?

Jun 30, 2011

I am trying to fix a perl script, and I really suck at perl. But I think this problem will be easy for people who know it.

The problem is, I have an old setup script someone wrote many years ago. It fails if the standard shell is dash and not bash. The only way I've gotten it to work is to point /bin/sh to bash. I looked thru the script and it uses "system" many places, and I think that's the problem.

I searched for it and found this link:url

My plan is to include this function:

Code:
sub system_bash {
my @args = ( "bash", "-c", shift );
system(@args);
}
Then I could simply change all calls to system into system_bash and it should work?

The parameter to the system calls is usually some variable. What if the parameter is a list already? Do I need to test for it somehow, and if it's a list, prepend "bash" and "-c" to the list? How do I do that?

In the script there are lots of places like this:

my $error = system($cmd);
if ($error) {
die/warn "some error message";
}

Shouldn't there be a return in the system_bash function?

View 8 Replies View Related

CentOS 5 :: How To Speed Up Boot Time / Disable Or Change Eth0 At Boot / Searching?

Jan 11, 2010

This on a Vostro 1220 Laptop w/ Intel 5300 wireless:

A.I have long boot up time.I think it's because of the eth0 network search which I don't use.I have an intel wireless 5300 card running.How can I speed up the boot time, i.e. disable or change the eth0 at boot, the searching?

B:When I restart or shutdown, the screen flashes repeatedly and gets some garbled colors along the top before finally rebooting looks like windows ME or something).This vostro has an intel x4500HD vid chipset in it.

C.How do I get into gnome configuration editor to turn on Metacity compositing? Alt-F2 and run gconf-editor doesn't do it. I don't do compiz, but need compositing.

D.I need to install Chromium Browser as it sync my bookmarks.I have RPMforge enabled btw also...how can I do that? I.e. rpm repo for chromium?

This will help me get off to a running start so I can get up to speed on CentOS..

View 3 Replies View Related

Slackware :: Writing Basic Bash Script To Toggle Two I8kctl Commands (fan Speed Hi/low)?

Jun 11, 2011

I'm on a Dell Inspiron 6000. I installed i8kutils and it works. Fan speed reduces CPU temp from 50C to 44C. A start-up script invokes the i8k module: $ udo /usr/sbin/modprobe i8k force=1 which creates /proc/i8k. The man page for i8kctl is straightforward: a few simple commands to read info from the aforementioned file.So. I know nothing about writing even basic bash scripts. I gave it a go here but I know this is way wrong. Would anyone like to help a guy out? This is my starting point (don't laugh):

Code:
#!/bin/bash
# script to toggle fan speed low/high

[code]...

View 5 Replies View Related

Ubuntu :: ESC Character In Dash Shell

Oct 21, 2010

when I try to enter an escape sequence in the interactive mode of dash, it keeps on spewing out the <ESC> character as ^[ displayed in plain text instead of catching it as a control character. I vaguely remember encountering this on some UNIX shell but for the life of me I can't find anything on it. So how do I properly enter escape sequences in dash's interactive mode? (it supposedly supports vi line edit mode but I can't access it at all because of the ESC situation)It's not a make-or-break thing.

View 2 Replies View Related

Ubuntu :: Speed Up 9.10 Boot Up Time?

Jan 11, 2010

Despite the fact that Ubuntu 9.10 boots up faster than its predecessors (I didn't time the boot up myself, so I can't say for sure), my Ubuntu laptop still takes around 50 seconds to boot up fully. Now I'm not happy with that, and I want it to boot up even faster.

View 9 Replies View Related

Debian :: Starting Dash As A Login Shell?

Aug 22, 2010

"When first starting, the shell inspects argument 0, and if it begins with a dash '-', the shell is also considered a login shell" - from the dash man page. Could someone please explain this to me in a way that I actually understand?

View 1 Replies View Related

OpenSUSE Install :: Speed Up Boot Time

Dec 26, 2010

Are there any easy special tricks to speed up the boot time?Coming from Linux Mint (GNOME), I could get to the Desktop from cold in less than 25 secs.Now in openSuse 11.3 (KDE4.5) it takes more than twice that.Is this a function of KDE or have Ubuntu done something that openSuse hasn't to speed up the boot?

View 9 Replies View Related

Ubuntu :: Tools To Speed Up The Time To Boot Up?

Jan 2, 2011

I'm curious if there are any tools that can help speed up the time it takes for my computer to boot up. I've used different utilities to help my Vista boot up time, so I'm curious if the same sort of things are available for Ubuntu.

View 3 Replies View Related

General :: BASH/Dash : Put A JPEG Or PNG Into The Clipboard?

Dec 5, 2010

copy a jpeg or a png and place it into the clipboard of X11 of my icewm. which program can do cat "myfile.jpg" > ?theclipboardofx11?

View 10 Replies View Related

Slackware :: Slight Delay When Processing Commands Using Bash Shell?

Apr 24, 2011

I upgraded from Slackware 64 13.1 to Slackware 64 13.37 a week or so ago. I am now having a perceptible delay of a few seconds when launching commands from the command line, say for example: screen -R.

My laptop is an X200 with 3GB of RAM.

View 7 Replies View Related

Slackware :: Stop At Boot Time To Increase Booting Time?

Mar 5, 2010

It looks,slackware is taking too much time to boot. It's starting daemons at boot time.

What are those daemons that i can stop at boot time to increase booting time?

What's the best way to stop starting daemons at boot time?

View 14 Replies View Related

Fedora :: Stuck With Bash Shell / Changing Default Shell To Tcsh?

Mar 14, 2010

I want to change my default shell to tcsh. I used

Code:
usermod -s /bin/tcsh username
command as given at url

But if I open a new shell, it is still a bash shell.

How do I make my default shell as tcsh?

View 6 Replies View Related

Slackware :: Tmp Not Clearing Out At Boot Time

Dec 27, 2010

I've been using cron to clear /tmp at boot time but thought I'd try another method. After doing a little research I added the following line:

Code:
( cd /tmp && rm -rf -- * .* 2>/dev/null )
to /etc/rc.d/rc.S immediately after:

Code:
# Done checking root filesystem

And /tmp is not clearing out at boot time. This method seems to work for others.

View 14 Replies View Related

Slackware :: 13.1 Speeding Up Boot Time?

Jul 19, 2010

Just some things I changed to speed up the boot time.

In '/etc/rc.d/'

rc.acpid
Code:
echo "Starting ACPI daemon: /usr/sbin/acpid &"
/usr/sbin/acpid &
rc.hald

[Code]....

View 14 Replies View Related

Programming :: Bash-shell-like Less Functionality In The Python Shell?

Jun 25, 2010

Is there some type of functional way to read things in the Python shell interpreter similar to less or more in the bash (and other) command line shells?

Example:

Code:

>>> import subprocess
>>> help(subprocess)
...
[pages of stuff to read]
...

I'm hoping so as I hate scrolling and love how less works with simple keystrokes for page-up/page-down/searching etc.

View 4 Replies View Related

Slackware :: Modules Being Loaded At Boot Time?

Jun 1, 2011

I just installed slack 13.37. I was poking around a little and I noticed that I have all these modules loaded... yet when I open up /etc/rc.d/rc.modules almost everything is commented out. how are these modules being loaded at boot time?

View 4 Replies View Related

Ubuntu :: Stuck On That Flashing Dash On A Black Screen And Won't Boot?

Nov 20, 2010

I have just recently installed Linux Lime along with windows 7 Home Premium. Before, there would be a menu asking me which operating system I would like to use. When I click linux it goes to linux and windows 7 goes to windows 7. Now when I click Linux, the black screen you get at the beginning shows a - (dash) constantly flashing on a black screen and won't boot to linux. This is normal as it does that for a second then boots. Now its stuck on that flashing dash on a black screen and won't boot.

View 1 Replies View Related

Slackware :: How To Stop Starting Daemons At Boot Time

Dec 28, 2009

How to stop starting daemons at boot time? For example:rc.bluetooth

View 3 Replies View Related

Slackware :: Stop Wicd Daemon At Boot Time?

Feb 20, 2010

If i do

Code:
su
password:
cd /etc/rc.d
chmod 644 rc.wicd
chmod 644 rc.wireless
will it do the job?

View 5 Replies View Related

Slackware :: Fsck Not Checking Non-root File System At Boot Time

Apr 21, 2011

Fsck is not check any file system which are not root file system at boot time.

Normally it run: /sbin/fsck -A -R -C -a

But this command doesn't do anything.

I've tried to strace it, and looks like this:

Code:

View 2 Replies View Related

Slackware :: Index.docbook Parser Errors When Attempting To Upgrade Konversation Slackbuild

Sep 3, 2010

I'm trying to upgrade konversation to 1.3.1 and it fails with tons of docbook errors.

Last several lines of the build log:

View 3 Replies View Related

Slackware :: Framebuffer - I915 - And Current And Asus Eeepc - Halfway Through Boot Time The Screen Goes Blank

Mar 10, 2010

Got an Asus eeepc 900a. Runs Intel 915 graphics. Upgraded to slackware current last week. X would not start. Based on info here, I reverted back to earlier libdrm and xf86-video-intel. That got it working again.

Updated Slackware current again today. I think I got a new kernel. Now, halfway through boot time, the screen goes blank, then comes back and the font is tiny. Gone into framebuffer mode. If I start X, it just freezes. Nothing but a reboot will get out of it.

I have vga=normal in lilo.conf, but I read that this is no longer used. I can find no way to turn off framebuffer mode. From other threads here, I have tried append="i915.modeset=1" in lilo.conf. Has no effect.

I could revert Slackware to 13.0 from current, and that would make the eeepc useful again. Is there anything else I should try?

View 14 Replies View Related

Ubuntu :: Error Messages When Attempting To Boot 9.10

Dec 29, 2010

I have Ubuntu 9.10. The batter drained several days ago, and now when I attempt to boot I simply get a string of indecipherable error messages which last for about 5 minutes, and the screen then goes completely black. I am not able to even get to the login screen. Windows 7 Starter boots fine, so it's definitely a software issue. Any solutions short of completely reinstalling? I really don't want to lose all of my data.

View 2 Replies View Related

Ubuntu :: Broken MBR On Attempting To Dual Boot 10.10 And XP ?

Jan 1, 2011

I've just gone and modified the MBR by following this article: [url]

What now happens is that I boot up the machine and all that comes up is an error:

The disk drive for /home is not ready yet or not present Continue to wait; or Press S to skip mounting or M for manual recovery

I have /home on a separate partition. Using the manual recovery I can see that the partition still exists and has all the files.

What do I need to do in order to get /home mounting again? Is this even the issue?

View 9 Replies View Related

General :: Attempting DUAL BOOT Win7 With Kub 10.04?

Jul 27, 2010

Current rig:

Toshiba Satellite L455 laptop
Celeron 2.20 GHz
Windows 7, 64bit
3GB RAM

I downloaded the DVD release of Kubuntu 10.04, from Kubuntu.org. The file is: Kubuntu-10.04-dvd-amd64.rar . I burned it to a DVD, as image, with ImgBurn application. See any problems so far? I want to dual-boot, leaving my Win7 in tact. I am confident that I can handle this with some patient instruction.

View 14 Replies View Related

General :: Attempting Triple Boot - Need DD Command

May 2, 2010

I'm a newb and have ambitions for a triple boot with MAC/W2K/#! 9.04. I first installed Ubuntu on C600 laptop and then switched to Crunchbang 9.04 since the Dell is lacking any ooomph. Now I'm trying to triple boot an HP Pavilion a330n (AMD Athlon, non-SATA board which has created problems getting Leopard to play nice, but that's another story). I removed the HD from the C600 (W2K) and replaced it with another running only #!. I installed the W2K laptop drive as master on the HP desktop with a 120GB IDE drive as slave. The 120GB drive has been partitioned for 4: MAC (35GB, ext3), W2K (35GB, NTFS), #! (40GB, ext3) and Linux-Swap (remainder, ext3).

Now to the question: I was planning on using the DD command to "xcopy" the W2K drive to the W2K partition. Sounds simple. I am trying to use the following:
dd if=/dev/sda2 of=/dev/sdb3 bs=4096 conv=notrunc,noerror

To back up a step, I saw somewhere else suggesting to boot live and run off the CD to facilitate this since I'm manipulating both hard drives. Since I'm working live, I've had some trouble sorting out password issues with root. I managed to change the root password (I know - dangerous, but only for this session anyway). Each time I try to execute the dd command, I get nada. No activity. The cursor drops below the root@crunchband:~$ prompt and just blinks. There is no important information to be lost on either drive per se, but have lost the W2K install CD long ago which is why I need to use DD anyway.

View 1 Replies View Related

Ubuntu :: CPU Fan Full Speed All Time

Jun 8, 2010

DG31PR Intel Corporation with Lucid 32 bit. how to get the CPU fan to normal speed. I googled a bit around but so far no success.

View 3 Replies View Related

Ubuntu :: Grub2 Failure After Attempting Dual Boot

May 22, 2011

Today I attempted to install Win 7 on my Ubuntu 11.04 machine so I could dual boot. The Win 7b install went smoothly, but when I tried to fix grub everything went to hell.

I initially tried to reinstall grub using this walk though [URL] However, when I start the computer I get:

"GNU GRUB version 1.99~rc1-13ubuntu3

Minimal BASH-like line editing is supported....

grub> "

I tried to use the technique in [URL] to solve the problems, but when I try to run chroot I get a bin/bash error (I don't have the full error handy, but can rerun the steps if needed). The only potential cause that I can find doesn't apply to me since I am using a 11.04 64 bit live usb on a 11.04 64 bit install.

I've run [URL] and included the results below.

[Code]....

View 9 Replies View Related

Ubuntu :: Attempting To Partition To Dual-boot Properly - Unable ?

Jan 2, 2011

I'm running 10.04 on Wubi in XP and want to partition to dual boot properly. I've done the permanent grub-update issue fix for Wubi so I've got the time to figure this out, I'm just at an impasse right now.

I've tried both GParted and PartitionMagic Live CDs and have been unable to shrink my main partition down. It's currently at 45 or so GB with about 22 GB empty. I've turned off my virtual memory in XP as well and no dice. I keep getting the error in GParted during the shrinking process. It doesn't really explain why, though.

View 9 Replies View Related







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