Difference between revisions of "Fedora"

From KeegansWiki
Jump to navigation Jump to search
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
=Mount LVM Partition=
 +
* use ''pvscan'' and ''lvscan'' to find the volumes
 +
* If the desired LVM is inactive, ''vgchange -ay <LVM>'' where <LVM> is the 4th column in lvscan
 +
*  mount -t ext4 /dev/fedora/root /mnt/usb
 +
=VNC Desktop=
 +
* yum install tigervnc-server
 +
* vncserver :1 -geometry 800x600 -depth 24
 +
 +
=Reinstall Grub After Windows Install=
 +
mkdir -p /mnt/temp/boot
 +
vgchange -a y
 +
lvdisplay
 +
mount /dev/VolGroup00/LogVol00 /mnt/temp
 +
mount /dev/sda5 /mnt/temp/boot
 +
grub-install --root-directory=/mnt/temp /dev/sda
 +
=HDMI Audio for Fedora 18=
 +
* Add user to audio group
 +
* edit /etc/default/grub, add ''radeon.audio=1'' to the GRUB_CMDLINE_LINUX line, before rdgb
 +
* grub2-mkconfig -o /boot/grub2/grub.cfg
 +
* reboot
 +
 
=Installing Wireless HotKey for HP 6450b=
 
=Installing Wireless HotKey for HP 6450b=
 
The button above the keyboard on my HP ProBook 6450b which enables and disables wireless was nonfunctional, with this error:
 
The button above the keyboard on my HP ProBook 6450b which enables and disables wireless was nonfunctional, with this error:
Line 23: Line 44:
  
 
And it works fine.
 
And it works fine.
 +
 +
=Setting up ISCSI targets=
 +
* iscsiadm -m discovery -t sendtargets -p 192.168.1.100
 +
* iscsiadm -m node
 +
* iscsiadm -m node -T iqn.2011-5.com.thecus:RAID.iscsi1.vg0.vmware -p 192.168.1.100 --login
 +
* /etc/fstab:
 +
** /dev/sde1              /mnt/vmware            ntfs  defaults,auto,_netdev        0 0
 +
*OR use ''blkid'' to get the uuid, then put it in fstab
 +
 +
=Mounting Windows Share=
 +
* mount -t cifs //jersey/chunky -o username='foo',password='bar' /mnt/chunky
 +
<pre>[root@lenny ~]# grep cifs /etc/fstab
 +
//jersey/Chunky        /mnt/chunky            cifs    credentials=/etc/cifspw 0 0
 +
[root@lenny ~]# cat /etc/cifspw
 +
username=foo
 +
password=bar
 +
</pre>
 +
 +
=Totem Cannot play x264=
 +
yum install gstreamer1* --exclude=*devel,*docs

Latest revision as of 07:20, 15 September 2013

Mount LVM Partition

  • use pvscan and lvscan to find the volumes
  • If the desired LVM is inactive, vgchange -ay <LVM> where <LVM> is the 4th column in lvscan
  • mount -t ext4 /dev/fedora/root /mnt/usb

VNC Desktop

  • yum install tigervnc-server
  • vncserver :1 -geometry 800x600 -depth 24

Reinstall Grub After Windows Install

mkdir -p /mnt/temp/boot
vgchange -a y
lvdisplay
mount /dev/VolGroup00/LogVol00 /mnt/temp
mount /dev/sda5 /mnt/temp/boot
grub-install --root-directory=/mnt/temp /dev/sda

HDMI Audio for Fedora 18

  • Add user to audio group
  • edit /etc/default/grub, add radeon.audio=1 to the GRUB_CMDLINE_LINUX line, before rdgb
  • grub2-mkconfig -o /boot/grub2/grub.cfg
  • reboot

Installing Wireless HotKey for HP 6450b

The button above the keyboard on my HP ProBook 6450b which enables and disables wireless was nonfunctional, with this error:

Sep 29 11:32:43 localhost kernel: atkbd serio0: Unknown key pressed (translated set 2, code 0xf8 on isa0060/serio0).
Sep 29 11:32:43 localhost kernel: atkbd serio0: Use 'setkeycodes e078 <keycode>' to make it known.
Sep 29 11:32:43 localhost kernel: HP WMI: Unknown response received
Sep 29 11:32:43 localhost kernel: atkbd serio0: Unknown key released (translated set 2, code 0xf8 on isa0060/serio0).
Sep 29 11:32:43 localhost kernel: atkbd serio0: Use 'setkeycodes e078 <keycode>' to make it known.

Running lspci -nnk showed

44:00.0 Network controller [0280]: Broadcom Corporation BCM43224 802.11a/b/g/n [14e4:4353] (rev 01)
Subsystem: Hewlett-Packard Company Device [103c:1509]

Drivers are not installed.

Installation

Now lspci -nnk shows:

44:00.0 Network controller [0280]: Broadcom Corporation BCM43224 802.11a/b/g/n [14e4:4353] (rev 01)
        Subsystem: Hewlett-Packard Company Device [103c:1509]
        Kernel driver in use: wl
        Kernel modules: wl

And it works fine.

Setting up ISCSI targets

  • iscsiadm -m discovery -t sendtargets -p 192.168.1.100
  • iscsiadm -m node
  • iscsiadm -m node -T iqn.2011-5.com.thecus:RAID.iscsi1.vg0.vmware -p 192.168.1.100 --login
  • /etc/fstab:
    • /dev/sde1 /mnt/vmware ntfs defaults,auto,_netdev 0 0
  • OR use blkid to get the uuid, then put it in fstab

Mounting Windows Share

  • mount -t cifs //jersey/chunky -o username='foo',password='bar' /mnt/chunky
[root@lenny ~]# grep cifs /etc/fstab
//jersey/Chunky         /mnt/chunky             cifs    credentials=/etc/cifspw 0 0
[root@lenny ~]# cat /etc/cifspw
username=foo
password=bar

Totem Cannot play x264

yum install gstreamer1* --exclude=*devel,*docs