Page 2 of 4 FirstFirst 1234 LastLast
Results 11 to 20 of 34

Thread: Trouble installing 12.10 64-bit on a RAID 0 configuration P8Z77-V PRO

  1. #11
    Join Date
    Dec 2012
    Beans
    18

    Re: Trouble installing 12.10 64-bit on a RAID 0 configuration P8Z77-V PRO

    Quote Originally Posted by darkod View Post
    OK, so the root partition is #7. Lets use chroot to enter the installation from the live session:
    Code:
    sudo mount /dev/mapper/isw_blahblah_thefuture7 /mnt
    sudo mount --bind /proc /mnt/proc
    sudo mount --bind /dev /mnt/dev
    sudo mount --bind /sys /mnt/sys
    sudo chroot /mnt
    Now you are like inside the installation. Lets completely remove grub2, install it again, create the config files and install it onto the MBR of the array:
    Code:
    apt-get remove --purge grub-pc grub-common
    apt-get install grub-pc
    grub-mkconfig
    update-grub
    grub-install /dev/mapper/isw_blahblah_thefuture
    Exit the chroot and unmount everything:
    Code:
    exit
    sudo umount /mnt/sys
    sudo umount /mnt/dev
    sudo umount /mnt/proc
    sudo umount /mnt
    Reboot without the cd and with little bit of luck, you should see a functioning grub menu. Try to boot both OSs to see if they work.

    I ran into an error, so I'm just going to post the whole terminal so far.

    ubuntu@ubuntu:~$ sudo mount /dev/mapper/isw_djejjcdice_thefuture7 /mnt
    ubuntu@ubuntu:~$ sudo mount --bind /proc /mnt/proc
    ubuntu@ubuntu:~$ sudo mount --bind /dev /mnt/dev
    ubuntu@ubuntu:~$ sudo mount --bind /sys /mnt/sys
    ubuntu@ubuntu:~$ sudo chroot /mnt
    root@ubuntu:/# apt-get remove --purge grub-pc grub-common
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    The following packages will be REMOVED:
    grub-common* grub-gfxpayload-lists* grub-pc* grub-pc-bin* grub2-common*
    ubiquity* ubiquity-frontend-gtk*
    0 upgraded, 0 newly installed, 7 to remove and 151 not upgraded.
    After this operation, 25.6 MB disk space will be freed.
    Do you want to continue [Y/n]? Y
    Can not write log, openpty() failed (/dev/pts not mounted?)
    (Reading database ... 156616 files and directories currently installed.)
    Removing ubiquity-frontend-gtk ...
    Removing grub-gfxpayload-lists ...
    Removing ubiquity ...
    Purging configuration files for ubiquity ...
    Removing grub-pc ...
    Purging configuration files for grub-pc ...
    Removing grub2-common ...
    Removing grub-pc-bin ...
    Removing grub-common ...
    invoke-rc.d: policy-rc.d denied execution of stop.
    Purging configuration files for grub-common ...
    Processing triggers for desktop-file-utils ...
    Processing triggers for bamfdaemon ...
    Rebuilding /usr/share/applications/bamf.index...
    Processing triggers for gnome-menus ...
    Processing triggers for man-db ...
    Processing triggers for ureadahead ...
    Processing triggers for install-info ...
    root@ubuntu:/# apt-get install grub-pc
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    The following extra packages will be installed:
    grub-common grub-gfxpayload-lists grub-pc-bin grub2-common
    Suggested packages:
    multiboot-doc grub-emu xorriso desktop-base
    The following NEW packages will be installed:
    grub-common grub-gfxpayload-lists grub-pc grub-pc-bin grub2-common
    0 upgraded, 5 newly installed, 0 to remove and 151 not upgraded.
    Need to get 2,368 kB of archives.
    After this operation, 9,283 kB of additional disk space will be used.
    Do you want to continue [Y/n]? y
    Err http://us.archive.ubuntu.com/ubuntu/ quantal/main grub-common amd64 2.00-7ubuntu11
    Something wicked happened resolving 'us.archive.ubuntu.com:http' (-5 - No address associated with hostname)
    Err http://us.archive.ubuntu.com/ubuntu/ quantal/main grub2-common amd64 2.00-7ubuntu11
    Something wicked happened resolving 'us.archive.ubuntu.com:http' (-5 - No address associated with hostname)
    Err http://us.archive.ubuntu.com/ubuntu/ quantal/main grub-pc-bin amd64 2.00-7ubuntu11
    Something wicked happened resolving 'us.archive.ubuntu.com:http' (-5 - No address associated with hostname)
    Err http://us.archive.ubuntu.com/ubuntu/ quantal/main grub-pc amd64 2.00-7ubuntu11
    Something wicked happened resolving 'us.archive.ubuntu.com:http' (-5 - No address associated with hostname)
    Err http://us.archive.ubuntu.com/ubuntu/ quantal/main grub-gfxpayload-lists amd64 0.6
    Something wicked happened resolving 'us.archive.ubuntu.com:http' (-5 - No address associated with hostname)
    Failed to fetch http://us.archive.ubuntu.com/ubuntu/...tu11_amd64.deb Something wicked happened resolving 'us.archive.ubuntu.com:http' (-5 - No address associated with hostname)
    Failed to fetch http://us.archive.ubuntu.com/ubuntu/...tu11_amd64.deb Something wicked happened resolving 'us.archive.ubuntu.com:http' (-5 - No address associated with hostname)
    Failed to fetch http://us.archive.ubuntu.com/ubuntu/...tu11_amd64.deb Something wicked happened resolving 'us.archive.ubuntu.com:http' (-5 - No address associated with hostname)
    Failed to fetch http://us.archive.ubuntu.com/ubuntu/...tu11_amd64.deb Something wicked happened resolving 'us.archive.ubuntu.com:http' (-5 - No address associated with hostname)
    Failed to fetch http://us.archive.ubuntu.com/ubuntu/..._0.6_amd64.deb Something wicked happened resolving 'us.archive.ubuntu.com:http' (-5 - No address associated with hostname)
    E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

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

    Re: Trouble installing 12.10 64-bit on a RAID 0 configuration P8Z77-V PRO

    Looks like the internet is not working, or only the DNS resolving. So it can't download the packages from the repositories.

    Do you have fully working internet in the live session? And often it's better to use a wired connection at least temporarily, since wi-fi sometimes doesn't work in live session.

    Test pinging both IP and domain to see if it's general internet problem or only dns:
    ping 8.8.8.8
    ping google.com
    Darko.
    -----------------------------------------------------------------------
    Ubuntu 12.04 LTS 64bit & Windows 7 Ultimate 64bit

  3. #13
    Join Date
    Dec 2012
    Beans
    18

    Re: Trouble installing 12.10 64-bit on a RAID 0 configuration P8Z77-V PRO

    Quote Originally Posted by darkod View Post
    Looks like the internet is not working, or only the DNS resolving. So it can't download the packages from the repositories.

    Do you have fully working internet in the live session? And often it's better to use a wired connection at least temporarily, since wi-fi sometimes doesn't work in live session.

    Test pinging both IP and domain to see if it's general internet problem or only dns:
    ping 8.8.8.8
    ping google.com
    8.8.8.8 works fine but google.com ping doesn't. It's strange though, because I'm typing all of this on the Live CD and I can open a new tab and go to youtube.com

    Edit: I'm going to try rebooting the live cd.

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

    Re: Trouble installing 12.10 64-bit on a RAID 0 configuration P8Z77-V PRO

    Definitely weird. Click the Network Manager icon top right, then Edit Connections. Select the correct wired or wireless connection, then Edit.

    On the IPv4 tab, change the option from Automatic (DHCP) to Automatic DHCP address only. In the field below for DNS servers, put: 8.8.8.8 8.8.4.4

    Save the changes.
    Try the ping google.com again and if it works continue the procedure. If you didn't reboot and still have the chroot open, you can continue. If you rebooted you will need to start from the beginning only this time you don't have to repeat the apt-get remove --purge line since it was done succssfully.
    Darko.
    -----------------------------------------------------------------------
    Ubuntu 12.04 LTS 64bit & Windows 7 Ultimate 64bit

  5. #15
    Join Date
    Dec 2012
    Beans
    18

    Re: Trouble installing 12.10 64-bit on a RAID 0 configuration P8Z77-V PRO

    Quote Originally Posted by darkod View Post
    Definitely weird. Click the Network Manager icon top right, then Edit Connections. Select the correct wired or wireless connection, then Edit.

    On the IPv4 tab, change the option from Automatic (DHCP) to Automatic DHCP address only. In the field below for DNS servers, put: 8.8.8.8 8.8.4.4

    Save the changes.
    Try the ping google.com again and if it works continue the procedure. If you didn't reboot and still have the chroot open, you can continue. If you rebooted you will need to start from the beginning only this time you don't have to repeat the apt-get remove --purge line since it was done succssfully.
    Still not working. 8.8.8.8 works but www.google.com doesn't. Is it possible to install GRUB somewhere else and move it over to the desired location? Or possible to manually enter the ip of the place we'd be getting the grub installation from?

    It's a wired connection, by the way.

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

    Re: Trouble installing 12.10 64-bit on a RAID 0 configuration P8Z77-V PRO

    I haven't tried it before, but in theory if you open Software Centre and find the Software Sources menu, you should be able to add the cd as a source. So it should be able to pick it up from there.

    Otherwise I don't know of another way. The error message might be coming from within the chroot, maybe the hdd installation doesn't have a correct dns setting. But usually as long as it works in the live session, it should be fine. The ping google.com doesn't work in the live session but opening websites seems to work.

    Give the cd-rom as a repository a go, and lets see.

    PS. Also you can try changing the preferred server in Software Sources. Then try with using another server.
    Darko.
    -----------------------------------------------------------------------
    Ubuntu 12.04 LTS 64bit & Windows 7 Ultimate 64bit

  7. #17
    Join Date
    Dec 2012
    Beans
    18

    Re: Trouble installing 12.10 64-bit on a RAID 0 configuration P8Z77-V PRO

    Quote Originally Posted by darkod View Post
    I haven't tried it before, but in theory if you open Software Centre and find the Software Sources menu, you should be able to add the cd as a source. So it should be able to pick it up from there.

    Otherwise I don't know of another way. The error message might be coming from within the chroot, maybe the hdd installation doesn't have a correct dns setting. But usually as long as it works in the live session, it should be fine. The ping google.com doesn't work in the live session but opening websites seems to work.

    Give the cd-rom as a repository a go, and lets see.

    PS. Also you can try changing the preferred server in Software Sources. Then try with using another server.
    ubuntu@ubuntu:~$ ping google.com
    PING google.com (74.125.225.72) 56(84) bytes of data.
    64 bytes from ord08s07-in-f8.1e100.net (74.125.225.72): icmp_req=1 ttl=56 time=12.9 ms
    64 bytes from ord08s07-in-f8.1e100.net (74.125.225.72): icmp_req=2 ttl=56 time=12.2 ms
    64 bytes from ord08s07-in-f8.1e100.net (74.125.225.72): icmp_req=3 ttl=56 time=12.6 ms
    ^C
    --- google.com ping statistics ---
    3 packets transmitted, 3 received, 0% packet loss, time 2002ms
    rtt min/avg/max/mdev = 12.298/12.653/12.968/0.304 ms


    It works when outside the chroot.

    Edit: Here's a picture of the software sources I think you're talking about?
    http://imgur.com/8wsYK

    It seems to already be a source. In case it isn't, when I click "add" this window pops up:
    "
    Enter the complete APT line of the repository that you want to add as source
    "

    Edit 2: I changed the server to US server and it still doesn't work. This is the directory it's accessing to get all the files: http://us.archive.ubuntu.com/ubuntu/pool/main/g/grub2/ Can we just manually download the necessary files and then do a grub-install procedure?

    Edit 3: I tried to add the http://us.archive.ubuntu.com/ubuntu/pool/main/g/grub2/ as a source and it still doesn't work. Perhaps I added it incorrectly?

    Edit 4: Is this worth giving a shot? https://wiki.archlinux.org/index.php/BIND_%28chroot%29
    Last edited by sdsdsd2; December 3rd, 2012 at 04:20 PM.

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

    Re: Trouble installing 12.10 64-bit on a RAID 0 configuration P8Z77-V PRO

    It might be easier to try boot-repair in that case. You can do it from live session:
    https://help.ubuntu.com/community/Boot-Repair

    Note that you have to be careful and install grub2 onto the MBR of the array. In the main boot-repair window click on Advanced options.

    In the Main options tab, make sure Reinstall Grub is selected.

    After that, in the Grub Location tab select Place Grub into: and the array device (without any partition number).

    In the grub options tab, select Purge Grub before reinstalling it.

    That should be all the options you need. See if that can sort it out.
    Darko.
    -----------------------------------------------------------------------
    Ubuntu 12.04 LTS 64bit & Windows 7 Ultimate 64bit

  9. #19
    Join Date
    Dec 2012
    Beans
    18

    Re: Trouble installing 12.10 64-bit on a RAID 0 configuration P8Z77-V PRO

    Quote Originally Posted by darkod View Post
    It might be easier to try boot-repair in that case. You can do it from live session:
    https://help.ubuntu.com/community/Boot-Repair

    Note that you have to be careful and install grub2 onto the MBR of the array. In the main boot-repair window click on Advanced options.

    In the Main options tab, make sure Reinstall Grub is selected.

    After that, in the Grub Location tab select Place Grub into: and the array device (without any partition number).

    In the grub options tab, select Purge Grub before reinstalling it.

    That should be all the options you need. See if that can sort it out.
    Here's what it told me:
    "
    Boot successfully repaired.

    Please write on a paper the following URL:
    http://paste.ubuntu.com/1407986/

    In case you still experience boot problem, indicate this URL to:
    boot.repair@gmail.com or to your favorite support forum.

    You can now reboot your computer.
    Please do not forget to make your BIOS boot on mapper/isw_djejjcdice_thefuture (1920GB) disk!

    A broken Wubi has been detected. Please fix it this way:
    https://wiki.ubuntu.com/WubiGuide#Ca...ot_into_Ubuntu
    "

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

    Re: Trouble installing 12.10 64-bit on a RAID 0 configuration P8Z77-V PRO

    Looks good. Did you try if it's working after rebooting?
    Darko.
    -----------------------------------------------------------------------
    Ubuntu 12.04 LTS 64bit & Windows 7 Ultimate 64bit

Page 2 of 4 FirstFirst 1234 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
  •