Page 1 of 3 123 LastLast
Results 1 to 10 of 22

Thread: Newbie on the brink!! -

  1. #1
    Join Date
    Jun 2008
    Beans
    13

    Newbie on the brink!! -

    I'm a new user to Ubuntu after 15 + years of a Windows only environment and loving it. Apart from the fact that I seem to have screwed up my installation already.

    I'm not really sure how I've done it but currently my system won't boot and stops a this point;

    *Setting kernel variables... [ok]
    .: 17: Can't open /lib/init/vars.sh
    .: 24: Can't open /lib/init/mount-function.sh
    .: 16: Can't open /lib/init/vars.sh
    .: 15: Can't open /lib/init/vars.sh
    .: 11: Can't open /lib/init/vars.sh
    * Checking minimum space in /tmp... [ok]
    mv: inter-device move failed: '/dev/.udev.log' to '/var/log/udev' ; unable to remove target: read-only file system
    /etc/rcS.d/S39readhead-desktop: 73: mountpoint: not found
    /etc/rcS.d/S39readhead-desktop: 73: mountpoint: not found
    * Skipping firewall: ufw (not enabled)... [ok]
    * Configuring network interfaces... [fail]
    /etc/rcS.d/S45waitnfs.sh: 106: /lib/init/mountall-net-fs: not found
    .: 11: Can't open /lib/init/vars.sh
    chmod: changing permissions of '/var/run/screen': Read-only file system
    chown: changing ownership of '/tmp/.X11-unix': Read-only file system
    .: 14: Can't open /lib/init/vars.sh
    .: 19: Can't open /lib/init/vars.sh
    init: rc-default main process (4636) terminated with status 127

    It look like i must have changed some ownership of some critical directories my mistake.

    Does anyone have some suggestion on how to save this installation ?

    Please don't make me go back to windows!

  2. #2
    Join Date
    May 2008
    Beans
    518

    Re: Newbie on the brink!! -

    execute the following commands in a terminal:

    Code:
    ls -l /lib/init/
    ls -ld /lib/init
    ls -ld /lib
    post the output

    dracayr
    Last edited by dracayr; June 20th, 2008 at 05:16 PM.

  3. #3
    Join Date
    Dec 2006
    Location
    Oregon, US
    Beans
    1,541
    Distro
    Ubuntu Development Release

    Re: Newbie on the brink!! -

    Quote Originally Posted by dracayr View Post
    execute the following commands in a terminal:

    Code:
    ls -l /lib/init/
    ls -ld /lib/init
    ls -ld /lib
    post the output

    dracayr
    BTW, since you can't boot your computer normally, you'll have to do these commands from the LiveCD. (Make sure you run the commands on the /lib folder for your ubuntu install instead of the /lib folder on the cd. The one for your Ubuntu install will be something like /media/hda0/lib/.....

  4. #4
    Join Date
    May 2008
    Beans
    518

    Re: Newbie on the brink!! -

    Quote Originally Posted by jimv View Post
    BTW, since you can't boot your computer normally, you'll have to do these commands from the LiveCD. (Make sure you run the commands on the /lib folder for your ubuntu install instead of the /lib folder on the cd. The one for your Ubuntu install will be something like /media/hda0/lib/.....
    yeah, forgot to mention that. Also, have you tried the recovery mode?

    dracayr

  5. #5
    Join Date
    Jun 2008
    Beans
    13

    Re: Newbie on the brink!! -

    ubuntu@ubuntu:/media/disk/lib$ ls -l /lib/init/
    total 24
    -rwxr-xr-x 1 root root 2702 2008-04-18 16:02 mountall-net-fs
    -rw-r--r-- 1 root root 3094 2008-04-18 16:02 mount-functions.sh
    -rwxr-xr-x 1 root root 11224 2008-04-18 16:02 readlink
    -rw-r--r-- 1 root root 5630 2008-04-18 16:02 usplash-fsck-functions.sh
    -rw-r--r-- 1 root root 129 2008-04-18 16:02 vars.sh

    ubuntu@ubuntu:/media/disk/lib$ ls -ld /lib/init
    drwxr-xr-x 2 root root 110 2008-04-22 18:02 /lib/init

    ubuntu@ubuntu:/media/disk/lib$ ls -ld /lib
    drwxr-xr-x 17 root root 60 2008-06-20 17:39 /lib

    I think I've done this right!

  6. #6
    Join Date
    Jun 2008
    Beans
    13

    Re: Newbie on the brink!! -

    If you mean recovery mode as in the second option on the GRUB menu then yes but I get the same result.

  7. #7
    Join Date
    Dec 2006
    Location
    Oregon, US
    Beans
    1,541
    Distro
    Ubuntu Development Release

    Re: Newbie on the brink!! -

    Try running fsck from the live cd on your Ubuntu partition.

    sudo fsck -pyv hda1 (or whatever your ubuntu partition is)

  8. #8
    Join Date
    May 2008
    Beans
    518

    Re: Newbie on the brink!! -

    Quote Originally Posted by TheRealYeti View Post
    ubuntu@ubuntu:/media/disk/lib$ ls -l /lib/init/
    total 24
    -rwxr-xr-x 1 root root 2702 2008-04-18 16:02 mountall-net-fs
    -rw-r--r-- 1 root root 3094 2008-04-18 16:02 mount-functions.sh
    -rwxr-xr-x 1 root root 11224 2008-04-18 16:02 readlink
    -rw-r--r-- 1 root root 5630 2008-04-18 16:02 usplash-fsck-functions.sh
    -rw-r--r-- 1 root root 129 2008-04-18 16:02 vars.sh

    ubuntu@ubuntu:/media/disk/lib$ ls -ld /lib/init
    drwxr-xr-x 2 root root 110 2008-04-22 18:02 /lib/init

    ubuntu@ubuntu:/media/disk/lib$ ls -ld /lib
    drwxr-xr-x 17 root root 60 2008-06-20 17:39 /lib

    I think I've done this right!
    no, you haven't. when you're in that directory, simply execute the commands
    Code:
    ls -l init/
    ls -ld init
     ls -ld .
    alternatively, execute the commands
    Code:
    ls -l /media/disk/lib/init/
    ls -ld /media/disk/lib/init/
     ls -ld /media/disk/lib
    dracayr

  9. #9
    Join Date
    Apr 2008
    Location
    Southern California, USA
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Newbie on the brink!! -

    I'm curious.When you installed ubuntu, did it work the first time? If so, do you know exactly what you did after that.

  10. #10
    Join Date
    Jun 2008
    Beans
    13

    Re: Newbie on the brink!! -

    fsck 1.40.8 (13-Mar-2008)
    e2fsck 1.40.8 (13-Mar-2008)
    /dev/sdd5: clean, 178041/3096576 files, 4137652/12357993 blocks

Page 1 of 3 123 LastLast

Bookmarks

Posting Permissions

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