On May 14, 2010, at 12:06 AM, Bryan Kadzban wrote:
> Ken Moffat wrote:
>> Related question, although maybe it belongs on support - how do you 
>> get grub2 (1.97, if it matters) to boot in single mode?  I need to
>> fsck my /home partition manually (fsck'd after nn boots, came up with
>> errors), and it's shared between all the systems on that box.
>> 
>> init=/bin/bash works, but (of course) no disk devices.
> 
> Run the bootscripts manually, up until checkfs?  Dunno, but that's what
> I tend to do when (say) even single-user is running scripts that break
> something (like, oh, udev for instance).  :-)
> 
> Or follow Bruce's advice.

Also, if you've followed the book's instructions precisely (i.e., you've named 
your kernel vmlinux-...) when you run grub-mkconfig, a config file will be 
generated with two options based on that kernel, one being single user mode.

--
JH
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to