Hi,
I am new to Linux. I am debugging s2ram on my SUSE 12.1. I find the following message which I want to try. On Grub2 menu (when boot, it shows SUSE 12.1 general boot, safe boot , windows 7 boot 1, windows 7 boot 2), it has no effect when I select ‘e’. I would like to know is there anyway to generate the following message talking effect?
Thanks.
…
Re: How do I boot with init=/bin/bash ?
Do you mean that you want to boot into single user mode? If so, and assuming you are using grub, you just append a 1 to your grub boot line.
So when you are presented with the grub boot menu, select your choice, then hit ‘e’ to edit instead of enter.
Then scroll down to the line it displays with ‘kernel /boot/kernel-X.Y.Z …’ and again hit ‘e’ to edit it.
Scroll to the end of the line and append a “1” (no quotes), then ENTER. This tells the kernel to boot into runlevel 1, the single user level.
Finally hit ‘b’ to boot using this new configuration. Note that this is a temporary change to your grub configuration. Upon next reboot the 1 will not be there and you will be back to the regular options.
Your should now boot into single user mode which should boot no services and present you with just a root prompt (/bin/bash).