[X2Go-Commits] [[X2Go Wiki]] page changed: doc:howto:tce

wiki-admin at x2go.org wiki-admin at x2go.org
Mon Jan 2 17:39:57 CET 2017


A page in your DokuWiki was added or changed. Here are the details:

Date        : 2017/01/02 16:39
Browser     : Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Firefox/45.0
IP-Address  : 78.43.90.159
Hostname    : HSI-KBW-078-043-090-159.hsi4.kabel-badenwuerttemberg.de
Old Revision: http://wiki.x2go.org/doku.php/doc:howto:tce?rev=1483373874
New Revision: http://wiki.x2go.org/doku.php/doc:howto:tce
Edit Summary: [Booting from local storage media] 
User        : stefanbaur

@@ -307,20 +307,30 @@
  
  Basically, proceed as shown for netboot above, but set LBX2GO_IMAGETYPE to ''iso-hybrid'' (recommended) or ''iso''. 
  Do **not** select hdd or tar - even though we are creating a local storage media installation.
  
-   - On your local media, create the following folders: ''/boot/X2Go-live1'', ''/boot/X2Go-live2'', ''/boot/X2Go-live-download''.
+   - On your local storage media, create the following folders: ''/boot/X2Go-live1'', ''/boot/X2Go-live2'',
''/boot/X2Go-live-download''.
    - If you have serious space constraints, you can limit yourself to ''/boot/X2Go-live1'', but you will be unable to use the autoupdater then.
    - Copy ''./x2go-tce-vmlinuz'', ''./x2go-tce-initrd.img'', and ''./x2go-tce-squashfs-only.iso'' to ''/boot/X2Go-live1'' (and to ''/boot/X2Go-live2'', if present).
