Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1118
  • Last Modified:

How to boot centos in recue mode.

I have the live cd centos6 i need to boot in rescue mode so i can edit selinux.config file. Any help appreciated. I am newbie to linux.
0
LeadCo
Asked:
LeadCo
  • 3
2 Solutions
 
Kerem ERSOYPresidentCommented:
Hi,

- Just Boot from the CD.
- When you get the boot: prompt type:

linux rescue

and hit Enter.

This is it.

Cheers,
K.
0
 
LeadCoAuthor Commented:
Are you referring to press any button before it boots to get to the boot prompt?
0
 
LeadCoAuthor Commented:
The live cd goes right into the windows like gui.

I tried booting to single user mode but fails from disc.

The problem is that i put a ; in selinux/config intead of # on a line to comment out. Trying to get to file to fix. It says incorrect syntax selinux/config boot fails.

When i boot from cd i cant get to file i can open in read only says i dont have permissions.
I am trying to get into rescue mode from cd but it goes to gui.
0
 
LeadCoAuthor Commented:
Ok I got it, simple.

I loaded the Live CD and when it was doing the auto login after boot and I hit escape and clicked login as other user: root no password was neccessarry, and I could access the drive from gui pull up file and edit and save.

Thanks all.
0

Featured Post

Get quick recovery of individual SharePoint items

Free tool – Veeam Explorer for Microsoft SharePoint, enables fast, easy restores of SharePoint sites, documents, libraries and lists — all with no agents to manage and no additional licenses to buy.

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now