General :: Run A Shell Script After Bootup?

Jan 28, 2010

How to run a shell script after linux bootup(incl. enabling swap space).Is it possible in linux

View 2 Replies


ADVERTISEMENT

General :: $HOME/.bashrc Disabled When User Shell Is 'rbash' (restricted Shell)?

Jun 15, 2011

MACHINE: HP Proliant DL260G5OS: SLES 11 SP1kernel: Linux xserver 2.6.32.12-0.7-default #1 SMP 2010-05-20 11:14:20 +0200 x86_64 x86_64 x86_64 GNU/LinuxIt is used as remote xserver in a LAN.I have configured /usr/lib/restricted/bin/.rbashrc with some environment variables but when the users logon in the system finally is executed $HOME/.bashrc and some environment vars are overwritten.

View 2 Replies View Related

General :: No Screen During Bootup

Jan 12, 2009

I have a pc with 1 GB RAM,Intel Core Duo CPU(1.86 GHz).Recently during formatting of the pc with new windows , I (accidentally)powered off the pc during the process.Due to which what has happened is there is no screen during the time computer boots up when switched on.Only when there is a login window,the screen becomes active.I even installed UBUNTU (which I am still using) on the whole hard disk but problem persists.The problem seems to be independent of the OS.

View 2 Replies View Related

General :: Write A Shell Script Instead Of Shell Function?

Apr 27, 2011

I would like know when it is necessary or advisable to write a shell script instead of shell function ?

View 3 Replies View Related

General :: Cannot Keep Group Change After Bootup

Mar 16, 2010

I am using Centos 5.4 and I changed the group on /dev/lp0 to group from root. After I do this my program printing directly to /dev/lp0 works fine. But when I shutdown and reboot the system the group on /dev/lp0 has changed back to lp. Does anyone know how to keep the group changed to group after a reboot.

View 3 Replies View Related

General :: Creating A New Bootup Script

Feb 18, 2010

Running Centos5 with the latest webmin, WHM and Cpanel.I am trying to run the following as a startup script through webmin, but so far no joy. Searched the internet for a couple of hours last night and couldn't find the answer.

View 7 Replies View Related

General :: Retrieving Partitions At Bootup

May 5, 2011

I have Ubuntu 10.10 installed but when booting up the partitions are not visible on the boot loader. I have tried grub-install and update-grub off a live CD but to no avail, fdisk show the partitions still exist.

View 1 Replies View Related

General :: Fedora 12 How To Specify Monitor Type On Bootup

Jan 15, 2010

I have a cheap usb kvm that doesn't pass the EDID data back to the computer from the monitor. And now Fedora 12 seems to rely on autodetection of the monitor to start up at the proper resolution. When I have my samsung 712N on the kvm, fedora 12 boots to only 800x600 max resolution. If I connect the monitor directly to the computer video card, fedora sets the screen resolution to the desired 1280x1024 properly.

When booted through the kvm, fedora won't let me detect or select the correct monitor, and I haven't found any way to work around the problem other than pulling the monitor off the cable, connect to the cpu, reboot. After it's booted I can reconnect the monitor to the kvm and the video is fine.

My question is does anyone know how to manually tell Fedora 12 at startup what kind of monitor I'm using and skip the bootup monitor detection? So far I've spent a couple unproductive hours with google to discover this isn't a totally uncommon problem and no site I've found seems to have any solution.

View 2 Replies View Related

General :: Install On Old Desktop - Cannot Get It To Work From A Bootup Off Of CD Or USB

Jan 20, 2011

So my friend dropped off an old Dell (from when the Pentium 4 was the best). The user password has been forgotten, and the User Accounts page will not display anything, so simply removing the password has been blocked. It has Windows XP installed. Unsure of what build and SP. Due to lack of interest to buy an OS, I decided to go with Linux. However, being new, I am unsure what Linux distro is best.

I tried Puppy already, but cannot get it to work from a bootup off of CD or USB. I was hoping for an ISO with a setup.exe type file in it, so I can simply log on in safe mode, and install. But with how many different versions and distros of Linux there are, you can see my reluctance to download and extract every ISO...

View 14 Replies View Related

General :: Mounting Samba Shares At Bootup?

Sep 3, 2010

I'm using ubuntu 10.04 (gnome) - at some point, I had manually mounted a samba share on the home fileserver,

mount -t cifs //homeserver/sharename /serverfiles

It now boots up automatically every time, which is definitely convenient but I don't know how it's being done. I'm going to be mounting the same share using sshfs when I'm away so I'd like to know how it works. When I googlify this, there is mention of altering fstab (which has not been done) or gnome-mount (which does not seem to be it). There is nothing in preferences/startup applications, what is the automounting mechanism being used?

View 2 Replies View Related

General :: SD Slot Recognition Post Bootup?

Feb 21, 2010