-   - Install a boot loader:
-     * Create a folder ''/boot/grub'' and install grub-legacy into it (assuming an ext* file system) OR 
-     * install GRLDR and GRLDR.mbr from GRUB4DOS into C:\ (assuming an NTFS file system) AND make the appropriate changes to activate it (edit boot.ini on XP systems, use bcdedit.exe on Vista and newer) OR
-     * install syslinux (should work with FAT* as well as ext*)
-   - create the boot loader configuration file(s):
-     * for GRUB-Legacy and GRLDR/GRUB4DOS, use this file as template:
+ 
+ ==== Installing a boot loader ==== 
+ The next step is to install a boot loader.  Currently, there are three choices,
GRUB-legacy, syslinux, and GRUB4DOS.
+   * Use GRUB-legacy for ext* file systems.
+   * Use syslinux when installing on FAT* file systems.  Should work with ext* file systems as well, if you don't want GRUB-legacy. 
+   * Use GRUB4DOS when dealing with an NTFS file system (say, you're trying to turn an existing Windows XP installation into a ThinClient).
+ 
+ === Installing GRUB-legacy ===
+     * Create a folder ''(mountpath)/boot/grub'' 
+     * install grub-legacy into it:
+       * ''apt-get -y install grub-legacy'' # note this will remove grub2 from your system if it is installed, but will not cause any change to your boot sequence 
+       * ''grub-install --recheck --root-directory=(mountpath) /dev/targetdevice'' #entire device, not partition
+       * check, and, if required, edit the contents of ''(mountpath)/boot/grub/device.map''
+       * ''grub-install --root-directory=(mountpath) /dev/targetdevice'' #entire device, not partition
+       * optional: ''apt-get -y install
grub2'' # reinstall grub2 if that is what you were using before
+       * create a boot loader configuration file using the following template:
  <file - menu.lst>
  # sample grub-legacy menu.lst for booting X2Go-TCE from local media
- # Depending on your setup, this goes either into C:\menu.lst or C:\boot\grub\menu.lst (/boot/grub/menu.lst).
+ # Depending on your setup, this goes either into C:\menu.lst or C:\boot\grub\menu.lst, or /boot/grub/menu.lst.
  # C:\menu.lst is recommended for NTFS, /boot/grub/menu.lst for ext*. 
  # Make sure you do not have menu.lst files at both locations.
  
  default 0
@@ -342,9 +352,14 @@
  kernel          /boot/X2Go-live2/x2go-tce-vmlinuz boot=live components noswap aufs rd.luks=0 rd.lvm=0 rd.md=0 rd.dm=0 kernel.sysrq=1 keep_bootcon sysrq_always_enabled rd.driver.pre=loop rd.noverifyssl rd.skipfsck rd.live.overlay.check rd.live.overlay.reset rd.live.ram log_buf_len=1M quickreboot consoleblank=0 kernel.sysrq=1 keep_bootcon sysrq_always_enabled
rootwait=120 silent quiet splash lang=de vconsole.keymap=de keyboard-layouts=de locales=de_DE.UTF-8 hostname=localhost noroot nouser quiet splash findiso=/boot/X2Go-live2/x2go-tce-squashfs-only.iso FURTHER-OPTIONS-GO-HERE
  initrd          /boot/X2Go-live2/x2go-tce-initrd.img
  
  </file>
-     * or, for syslinux, use these three files as templates:
+ 
+ === Installing syslinux ===
+ FIXME
+     * install syslinux (should work with FAT* as well as ext*)
+ 
+     * for syslinux, use these three files as templates:
  <file - syslinux.cfg>
  menu title X2Go-TCE
  # This says "password" in md5
  menu master passwd $1$v4.0xYdG$32uzkKsup9c1RsHZlzfQs1
@@ -372,9 +387,12 @@
          initrd /boot/X2Go-live2/x2go-tce-initrd.img
          append boot=live components noswap aufs rd.luks=0 rd.lvm=0 rd.md=0 rd.dm=0 kernel.sysrq=1 keep_bootcon sysrq_always_enabled rd.driver.pre=loop rd.noverifyssl rd.skipfsck rd.live.overlay.check rd.live.overlay.reset rd.live.ram log_buf_len=1M quickreboot
consoleblank=0 kernel.sysrq=1 keep_bootcon sysrq_always_enabled rootwait=120 silent quiet splash lang=de vconsole.keymap=de keyboard-layouts=de locales=de_DE.UTF-8 hostname=localhost noroot nouser quiet splash findiso=/boot/X2Go-live2/x2go-tce-squashfs-only.iso FURTHER-OPTIONS-GO-HERE
  </file>
  
- FIXME This page is missing a section/subpage that explains how to install GRLDR/GRLDR.mbr from GRUB4DOS on Windows, so you don't have to overwrite the Windows MBR.
+ === Installing GRUB4DOS ===
+ FIXME
+   * Installing GRUB4DOS allows you to keep the original Windows bootloader installed.
+   * install GRLDR and GRLDR.mbr from GRUB4DOS into C:\ (assuming an NTFS file system) AND make the appropriate changes to activate it (edit boot.ini on XP systems, use bcdedit.exe on Vista and newer)
  
  This is done by chainloading GRUB4DOS from the native Microsoft Windows Bootloader
    * These steps all require Administrator privileges
    * For Windows XP, you need to edit ''C:\boot.ini''
@@
-411,9 +429,13 @@
  endlocal
  
  </file>
  
- FIXME This page is missing a section/subpage that explains how the autoupdate process works with NTFS-formatted local storage (requires using ''findiso=/path/to/iso/name.iso'' and, for the actual autoupdating, ''toram'', ''updateurl'', and ''ntfs-uuid'')
+   * create the boot loader configuration file(s):
+     * you can use the template for GRUB-Legacy from above, but in that case, you cannot use the autoupdate feature, as the boot partition will be locked in read-only mode.
+     * to be able to use the autoupdater, use the template below
+     * you must replace the xxx'es in the ''ntfs-uuid='' parameter with the Volume Serial Number listed in the output of ''vol c:'' (Windows command) or with the UUID from the output of ''blkid /dev/targetpartition'' 
+     * 
  <file - menu.lst>
  # sample grub-legacy menu.lst for booting X2Go-TCE from NTFS-formatted local media
  # Depending on your setup, this goes either into C:\menu.lst or
C:\boot\grub\menu.lst.
  # C:\menu.lst is recommended. 


-- 
This mail was generated by DokuWiki at
http://wiki.x2go.org/



More information about the x2go-commits mailing list