<div dir="ltr">3 августа 2013 г., 21:56 пользователь andriy написал:<br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


  
    
  
  <div bgcolor="#FFFFFF" text="#000000"><div class="im">
    <div>On 03.08.13 15:15, Alexey Shabalin
      wrote:<br>
    </div>
    <blockquote type="cite">
      <div dir="ltr">3 августа 2013 г., 14:22 пользователь andriy написал:<br>
        <div class="gmail_extra">
          <div class="gmail_quote">
            <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Все

              оказалось очень просто: забыл доустановить пакеты для lvm
              под initrd...<br>
              <br>
              Сейчас система загружается, но из fstab&#39;а не монтируется
              home автоматом - что-то не нравиться systemd - бросает
              меня в однопользовательский режим. Но монтирую руками,
              говорю systemctl default и все ок.<br>
              Буду думать дальше.
              <div><br>
                <br>
              </div>
            </blockquote>
            <div>legion@ все никак не отправит исправленный make-initrd
              в сизиф. </div>
            <div><a href="http://git.altlinux.org/people/legion/packages/?p=make-initrd.git;a=commitdiff;h=a60a7230004449757947de30fbb2472b75e360d9" target="_blank">http://git.altlinux.org/people/legion/packages/?p=make-initrd.git;a=commitdiff;h=a60a7230004449757947de30fbb2472b75e360d9</a></div>


            <div><br>
            </div>
            <div>С этим исправлением должно все работать нормально.</div>
          </div>
        </div>
      </div>
    </blockquote></div>
    Не совсем разобрался.<br>
    Это исправление поможет с монтированием?<div><div class="h5"><br></div></div></div></blockquote><div>ДА.</div><div>вроде я все написал, что не понятно?</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div bgcolor="#FFFFFF" text="#000000"><div><div class="h5">
    <br>
    <blockquote type="cite">
      <div dir="ltr">
        <div class="gmail_extra">
          <div class="gmail_quote">
            <div> </div>
            <div><br>
            </div>
            <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
              <div> <br>
                On 02.08.13 13:32, Anton Gorlov wrote:<br>
              </div>
              <div>
                <div>
                  <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><br>
                    а в биосе точно стоит загрузка с sdb, а не sda?<br>
                    <br>
                    02.08.2013 14:27, andriy пишет:<br>
                    <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Здравствуйте!<br>
                      <br>
                      Пробую перевести систему с одного HDD на другой, с
                      обыкновенной разбивки диска на LVM.<br>
                      LVM создал без проблем. Скопировал данные.<br>
                      Но не могу сделать другой HDD загружаемым.<br>
                      Структура диска с LVM<br>
                      -32мб места для загрузчика (должно было бы
                      хватить)<br>
                      - sdb1 (просто раздел)<br>
                      - sdb2 (swap)<br>
                      - sdb3 содержит LVM:<br>
                                  dm0 - root<br>
                             
                      (/dev/mapper/andriy2tblvm--vol-AndriyL2TBlvm--root,
                      uuid=f86aeba8-708b-4f85-884f-ca984c1497c5),<br>
                                  dm1 - home.<br>
                      <br>
                      В /etc/sysconfig/grub2<br>
                      GRUB_PRELOAD_MODULES=&#39;lvm&#39;<br>
                      <br>
                      update-grub генерирует такой /boot/grub/grub.cfg:<br>
                      --------------<br>
                      insmod lvm<br>
                      ...<br>
                      ...<br>
                      menuentry &#39;ALT Linux 6.0.1 Spt&#39; --class gnu-linux
                      --class gnu --class os $menuentry_id_option
                      &#39;gnulinux-simple-f86aeba8-708b-4f85-884f-ca984c1497c5&#39;
                      {<br>
                              savedefault<br>
                              load_video<br>
                              set gfxpayload=keep<br>
                              insmod gzio<br>
                              insmod part_msdos<br>
                              insmod lvm<br>
                              insmod ext2<br>
                              set
                      root=&#39;lvm/andriy2tblvm--vol-AndriyL2TBlvm--root&#39;<br>
                              if [ x$feature_platform_search_hint = xy
                      ]; then<br>
                                search --no-floppy --fs-uuid --set=root
                      --hint=&#39;lvm/andriy2tblvm--vol-AndriyL2TBlvm--root&#39;
                      f86aeba8-708b-4f85-884f-ca984c1497c5<br>
                              else<br>
                                search --no-floppy --fs-uuid --set=root
                      f86aeba8-708b-4f85-884f-ca984c1497c5<br>
                              fi<br>
                              echo    &#39;Loading Linux 3.9.9-std-def-alt1
                      ...&#39;<br>
                              linux   /boot/vmlinuz-3.9.9-std-def-alt1
                      root=/dev/mapper/andriy2tblvm--vol-AndriyL2TBlvm--root
                      ro failsafe vga=normal panic=30 splash
                      init=/sbin/systemd<br>
                              echo    &#39;Loading initial ramdisk ...&#39;<br>
                              initrd
                       /boot/initrd-3.9.9-std-def-alt1.img<br>
                      }<br>
                      ....<br>
                      <br>
                      --------------<br>
                      grub-install /dev/sdb - все ок<br>
                      <br>
                      /etc/fstab:<br>
                      [root@andriy grub]# cat /etc/fstab<br>
                      proc            /proc                   proc
                      nosuid,noexec,gid=proc          0 0<br>
                      devpts          /dev/pts                devpts
                      nosuid,noexec,gid=tty,mode=620  0 0<br>
                      tmpfs           /tmp                    tmpfs
                      nosuid                          0 0<br>
                      /dev/mapper/andriy2tblvm--vol-AndriyL2TBlvm--root
                      / ext4 defaults 1  1<br>
                      UUID=55e04e27-7119-472d-8598-ded3ecbf3ada  swap
                      defaults 0 0<br>
                      /dev/sr0        /media/cdrom    udf,iso9660
                      ro,noauto,user,utf8     0 0<br>
                      none            /proc/bus/usb           usbfs
                      defaults,devgid=428,devmode=664                  
                           0 0<br>
                      /dev/mapper/andriy2tblvm--vol-AndriyL2TBlvm--home
                      /home ext4 defaults 1  1<br>
                      <br>
                      На этапе загрузки получаю:<br>
                      initrd: loop: ERROR: /root: Not mounted<br>
                      initrd: Stage &#39;loop&#39; failed<br>
                      .... Crtrl-D<br>
                      <br>
                      Что я делаю не так или где почитать как правильно?<br>
                      <br>
                      _______________________________________________<br>
                      Sisyphus mailing list<br>
                      <a href="mailto:Sisyphus@lists.altlinux.org" target="_blank">Sisyphus@lists.altlinux.org</a><br>
                      <a href="https://lists.altlinux.org/mailman/listinfo/sisyphus" target="_blank">https://lists.altlinux.org/mailman/listinfo/sisyphus</a><br>
                    </blockquote>
                    <br>
                    _______________________________________________<br>
                    Sisyphus mailing list<br>
                    <a href="mailto:Sisyphus@lists.altlinux.org" target="_blank">Sisyphus@lists.altlinux.org</a><br>
                    <a href="https://lists.altlinux.org/mailman/listinfo/sisyphus" target="_blank">https://lists.altlinux.org/mailman/listinfo/sisyphus</a><br>
                  </blockquote>
                  <br>
                  _______________________________________________<br>
                  Sisyphus mailing list<br>
                  <a href="mailto:Sisyphus@lists.altlinux.org" target="_blank">Sisyphus@lists.altlinux.org</a><br>
                  <a href="https://lists.altlinux.org/mailman/listinfo/sisyphus" target="_blank">https://lists.altlinux.org/mailman/listinfo/sisyphus</a></div>
              </div>
            </blockquote>
          </div>
          <br>
          <br clear="all">
          <div><br>
          </div>
          -- <br>
          Alexey Shabalin<br>
          <br>
          <br>
          <br>
        </div>
      </div>
      <br>
      <fieldset></fieldset>
      <br>
      <pre>_______________________________________________
Sisyphus mailing list
<a href="mailto:Sisyphus@lists.altlinux.org" target="_blank">Sisyphus@lists.altlinux.org</a>
<a href="https://lists.altlinux.org/mailman/listinfo/sisyphus" target="_blank">https://lists.altlinux.org/mailman/listinfo/sisyphus</a></pre>
    </blockquote>
    <br>
  </div></div></div>

</blockquote></div><br><br clear="all"><div><br></div>-- <br>Alexey Shabalin<br><br><br><br>
</div></div>