ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    How to Install Fedora 25 Minimal

    IT Discussion
    fedora 25 installation guide how to real instructions fedora
    9
    41
    11.9k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • JaredBuschJ
      JaredBusch
      last edited by

      Note that the fedora in all those commands to use the space is because that is the name of the volume group

      vgdisplay

      1 Reply Last reply Reply Quote 0
      • FATeknollogeeF
        FATeknollogee
        last edited by

        Does the same principle apply if I made the default disk 4 or 6TB in size?

        JaredBuschJ 1 Reply Last reply Reply Quote 0
        • JaredBuschJ
          JaredBusch @FATeknollogee
          last edited by JaredBusch

          @FATeknollogee said in How to Install Fedora 25 Minimal:

          Does the same principle apply if I made the default disk 4 or 6TB in size?

          That is really just up to how you want to manage it.

          At that scale, I would personally want it to be a separate virtual disk. But that is honestly only because I have more options for recovery. It is easier to work with a disk that you know have nothing but data than tryign to attach a once bootable disk to a new VM, etc.

          None of that has anything to do with the host and how it mounts the space.

          Edit: but evcen as a separate virtual disk, you will format and mount it the same way. Well, barring it being a different device (/dev/sdb).

          FATeknollogeeF 1 Reply Last reply Reply Quote 1
          • FATeknollogeeF
            FATeknollogee @JaredBusch
            last edited by

            @JaredBusch said in How to Install Fedora 25 Minimal:

            @FATeknollogee said in How to Install Fedora 25 Minimal:

            Does the same principle apply if I made the default disk 4 or 6TB in size?

            That is really just up to how you want to manage it.

            At that scale, I would personally want it to be a separate virtual disk. But that is honestly only because I have more options for recovery. It is easier to work with a disk that you know have nothing but data than tryign to attach a once bootable disk to a new VM, etc.

            None of that has anything to do with the host and how it mounts the space.

            Thanks, that's kinda what I thought, just wanted to make sure.

            1 Reply Last reply Reply Quote 0
            • Emad RE
              Emad R @JaredBusch
              last edited by

              @JaredBusch

              Wow so pre-configured addons and choices compared to Centos 7 Minimal installation.

              JaredBuschJ 1 Reply Last reply Reply Quote 0
              • JaredBuschJ
                JaredBusch @Emad R
                last edited by

                @msff-amman-Itofficer said in How to Install Fedora 25 Minimal:

                @JaredBusch

                Wow so pre-configured addons and choices compared to Centos 7 Minimal installation.

                Not the same thing at all. The CentOS install media is only for minimal, this is a net install and you choose which method you want.

                The full CentOS media has choices too.

                scottalanmillerS 1 Reply Last reply Reply Quote 1
                • scottalanmillerS
                  scottalanmiller @JaredBusch
                  last edited by

                  @JaredBusch said in How to Install Fedora 25 Minimal:

                  @msff-amman-Itofficer said in How to Install Fedora 25 Minimal:

                  @JaredBusch

                  Wow so pre-configured addons and choices compared to Centos 7 Minimal installation.

                  Not the same thing at all. The CentOS install media is only for minimal, this is a net install and you choose which method you want.

                  The full CentOS media has choices too.

                  A CentOS example would be...

                  http://centos.itt-consulting.com/7/isos/x86_64/CentOS-7-x86_64-NetInstall-1611.iso

                  1 Reply Last reply Reply Quote 0
                  • black3dynamiteB
                    black3dynamite
                    last edited by

                    When selecting guest agents, it doesn't automatically installs hyperv-daemons.

                    JaredBuschJ 1 Reply Last reply Reply Quote 0
                    • JaredBuschJ
                      JaredBusch @black3dynamite
                      last edited by

                      @black3dynamite I noticed hyper-v did not show a good agent. Did not have time to test.

                      black3dynamiteB 1 Reply Last reply Reply Quote 0
                      • NashBrydgesN
                        NashBrydges
                        last edited by

                        Is Fedora ext4 by default? Can you choose XFS during install?

                        scottalanmillerS 1 Reply Last reply Reply Quote 0
                        • scottalanmillerS
                          scottalanmiller @NashBrydges
                          last edited by

                          @NashBrydges said in How to Install Fedora 25 Minimal:

                          Is Fedora ext4 by default? Can you choose XFS during install?

                          XFS, EXT4, BtrFS... you can configure basically anything during the install.

                          NashBrydgesN 1 Reply Last reply Reply Quote 0
                          • NashBrydgesN
                            NashBrydges @scottalanmiller
                            last edited by

                            @scottalanmiller said in How to Install Fedora 25 Minimal:

                            @NashBrydges said in How to Install Fedora 25 Minimal:

                            Is Fedora ext4 by default? Can you choose XFS during install?

                            XFS, EXT4, BtrFS... you can configure basically anything during the install.

                            Thanks.

                            1 Reply Last reply Reply Quote 0
                            • JaredBuschJ
                              JaredBusch
                              last edited by

                              Yes, by default it is ext4 if you let it partition as shown.

                              1 Reply Last reply Reply Quote 0
                              • StrongBadS
                                StrongBad
                                last edited by

                                Why ext4 as a default? Feels like they are moving backwards there. They made the move to XFS from ext4 already.

                                JaredBuschJ black3dynamiteB 2 Replies Last reply Reply Quote 0
                                • FATeknollogeeF
                                  FATeknollogee @JaredBusch
                                  last edited by FATeknollogee

                                  @JaredBusch said in How to Install Fedora 25 Minimal:

                                  @FATeknollogee said in How to Install Fedora 25 Minimal:

                                  @JaredBusch Let's say you want to use this VM as a file server.
                                  Is it better to create 2 disks (1 for o/s + 1 for storage) or just one big ass disk?

                                  As this example showed, I had a 127GB disk because I let Hyper-V Server 2016 use its default.

                                  Fedora only took 17GB of it. 2GB for swap and 15GB for root.

                                  The rest is sitting there waiting to be used however you want.

                                  So all you have to do is make the space usable.

                                  #create a logical volume named data
                                  lvcreate -l 100%FREE -n data fedora
                                  
                                  #format it to ext4
                                  mkfs.ext4 /dev/fedora/data
                                  
                                  #make a directory to mount it
                                  mkdir /data
                                  
                                  #mount it
                                  mount /dev/fedora/data /data
                                  

                                  Obviously you will want to have this mounted on reboot, so add it to /etc/fstab

                                  nano /etc/fstab
                                  
                                  #add this
                                  /dev/fedora/data /data                    ext4    defaults        1 2
                                  

                                  edit: If I have 2 virtual disks (1 for o/s + 1 for data). Anyone have a simple "how to do this" guide on the 2nd disk: /dev/xvdb or /dev/sdb ? (I read some guides on the 'net, thy all seem long & winded)

                                  travisdh1T 1 Reply Last reply Reply Quote 0
                                  • JaredBuschJ
                                    JaredBusch @StrongBad
                                    last edited by JaredBusch

                                    @StrongBad said in How to Install Fedora 25 Minimal:

                                    Why ext4 as a default? Feels like they are moving backwards there. They made the move to XFS from ext4 already.

                                    No idea, but what you are seeing in this thread is what you get from a 127GB vhdx and let Fedora do automatic partitioning as shown above (edit: copied below)
                                    https://i.imgur.com/zZlenx9.png

                                    1 Reply Last reply Reply Quote 0
                                    • travisdh1T
                                      travisdh1 @FATeknollogee
                                      last edited by

                                      @FATeknollogee said in How to Install Fedora 25 Minimal:

                                      @JaredBusch said in How to Install Fedora 25 Minimal:

                                      @FATeknollogee said in How to Install Fedora 25 Minimal:

                                      @JaredBusch Let's say you want to use this VM as a file server.
                                      Is it better to create 2 disks (1 for o/s + 1 for storage) or just one big ass disk?

                                      As this example showed, I had a 127GB disk because I let Hyper-V Server 2016 use its default.

                                      Fedora only took 17GB of it. 2GB for swap and 15GB for root.

                                      The rest is sitting there waiting to be used however you want.

                                      So all you have to do is make the space usable.

                                      #create a logical volume named data
                                      lvcreate -l 100%FREE -n data fedora
                                      
                                      #format it to ext4
                                      mkfs.ext4 /dev/fedora/data
                                      
                                      #make a directory to mount it
                                      mkdir /data
                                      
                                      #mount it
                                      mount /dev/fedora/data /data
                                      

                                      Obviously you will want to have this mounted on reboot, so add it to /etc/fstab

                                      nano /etc/fstab
                                      
                                      #add this
                                      /dev/fedora/data /data                    ext4    defaults        1 2
                                      

                                      Anyone have a simple "how to do this" guide on /dev/xvdb or /dev/sdb ? (I read some guides on the 'net, thy all seem long & winded)

                                      Off the top of my head even, let's go!

                                      pvcreate /dev/xvdb
                                      vgcreate vgname /dev/xvdb
                                      lvcreate -n 'lvname' vgname -l 100%FREE
                                      mkfs.xfs /dev/vgname/lvname
                                      mount /dev/vgname/lvname /mountpoint
                                      

                                      If you add an xfs volume to fstab, it's recommended to make the last two options (dump and fsck) zero. Yeah, xfs can really speed up boot times if you're switching from another file system that needs to run an fsck at boot.

                                      https://mangolassi.it/topic/11302/travis-hershberger-linux-lvm-storage

                                      stacksofplatesS 1 Reply Last reply Reply Quote 2
                                      • FATeknollogeeF
                                        FATeknollogee
                                        last edited by

                                        @travisdh1 Thx, will check out your video.

                                        1 Reply Last reply Reply Quote 0
                                        • black3dynamiteB
                                          black3dynamite @StrongBad
                                          last edited by

                                          @StrongBad said in How to Install Fedora 25 Minimal:

                                          Why ext4 as a default? Feels like they are moving backwards there. They made the move to XFS from ext4 already.

                                          Fedora Server uses EXT4 (/boot) and XFS (/root). Fedora Workstation uses EXT4.

                                          1 Reply Last reply Reply Quote 0
                                          • black3dynamiteB
                                            black3dynamite @JaredBusch
                                            last edited by

                                            @JaredBusch

                                            guest-agents installs packages of open-vm-tools and qemu-guest-agent.

                                            Typing this command will so those packages:
                                            dnf groupinfo "guest-agents"

                                            JaredBuschJ 1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3
                                            • 1 / 3
                                            • First post
                                              Last post