I have an Acer Aspire One "netbook" that has 2 SD slots. If I insert and try to mount an SD card post bootup it can't detect the card (not listed in fdisk -l, and no messages generated to dmesg). Almost as if the slot isn't functioning.

The weird thing is, if I boot the computer up with the SD card IN the slot, it picks it up no problem, shown in fdisk as /dev/mmcblk0p1, and I am able to mount it no problem. I am also able to unmount and remove the card and the SD slot continues to function normally. Although I can boot up the computer with the SD card in the slot with no issues, I'd like to be able to have that "slot" active on boot even if I don't have a card in it.

A few more details, Im running slackware 13 with fluxbox wm.

View 6 Replies View Related

General :: Get Files From The Remote System During Bootup?

Jun 22, 2010

i was browsing one of my friend hard drive using knoppix live CD, i was amazed to find that all the folder which he uses was empty, there was no files present in them, for example there was a folder in /usr/local named web, but when i browsed that folder using knoppix it was empty.I searched for files in every partition but still no result found.

After some time when i placed hard disk back and booted the PC normally, everything was in its proper place. Then i thought to make image of the hard drive and use it on my PC, the image booted well, but still those particular files were missing. I want to know how is that possible? Is there any way to get files from the remote system during bootup?

View 8 Replies View Related

General :: Open A New Shell From A Shell And Switch Between Them?

Jan 18, 2011

I am wondering if I can open a shell or new terminal thing from within the terminal in a unix/linux enviroment. Particularly a commandline only one where there is no GUI. Is this doable? how do I do it?

View 3 Replies View Related

General :: ARCH & Slackware's Bootup/mounting Process?

Jul 9, 2010

I was wondering if anyone can tell me what file, etc is the equivalent of ARCH's /etc/rc.sysinit? I need to know this because I am having many problems making the new nfluxos iso's for ARCH because of how ARCH now mounts stuff at bootup

due to whatever changed in udev or udisks or something else in ARCH now, when I make the system into a livecd it doublemounts everything when booting for example; output of "mount" in nfluxos with 3.4squashfs udev 151

Code:
[root@nfluxos ~]# mount
rootfs on / type rootfs (rw)
aufs on / type aufs (rw,relatime,si=4ce08f22,nowarn_perm)
none on /proc type proc (rw,relatime)
none on /sys type sysfs (rw,relatime)

[Code]...

View 1 Replies View Related

General :: Installed Wrong Video Card Drivers - Now No Gui On Bootup

Oct 8, 2010

I wanted to try 3d desktop so i installed 3d support for nvidia graphics using the instructions on this webpage [url]

I Dont have nvidia i have ati so needless to say i have to gui when i boot up

It shows the fedora loading bubble then a blinking cursor.

I can get to a virtual terminal.

So how do i undo what i did I just want to get it back to normal i dont need 3d support.

View 3 Replies View Related

General :: Configure Autostart Of Oracle Database / Soa Suite On Bootup?

Jan 24, 2011

I need to configure autostart of oracle database 11g & oracle soa suite 11g after successful OS startup. Linux: Redhat version 5. I have commands needed for startup, but not sure on where to keep the file.

View 2 Replies View Related

General :: Configured System To Connect To A Wireless Network On Bootup?

Mar 16, 2011

I have configured my system to connect to a wireless network on bootup, but now every time I boot I have to wait and watch it connect (it outputs some dhcp connect stuff) which delays the boot process. is there any way to just initialize the script and then go on with the boot process instead of letting it output some pointless crap and waiting for it to end?

View 5 Replies View Related

General :: Using A Ide External HD - Get A Bootup Grub Installed On My Internal Windows MBR?

Nov 4, 2010

If I try and install, any distro on a ide External hard drive, Will I still get a Bootup Grub installed on my internal Windows MBR. I am thinking the answer is yes.

View 2 Replies View Related

General :: Don't Show Boot Messages During Clonezilla Bootup - Splash Screen?

Jul 14, 2010

I am at a loss trying to figure out the options to not show the scrolling boot messages during the boot-up of Clonezilla. Is there a way to have a loading splash screen or even have a static logo that is displayed during the boot process? I have my automated recovery method all ready to go short this one last feature. I have searched all over and am coming up empty on this one.

View 4 Replies View Related

General :: Mint 7 Bootup Stalling With Black Screen & Single Blinking Cursor

Jul 1, 2010

I am trying to boot up Linux Mint 7 after a packages upgrade and it boots up but then it shows this and stalls.And similar messages for GDM and then it just shows a black screen with a single blinking cursor on the middle left of the screen. I cannot do anything except press the CTR-ALT-DEL combination to re-boot, then it shows the usual shutting down messages and does the re-boot.I am running the 2.6.28-19 kernel and I have upgraded the Ubuntu packages on my Linux Mint 7 system from Jaunty to Karmic. Please help as I do not want to re-install. I am running Knoppix 6.3 ATM and I should be able to chroot from that if necessary. I am booting from /sda1 that has Linux Mint 8 installed and grub 1.97.

