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: james edmondson
Subject: Re: move/overwrite a file in Grub2 shell?
Date: Fri, 9 Apr 2010 10:41:29 -0600

I have a line that reads: set root=(hd0,5)

Is there where I should append "single" to? Do I need to separate the word "single" from the root=(hd0,5) part with anything?

Thanks
James

On Fri, Apr 9, 2010 at 12:17 AM, Michael Evans <address@hidden> wrote:
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.


_______________________________________________
Help-grub mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/help-grub


reply via email to

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