[CentOS] grub.conf

Barry Brimer lists at brimer.org
Wed Aug 26 02:16:57 UTC 2015


> My grub.conf is as following.
>
> title  Linux Init Break
> kernel /vmlinuz root=/dev/sda6 ro rootwait break=y
> initrd /initrd.gz
>
> What I expect is by adding *break=y* to cmdline,
> init will pause early in the boot process and launch an
> interactive sh shell which can be used for troubleshooting purposes.
>
> But kernel is disregarding break=y. And it loads up without
> launching  sh shell.
>
> Is it the right way to launch interactive shell ?

I would remove the break=y and replace it with init=/bin/sh

What version of CentOS are you running?



More information about the CentOS mailing list