Put up a project on google. The detailed installation is on the following page:
http://code.google.com/p/xbmc-image/wiki...ADiskImage
Changes from yesterday
* added an init script to remove any xbmc system partition node (/dev/sda1 or example) to force xbmc to ignore them
* modified /usr/bin/diskmounter to use vol_id to detect mountable partition instead of unreliable fdisk string
Personally I feel diskmounter script is not necessary since xbmc will try to mount any unmount partitions every 10 seconds.
Limitations
* Since it's all based on the Live CD, the hardware detection will still be the same as the original CD, i.e. if you hardware was not found in Live CD it's likely it will not work in the disk version
* You cannot upgrade the kernel at the moment or anything involving upgrade initramfs. This will bef fixed when network boot version is out.
* When XBMC exited unexpectedly, fluxbox will be started instead of xbmc. This probably is the bug of LiveCD. If it's not fixed in the release version of LiveCD, I will try to have look at them.
* Don't expect too much
[LIVE] Option to install XBMC Live to SATA and PATA/ATA/IDE harddrive
s7mx1
Senior Member Posts: 259 Joined: Dec 2007 Reputation: 3 |
2008-09-26 10:03
Post: #21
|
| find quote |
red_lego_man
Junior Member Posts: 39 Joined: Mar 2008 Reputation: 0 |
2008-09-26 15:16
Post: #22
OK, I've tried this out, both by hand and simply using the script - when I get to test this using qemu, the boot gets stuck:
Code: Mounting: mount -o rw /dev/sda1 /container |
| find quote |
red_lego_man
Junior Member Posts: 39 Joined: Mar 2008 Reputation: 0 |
2008-09-26 15:36
Post: #23
red_lego_man Wrote:OK, I've tried this out, both by hand and simply using the script - when I get to test this using qemu, the boot gets stuck: No, that was me being a fumb ducker. Typo in menu.lst. sorry. |
| find quote |
red_lego_man
Junior Member Posts: 39 Joined: Mar 2008 Reputation: 0 |
2008-09-26 20:46
Post: #24
Sam,
This is pretty good - it's good to have grub back, and to have some swap. Now, would it be possible to include a script which allows you to create the initial image file (xbmc-beta-4G.img in your case), so you have freedom over the size? It would be good to be able to size it up to 8GB or down to 2GB for example. Choosing the size of the user partition would also be quite nice. |
| find quote |
topfs2
Team-XBMC Developer Joined: Dec 2007 Reputation: 8 |
2008-09-27 10:03
Post: #25
s7mx1 Wrote:Personally I feel diskmounter script is not necessary since xbmc will try to mount any unmount partitions every 10 seconds. Uhm what? Can you explain this? If your refering to XBMC's HalManager that is mounting the removable drives on the system then no, it's eventbased. XBMC will get an event from Hal whenever a new disk is present and will mount it if it fits the profile we have, ie if it's removable, if it's using a correct filesystem. So XBMC will only mount a disk once. If you have problems please read this before posting Always read the XBMC online-manual, FAQ and search the forum before posting. Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules. For troubleshooting and bug reporting please make sure you read this first. ![]() "Well Im gonna download the code and look at it a bit but I'm certainly not a really good C/C++ programer but I'd help as much as I can, I mostly write in C#." |
| find quote |
s7mx1
Senior Member Posts: 259 Joined: Dec 2007 Reputation: 3 |
2008-09-27 13:58
Post: #26
Topfs2 Wrote:Uhm what? Can you explain this? The XBMC's HalManager is the way to do it. I was referring to the /usr/bin/diskmounter script, which I modified to use vol_id to detect mountable partitions. It probably was a legacy script before XBMC has the halmanager integrated. The system will call the script before starting xbmc and also it's presented in /etc/rc.local |
| find quote |
s7mx1
Senior Member Posts: 259 Joined: Dec 2007 Reputation: 3 |
2008-09-27 14:13
Post: #27
red_lego_man Wrote:Sam, Thanks. If you have transfered the image to the hard disk. It's possible to extend the partition by removing partition 4 5 6 7 and then recreated extended partition 4 to fill the rest of the disk. Then create partition 5 which is the system root partition having the cylinder number from 40 to 164. partition 6 starts at cylinder 165 and end cylinder must be larger than 363. The last partition 7 is the swap partition. After partition 6 is recreated, you can resize it by using resize2fs against to that partition (you need to run fsck before that) and make sure when you reformat the swap partition make sure it has label xbmc_swap, i.e. mkswap -L xbmc_swap. Right now I have no plan for such automatic script as I am focusing on san boot. However I do plan later when san boot is finished, a new smaller image will be created so user partition will be created upon the first booting to extend to the full disk. |
| find quote |
xentro
Junior Member Posts: 3 Joined: Sep 2008 Reputation: 0 |
2008-09-29 11:28
Post: #28
red_lego_man Wrote:I used the mkLiveUSB.sh script to write the live image to HDD instead of USb, by removing the "if removable drive" statement and then choosing hda from the list. i.e: lines 35 - 46 on mkLiveUSB.sh: Hello could you please tell me how can I change the syslinux.cfg? Best regards |
| find quote |
s7mx1
Senior Member Posts: 259 Joined: Dec 2007 Reputation: 3 |
2008-09-29 12:36
Post: #29
Greetings,
Finally network booting support has been added. Image and script has been updated. Was forced to used bz2 compression due to the image size increase. Need to do documents. Unified XBMC image generator for usb, disk and san network booting http://code.google.com/p/xbmc-image/ |
| find quote |
s7mx1
Senior Member Posts: 259 Joined: Dec 2007 Reputation: 3 |
2008-09-30 13:40
Post: #30
Network boot support documents has been added.
Currently it's able to boot either from aoe or iscsi. The total boot time from a 100M network is about 50s. Time till xbmc is started is probably longer. I managed to reduce the last figure to 47s and I believe there's still much more can be done. Happy testing. |
| find quote |

![[Image: badge.gif]](http://www.ohloh.net/projects/149/badge.gif)

Search
Help