Ask Your Question

Fedora 27 automatic partitioning

asked 2018-06-06 12:09:51 -0500

mrjason71 gravatar image

updated 2018-06-07 00:40:55 -0500

villykruse gravatar image

I found myself in a datacenter with only two USB ports available and needing to reformat a server that had FC11 to FC27. I needed one USB port for cd-rom and used the other for a keyboard. I just could not get through the installation process without a mouse. I tried using tab, space, etc etc but it was just a nightmare. So I took shortcut adn let Fedora set up its own partitions. I normally do this manually. Well now I have to figure out how to reclaim all my hard drives unused space. I have a 1 TB drive in there and it looks like Fedora is using maybe 35GB. Here's a df:

Filesystem                         Size  Used Avail Use% Mounted on
devtmpfs                             4.2G     0  4.2G   0% /dev
tmpfs                                  4.2G     0  4.2G   0% /dev/shm
tmpfs                                  4.2G  1.1M  4.2G   1% /run
tmpfs                                  4.2G     0  4.2G   0% /sys/fs/cgroup
/dev/mapper/fedora-root   17G  1.8G   15G  11% /
tmpfs                                  4.2G  4.1k  4.2G   1% /tmp
/dev/sda1                           1.1G  123M  831M  13% /boot

tmpfs 836M 0 836M 0% /run/user/0

And here's parted print:

Number  Start   End     Size    Type     File system  Flags
 1      1049kB  1075MB  1074MB  primary  ext4         boot
 2      1075MB  1000GB  999GB   primary                  lvm

Really have no idea how to proceed. Might just have to wipe this and start over with a mouse in the mix somehow. If I dont have a swap, I guess i'd like to make 16Gb swap partition. Maybe a 20Gb root partition and then just have the rest be /home.

Any help would be greatly appreciated.



edit retag flag offensive close merge delete


Mouse in the mix. Treat yourself with a wireless mouse/keyboard, needs one USB port only.

florian gravatar imageflorian ( 2018-06-06 19:32:02 -0500 )edit

Server installations by default (automatic partitioning) create a large partition for an LVM VG, most of that VG space is not used, it's left empty on purpose so you can decide what to do with that space. You can use the pvsvgs and lvs commands to get a hint what's going on. Maybe you want a separate LV for /srv for the bulk of your server stuff, or maybe /opt, or maybe you just want to grow the root.

cmurf gravatar imagecmurf ( 2018-06-07 14:21:13 -0500 )edit

2 Answers

Sort by ยป oldest newest most voted

answered 2018-06-07 14:14:38 -0500

cmurf gravatar image

updated 2018-06-07 14:16:00 -0500

If you can't use a mouse, I suggest netinstall (any netinstall is fine, you can pick Server specific installation from any of them). When you boot the netinstall image, edit the first boot entry (tab on BIOS, and e on UEFI) and use either inst.vnc or inst.text And now you can do the graphical installation with VNC from a computer that has a mouse, or if that's not an option you can use the more feature limited text interface. and you'll see netinstall options on the right.

edit flag offensive delete link more

answered 2018-06-07 00:39:40 -0500

villykruse gravatar image

Automatic partitioning implies that your disk partition is one big LVM partition. Inside that LVM partition are your real file systems. Thus, gparted cannot do much about it, so you will need blivet to go into the LVM partition and resize the individual file systems.

Get yourself a USB-hub so you can use that hub to connect both mouse and keyboard to the same usb port.

edit flag offensive delete link more

Question Tools


Asked: 2018-06-06 12:09:51 -0500

Seen: 515 times

Last updated: Jun 07 '18