View 1 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

Ubuntu :: Using 10.04-server 64bit AMD With Fluxbox - Matlab In A Shell The Shell Does Not Display Characters Anymore

Jul 26, 2010

I am using ubuntu10.04-server 64bit AMD with fluxbox. After I ran Matlab in a shell (without GUI) the shell does not display characters anymore, but will execute any command, I just can't see the characters that I'm typing.. I use aterm and xterm, does anybody know why that is, am I missing a package?

View 1 Replies View Related

Ubuntu :: Switch Desktop Shell From Unity To Gnome-shell?

Apr 14, 2011

Is there any way I can switch my desktop shell from unity to, say, gnome-shell? I can switch using other console shell I like (bash, csh, fish, etc.). Assume that there is a stable alternative desktop shell, I should be able to choose, too.

(For console shell, we goes to /etc/passwd. But for desktop, I can't find the way to config.)

View 2 Replies View Related

Software :: Export A Variable To Parent Shell In Shell Scripting?

May 21, 2009

Is there a way to export a variable to parent shell in shell scripting ?

View 3 Replies View Related

Programming :: Shell Scripting / Create A Shell Script Similar To Ls?

Jun 5, 2011

I am trying to create a shell script similar to ls, but which only lists directories. I have the first half working (no argument version), but trying to make it accept an argument, I am failing. My logic is sound I think, but I'm missing something on the syntax.

Code:
if [ $# -eq 0 ] ; then
d=`pwd`
for i in * ; do
if test -d $d/$i ; then
echo "$i:"
code....

View 10 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

Ubuntu :: 10.04 Unable To Bootup

Apr 14, 2011

I have ubuntu 10.04 , It was working fine the first time from USB . I tried to install ubuntu on my harddrive that had vista on it. But it gave me some error. And when I try to open it from hard drive its just blank screen.

And booting from USB doesnt work it comes on loading screen and doesnt do anything.
This is what error I get when I press [esc] button

Code:
Stdin error 0
/initial: line 7: can't open /dev/sr0: no medium foun
unable to open '/dev/sda'

View 1 Replies View Related

Ubuntu :: 11.04 Really Slow Bootup

Jul 7, 2011

Up until recently have always been a gnome or xfce user, recently decided to try kubuntu. I like it, but its very slow to boot. I get a blank blue screen (same shade as grub) right after grub has finished its countdown and starts Kubuntu.

View 2 Replies View Related

Debian Multimedia :: VCE Bootup Error

Oct 7, 2015

I am running debian testing on a core i3 laptop with a hybrid graphics setup (intel hd 4000 + radeon r5 m230), after the recent upgrade including linux-image-4.2.0-1-amd64, on bootup ...

I get this error:

Code: Select all[   10.255177] radeon 0000:09:00.0: firmware: direct-loading firmware radeon/hainan_rlc.bin
[   10.264718] radeon 0000:09:00.0: firmware: direct-loading firmware radeon/hainan_mc.bin
[   10.271031] radeon 0000:09:00.0: firmware: direct-loading firmware radeon/hainan_smc.bin
[   10.271037] [drm] Internal thermal controller without fan control
[   10.271118] [drm] probing gen 2 caps for device 8086:9c18 = 5323c42/0

[Code] ...

And this:

Code: Select all[   19.347705] radeon 0000:09:00.0: WB enabled
[   19.347709] radeon 0000:09:00.0: fence driver on ring 0 use gpu addr 0x0000000040000c00 and cpu addr 0xffff880097816c00
[   19.347711] radeon 0000:09:00.0: fence driver on ring 1 use gpu addr 0x0000000040000c04 and cpu addr 0xffff880097816c04
[   19.347713] radeon 0000:09:00.0: fence driver on ring 2 use gpu addr 0x0000000040000c08 and cpu addr 0xffff880097816c08

[Code] .....

Elsewhere in dmesg I see:

Code: Select all[    9.802728] i915 0000:00:02.0: fb0: inteldrmfb frame buffer device
[    9.802731] i915 0000:00:02.0: registered panic notifier
[    9.802756] radeon 0000:09:00.0: enabling device (0000 -> 0003)
[    9.803006] [drm] initializing kernel modesetting (HAINAN 0x1002:0x6665 0x1179:0xF922).
[    9.803022] [drm] register mmio base: 0xC2500000

[Code] ....

I don't mind using the intel driver and don't really bother about the the boot-up time increase due to this message..

View 0 Replies View Related

Fedora :: Switch To Bootup Screen

Nov 19, 2009

I've upgrade my fedora 11 to 12 by installtion DVD and everything is fine right now.Everything is there and the new system looks good.However,my boot screen is still the same with 11.How can I switch to the new screen?

View 12 Replies View Related







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