help-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: move/overwrite a file in Grub2 shell?


From: Michael Evans
Subject: Re: move/overwrite a file in Grub2 shell?
Date: Thu, 8 Apr 2010 23:17:55 -0700

On Thu, Apr 8, 2010 at 10:52 PM, Thomas Mueller <address@hidden> wrote:
>
>>
>> So, I can get into the Grub2 shell (sh:grub) by typing 'c' in the boot
>> menu, and ls to my /etc/X11/ directory (and cat both my xorg.conf and
>> xorg.conf.bkp files) but what I want to do is overwrite xorg.conf with
>> the backup and hopefully make my blank screen go away.
>>
>> Is this possible to do in the Grub2 shell? As in, is there some way to
>> overwrite my xorg.conf with the backup?
>
> I would start in single user mode (append "single" to the kernel options
> in grup).
>
> it then will boot into single user mode without graphics and present a
> root login shell.
>
> - Thomas
>
>
>
> _______________________________________________
> Help-grub mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/help-grub
>

There should also be a recovery mode or similar option in the list...
It literally has just root=(whatever) ro single in case you deleted it
or something...  Oh, and it still uses the initrd, but that's another
line.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]