Find the answer to your Linux question:
Results 1 to 4 of 4
everything was good until i changed a file in /etc/init.d I would think that if i changed the file back it would be fine but I cant figure out how ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Dec 2011
    Posts
    7

    ubuntu wont boot - initramfs


    everything was good until i changed a file in /etc/init.d

    I would think that if i changed the file back it would be fine but I cant figure out how to get to /etc/init.d. when the OS boots, i get to (initramfs) prompt. how can i fix this? the actual OS not on the raid.

    thanks
    Last edited by sixteenornumber; 08-09-2012 at 01:16 PM.

  2. #2
    Linux Guru
    Join Date
    Oct 2007
    Location
    Tucson AZ
    Posts
    3,190
    You should be able to do it with the Ubuntu LiveCD. Boot the CD, create a mount point for your root partition, mount it and open a text editor as root (sudo gedit) and navigate to the file to make the changes.

  3. #3
    Linux User Steven_G's Avatar
    Join Date
    Jun 2012
    Location
    Western US
    Posts
    420
    Quote Originally Posted by yancek View Post
    ...open a text editor as root (sudo gedit)...
    Code:
    gksudo gedit
    Sudo has a tendency to crash / hang / act weird if you use it to open a GUI in root.

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Newbie Syndacate's Avatar
    Join Date
    May 2012
    Location
    Hell..no literally, this state is hell..
    Posts
    192
    Quote Originally Posted by Steven_G View Post
    Code:
    gksudo gedit
    Sudo has a tendency to crash / hang / act weird if you use it to open a GUI in root.
    I'm srsly not trying to start anything here, but in ~6 years of using Linux pretty hardcore I've heard this argument, and never had percussions because of it.

    I run my update manager via 'sudo update-manager' - edit things via 'sudo gedit' - etc. Though yes, when dealing with GUI interfaces, gksudo is the correct way.

    On a separate note, without thread jacking, is gksudo or GTK tool? Or should it be used to launch KDE apps as well?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •