0
votes
1answer
93 views

How to debug initramfs scripts?

For my Ubuntu 14.04 setup, I have 4 LUKS partitions that work as backing block devices form my BTRFS root partition. Using the default settings I could not get the 4 encrypted partitions unlocked at ...
1
vote
0answers
18 views

Automatically detecting and outputing to s-video at startup

After combing the Internet I have developed a script that is capable of checking whether I have a monitor connected to my VGA port and switching to my s-video port if not #!/bin/bash # if no vga then ...
5
votes
4answers
8k views

How to start Virtual box machines automatically when booting?

I have many Virtual box machines in my Ubuntu12.04, each time i shutdown or reboot i have to start them one by one. I wanna a help in writing script for automatically autostart the VBox machines ...
0
votes
1answer
45 views

Boot to shell script

I want to make a live usb boot just to execute a script with echo off. Then, I want it to continue to boot on to the original OS. I need to repair a bunch of computers that got attacked through the ...
1
vote
0answers
34 views

Can't boot anymore, get a message on ubuntu purple screen

A friend has a Compaq laptop with a broken screen, so he use an external screen with HDMI and use Ubuntu 12.04 LTS. But after a while after he started the computer, the screen finally show up with ...
20
votes
4answers
30k views

How to install an init.d script in ubuntu?

I am trying to install an init.d script, to run celery for scheduling tasks. Here is the steps I followed: copied the file celeryd and pasted it in folder /etc/init.d/ created a configuration file ...
3
votes
1answer
8k views

Run script at boot/startup in Ubuntu 12.04 x64 Server

I am trying to start the RoR application named fedena. What I generally do is SSH login as rootand hit these commands root@cloud:~# cd fedena root@cloud:~/fedena# script/server => Booting WEBrick ...
1
vote
1answer
2k views

Upstart job fails to respawn and hangs when tried to stop/restart it

I'm using Upstart 1.5 in Ubuntu 12.04 to manage a process created by some user but needs to be managed as system job as starting on boot, respawning if it fails and we been able to start/stop it at ...
11
votes
3answers
11k views

Why is the command in /etc/rc.local not executed during startup?

I have a single command in my /etc/rc.local script that is supposed to start the update daemon for Tiny Tiny RSS during startup, but the script is not executed during startup. Why? The entire ...
10
votes
3answers
10k views

How to run a script during boot as root

I had a script that automatically enables my wifi without using networkmanager, but I don't know how to run the script as root while the system is booting. How do I make the script run automatically ...
1
vote
1answer
135 views

Select on which partition reboot

Is there any way to select a partition for the next boot. For example: sudo reboot boot=/dev/sda2 I would like to make a system backup script.
3
votes
4answers
4k views

Need to run a .sh as root on boot or login

Still new with linux and running ubuntu 12.10 I have a wireless stick (ae2500) which has known issues that has been partially solved using ndiswrapper. However, to use it I must run the same scripts ...
3
votes
1answer
7k views

Why isn't rc.local executed?

I am PXE booting some Ubuntu machines in a cluster. All of a sudden my rc.local script has stopped working. I've check the permission of /etc/rc.local: -rwxr-xr-x 1 root root 1087 Jan 14 11:04 ...
3
votes
1answer
307 views

Scripts slowing boot

Inspired by the "How fast" video, I've recently been trying to speed up my boot up as much as possible. I've been reading many forums on different approaches but I've recently hit a wall with a ...
0
votes
2answers
615 views

How can I avoid having to manually type “sudo modprobe ndiswrapper” to initiate my usb wifi

I have installed ndiswrapper and the driver bcmwlhigh5.inf for my netgear usb wifi. After booting my wifi is always offline. I can activate it using the command sudo modprobe ndiswrapper the ...
3
votes
3answers
5k views

Run a script only at the very first boot

Is there an idiomatic way in Ubuntu to run a script only the first time a machine is booted? (EC2).
0
votes
1answer
504 views

Help with Plymouth script please! :)

I am attempting to work around this problem: http://ubuntuforums.org/showthread.php?t=1997417 on the hypothesis that the problem is a race condition between the boot sequence and '/' and my raid0 ...
3
votes
2answers
22k views

Run shell script on startup or boot

My problem in a nutshell is that I have to run a script every time I use my computer so I'm trying to automate the process a bit. My system has the nvidia gt540m vga card. The card is dual. It has ...
2
votes
2answers
586 views

How to run interactive python script after boot as user USER

I want to run my system configuration script (written in python) after boot. System should ask for password for user USER and run my script. After that system should reboot, eventually run gui. I ...
5
votes
1answer
9k views

rc.local is not always executed upon boot

Hey, I have some weird problem with the rc.local file which is located in /etc/rc.local the thing is that it is not always running when I boot up the laptop. Maybe every second time, I haven't ...
3
votes
2answers
2k views

How to create a s3ql file system and mount it automatically on boot?

I've been experimenting with s3ql on Ubuntu 10.04, using it to mount Amazon S3 buckets. However, I'd really like it to mount them automatically. Does anyone know how to do that? Solution: Thanks ...
7
votes
2answers
1k views

Getting a script to run on boot, not on login

How can I get a specific script to run (preferably not as superuser) whenever the machine boots, but before login. It can be the last thing to run on boot. I mostly just want the script to work even ...