Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
wiki:install_wo_optical_grub2 [2012/09/21 20:30] – edit 1 syntax aus9wiki:install_wo_optical_grub2 [2012/09/21 20:56] (current) – final edit for now aus9
Line 1: Line 1:
-under construction 
- 
 =====Install TinyCore without optical drive with grub2 bootloader on to a spare partition ===== =====Install TinyCore without optical drive with grub2 bootloader on to a spare partition =====
  
-==Assumptions==+===Assumptions==
 + 
 +**Try at own risk**, assumes you have wired internet. Assumes 32 bit install and host has grub2 bootloader. 
 +The data-partition should not have a folder called opt, tce. My spare partition has no home folder but it may be possible, 
 +to use a separate host /home partition but not tested by me. On my host, the spare partition mounts under /a, which is non-FHS.  
 +Hopefully yours will be called /mnt/sdx, and mine is sda2. 
  
-Try at own risk, assumes you have wired internet. Assumes 32 bit install and host has grub2 bootloader. 
-The data-partition should not have a folder called opt, tce. My spare partition has no home folder but it may be possilbe, 
-to use a separate host /home partition but not tested by me. 
-On my host, the spare partition mounts under /a, which is non-FHS. Hopefully yours will be called /mnt/sdx, and mine is sda2. 
 Steps could be modified if you use the multicore distro. Steps could be modified if you use the multicore distro.
  
 ===On host computer, create files and their temporary permissions=== ===On host computer, create files and their temporary permissions===
 +
 +They are called temporary permissions, because on reboot, TC will fix them up
 <code>mkdir /a/tce /tmp/unpack && cd /tmp <code>mkdir /a/tce /tmp/unpack && cd /tmp
 wget http://distro.ibiblio.org/tinycorelinux/4.x/x86/release/TinyCore-current.iso</code> wget http://distro.ibiblio.org/tinycorelinux/4.x/x86/release/TinyCore-current.iso</code>
Line 17: Line 18:
 Remember to change mkdir /a -- to whatever your pathway to spare partition is please Remember to change mkdir /a -- to whatever your pathway to spare partition is please
  
-Become root powers eg sudo su or su+Become root eg sudo su or su, or prefix below commands with sudo
 and unpack iso to obtain some files and unpack iso to obtain some files
 <code>su  <code>su 
Line 28: Line 29:
 <code>cd unpack && cp boot/core.gz /a && cp boot/vmlinuz /a <code>cd unpack && cp boot/core.gz /a && cp boot/vmlinuz /a
 cd cde && cp -R * /a/tce</code> cd cde && cp -R * /a/tce</code>
-Not sure what your HOST defaults are...let's make the folder tce world read-write-execute  +Not sure what your HOST defaults are...let's make the folder tce world read-write-execute \\
 and readable for kernel and core and readable for kernel and core
 <code>cd /a && chmod 777 -R tce <code>cd /a && chmod 777 -R tce
 chmod 444 vmlinuz core.gz</code> chmod 444 vmlinuz core.gz</code>
-# Now temporary owner/group change back to local username 
-#############chown gordon:gordon -R * 
  
-###################### +====Host grub2 actions==== 
-### host grub2 actions + 
-###################### +Edit our grub2 filechange leafpad to your preferred terminal or gui text editor please. 
-# now edit our grub2 file  +<code>leafpad /etc/grub.d/40_custom</code>  
-change leafpad to your fav terminal or gui text editor +Consider adding extra boot codes as well from TC wiki. [[wiki:boot_codes_explained|boot codes]] 
-leafpad /etc/grub.d/40_custom  +
-# ---consider adding extra options as well from TC wiki. +
-# I have chosen a basic install where the tcz files will persist.+
  
 -----------------copy and paste ---------- -----------------copy and paste ----------
 +
 +<file>
 menuentry "TC hard-drive" { menuentry "TC hard-drive" {
 set root=(hd0,msdos2) set root=(hd0,msdos2)
Line 52: Line 49:
 } }
  
 +</file>
 ------------end of paste......there is one empty line below the " } " ------------end of paste......there is one empty line below the " } "
  
-Change hd0,msdos2 (first hard drive sda2) to where-ever your spare partition is.+Change hd0,msdos2 (first hard drivesda2) to where-ever your spare partition is. 
 + 
 +save file and run  
 +<code>update-grub 
 +cat /boot/grub/grub.cfg (to check it landed ok) 
 +reboot</code> 
 + 
 +good luck
  
-# save file and run  +[[wiki:start| Back to wiki index]]
-update-grub +
-#################### +
-### go for it +
-#################### +
-reboot and try out TC+
Print/export
QR Code
QR Code wiki:install_wo_optical_grub2 (generated for current page)