From cee90ae0fce6d6aee8d78969b60c952c8890abd6 Mon Sep 17 00:00:00 2001 From: Francis Rowe Date: Fri, 11 Jul 2014 04:53:00 -0400 Subject: Libreboot release 6 beta 1. --- (limited to 'docs/howtos/grub_boot_installer.html') diff --git a/docs/howtos/grub_boot_installer.html b/docs/howtos/grub_boot_installer.html new file mode 100644 index 0000000..9377cfc --- /dev/null +++ b/docs/howtos/grub_boot_installer.html @@ -0,0 +1,73 @@ + + + + + + + + + Libreboot documentation: installing GNU/Linux + + + +
+

Boot a GNU/Linux installer on USB

+ +
+

How to boot from USB

+

+ Connect the USB drive. Check dmesg:
+ $ dmesg +

+

+ Check that it wasn't automatically mounted. If it was, unmount it. For example:
+ $ sudo umount /dev/sdb1
+ # umount /dev/sdb1 +

+

+ dmesg told you what device it is. Overwrite the drive, writing your distro ISO to it with dd. For example:
+ $ sudo dd if=gnulinux.iso of=/dev/sdb bs=8M; sync
+ # dd if=gnulinux.iso of=/dev/sdb bs=8M; sync +

+

+ Boot it in GRUB using the "Parse ISOLINUX config (USB)" option (it's in default libreboot grub.cfg, at least). +

+

+ If the ISOLINUX parser won't work, then press C to get to GRUB command line.
+ ls
+ Get the device from above output, eg (usb0). Example:
+ cat (usb0)/isolinux/isolinux.cfg
+ Either this will show the ISOLINUX menuentries for that ISO, or link to other .cfg files, for example /isolinux/foo.cfg.
+ If it did that, then you do:
+ cat (usb0)/isolinux/foo.cfg
+ And so on, until you find the correct menuentries for ISOLINUX. +

+

+ Now look at the ISOLINUX menuentry. It'll look like:
+

+	  kernel /path/to/kernel
+	  append PARAMETERS initrd=/path/to/initrd MAYBE_MORE_PARAMETERS
+		
+ GRUB works the same way, but in it's own way. Example GRUB commands:
+ linux (usb0)/path/to/kernel PARAMETERS MAYBE_MORE_PARAMETERS
+ initrd (usb0)/path/to/initrd
+ boot
+ Of course this will vary from distro to distro. If you did all that correctly, it should now be booting the ISO + the way you specified. +

+ +
+ +

+ Copyright © 2014 Francis Rowe, All Rights Reserved.
+ See ../license.html for license conditions. +

+ + -- cgit v0.9.1