Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
wiki:install_wo_optical_grub2 [2012/09/21 20:17] – raw data no syntaxed no cleaned up aus9 | wiki: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 ===== |
- | # Try at own risk, assumes you have wired internet. Assumes 32 bit install and host has grub2 bootloader. | + | ===Assumptions=== |
- | # 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. | + | **Try at own risk**, assumes you have wired internet. Assumes 32 bit install and host has grub2 bootloader. |
- | # On my host spare partition mounts under /a, which is non-FHS. Hopefully yours will be called /mnt/sdx, and mine is sda2. | + | The data-partition should not have a folder called opt, tce. My spare partition has no home folder but it may be possible, |
- | # Steps could be modified if you use the multicore distro. | + | 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. |
- | #On host computer | + | |
- | #### | + | Steps could be modified if you use the multicore distro. |
- | ###################################### | + | |
- | mkdir /a/tce /tmp/unpack && cd /tmp | + | ===On host computer, create |
- | wget http:// | + | |
- | # get root powers | + | They are called temporary permissions, |
- | # unpack iso to obtain some files | + | < |
- | su | + | wget http:// |
+ | |||
+ | Remember to change mkdir /a -- to whatever your pathway to spare partition is please | ||
+ | |||
+ | Become | ||
+ | and unpack iso to obtain some files | ||
+ | < | ||
cd /tmp | cd /tmp | ||
- | mount -o loop TinyCore-current.iso unpack | + | mount -o loop TinyCore-current.iso unpack</ |
- | # I won't attempt to create user tc or group staff so TC fixes this on first boot (hopefully) | + | I won't attempt to create user tc or group staff so TC fixes this on first boot. |
- | # Now copy some files | + | |
- | cd unpack && cp boot/core.gz /a && cp boot/ | + | |
- | # | + | |
- | cd cde && cp -R * /a/tce | + | |
- | # not sure what your HOST defaults are | + | |
- | #....lets make them world read-write-execute for the folder | + | |
- | # and readable for kernel and core | + | |
- | cd /a && chmod 777 -R tce | + | |
- | chmod 444 vmlinuz core.gz | + | |
- | # Now temporary owner/group change back to local username | + | |
- | ############# | + | |
- | ###################### | + | Now copy some files. |
- | ### host grub2 actions | + | < |
- | ###################### | + | cd cde && cp -R * / |
- | # now edit our grub2 file | + | Not sure what your HOST defaults are...let' |
- | # change leafpad to your fav terminal or gui text editor | + | and readable for kernel and core |
- | leafpad / | + | < |
- | # ---consider | + | chmod 444 vmlinuz core.gz</ |
- | # I have chosen a basic install where the tcz files will persist. | + | |
+ | ====Host | ||
+ | |||
+ | Edit our grub2 file, change leafpad to your preferred | ||
+ | < | ||
+ | Consider | ||
-----------------copy and paste ---------- | -----------------copy and paste ---------- | ||
+ | |||
+ | < | ||
menuentry "TC hard-drive" | menuentry "TC hard-drive" | ||
set root=(hd0, | set root=(hd0, | ||
Line 47: | Line 49: | ||
} | } | ||
+ | </ | ||
------------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 drive, sda2) to where-ever your spare partition is. |
+ | |||
+ | save file and run | ||
+ | < | ||
+ | cat / | ||
+ | reboot</ | ||
+ | |||
+ | good luck | ||
- | # save file and run | + | [[wiki: |
- | update-grub | + | |
- | #################### | + | |
- | ### go for it | + | |
- | #################### | + | |
- | reboot and try out TC | + |