<div>Manish, great job</div>
<div> </div>
<div>Let us know when you get the LiveCD booting. Also, have you gotten a chance to look at the Pilgrim code?</div>
<div>I'll try to play around w/ this tonight.</div>
<div> </div>
<div>It would be great if we could get Pilgrim to successfully build LiveCDs. That way we would could hand out LiveCDs to Windows and Mac geeks, and even *gasp* non-technical people. Of course there are some Mac geeks out there who know how to use Parallels :) but I imagine they are in the minority.
</div>
<div> </div>
<div>I thought I tried the "-soundhw all" and "-soundhw" parameters each and it didn't work for me. <br> </div>
<div>Manish, were you able to hear audio output? Now we need to test audio input into vm instance, particularly dual audio inputs. I would love to somehow test audioconferencing b/w two vm instances on the same machine. Not sure how to best do that.
</div>
<div> </div>
<div><br> </div>
<div> </div>
<div><span class="gmail_quote">On 1/30/07, <b class="gmail_sendername">Manish Regmi</b> <<a href="mailto:manish@olpcnepal.org">manish@olpcnepal.org</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"><br>Hi all,<br> Here is how we can make Bootable CD of olpc image.<br><br>1) Get the lastest ext2 image from
<a onclick="return top.js.OpenExtLink(window,event,this)" href="http://laptop.org/" target="_blank">laptop.org</a> (or from bryan :) ).<br>2) It is merely an image of the MBR partitioned Disk (CMIIMW here). to view the partitions contained in it type:
<br> # fdisk -lu olpc.img<br> <br> You will see something like this:<br><br>You must set cylinders.<br>You can do this from the extra functions menu.<br><br>Disk olpc.img: 0 MB, 0 bytes<br>16 heads, 62 sectors/track, 0 cylinders, total 0 sectors
<br>Units = sectors of 1 * 512 = 512 bytes<br><br> Device Boot Start End Blocks Id System<br>olpc.img1 62 985055 492497 83 Linux<br><br> It means that disk image has just 1 partition
<br> <br>3) Setup the loopback device for that partition using the following command:<br> # sudo losetup /dev/loop0 olpc.img -o $((62 * 512)) <br> (note: 62 in above command which means partition 1 starts at sector no 62)
<br><br>4) Mount the loopback device.<br> # sudo mount /dev/loop0 /mnt/tmp<br><br>5) Now the partition is mounted in /mnt/tmp. Copy everything to a temporary location you can edit few things to make it bootable CDROM.
<br><br> # mkdir ~/olpccd<br> # cp -rv /mnt/olpccd/* ~/olpccd<br> <br>6) To boot the CD using grub we will need "stage2_eltorito" file. Copy it from your system to olpc grub folder.<br> # cp /lib/grub/i386-pc/stage2_eltorito ~/olpccd/boot/grub/
<br><br> (Note: it was in /lib/grub path in my ubuntu 6.10. <br> It might be at other place or not installed at all in your system. <br> The command "where grub" will give you hint. usually /lib or /usr/lib or /usr/local/lib.
<br> )<br><br>7) You may also need to rename grub.conf to menu.lst. Also change the grub.conf/menu.lst so that it can load the kernel from cd.<br> change "(hd0,x)" to "(cd)"<br> also write give the path of kernel image not the symlink ( /boot/vmlinuz-
2.6.19xxxx not just /boot/vmlinuz)<br><br>8) Now create the iso image<br> # mkisofs -R -b boot/grub/stage2_eltorito -no-emul-boot -boot-load-size 4 -boot-info-table -o olpccd.iso ~/olpccd<br><br>9) boot it and enjoy.<br>
<br><br><br><br>After booting dont get angry. Because the above thing is not supposed to not load the root fs. For that we need to setup ramdisk and write a small program or shell script to get livecd booting.<br>I am sleepy and tired for to day and will try that tomorrow. :)
<br><br><br>-- <br>--------------------------------------------------------<br><span class="sg">Manish Regmi<br>OLPC Nepal<br>--~--~---------~--~----~------------~-------~--~----~<br>You received this message because you are subscribed to the Google Groups "dev-olpcnepal" group.
<br>To post to this group, send email to <a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:dev-olpcnepal@googlegroups.com" target="_blank">dev-olpcnepal@googlegroups.com</a> <br>To unsubscribe from this group, send email to
<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:dev-olpcnepal-unsubscribe@googlegroups.com" target="_blank">dev-olpcnepal-unsubscribe@googlegroups.com</a> <br>For more options, visit this group at <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://groups.google.com/group/dev-olpcnepal?hl=en" target="_blank">
http://groups.google.com/group/dev-olpcnepal?hl=en</a> <br>-~----------~----~----~----~------~----~------~--~---<br><br></span></blockquote></div><br>