Can't target /dev/mmcblk0 when installing

Forum Forums Orphaned Posts antiX-17 “Heather Heyer, Helen Keller” Can't target /dev/mmcblk0 when installing

  • This topic has 8 replies, 6 voices, and was last updated Dec 5-1:19 pm by anticapitalista.
Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #3338
    Member
    Redsith

      Hi,
      Trying to install antix, but i can’t as the installer script wont take my drive label (/dev/mmcblk0) and wants either hdx or sdx

      Thanks

      #3341
      Moderator
      caprea
        Helpful
        Up
        0
        ::

        Did you already try to change the drive label with gparted during the live-session ?

        #3342
        Forum Admin
        anticapitalista
          Helpful
          Up
          0
          ::

          Do you mean the cli-installer?

          Philosophers have interpreted the world in many ways; the point is to change it.

          antiX with runit - leaner and meaner.

          #3361
          Anonymous
            Helpful
            Up
            0
            ::

            I checked
            cli-installer –help
            and it seems to me the expected commandline, in order to target /dev/mmcblk0, would be:
            cli-installer mmcblk0

            #3369
            Member
            tbuser48
              Helpful
              Up
              0
              ::

              Just a comment on a UEFI install with a mmcblk1 (in my case)…with a fat partition and a ext4 partition, gparted was naming them /mmcblk1p1 (fat) and /mmcblk1p2 (ext4). GPT by the way.

              The punchline is that several programs (Boot Repair for one) were consistently dropping the p from the hdd naming.
              Boot Repair was trying to use mmcblk11. I’m wondering since this is a fat partition if Boot Manager was choking on 9 characters.

              2 Machines and at least 6 installs. IOW it didn’t happen just once.

              Just a comment. 🙂

              #3405
              Member
              Redsith
                Helpful
                Up
                0
                ::

                Hi,
                This doesnt work, I did try cli-installer mmcblk0
                It does let me partition the drive, but when it asks for root partition i cant input mmcblk0p2 or /dev/mmcblk0p2 or /media/mmcblk0p2 (fstab puts it in media)

                mmcblk0p2 invalid. Retry
                /dev/mmcblk0p2 invalid. Retry
                /media/mmcblk0p2 invalid. Retry

                I’m doing a core install.

                #3412
                Member
                wean_irdeh
                  Helpful
                  Up
                  0
                  ::

                  I checked
                  cli-installer –help
                  and it seems to me the expected commandline, in order to target /dev/mmcblk0, would be:
                  cli-installer mmcblk0

                  Hi,
                  This doesnt work, I did try cli-installer mmcblk0
                  It does let me partition the drive, but when it asks for root partition i cant input mmcblk0p2 or /dev/mmcblk0p2 or /media/mmcblk0p2 (fstab puts it in media)

                  mmcblk0p2 invalid. Retry
                  /dev/mmcblk0p2 invalid. Retry
                  /media/mmcblk0p2 invalid. Retry

                  I’m doing a core install.

                  This is because the cli-installer is doing sanity check to make sure the root partition is in form of sdxy or hdxy,
                  where x is letter ‘a-k’ and y is number 1-19,
                  thus, any other partition such as sdj20, hdu30, or mmcblk0p2 will be treated as invalid input
                  although the restriction is only applies when input the root partition, not home partition

                  The dirty workaround is, edit the file manually by running

                  vi /usr/local/bin/cli-installer

                  then navigate into line 90 by pressing down key until you get

                  getroot() {

                  remove the line containing

                  while [[ "$ans" -ne 0 ]]

                  and

                  do

                  by navigate into the line first and then press ‘dd’

                  remove any line after

                  read -p $"Root partition (hda1, sda2, etc): " rdrv

                  until you found the closing curly bracket so the end result will be this one
                  line 90-93:

                  getroot() {
                  ans=1
                  read -p $"Root partition (hda1, sda2, etc): " rdrv
                  }

                  There, good to go. Press :wq to save the file. Now you can input the partition in cli-installer: mmcblk0p2. Remember, once you input the root partition, the cli-installer will immediately remove any files in it without warning and I’m not responsible with any damages caused by my suggestion above

                  • This reply was modified 5 years, 5 months ago by wean_irdeh.
                  #3422
                  Anonymous
                    Helpful
                    Up
                    0
                    ::

                    Thanks for the excellent writeup explaining how to accomplish the workaround!
                    Should staff now re-title the topic “how to target /dev/mmcblk0 when installing” and move it to Tips-n-Tricks ?

                    #3424
                    Forum Admin
                    anticapitalista
                      Helpful
                      Up
                      0
                      ::

                      Thanks for the excellent writeup explaining how to accomplish the workaround!
                      Should staff now re-title the topic “how to target /dev/mmcblk0 when installing” and move it to Tips-n-Tricks ?

                      If the OP agrees, yes. I also agree it is a great write up. Thanks

                      When I get time, I’ll fix it properly in the cli-installer.

                      • This reply was modified 5 years, 5 months ago by anticapitalista.

                      Philosophers have interpreted the world in many ways; the point is to change it.

                      antiX with runit - leaner and meaner.

                    Viewing 9 posts - 1 through 9 (of 9 total)
                    • You must be logged in to reply to this topic.