Size: 1271
Comment:
|
Size: 1704
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 47: | Line 47: |
=== Disk resize === * Fedora 18 VM, settings, storage, controller SATA, add hard disk * create new disk, VDI, next, dynamic allocation, Fedora18Disk2, 8GB, create * cfdisk /dev/sdb * new, primary, type 8e (Linux LVM), write, quit * fdisk -l * pvcreate /dev/sdb1 * vgdisplay * vgextend fedora /dev/sdb1 * pvscan * lvdisplay * lvextend /dev/fedora/root /dev/sdb1 * vgdisplay * resize2fs /dev/fedora/root |
Fedora
Fedora is an operating system based on the Linux kernel, developed by the community-supported Fedora Project and owned by Red Hat.
Installation on Lenovo Thinkpad L440 Virtualbox
- Name Fedora18
- Linux
- Fedora (64 bit)
- next
- 768MB RAM
- create virtual hard drive
- create
- VDI
- next
- Fixed disk size: 8GB
- create
- Change to 2 CPUs and 128 video memory
- Start
- Choose ISO
- Start Fedora 18
- Live User System
- Ctrl + f
- Install to hard disk
- Language english
- continue
- keyboard, +, portugese (portuguese)
- Add
- Remove english keyboard
- done
- Date and time, region europe, city Lisbon, Done
Installation destination, ATA VBOX HardDisk, done
- Begin installation
- Root password: ********
- confirm, done, quit
- Live System User, Power off, restart
Setup system
- Welcome
- Forward, forward, create user vitor, password: ********, Finish
- Sign in vitor
- Activities, terminal, su, cat /etc/redhat_release
- yum install kernel-devel-3.6.10-4.fc18.i686
- yum install java-1.7.0-openjdk java-1.7.0-openjdk-devel
- yum update
- yum install gcc
- ./VBoxLinuxAdditions.run # after mounting the guest additions with virtualbox
Disk resize
- Fedora 18 VM, settings, storage, controller SATA, add hard disk
create new disk, VDI, next, dynamic allocation, Fedora18Disk2, 8GB, create
- cfdisk /dev/sdb
- new, primary, type 8e (Linux LVM), write, quit
- fdisk -l
- pvcreate /dev/sdb1
- vgdisplay
- vgextend fedora /dev/sdb1
- pvscan
- lvdisplay
- lvextend /dev/fedora/root /dev/sdb1
- vgdisplay
- resize2fs /dev/fedora/root