|
[
Bloke.com
|| Linux
|| JavaScript
|| Java
|| Volleyball
|| Link Me
]
Free: [ Guestbook || MessageBot || Plugins || Counter || AusPrices || Advertise ] |
![]() |
Information on booting into single user mode: Usually without needing the root password, but need phsyical access to the machine.
boot: linux singleor
boot: linux emergency
kernel /vmlinuz-2.4.18-5smp ro root=/dev/hda8press 'e' again .. then add "single" to the end and hit enter. The line should then look like:
kernel /vmlinuz-2.4.18-5smp ro root=/dev/hda8 singlenow press 'b' to boot in single user mode.. done.
When you are done (in either mode), exit the shell to resume the normal startup.
So, given that you do want to set this up ahead of time, you can an entry into /etc/grub.conf. Just copy the kernel entry you want, change the title, and add the keyword "single" to the end of the line. Here is my /etc/grub.conf file.
# grub.conf generated by anaconda # # Note that you do not have to rerun grub after making changes to this file # NOTICE: You have a /boot partition. This means that # all kernel and initrd paths are relative to /boot/, eg. # root (hd0,0) # kernel /vmlinuz-version ro root=/dev/hda8 # initrd /initrd-version.img #boot=/dev/hda default=0 timeout=10 splashimage=(hd0,0)/grub/splash.xpm.gz title Red Hat Linux (2.4.18-5smp) root (hd0,0) kernel /vmlinuz-2.4.18-5smp ro root=/dev/hda8 initrd /initrd-2.4.18-5smp.img title Single User RH (2.4.18-5smp) root (hd0,0) kernel /vmlinuz-2.4.18-5smp ro root=/dev/hda8 single initrd /initrd-2.4.18-5smp.imgSo I added the last 4 lines...
For more information check out the redhat link below.
See Also:
Last Change: Monday, 10-Jan-2005 07:42:15 EST
Disclaimer
The information provided within these pages is provided AS IS, and without any
warranty. Following these directions may (but not limited to)
crash your computer, delete all the information on your hard disk, open up security holes or cause your house to burn down.
I made these pages to provide some information about the setup that I have done,
but I did not proofread it for correctness, and in most cases did not test it.
There are commands in these pages that would definately delete or corrupt all
the data on your computer (especially the dualboot section). In fact it happened
to me....
So you are on your own!