LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General > LinuxQuestions.org Member Success Stories
User Name
Password
LinuxQuestions.org Member Success Stories Just spent four hours configuring your favorite program? Just figured out a Linux problem that has been stumping you for months?
Post your Linux Success Stories here.

Notices

Reply
 
Search this Thread
Old 12-17-2012, 10:10 AM   #1
schneidz
Senior Member
 
Registered: May 2005
Location: boston, usa
Distribution: fc-15/ fc-20-live-usb/ aix
Posts: 4,091

Rep: Reputation: 635Reputation: 635Reputation: 635Reputation: 635Reputation: 635Reputation: 635
fedora-17 live-usb + xbmc


i like using fedora on my acer revo 3600. all 4 partitions are used so i run it live.
i like the ext2 based fedora liveusb-creator better than the fat32 based unetbootin.
  • run sudo tail -f /var/log/messages then plug in the usb drive (keep note of the device node e.g.- /dev/sdx)
  • run gparted and select the device indicated above (delete the partition, make a new ext2 partition, apply all operations) close gparted when done.
  • run liveusb-creator and select the device indicated above (select the version you want from the dropdown, max out the persistent space, click start)
  • reboot, hold down del when you hear the cmos beep, set your usb drive as the first bootable hard drive. save bios and reboot.
  • when you get to the gnome-3 menu, configure your wifi/ ethernet settings.
  • run
    Code:
    su -c "/sbin/chkconfig sshd on"
    su -c "system-config-firewall"
    and enable ssh as a trusted service then save and close.
  • install repos and packages:
    Code:
    su -c 'yum localinstall --nogpgcheck http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm'
    su -c "rpm -ivh http://rpm.livna.org/livna-release.rpm"
    su -c "yum -y install wget akmod-nvidia xorg-x11-drv-nvidia-libs kernel xbmc lirc lirc-remotes lsdvd sshfs mplayer mencoder libdvdcss2 h264enc"
  • to make the new kernel usable in the live-usb and to enable the nvidia dirver and disable the open-source nouveau driver (which doesnt work with hdmi audio):
    Code:
    su -
    echo 'add_dracutmodules+=" dmsquash-live "' >> /etc/dracut.conf
    bootpath=/run/initramfs/live/syslinux
    new=`find /boot -name "vmlinuz*" | sort | tail -n 1 | cut -f 2- -d '-'`
    mv -f /boot/vmlinuz-$new ${bootpath}/vmlinuz0
    mv -f /boot/initramfs-${new}.img ${bootpath}/initrd0-nouveau.img
    ln -fs -T ${bootpath}/vmlinuz0 /boot/vmlinuz-$new
    ln -fs -T ${bootpath}/initrd0.img /boot/initramfs-${new}.img
    dracut /run/initramfs/live/syslinux/initrd0.img $new
  • reboot into the new kernel.
  • run alsamixer and unmute all s/pdif channels then click on volume -> sound preferences and choose the the hdmi-out channel in the hardware tab (there should be a way to do this in the command line ?)
  • add the line xbmc 2>/dev/null & to the end of /home/liveuser/.bash_profile

to get my mceusb remote to work, i had to copy http://lirc.sourceforge.net/remotes/...cd.conf.mceusb to /etc/lirc/lircd.conf and i based this file .xbmc/userdata/keymaps/keyboard.xml on something i found online here: https://github.com/xbmc/xbmc/blob/ma...aps/remote.xml and then:
Code:
sudo service lirc start
sudo chkconfig lirc on

Last edited by schneidz; 12-18-2012 at 09:43 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help?: Fedora 16 Live CD to Live USB. Kinda urgent ? here! barnac1e Linux - Newbie 1 01-05-2012 10:06 AM
[SOLVED] XBMC Live 10.1 and ATI Radeon X300 fmr Linux - Desktop 6 09-13-2011 12:34 PM
.profile not being executed when running xbmc-live schneidz Linux - General 0 03-28-2011 03:00 PM
how to boot up xbmc-live-usb ? schneidz Linux - Distributions 0 11-05-2010 09:48 AM
Fedora 9 Live USB pradeep2002gs Linux - Newbie 0 05-27-2008 11:53 AM


All times are GMT -5. The time now is 04:35 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration