Re: How to boot single user with loadlin?
- Received message begins Here - > > Perhaps you used the wrong way to go to single user mode. The only > correct way to switch to single user from multi user is: > > shutdown now > I used init s. I thought that was the same. Thanks for the tip, I'll try that. Jim. To see my .signature file, go to http://reality.sgi.com/jwl/signature/
Re: How to boot single user with loadlin?
On 22 Dec 1998, Miquel van Smoorenburg wrote: : In article <[EMAIL PROTECTED]>, Jim Lynch <[EMAIL PROTECTED]> wrote: : >I'm not using LILO and boot into Linux from a config.sys menu option : >under Win95. I use loadlin to boot Linux. I needed to do some : >maintenance the other day and found that booting single from a running : >system doesn't work very well. It keeps /usr mounted because it doesn't : >kill off the process using /usr, I guess. : : Perhaps you used the wrong way to go to single user mode. The only : correct way to switch to single user from multi user is: : : shutdown now : : [Note the omission of the -r/-h option!]. However, I think this still leaves all the partitions mounted (although you ought to be able to unmount any partition at that time). If using `shutdown now' doesn't help, perhaps lsof can shed some light on the problem. -- Nathan Norman MidcoNet 410 South Phillips Avenue Sioux Falls, SD mailto:[EMAIL PROTECTED] http://www.midco.net finger [EMAIL PROTECTED] for PGP Key: (0xA33B86E9)
Re: How to boot single user with loadlin?
In article <[EMAIL PROTECTED]>, Jim Lynch <[EMAIL PROTECTED]> wrote: >I'm not using LILO and boot into Linux from a config.sys menu option >under Win95. I use loadlin to boot Linux. I needed to do some >maintenance the other day and found that booting single from a running >system doesn't work very well. It keeps /usr mounted because it doesn't >kill off the process using /usr, I guess. Perhaps you used the wrong way to go to single user mode. The only correct way to switch to single user from multi user is: shutdown now [Note the omission of the -r/-h option!]. >Anyway then I set out to try >to boot single user from loadlin.exe. I didn't know what to put. I >tried loadlin vmlinux root=/dev/hdb1 ro single, but that didn't seem to >work. Can someone enlighten me? Can't help you with that one. Mike. -- Indifference will certainly be the downfall of mankind, but who cares?
How to boot single user with loadlin?
I'm not using LILO and boot into Linux from a config.sys menu option under Win95. I use loadlin to boot Linux. I needed to do some maintenance the other day and found that booting single from a running system doesn't work very well. It keeps /usr mounted because it doesn't kill off the process using /usr, I guess. Anyway then I set out to try to boot single user from loadlin.exe. I didn't know what to put. I tried loadlin vmlinux root=/dev/hdb1 ro single, but that didn't seem to work. Can someone enlighten me? I looked in the docs, but I guess I didn't find the right one. Thanks, Jim. -- To see my .signature file, go to http://reality.sgi.com/jwl
How to boot single user? -- Oops :-)
oops, ignore my previous mail about booting single user simply appending "single" to the loadlin commandline did the trick :-) Nico -- -- Nico De Ranter Sony Objective Composer (SOCOM) Sint Stevens Woluwestraat 55 (Rue de Woluwe-Saint-Etienne) 1130 Brussel (Bruxelles), Belgium, Europe, Earth Telephone: +32 2 724 86 41 Telefax: +32 2 726 26 86 e-mail: [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
How to boot single user?
Howdy, I'm trying to install a Linux machine as DNS-server. Unfortunately I did something wrong and now my Linux machine hangs when starting named at boottime. Is there any way to prevent Linux from trying to start named (e.g. boot single user) when booted via Loadlin? Thanks in advance, Nico -- -- Nico De Ranter Sony Objective Composer (SOCOM) Sint Stevens Woluwestraat 55 (Rue de Woluwe-Saint-Etienne) 1130 Brussel (Bruxelles), Belgium, Europe, Earth Telephone: +32 2 724 86 41 Telefax: +32 2 726 26 86 e-mail: [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Going to single user, (was: how to boot single-user)
On Thu, 27 Mar 1997, joost witteveen wrote: > > At 08:02 AM 27/03/97 -0800, Ken Gaugler wrote: > > >A while back someone told me how to boot in single-user mode. I can't > > >seem to find that email, and there is no man page for boot or single. > > > > > >Could someone please refresh my memory? > > > > > >And I wonder why commands like 'shutdown -s' do not result in a > > >single user boot? With System V, shutdown -s would take you to single user mode, not do a reboot at all. To go to single user from multiuser, I use telinit 1 takes me to single user with whatever runstate one is in. This kills most everything. See /etc/rc1.d, /etc/init.d/README. It does leave file systems mounted, so if you need to do things to the file systems, (fsck and such) you will need to umount filesystem, or remount ro filesystem: umount device-for-filesystem mount -n -o remount,ro / The mount command wants to write fstab, whether remounting ro or remounting rw. The -n allows you to actually remount the filesystem without writing on fstab. I missed this myself, and had problems until it was kindly pointed out to me. I have not used it, but telinit 2 should take you back to multiuser. David - LINUX: the FREE 32 bit OS for [345]86 PC's available NOW! David B Teague | User interface copyrights & software patents make [EMAIL PROTECTED] | programing a dangerous business. Ask me about this. spy counter-intelligence wild porno sex gold bullion Soviet Bosnia clipper
Re: how to boot single-user
> At 08:02 AM 27/03/97 -0800, Ken Gaugler wrote: > >A while back someone told me how to boot in single-user mode. I can't > >seem to find that email, and there is no man page for boot or single. > > > >Could someone please refresh my memory? > > > >And I wonder why commands like 'shutdown -s' do not result in a > >single user boot? > > Interrupt the LILO: boot prompt before it loads the kernel image. (do this by holding the ALT key pressed) > Then, > type the image you normally load, followed by a capital S ie: > > LILO: Linux S > > And that'll boot single user mode (it'll also ask for the root password). Yes, although I usually find that "linux emergency" is really what I want (Single-user still loads quite a few scripts). -- joost witteveen [EMAIL PROTECTED] I came, I saw, ..., well, it wasn't free so I left again. (LUA, 1988)
Re: how to boot single-user
At 08:02 AM 27/03/97 -0800, Ken Gaugler wrote: >A while back someone told me how to boot in single-user mode. I can't >seem to find that email, and there is no man page for boot or single. > >Could someone please refresh my memory? > >And I wonder why commands like 'shutdown -s' do not result in a >single user boot? Interrupt the LILO: boot prompt before it loads the kernel image. Then, type the image you normally load, followed by a capital S ie: LILO: Linux S And that'll boot single user mode (it'll also ask for the root password). Regards -- ___ Karl Ferguson, Tower Networking Pty Ltd [EMAIL PROTECTED] t/a STAR Online Services [EMAIL PROTECTED] Tel: +61-9-455-3446 Fax: +61-9-455-2776 http://www.star.net.au ___
how to boot single-user
A while back someone told me how to boot in single-user mode. I can't seem to find that email, and there is no man page for boot or single. Could someone please refresh my memory? And I wonder why commands like 'shutdown -s' do not result in a single user boot? TIA -- Ken Gaugler N6OSK Santa Clara, California email: [EMAIL PROTECTED] URL: http://www.wco.com/~keng "The life of a Repo Man is always INTENSE..."
Re: how to boot single-user mode?
Hi, > I'm assuming you use lilo. when you boot up and get the lilo prompt, If you dont get the lilo prompt you need to hold down the shift-key before the kernel is loading. This will be a user option in liloconfig. BTW: instead of 'single' you can also use 'emergency' which will even skip the sysinit script (in case you have a REAL problem that you systemget stuck before it is able to enter single user mode). Greetings Bernd
Re: how to boot single-user mode?
On Tue, 13 Aug 1996, Ken Gaugler wrote: > Last night I tried and tried to get my system to come up in single > user mode (so I could do some major filesystem changes). I couldn't > get it to come up single-user. I tried booting from the original > install boot floppy, and to my surprise it booted up my kernel on the > hard disk?!?!?! linux -b or linux emergency from the LILO command prompt (assuming that the kernel image you want to load is called "linux", that is...which is the case on most systems). Craig
Re: how to boot single-user mode?
On Aug 13, 7:44am, Ken Gaugler wrote: > Subject: how to boot single-user mode? : Last night I tried and tried to get my system to come up in : single user mode (so I could do some major filesystem changes). : I couldn't get it to come up single-user. I tried booting from : the original install boot floppy, and to my surprise it booted : up my kernel on the hard disk?!?!?! >-- End of excerpt from Ken Gaugler Just a quick check you can do: Go into your BIOS setup and see if the system is set to boot from C: then A:, or to ignore the floppy on boot. If so, then you need to make sure that the boot search order is A:, C:. This doesn't fix your other issue (not being able to run single-user), but it's worth checking. Chris -)- -- Christopher R. Hertel -)- University of Minnesota [EMAIL PROTECTED] Networking and Telecommunications Services
RE: how to boot single-user mode?
On 11:44:51 Ken Gaugler wrote: >>Last night I tried and tried to get my system to come up in >single user mode (so I could do some major filesystem changes). Ken, I'm not certain, but you can get to it by issuing the command 'telinit 1' while logged in as root. Thats one way. >For background, I need to change the size of some partitions, so >I need to copy whole partitions to a temporary location while I >re-do the partition table on the target disk. I hope to avoid >having to re-install from tape or from scratch this way. Perhaps a suggestion for you to consider to accomplish this is using cpio. For example, the command 'find . -depth | cpio -pdmv /target_dir' will make an exact copy of a filesystem, preserving links and file access times, etc. If you execute the above from the top dir of a filesystem, it will make a duplicate at the 'target_dir'. I have used cpio like this to copy the entire root and/or /usr partitions to new locations with no problems whatsoever. Paul
Re: how to boot single-user mode?
I'm assuming you use lilo. when you boot up and get the lilo prompt, type: linux single ^(or whatever you call your linux partition) if you don't use lilo, you have to have a way to pass the message single to init, so read the help files for whatever loader you use. Hope this helps Shaya -- Shaya Potter [EMAIL PROTECTED] On Tue, 13 Aug 1996, Ken Gaugler wrote: > Last night I tried and tried to get my system to come up in > single user mode (so I could do some major filesystem changes). > I couldn't get it to come up single-user. I tried booting from > the original install boot floppy, and to my surprise it booted > up my kernel on the hard disk?!?!?! > > I couldn't find the solution in the docs anywhere. Can anyone tell > me what I should be doing? > > For background, I need to change the size of some partitions, so > I need to copy whole partitions to a temporary location while I > re-do the partition table on the target disk. I hope to avoid > having to re-install from tape or from scratch this way. > > Thanks! > >
how to boot single-user mode?
Last night I tried and tried to get my system to come up in single user mode (so I could do some major filesystem changes). I couldn't get it to come up single-user. I tried booting from the original install boot floppy, and to my surprise it booted up my kernel on the hard disk?!?!?! I couldn't find the solution in the docs anywhere. Can anyone tell me what I should be doing? For background, I need to change the size of some partitions, so I need to copy whole partitions to a temporary location while I re-do the partition table on the target disk. I hope to avoid having to re-install from tape or from scratch this way. Thanks!