Ubuntu :: Make Such Modifications For Boot And Shutdown
Aug 6, 2010
We may edit some values for GRUB from /etc/default/grub to modify the way that computers boot up and shutdown.My question is how to make such modifications for boot and shutdown. For example, suppose I want to display two splashes one during booting and the other during shutdown or I would like to acpi=off during booting and then acpi=force during shutdown.
Yesterday, i tried to boot up my laptop but the battery was uncharged and it was unable to boot ubuntu karmic 64 bit. so i tried to plug the charger as soon as possible but when i looked at the screen, there was a huge black blank screen. so i had to restart it manually by pressing the power button. Now, i can see the grub screen, i can choose one of three kernels and the Windows. But only Windows can boot but the others doesn't. And also, grub timer does not work not. It does not count down to zero and autoboot the default os. I tried to reinstall grub but everytime , i got problems. Here is what i tried to do. In another try here, i failed again. In chroot, i could not "apt-get install" as it said i wasn't connected to internet (but i was), and in another try, it could not find p/rmonct /mnt/etc/resolv.conf.
when my pc boots and shuts down my monitor goes into 'input out of range' mode for a bit between the gui and the text only phases of boot/shutdown.is there a way to fix this? or where to start troubleshooting?also, when it shuts down it hangs after coming back to the text only part
I could not seem to find any documentation on how to chage the X anf y coordinated of the grub 2 menu in order to place it in a differrent location on the screen and change is its size (not resolution), remove border.
I installed FC14. But when i create a VPN connection using NetworkManager, 10 seconds after VPN connection was established, vpn connection has been disconnected.In FC13, I didn't have this problem. In FC14, i use same settings used in FC13.
I was wondering if there was a way to create a script that would kill a process (the Folding @ Home one in particular), then shut down my pc. And I was wondering if there was a way to create another script that would set it to a timer, kind of like the shutdown -h command
I recently upgraded our ldap server to Ubuntu 10.04.1 (64-bit). In the past, I've been able to use smbldap-useradd to create new ldap and samba users but am having problems since the upgrade. For starters, /etc/smbldap-tools was empty, which caused smbldap-useradd to bomb out with configuration-related errors. After following some tips on how to create the config files, I've gotten as far as being able to run smbldap-useradd but am now getting this error:
Error: modifications require authentication at /usr/share/perl5/smbldap_tools.pm line 1187, <DATA> line 466.
I've got the correct credentials set up in /etc/smbldap-tools/smbldap_bind.conf. I can login and make changes just fine through phpldapadmin with the same credentials, but smbldap-useradd just doesn't want to work.
How do I make a server wait on shutdown for a set amount of time?I tried making a service that just does Code: sleep 7m and made it first priority on shutdown but it seems to ignore itI'm pretty sure it runs... I'm currently testing that to make sure
I am on opensuse 11.2 and sometimes when I shutdown the computer, It make a noise like "bzzz" but different than error beep. I think maybe there is a problem withe the automatic detection at the boot, but I really don't know alsa configuration or udev rules very well.
Code:
$ cat /proc/asound/cards 0 [Intel ]: HDA-Intel - HDA Intel HDA Intel at 0xfc400000 irq 22 1 [HDMI ]: HDA-Intel - HDA ATI HDMI HDA ATI HDMI at 0xcfeec000 irq 17
I've recently upgraded to 11.04.Till now, I could select an option to make the open folders on shutdown, to restore on startup.There was an option to restore running applications
I just recently installed ubuntu 10.04 and it works great! I got it to work with both of my printers, scanner, and zune! The problem is occasionally when I boot up ubuntu it stops and displays "[drm:rs400_gart_adjust_size] *ERROR* Forcing to 32M GART size (because of ASIC bug ?)"
Strange problems and I don't know if they are related. This is Ubuntu 10.4 32 bit on a Toshiba Qosmio x505-q875 laptop dual boot with Winblows 7. One drive bay is a 64GB SSD with windows, my root, usr, and swap partitions on it. The other is a 1TB drive with the home partition.
First Problem: After the Grub menu disappears (defaulting to Ubuntu) about 25% of the time nothing happens. No harddrive light blinking, no cursor, nothing. Everything just stops. I have to use the power button to reset it. Happens several times in a row occasionally. I've never had this happen with Windows.
Second Problem: Sometimes Ubuntu doesn't see the sound card at all. The speaker icon is grehyed out and when I go into sound preferences, it doesn't list any sound device at all. Rebooting fixes it. This happens maybe half the time.
Last Problem: This one happens when the sound doesn't work. When i go to shut down the system, the hibernate and suspend options are not in the shutdown menu, and when I do shut down, it only logs me off. Even at the log on screen, if I tell the system to shut down again, nothing happens. I can log back on it that means anything, but shutting down again has the same effect.
My system sometimes crashes on startup/shutdown. No idea what causes it This is my info:Kernel: Linux Mewtwo 2.6.32-23-generic #37-Ubuntu SMP Fri Jun 11 07:54:58 UTC 2010 i686 i686 i386 GNU/LinuxUbuntu version: Ubuntu 11.04 (Note: This also happened BEFORE upgrading to 11.04)All the info i could get is in those pics (This happened on boot but I also have crashes on shutdown):[URL]I couldn't find those logs anywhere else in /var/log so I guess it happens before the log files are opened
I have installed a cluster computer with 10 nodes . The manufacturer is HP . All nodes and the master node have redhat enterprise linux installed in them . When I shutdown the nodes from the master terminal using "shutdown -h now" they get shutdown . But they dont get completely turned off . This issue bothers me when the power supply is given , all nodes boot up simultaneously generating a huge heat .
Thing to note : When we shutdown our PC they get completely turned off . When the power supply is given , a press on the Power On button is required to boot the system. But , why does it not happpen in the case of cluster? Is there any other way of completely turning off the nodes from the master terminal ?
I cant get a bootsplash image at all during boot/shutdown. Anyways I tried some solutions and kinda realized I dont have /etc/initramfs-tools/conf.d/splash. Could that possibly be it? And if so, how do I fix this. 10.04 Nvidia graphics Is there another solution to plymouth? I tried splashy and usplash wont install. So anyone else know a way.
For the past few days, my Ubuntu server (it is a desktop that functions as a server, Desktop installed) have been very slow. Today, it stopped responding to ping, I could not SSH into it (once, I managed to come so far that it asked for my password, but I got timed out) and I could not connect via VNC.
I switched it off, to boot it up again. Post completed, and the screen went black, before the white text "Read Error" appeared on the screen. I shut it down again, waited a minute or so, before switching it back on. This time, the "read error" did not show up. The "text only" startup for Ubuntu showed up, so I hoped it was all okay. It turned out it wasnt. I have some pictures: http://yfrog.com/4pimag0127xj http://yfrog.com/jnimag0128bj The top lines are code...
Any ideas on what could be the issue here, and how to fix it?
I have a small but annoying problem... I have two scripts that I want to run automatically one at boot and one at shutdown. For the one at boot I tried to put it in rc.local or to create a file in /etc/init.d/ based on the others files in the folder but nothing worked... I need it to run system-wide and not once a specific user is logged in.
For the script at shutdown I don't know how to do it but it can be user specific or system-wide I don't really care. I am running Ubuntu 10.10 64bits with kernel 2.6.35-24-generic
PS. I should add that when executed manually both scripts works perfectly well and I don't need those script to run continuously in the background, just run and quit.
I got a question, is there a script or program that automaticly boots my server and shutdown at give hours of a dayI want to have my server running from 7am till 8pm ever weekday (Monday-Tuesday-Wednesday-Thursday-Friday)
I was stupidly compiling code on my netbook with 10% battery left. The CPU ate up my battery reeaally quickly and it did a hard shutdown while still compiling.When I boot up, the Ubuntu loading screen shows up for about two seconds and then it goes to a completely black unresponsive screen. I have a live install on my thumb drive, but I don't actually know what I need to do to fix whatever broke.Edit:Oo, something happened. When I pressed a key the screen filled up with a bunch of stuff I don't understand. But the last two messages are: [ 450.807328] Fixing recursive fault but reboot is needed!mountall: Disconnected from Plymouth
I had to shutdown the computer while upgrading from Lucid to Maverick as it froze(bug in X11) and then when I start the computer I get kernel panic messages. I used a LiveCD to backup my files and I was wondering if there is a way to log in or reupgrade the Ubuntu in some way from the liveCD.
I don't want to do a fresh install as there are a dozen things I had installed and configured in my system the last 1-2 years.
I got a question, is there a script or program that automaticly boots my server and shutdown at give hours of a day I want to have my server running from 7am till 8pm ever weekday (Monday-Tuesday-Wednesday-Thursday-Friday) is this possible? I'm running a Ubuntu 10.04 server with Zentyal on
I have installed ubuntu 9.10 with karmic kernel and GNOME, on toshiba 512 MB RAm laptop. it worked fine but some times after complete shut down or sleep, it wont boot again. Laptop is completely dead and silent. I had to power it off, battery taken out and inserted again to get it started again. Then it worked all normal and fine. Why it happens and what i shud do next?
Whenever I start my PC, the information of 'First Boot device' in BIOS changes from hard disk to CD-Rom. It happens with new start, I mean, if I restart my computer after resetting First boot device to hard disk, then priority does not change. Just as I switch on computer, a black screen appears with the message: CMOS - checksum error - defaults loaded press F1 to continue, DEL to enter setup
Recently it used to happen, that PC was not reading my hard disk containing GRUB. I have 2 hard disks. I switched the power cables of two hard disks. After that, both hard disks were shown by BIOS but the above mentioned error started appearing. Also grub takes too much time to load. It takes almost 20 seconds. Earlier I was using 'Puppy Linux'. In that, Grub was loading in fraction of second.
I've installed xUbuntu on a machine I will be using as a file server. Everything is fine except one thing. If the server suffers an improper shutdown such as a loss of power the next time the machine boots it gets to the GRUB2 boot menu and then waits for a keyboard input.As this machine runs headless with nothing connected other than a network cable and power lead and is tucked away under the stairs it's quite an inconvienience to go to the machine and plug in a keyboard so I can press enter.Is there some way I could force the machine to boot as normal without stopping at the menu ?
I have an 80GB HDD where I installed Windows XP first and then Ubuntu. The thing is that whenever I shut down my computer and then turn it back on (wether it's right away or a few hours later, or the next day), I get the GRUB screen where you have to choose Ubuntu, but after that just a completely black screen. I then have to force a shutdown, then turn it back on, and it works. Whenever I restart it works too, this seems to happen only after a shutdown.
Specs: Dell Dimension 4600 P4 2.8 GHz procesor 2GB RAM ATI Radeon x1650 video card 80GB HDD
During boot-up and shutdown of Fedora-14-x86_64-Live-Desktop.iso live USB, I just see some graphical stuff. What needs to be done so that the screen shows text messages about what's happening during boot-up and shutdown?