Why /etc/init.d/bootmisc.sh doesn't Required-Start mountnfs-bootclean too?
$ grep Provides /etc/init.d/mountnfs-bootclean.sh # Provides: mountnfs-bootclean $ grep Description /etc/init.d/bootmisc.sh # Short-Description: Miscellaneous things to be done during bootup. # Description: Some cleanup. Note, it need to run after mountnfs-bootclean.sh. $ grep Required-Start /etc/init.d/bootmisc.sh # Required-Start:$remote_fs Then why bootmisc.sh is not Required-Start mountnfs-bootclean too? --- a/etc/init.d/bootmisc.sh 2012-08-11 20:30:40.0 +0300 +++ b/etc/init.d/bootmisc.sh 2012-09-24 20:22:22.0 +0200 @@ -1,7 +1,7 @@ #!/bin/sh ### BEGIN INIT INFO # Provides: bootmisc -# Required-Start:$remote_fs +# Required-Start:$remote_fs mountnfs-bootclean # Required-Stop: # Should-Start: udev # Default-Start: S -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20120924185802.gd16...@mail.nt1.in
Re: Why /etc/init.d/bootmisc.sh doesn't Required-Start mountnfs-bootclean too?
On 2012-09-24 20:58 +0200, Regid Ichira wrote: $ grep Provides /etc/init.d/mountnfs-bootclean.sh # Provides: mountnfs-bootclean $ grep Description /etc/init.d/bootmisc.sh # Short-Description: Miscellaneous things to be done during bootup. # Description: Some cleanup. Note, it need to run after mountnfs-bootclean.sh. $ grep Required-Start /etc/init.d/bootmisc.sh # Required-Start:$remote_fs Then why bootmisc.sh is not Required-Start mountnfs-bootclean too? Because mountnfs-bootclean is already part of the $remote_fs facility. Have a look at /etc/insserv.conf and insserv(8). Cheers, Sven -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/87bogvtdsv@turtle.gmx.de
bootmisc.sh
hello I found this *: */var/run/utmp in /etc/init.d/bootmisc.sh on Debian 6.0.3 Can you explain what does : mean? Thank you Balint
Re: bootmisc.sh
On Wed, Jan 04, 2012 at 11:10:11AM +, Balint Szigeti wrote: I found this : /var/run/utmp in /etc/init.d/bootmisc.sh on Debian 6.0.3 Can you explain what does : mean? : is a builtin shell command that does nothing. Thus piping its output (nothing) to /var/run/utmp has the effect of creating /var/run/utmp if absent, and truncating it to zero length if already present. The result is that when the system boot up, /var/run/utmp is present and empty prior to any logins. Regards, Roger -- .''`. Roger Leigh : :' : Debian GNU/Linux http://people.debian.org/~rleigh/ `. `' Printing on GNU/Linux? http://gutenprint.sourceforge.net/ `-GPG Public Key: 0x25BFB848 Please GPG sign your mail. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20120104113903.gd18...@codelibre.net
Re: bootmisc.sh
Hi! On Wed, Jan 04, 2012 at 06:10:11AM -0500, Balint Szigeti wrote: hello I found this : /var/run/utmp in /etc/init.d/bootmisc.sh on Debian 6.0.3 Can you explain what does : mean? The : is an empty command - which has it's output redirected, thus truncating the file. It is documented (deep down) in e.g. the bash(1) man page under BUILTIN COMMANDS (the sh-compatible shells usually have this): : [arguments] No effect; the command does nothing beyond expanding arguments and performing any specified redirections. A zero exit code is returned. This is *nearly* the same as : echo /var/run/utmp except that the echo would emit a newline character - usually OK for text files, but not for binary files like utmp... Hope this helps -- Karl E. Jorgensen -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20120104113834.gc4...@jorginator.office.fizzback.net
Re: bootmisc.sh
On Wed, Jan 04, 2012 at 11:10:11AM +, Balint Szigeti wrote: I found this *: */var/run/utmp in /etc/init.d/bootmisc.sh on Debian 6.0.3 Can you explain what does : mean? Thank you Balint my /etc/init.d/bootmisc.sh shows these lines: ... # Create /var/run/utmp so we can login. : /var/run/utmp ... A trial in my home dir : oo creates an empty file rsp. puts a non-empty file to zero size It seems to do the same as a manually keyed command: oo (I didn't check whether a difference would turn out within a script.) Regards -- Wilko FokkenEducation is a man's going Landschaftspolder 67from cocksure ignorance D-26831 Bunde to thoughtful uncertainty. Tel. 04953-9219882 -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20120104115157.ga8...@fok01.laje.edewe.de
Re: bootmisc.sh
thank you to everyone the help. I now understand it. Balint -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/4f046073.2070...@gmail.com
Re: I messed up bootmisc.sh - now can't log in!
In article [EMAIL PROTECTED], Bryan Donlan [EMAIL PROTECTED] wrote: On 8/30/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Can anyone suggest a tutorial on writing what I think are called init scripts? Take a look at the files in /etc/init.d, just use one of them as a template, and symlink it in as /etc/rcrunlevel.d/S99yourservice Well, one of them .. there's /etc/init.d/skeleton which is exactly what you'd think it would be... Mike. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: I messed up bootmisc.sh - now can't log in!
On 8/29/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Can anyone recommend a good disk recovery company? Thanks in advance, Dave Williams You don't need one for this. Which bootloader are you using, LILO or GRUB? You can pass init=/bin/sh using it. For grub, select the boot menu option, press 'e', select the line beginning with kernel, press 'e', go to the end of the line and add 'init=/bin/sh'. Then press enter, then 'b'. For LILO, hold shift until you get a lilo prompt. Then type linux init=/bin/sh. Either way will get you a command prompt. Then: mount -t proc proc /proc mount -o remount,rw / [edit, fix bootmisc.sh] mount -o remount,ro / umount /proc exec /sbin/init
Re: I messed up bootmisc.sh - now can't log in!
This did it!!! I had misunderstood the last lines of this post. (I stupidly missed the in either case. Im back in business. Thank you Bryan! Thank you all! A VERY grateful Dave Williams. Bryan Donlan [EMAIL PROTECTED] wrote: On 8/29/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Can anyone recommend a good disk recovery company? Thanks in advance, Dave Williams You don't need one for this. Which bootloader are you using, LILO or GRUB? You can pass init=/bin/sh using it. For grub, select the boot menu option, press 'e', select the line beginning with kernel, press 'e', go to the end of the line and add 'init=/bin/sh'. Then press enter, then 'b'. For LILO, hold shift until you get a lilo prompt. Then type linux init=/bin/sh. Either way will get you a command prompt. Then: mount -t proc proc /proc mount -o remount,rw / [edit, fix bootmisc.sh] mount -o remount,ro / umount /proc exec /sbin/init __ Switch to Netscape Internet Service. As low as $9.95 a month -- Sign up today at http://isp.netscape.com/register Netscape. Just the Net You Need. New! Netscape Toolbar for Internet Explorer Search from anywhere on the Web and block those annoying pop-ups. Download now at http://channels.netscape.com/ns/search/install.jsp -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: I messed up bootmisc.sh - now can't log in!
On 8/30/05, David W. Williams [EMAIL PROTECTED] wrote: I should have mentioned, I'm the: Re: I messed up bootmisc.sh - now can't log in! guy from debian-user I just tried this with vi, and when I went to save, got this message: E45: 'readonly' option is set (add ! to override) Is it possible to get vi to override the read-only of the file system so that I can remove the two offending lines of code from bootmisc.sh? Thank you very much for any help you can give. Did you mount -o remount,rw / ? PS, please keep the list CC'd, for people who have the same trouble in the future
Re: I messed up bootmisc.sh - now can't log in!
Bryan Donlan [EMAIL PROTECTED] wrote: On 8/30/05, David W. Williams [EMAIL PROTECTED] wrote: I should have mentioned, I'm the: Re: I messed up bootmisc.sh - now can't log in! guy from debian-user I just tried this with vi, and when I went to save, got this message: E45: 'readonly' option is set (add ! to override) Is it possible to get vi to override the read-only of the file system so that I can remove the two offending lines of code from bootmisc.sh? Thank you very much for any help you can give. Did you mount -o remount,rw / ? PS, please keep the list CC'd, for people who have the same trouble in the future Yes I did. That's what did the trick on the not being able to write to the file system! Can anyone suggest a tutorial on writing what I think are called init scripts? Thanks! Dave Williams __ Switch to Netscape Internet Service. As low as $9.95 a month -- Sign up today at http://isp.netscape.com/register Netscape. Just the Net You Need. New! Netscape Toolbar for Internet Explorer Search from anywhere on the Web and block those annoying pop-ups. Download now at http://channels.netscape.com/ns/search/install.jsp -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: I messed up bootmisc.sh - now can't log in!
On 8/30/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Bryan Donlan [EMAIL PROTECTED] wrote: On 8/30/05, David W. Williams [EMAIL PROTECTED] wrote: I should have mentioned, I'm the: Re: I messed up bootmisc.sh - now can't log in! guy from debian-user I just tried this with vi, and when I went to save, got this message: E45: 'readonly' option is set (add ! to override) Is it possible to get vi to override the read-only of the file system so that I can remove the two offending lines of code from bootmisc.sh? Thank you very much for any help you can give. Did you mount -o remount,rw / ? PS, please keep the list CC'd, for people who have the same trouble in the future Yes I did. That's what did the trick on the not being able to write to the file system! Can anyone suggest a tutorial on writing what I think are called init scripts? Thanks! Take a look at the files in /etc/init.d, just use one of them as a template, and symlink it in as /etc/rcrunlevel.d/S99yourservice
Re: I messed up bootmisc.sh - now can't log in!
[EMAIL PROTECTED] wrote: Michael Spang [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] wrote: Michael Spang [EMAIL PROTECTED] wrote: Alan Ianson wrote: On Sat August 27 2005 06:38 pm, [EMAIL PROTECTED] wrote: Alan Ianson [EMAIL PROTECTED] wrote: On Sat August 27 2005 05:28 pm, [EMAIL PROTECTED] wrote: I've tried booting off a cd-rom and mounting the disk, but I can't get the disk to mount for some reason. I'm willing to try pretty much anything at this point. My default grub menu list has a recovery option. If that option isn't there for some reason edit your grub boot command line and try adding single to the end. I've never tried it manually before but I have used the recovery mode a few times and I think that's the only difference. Ah, but there's the problem. I can't log in to edit anything. Is there a way to make a menu come up? (Am I missing something, besides a system prompt of course ;-) At the grub menu, before the kernel boots. Hit a key to stop the default from booting and I believe if you press e you can edit the boot command. Just add single to the end and then boot that way. That will boot in recovery mode I think. I hope mysql isn't loading in that mode ;). If that doesn't work you may need to boot with a knopix or ubuntu disk and edit whatever needs editing that way. Ha. If its running from the startup runlevel then you could always add init=/bin/bash to your command line. But why would you have MySQL in /etc/rcS.d/? Also, you don't need to type out 'single', just S will work fine. HTH, Michael Spang -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] It is running from the startup run level, but how do I add init=/bin/bash if I can't get a system prompt from the system? To take another angle on this, I have booted the system under Knoppix, but when I try to mount the disk, it says /dev/sda1 NOT A BLOCK DEVICE. Is there any way to get the system to cough up what it thinks the device name of the disk is? Dave Williams __ Switch to Netscape Internet Service. As low as $9.95 a month -- Sign up today at http://isp.netscape.com/register Netscape. Just the Net You Need. New! Netscape Toolbar for Internet Explorer Search from anywhere on the Web and block those annoying pop-ups. Download now at http://channels.netscape.com/ns/search/install.jsp Are you using LILO or GRUB? As another post said, with GRUB you will have a menu on boot with a list of options, pressing 'e' on the desired option will allow you to add to the command line. With LILO you have to press something else. If all else fails you can use Knoppix to remove the offending startup script. HTH, Michael Spang -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] I've tried to use Knoppix to boot the machine, which it did, but I couldn't mount the disk, which is /dev/sda1. Would the fact that the logical disk is /dev/sda1, while it's actually a RAID (just mirroring) array possibly make a difference? Dave Williams __ Switch to Netscape Internet Service. As low as $9.95 a month -- Sign up today at http://isp.netscape.com/register Netscape. Just the Net You Need. New! Netscape Toolbar for Internet Explorer Search from anywhere on the Web and block those annoying pop-ups. Download now at http://channels.netscape.com/ns/search/install.jsp -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] Can anyone recommend a good disk recovery company? Thanks in advance, Dave Williams __ Switch to Netscape Internet Service. As low as $9.95 a month -- Sign up today at http://isp.netscape.com/register Netscape. Just the Net You Need. New! Netscape Toolbar for Internet Explorer Search from anywhere on the Web and block those annoying pop-ups. Download now at http://channels.netscape.com/ns/search/install.jsp -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: I messed up bootmisc.sh - now can't log in!
Alan Ianson wrote: On Sat August 27 2005 06:38 pm, [EMAIL PROTECTED] wrote: Alan Ianson [EMAIL PROTECTED] wrote: On Sat August 27 2005 05:28 pm, [EMAIL PROTECTED] wrote: I've tried booting off a cd-rom and mounting the disk, but I can't get the disk to mount for some reason. I'm willing to try pretty much anything at this point. My default grub menu list has a recovery option. If that option isn't there for some reason edit your grub boot command line and try adding single to the end. I've never tried it manually before but I have used the recovery mode a few times and I think that's the only difference. Ah, but there's the problem. I can't log in to edit anything. Is there a way to make a menu come up? (Am I missing something, besides a system prompt of course ;-) At the grub menu, before the kernel boots. Hit a key to stop the default from booting and I believe if you press e you can edit the boot command. Just add single to the end and then boot that way. That will boot in recovery mode I think. I hope mysql isn't loading in that mode ;). If that doesn't work you may need to boot with a knopix or ubuntu disk and edit whatever needs editing that way. Ha. If its running from the startup runlevel then you could always add init=/bin/bash to your command line. But why would you have MySQL in /etc/rcS.d/? Also, you don't need to type out 'single', just S will work fine. HTH, Michael Spang -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: I messed up bootmisc.sh - now can't log in!
Michael Spang [EMAIL PROTECTED] wrote: Alan Ianson wrote: On Sat August 27 2005 06:38 pm, [EMAIL PROTECTED] wrote: Alan Ianson [EMAIL PROTECTED] wrote: On Sat August 27 2005 05:28 pm, [EMAIL PROTECTED] wrote: I've tried booting off a cd-rom and mounting the disk, but I can't get the disk to mount for some reason. I'm willing to try pretty much anything at this point. My default grub menu list has a recovery option. If that option isn't there for some reason edit your grub boot command line and try adding single to the end. I've never tried it manually before but I have used the recovery mode a few times and I think that's the only difference. Ah, but there's the problem. I can't log in to edit anything. Is there a way to make a menu come up? (Am I missing something, besides a system prompt of course ;-) At the grub menu, before the kernel boots. Hit a key to stop the default from booting and I believe if you press e you can edit the boot command. Just add single to the end and then boot that way. That will boot in recovery mode I think. I hope mysql isn't loading in that mode ;). If that doesn't work you may need to boot with a knopix or ubuntu disk and edit whatever needs editing that way. Ha. If its running from the startup runlevel then you could always add init=/bin/bash to your command line. But why would you have MySQL in /etc/rcS.d/? Also, you don't need to type out 'single', just S will work fine. HTH, Michael Spang -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] It is running from the startup run level, but how do I add init=/bin/bash if I can't get a system prompt from the system? To take another angle on this, I have booted the system under Knoppix, but when I try to mount the disk, it says /dev/sda1 NOT A BLOCK DEVICE. Is there any way to get the system to cough up what it thinks the device name of the disk is? Dave Williams __ Switch to Netscape Internet Service. As low as $9.95 a month -- Sign up today at http://isp.netscape.com/register Netscape. Just the Net You Need. New! Netscape Toolbar for Internet Explorer Search from anywhere on the Web and block those annoying pop-ups. Download now at http://channels.netscape.com/ns/search/install.jsp -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: I messed up bootmisc.sh - now can't log in!
[EMAIL PROTECTED] wrote: Michael Spang [EMAIL PROTECTED] wrote: Alan Ianson wrote: On Sat August 27 2005 06:38 pm, [EMAIL PROTECTED] wrote: Alan Ianson [EMAIL PROTECTED] wrote: On Sat August 27 2005 05:28 pm, [EMAIL PROTECTED] wrote: I've tried booting off a cd-rom and mounting the disk, but I can't get the disk to mount for some reason. I'm willing to try pretty much anything at this point. My default grub menu list has a recovery option. If that option isn't there for some reason edit your grub boot command line and try adding single to the end. I've never tried it manually before but I have used the recovery mode a few times and I think that's the only difference. Ah, but there's the problem. I can't log in to edit anything. Is there a way to make a menu come up? (Am I missing something, besides a system prompt of course ;-) At the grub menu, before the kernel boots. Hit a key to stop the default from booting and I believe if you press e you can edit the boot command. Just add single to the end and then boot that way. That will boot in recovery mode I think. I hope mysql isn't loading in that mode ;). If that doesn't work you may need to boot with a knopix or ubuntu disk and edit whatever needs editing that way. Ha. If its running from the startup runlevel then you could always add init=/bin/bash to your command line. But why would you have MySQL in /etc/rcS.d/? Also, you don't need to type out 'single', just S will work fine. HTH, Michael Spang -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] It is running from the startup run level, but how do I add init=/bin/bash if I can't get a system prompt from the system? To take another angle on this, I have booted the system under Knoppix, but when I try to mount the disk, it says /dev/sda1 NOT A BLOCK DEVICE. Is there any way to get the system to cough up what it thinks the device name of the disk is? Dave Williams __ Switch to Netscape Internet Service. As low as $9.95 a month -- Sign up today at http://isp.netscape.com/register Netscape. Just the Net You Need. New! Netscape Toolbar for Internet Explorer Search from anywhere on the Web and block those annoying pop-ups. Download now at http://channels.netscape.com/ns/search/install.jsp Are you using LILO or GRUB? As another post said, with GRUB you will have a menu on boot with a list of options, pressing 'e' on the desired option will allow you to add to the command line. With LILO you have to press something else. If all else fails you can use Knoppix to remove the offending startup script. HTH, Michael Spang -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: I messed up bootmisc.sh - now can't log in!
Michael Spang [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] wrote: Michael Spang [EMAIL PROTECTED] wrote: Alan Ianson wrote: On Sat August 27 2005 06:38 pm, [EMAIL PROTECTED] wrote: Alan Ianson [EMAIL PROTECTED] wrote: On Sat August 27 2005 05:28 pm, [EMAIL PROTECTED] wrote: I've tried booting off a cd-rom and mounting the disk, but I can't get the disk to mount for some reason. I'm willing to try pretty much anything at this point. My default grub menu list has a recovery option. If that option isn't there for some reason edit your grub boot command line and try adding single to the end. I've never tried it manually before but I have used the recovery mode a few times and I think that's the only difference. Ah, but there's the problem. I can't log in to edit anything. Is there a way to make a menu come up? (Am I missing something, besides a system prompt of course ;-) At the grub menu, before the kernel boots. Hit a key to stop the default from booting and I believe if you press e you can edit the boot command. Just add single to the end and then boot that way. That will boot in recovery mode I think. I hope mysql isn't loading in that mode ;). If that doesn't work you may need to boot with a knopix or ubuntu disk and edit whatever needs editing that way. Ha. If its running from the startup runlevel then you could always add init=/bin/bash to your command line. But why would you have MySQL in /etc/rcS.d/? Also, you don't need to type out 'single', just S will work fine. HTH, Michael Spang -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] It is running from the startup run level, but how do I add init=/bin/bash if I can't get a system prompt from the system? To take another angle on this, I have booted the system under Knoppix, but when I try to mount the disk, it says /dev/sda1 NOT A BLOCK DEVICE. Is there any way to get the system to cough up what it thinks the device name of the disk is? Dave Williams __ Switch to Netscape Internet Service. As low as $9.95 a month -- Sign up today at http://isp.netscape.com/register Netscape. Just the Net You Need. New! Netscape Toolbar for Internet Explorer Search from anywhere on the Web and block those annoying pop-ups. Download now at http://channels.netscape.com/ns/search/install.jsp Are you using LILO or GRUB? As another post said, with GRUB you will have a menu on boot with a list of options, pressing 'e' on the desired option will allow you to add to the command line. With LILO you have to press something else. If all else fails you can use Knoppix to remove the offending startup script. HTH, Michael Spang -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] I've tried to use Knoppix to boot the machine, which it did, but I couldn't mount the disk, which is /dev/sda1. Would the fact that the logical disk is /dev/sda1, while it's actually a RAID (just mirroring) array possibly make a difference? Dave Williams __ Switch to Netscape Internet Service. As low as $9.95 a month -- Sign up today at http://isp.netscape.com/register Netscape. Just the Net You Need. New! Netscape Toolbar for Internet Explorer Search from anywhere on the Web and block those annoying pop-ups. Download now at http://channels.netscape.com/ns/search/install.jsp -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
I messed up bootmisc.sh - now can't log in!
I added a command to run mysqld to bootmisc.sh. Now everything boots fine, but the command that I added to bootmisc.sh runs but doesn't exit, leaving me with a system running mysql but at runlevel 2 (single user mode) . It does not return a prompt so I can't log in and fix the problem. With it being at runlevel 2, I can't ssh in. Any ideas how I can make my cd /usr/local/mysql bin/safe_mysqld command lines in bootmisc.sh exit, so that bootmisc.sh will exit and I'll get a prompt. All I have now is literally a blinking cursor. (I tried switching to another virtual terminal, but they have the blinking cursor too. I tried hitting SysReq, but no luck.) The system would have to be at runlevel 5, I think, for me to ssh in. I've tried booting off a cd-rom and mounting the disk, but I can't get the disk to mount for some reason. I'm willing to try pretty much anything at this point. Thanks in advance, Dave Williams __ Switch to Netscape Internet Service. As low as $9.95 a month -- Sign up today at http://isp.netscape.com/register Netscape. Just the Net You Need. New! Netscape Toolbar for Internet Explorer Search from anywhere on the Web and block those annoying pop-ups. Download now at http://channels.netscape.com/ns/search/install.jsp -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: I messed up bootmisc.sh - now can't log in!
On Sat August 27 2005 05:28 pm, [EMAIL PROTECTED] wrote: I've tried booting off a cd-rom and mounting the disk, but I can't get the disk to mount for some reason. I'm willing to try pretty much anything at this point. My default grub menu list has a recovery option. If that option isn't there for some reason edit your grub boot command line and try adding single to the end. I've never tried it manually before but I have used the recovery mode a few times and I think that's the only difference. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: I messed up bootmisc.sh - now can't log in!
Alan Ianson [EMAIL PROTECTED] wrote: On Sat August 27 2005 05:28 pm, [EMAIL PROTECTED] wrote: I've tried booting off a cd-rom and mounting the disk, but I can't get the disk to mount for some reason. I'm willing to try pretty much anything at this point. My default grub menu list has a recovery option. If that option isn't there for some reason edit your grub boot command line and try adding single to the end. I've never tried it manually before but I have used the recovery mode a few times and I think that's the only difference. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] Ah, but there's the problem. I can't log in to edit anything. Is there a way to make a menu come up? (Am I missing something, besides a system prompt of course ;-) Dave __ Switch to Netscape Internet Service. As low as $9.95 a month -- Sign up today at http://isp.netscape.com/register Netscape. Just the Net You Need. New! Netscape Toolbar for Internet Explorer Search from anywhere on the Web and block those annoying pop-ups. Download now at http://channels.netscape.com/ns/search/install.jsp -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: I messed up bootmisc.sh - now can't log in!
On Sat August 27 2005 06:38 pm, [EMAIL PROTECTED] wrote: Alan Ianson [EMAIL PROTECTED] wrote: On Sat August 27 2005 05:28 pm, [EMAIL PROTECTED] wrote: I've tried booting off a cd-rom and mounting the disk, but I can't get the disk to mount for some reason. I'm willing to try pretty much anything at this point. My default grub menu list has a recovery option. If that option isn't there for some reason edit your grub boot command line and try adding single to the end. I've never tried it manually before but I have used the recovery mode a few times and I think that's the only difference. Ah, but there's the problem. I can't log in to edit anything. Is there a way to make a menu come up? (Am I missing something, besides a system prompt of course ;-) At the grub menu, before the kernel boots. Hit a key to stop the default from booting and I believe if you press e you can edit the boot command. Just add single to the end and then boot that way. That will boot in recovery mode I think. I hope mysql isn't loading in that mode ;). If that doesn't work you may need to boot with a knopix or ubuntu disk and edit whatever needs editing that way. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]