Changes

Jump to navigation Jump to search
m
→‎Deprecated: updating sugar-build doc url
Line 1: Line 1:  
<noinclude>{{Translations}}{{TOCright}}</noinclude>
 
<noinclude>{{Translations}}{{TOCright}}</noinclude>
 +
{{Template:Obsolete}}
    +
==Deprecated==
 +
 +
'''Note: <font color=red>Sugar-jhbuild is deprecated.</font>''' Please use [http://sugarlabs.org/~buildbot/docs/dev-environment.md.html sugar-build].
 +
 +
== sugar-jhbuild ==
 
Sugar-jhbuild will automatically download the latest of Sugar's dependencies as well as Sugar itself directly from their source repositories, rather than relying on source packages that may have become stale.
 
Sugar-jhbuild will automatically download the latest of Sugar's dependencies as well as Sugar itself directly from their source repositories, rather than relying on source packages that may have become stale.
 
Below are generic instructions on how to use jhbuild to get up and running with Sugar.
 
Below are generic instructions on how to use jhbuild to get up and running with Sugar.
Line 276: Line 282:       −
== Enabling dual-boot ==
+
=== Enabling dual-boot ===
    
* At the moment, with all LiveUSBs removed, I was able to boot into F17 only. I could not see any option to boot into F14.
 
* At the moment, with all LiveUSBs removed, I was able to boot into F17 only. I could not see any option to boot into F14.
 +
 +
 
* Boot into F17.
 
* Boot into F17.
 +
 +
 
* In one terminal, open the file "/etc/grub2.cfg" (in editable mode). The original contents should be on the lines of  
 
* In one terminal, open the file "/etc/grub2.cfg" (in editable mode). The original contents should be on the lines of  
 
<pre>
 
<pre>
Line 463: Line 473:  
### END /etc/grub.d/41_custom ###
 
### END /etc/grub.d/41_custom ###
 
</pre>
 
</pre>
 +
 +
 +
    
* In another terminal, mount F14 on a directory.
 
* In another terminal, mount F14 on a directory.
Line 485: Line 498:  
-rwxr-xr-x. 1 root root  3696448 Oct 18  2010 vmlinuz-2.6.35.6-45.fc14.i686
 
-rwxr-xr-x. 1 root root  3696448 Oct 18  2010 vmlinuz-2.6.35.6-45.fc14.i686
 
</pre>
 
</pre>
 +
 +
 +
    
* Now, open the contents of "qq/boot/grub/menu.lst"
 
* Now, open the contents of "qq/boot/grub/menu.lst"
Line 507: Line 523:  
</pre>
 
</pre>
   −
* Now, in the originally opened "/etc/grub2.cfg", add the entry for boot-option for Fedora-14. Note that
+
 
 +
 
 +
 
 +
* Now, in the originally opened "/etc/grub2.cfg", add the entry for boot-option for Fedora-14. Take note that
 
** Replace the UUID, with the UUID of F14 partition (as seen from contents of "qq/boot/grub/menu.lst".
 
** Replace the UUID, with the UUID of F14 partition (as seen from contents of "qq/boot/grub/menu.lst".
** The arguments to "initrd" shoube of the initramfs of  F14 (As seen from the output of <code>ls qq/boot</code>
+
 
** <code>hd0,msdos5</code> (corresponding to "/dev/sda5" for F17) is replaced by <code>hd0,msdos6</code> (corresponding to "/dev/sda6" for F14).
+
 
** Finally, the command <code> kernel /boot/vmlinuz-2.6.35.6-45.fc14.i686 ro root=UUID=333b5104-4f4a-41d9-856a-c7802677bec0 rd_NO_LUKS rd_NO_LVM rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us rhgb quiet</code> (as seen in <code>qq/boot/grub/menu.lst</code>, used to boot up kernel vis F14's grub) is replaced by <code>linux /boot/vmlinuz-2.6.35.6-45.fc14.i686 ro root=UUID=333b5104-4f4a-41d9-856a-c7802677bec0 rd_NO_LUKS rd_NO_LVM rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us rhgb quiet</code> (in <code>/etc/grub2.cfg</code>, since we intend to boot F14 via F17's grub2).
+
** The arguments to "initrd" should of the initramfs of  F14 (As seen from the output of '''ls qq/boot''').
 +
 
 +
 
 +
** '''hd0,msdos5''' (corresponding to "/dev/sda5" for F17) is replaced by '''hd0,msdos6''' (corresponding to "/dev/sda6" for F14).
 +
 
 +
 
 +
** Finally, the command '''kernel /boot/vmlinuz-2.6.35.6-45.fc14.i686 ro root=UUID=333b5104-4f4a-41d9-856a-c7802677bec0 rd_NO_LUKS rd_NO_LVM rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us rhgb quiet''' (as seen in '''qq/boot/grub/menu.lst''', used to boot up kernel vis F14's grub) is replaced by '''linux /boot/vmlinuz-2.6.35.6-45.fc14.i686 ro root=UUID=333b5104-4f4a-41d9-856a-c7802677bec0 rd_NO_LUKS rd_NO_LVM rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us rhgb quiet''' (in '''/etc/grub2.cfg''', since we intend to boot F14 via F17's grub2).
 +
 
 +
 
 
<pre>
 
<pre>
 
#
 
#
Line 607: Line 634:  
initrd /boot/initramfs-3.3.4-5.fc17.i686.img
 
initrd /boot/initramfs-3.3.4-5.fc17.i686.img
 
}
 
}
 +
### [STARTS] OPTION TO ADD BOOT-UP OPTION FOR F14 ###
 
menuentry 'Fedora Linux 14' --class fedora --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-333b5104-4f4a-41d9-856a-c7802677bec0' {
 
menuentry 'Fedora Linux 14' --class fedora --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-333b5104-4f4a-41d9-856a-c7802677bec0' {
 
load_video
 
load_video
Line 624: Line 652:  
initrd /boot/initramfs-2.6.35.6-45.fc14.i686.img
 
initrd /boot/initramfs-2.6.35.6-45.fc14.i686.img
 
}
 
}
 +
### [ENDS] OPTION TO ADD BOOT-UP OPTION FOR F14 ###
 
submenu 'Advanced options for Fedora Linux' $menuentry_id_option 'gnulinux-advanced-1ff89cae-60bc-40fb-9e3c-e16e4850caa3' {
 
submenu 'Advanced options for Fedora Linux' $menuentry_id_option 'gnulinux-advanced-1ff89cae-60bc-40fb-9e3c-e16e4850caa3' {
 
menuentry 'Fedora Linux, with Linux 3.3.4-5.fc17.i686' --class fedora --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.3.4-5.fc17.i686-advanced-1ff89cae-60bc-40fb-9e3c-e16e4850caa3' {
 
menuentry 'Fedora Linux, with Linux 3.3.4-5.fc17.i686' --class fedora --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.3.4-5.fc17.i686-advanced-1ff89cae-60bc-40fb-9e3c-e16e4850caa3' {
Line 711: Line 740:  
### END /etc/grub.d/41_custom ###
 
### END /etc/grub.d/41_custom ###
 
</pre>
 
</pre>
 +
 +
    
* As a last step, change "/etc/fstab" from
 
* As a last step, change "/etc/fstab" from
Line 741: Line 772:  
UUID=9d06cbba-57e6-4cb2-93be-61a430601a67 swap                    swap    defaults        0 0
 
UUID=9d06cbba-57e6-4cb2-93be-61a430601a67 swap                    swap    defaults        0 0
 
</pre>
 
</pre>
 +
 +
    
* Reboot. Now the option to boot into F14 should be present (in options via F17's grub).
 
* Reboot. Now the option to boot into F14 should be present (in options via F17's grub).
 +
 +
 +
 +
=== Useful links ===
 +
 +
* http://www.dedoimedo.com/computers/grub-2.html
 +
 +
[[Category:Jhbuild]]
9

edits

Navigation menu