MarkHowells
January 31st, 2010, 11:47 PM
I'm trying to make a bootable USB stick, pre-loaded with XBMC. I can't help but think I'm making hard work of it.
What I did was make a live karmic live USB stick using USB Creator. So far so good. Then I stripped off the language selection at the beginning so I go straight to the main menu.
Then I unpacked the squashfs root filesystem onto my harddrive (mounted at ~/squashfs) and executed
# mount -t proc proc ~/squashfs/proc
# chroot ~/squashfs
Then I added my nameserver to /etc/resolv.conf and executed
# add-apt-repository ppa:team-xbmc
# apt-get update
and executed
# apt-get install xbmc
The idea was then to remake the squashfs with XMBC installed and replace the one on the USB stick. However, when I install xbmc I get
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies.
xbmc: Depends: xbmc-data (= 1:9.11-karmic1) but it is not going to be installed
Depends: xbmc-skin-confluence (= 1:9.11-karmic1) but it is not going to be installed or
xbmc-skin-pm3-hd (= 1:9.11-karmic1) but it is not going to be installed
Depends: xbmc-web-pm3 (= 1:9.11-karmic1) but it is not going to be installed
E: Broken packages
I suspect the Live distro is therefore incompatible with the xbmc install.
However, what I'm doing feels like a hack. Can anyone point me at a 'proper' way of creating a bootable USB stick with XBMC installed. The idea is to have a silent (diskless) PC that boots of the USB stick then NFS mounts writeable storage for other stuff. I don't want to netboot as that will produce a long startup time and I have to install a PXE/DHCP server onto my ubuntu server...
Thanks.
What I did was make a live karmic live USB stick using USB Creator. So far so good. Then I stripped off the language selection at the beginning so I go straight to the main menu.
Then I unpacked the squashfs root filesystem onto my harddrive (mounted at ~/squashfs) and executed
# mount -t proc proc ~/squashfs/proc
# chroot ~/squashfs
Then I added my nameserver to /etc/resolv.conf and executed
# add-apt-repository ppa:team-xbmc
# apt-get update
and executed
# apt-get install xbmc
The idea was then to remake the squashfs with XMBC installed and replace the one on the USB stick. However, when I install xbmc I get
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies.
xbmc: Depends: xbmc-data (= 1:9.11-karmic1) but it is not going to be installed
Depends: xbmc-skin-confluence (= 1:9.11-karmic1) but it is not going to be installed or
xbmc-skin-pm3-hd (= 1:9.11-karmic1) but it is not going to be installed
Depends: xbmc-web-pm3 (= 1:9.11-karmic1) but it is not going to be installed
E: Broken packages
I suspect the Live distro is therefore incompatible with the xbmc install.
However, what I'm doing feels like a hack. Can anyone point me at a 'proper' way of creating a bootable USB stick with XBMC installed. The idea is to have a silent (diskless) PC that boots of the USB stick then NFS mounts writeable storage for other stuff. I don't want to netboot as that will produce a long startup time and I have to install a PXE/DHCP server onto my ubuntu server...
Thanks.