Did something stupid, now need Grub help

Discussion in 'Installation/Configuration' started by ACDII, Aug 1, 2011.

  1. ACDII

    ACDII Member

    Somehow in editing the grub.conf file I inadvertently screwed something up. I didnt make a backup file, but had instead commented the original lines in the config.

    Is there any way to see the grub.conf file so I can find out where I fat fingered something? It is in a colo on a VM ware box, so no drives are available other than the disk it is installed on.

    Live and learn, not going to do that again, but even if I did, how would I even get to the backup file? I dont see a command to list files, and I cant seem to cat the file /boot/grub/grub.conf.
  2. falko

    falko Super Moderator ISPConfig Developer

  3. ACDII

    ACDII Member

    I figured it out late last night, /grub/grub.conf is where the file is, so I was able to CAT the file, copy the commented lines and reenter them and finally get the server booted. It was the commented lines that I needed to see, I made the mistake of not catting the file before editing it so I had a reference to it.
  4. erosbk

    erosbk New Member

    You can use always a hiren's boot cd, I think it will be enough to boot and mount the unit, and fix your problem.
  5. ACDII

    ACDII Member

    I fixed it last night once I found the correct directory listing. Servers working once again.

Share This Page