Page 2 of 2 FirstFirst 12
Results 11 to 13 of 13

Thread: Restore Ubuntu Server 10.04

  1. #11
    Join Date
    Jan 2008
    Location
    Wolverhampton, UK
    Beans
    40
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Restore Ubuntu Server 10.04

    darkod,

    I am following you instructions and have reached the point of running update-grub. This is the output
    -----
    Searching for GRUB installation diectory ... found: /boot/grub
    usr/sbin/update-grub: line 85: /usr/bin/awk: Permmision denied
    Cannot determine root device. Assuming /dev/hda1
    This error is probably caused by an invalid fstab
    usr/sbin/update-grub: line 85: /usr/bin/awk: Permmision denied
    usr/sbin/update-grub: line 375: /usr/bin/awk: Permmision denied
    -----

    Stuck again, sorry.

  2. #12
    Join Date
    Nov 2009
    Location
    Segur De Calafell, Spain
    Beans
    11,660
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Restore Ubuntu Server 10.04

    You can see it's complaining about probable invalid fstab. Is your /etc/fstab correct? It seems you might have done some syntax error.

    Also, the assumed device is /dev/hda1 which ubuntu doesn't use since ages. All disks are now /dev/sda1, doesn't matter IDE or SATA (earlier IDE disks were /dev/hdX).

    PS. In the worst case you can always completely remove and reinstall grub2 including all packages. But that would be the last option.
    Darko.
    -----------------------------------------------------------------------
    Ubuntu 12.04 LTS 64bit & Windows 7 Ultimate 64bit

  3. #13
    Join Date
    Jan 2008
    Location
    Wolverhampton, UK
    Beans
    40
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Restore Ubuntu Server 10.04

    Still fighting with Ubuntu, but making progress, slowly!!!!

    My restored system will now boot up. To make this happen I had to amend /etc/fstab and enter the correct UUID (as supplied by blkid) for both /dev/sda1 and sda5 (Swap partition). I also had to amend /boot/grub/menu.lst and enter the new UUID for /dev/sda1.

    However, I am still not 100% back together. A lot of the startup processes fail with 'permission denied' errors. Upon investigation I find that tar has not restored any symbolic links, e.g /usr/bin/awk links to an alternate directory but the restored /usr/bin/awk shows a zero length file with '----------' permissions.

    I thought the default action of tar was to create and restore symbolic links!

    I used 'tar cvpzf ...' and 'tar xvpzf ...' to create and extract the tarball.

    Another little nudge might be all I need.

    Thanks

Page 2 of 2 FirstFirst 12

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
  •