Re: deleted the grub interface line

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

 



On Mon, 2006-09-25 at 11:42 -0700, M E Fieu wrote:
> Hi.. I wanted to reset the root password of my FC5.  I wanted to follow the instruction below from
> the net to go to linux single mode. But unfortunately, I deleted the line as referred below.  Now
> I cannot reboot, any help?  I need to know what is the line that I deleted
> 
> "donot delete anything from the line... go to the end of the line and add '1' without the quotes
> to it"
> 
> ###########################################################################################
> on the grub interface highkight ur linux distro
> press 'e' on the key board 
> u will be taken to the sub menu
> here select the line that starts with the word kernel and hit 'e' again 
> the line will now appear in editable mode
> donot delete anything from the line... go to the end of the line and add '1' without the quotes to
> it
> "kernel ***** ro root=LABEL=/ 1"
> hit enter

If you actually followed those instructions, you've not deleted
anything.  You've changed how things were going to work during this
session, but not the files on the disc that line comes from.  Just
reboot the computer, and have another go at modifying the line.

On the other hand, if you've not done as it said, and actually edited
the grub.conf file, you can hand type in what's supposed to be there.
My grub.conf file has the following two entries in it (the original
kernel and the recent update), you could try copying from it:

title Fedora Core (2.6.17-1.2187_FC5)
        root (hd0,0)
        kernel /vmlinuz-2.6.17-1.2187_FC5 ro root=LABEL=/
        initrd /initrd-2.6.17-1.2187_FC5.img

title Fedora Core (2.6.15-1.2054_FC5)
        root (hd0,0)
        kernel /vmlinuz-2.6.15-1.2054_FC5 ro root=LABEL=/ rhgb quiet
        initrd /initrd-2.6.15-1.2054_FC5.img

-- 
(Currently running FC4, occasionally trying FC5.)

Don't send private replies to my address, the mailbox is ignored.
I read messages from the public lists.


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux