<?xml version="1.0" encoding="utf-8"?>

<feed xmlns="http://www.w3.org/2005/Atom">
<title>Tyler Cipriani: pages tagged debian</title>
<link href="https://tylercipriani.com/tags/debian/"/>
<link href="https://tylercipriani.com/tags/debian/index.atom" rel="self" type="application/atom+xml"/>
<author>

<name>Tyler Cipriani</name>

</author>




<id>https://tylercipriani.com/tags/debian/</id>

<subtitle type="html">Tyler Cipriani</subtitle>
<generator uri="http://ikiwiki.info/">ikiwiki</generator>
<updated>2017-02-14T15:11:05Z</updated>
<entry>
	<title>Asus debian jessie install</title>

	<id>https://tylercipriani.com/blog/2015/06/08/asus-deiban-jessie-install/</id>

	<link href="https://tylercipriani.com/blog/2015/06/08/asus-deiban-jessie-install/"/>

	<author><name>Tyler Cipriani</name></author>


	<rights type="html" xml:lang="en">

		&lt;a href=&quot;https://creativecommons.org/licenses/by-sa/4.0/&quot;&gt;Creative Commons Attribution-ShareAlike License&lt;/a&gt;
		Copyright © 2017 Tyler Cipriani

	</rights>



	<category term="computing" />

	<category term="debian" />

	<category term="notes" />


	<updated>2017-02-14T15:11:05Z</updated>
	<published>2015-06-08T16:48:42Z</published>


	<content type="html" xml:lang="en">
	&lt;ol start=&quot;0&quot; type=&quot;1&quot;&gt;
&lt;li&gt;&lt;p&gt;Reboot, hitting F2 over-and-over&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Turn off Fastboot and Secureboot in UEFI&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Download Non-free firmware&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;http://www.linuxquestions.org/questions/debian-26/how-to-provide-non-free-firmware-files-to-the-debian-jessie-installer-4175542680/&quot;&gt;Linux Questions Answer&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://packages.debian.org/jessie/all/firmware-iwlwifi/download&quot;&gt;firmware-iwlwifi download&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Extract firmware from deb&lt;/p&gt;
&lt;p&gt;ar xv firmware-iwlwifi.deb tar xvf data.tar.xz&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Copy to ext4 formatted sd-card&lt;/p&gt;
&lt;p&gt;mkfs.ext4 /dev/[sd-card] mount -t ext4 /dev/[sd-card] /mnt/sd-card cp -r lib/firmware/* /mnt/sd-card&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Insert Install Media&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Setup installer to recognize dmraid&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;https://wiki.debian.org/DebianInstaller/SataRaid&quot;&gt;SataRaid DebianInstaller&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Hit ‘E’ with ‘Install’ selected&lt;/li&gt;
&lt;li&gt;append ‘dmraid=true’ to eol&lt;/li&gt;
&lt;li&gt;F10 to save-and-exit&lt;/li&gt;
&lt;/ul&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Detect network hardware&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Ctrl-Alt F2&lt;/li&gt;
&lt;li&gt;mkdir /lib/firmware&lt;/li&gt;
&lt;li&gt;blkid (to list mounts)&lt;/li&gt;
&lt;li&gt;mount -t ext4 /dev/sdd1 /lib/firmware&lt;/li&gt;
&lt;li&gt;modprobe ahci&lt;/li&gt;
&lt;li&gt;Ctrl-Alt F1 &lt;yes&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Manual partition&lt;/p&gt;
&lt;p&gt;https://wiki.debian.org/DebianInstaller/SoftwareRaidRoot&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Run live disk, chroot, fuck around&lt;/p&gt;
&lt;p&gt;http://forums.debian.net/viewtopic.php?f=17&amp;amp;t=116036&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Troubleshooting:&lt;/p&gt;
&lt;p&gt;https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=711147&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Show root partition:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;cat /proc/cmdline&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;initramfs modules&lt;/p&gt;
&lt;p&gt;/etc/initramfs-tools/modules update-initramfs –k all –u&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Large xterm:&lt;/p&gt;
&lt;p&gt;xterm -fn 10x20&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;chroot&lt;/p&gt;
&lt;p&gt;boot ubuntu live sudo -i cryptsetup luksOpen /dev/mapper/isw_cejababahfd_ASUS_03 cryptroot lvm vgscan lvm vgchange -ay mount /dev/mapper/taskmaster–vg-root /mnt mount /dev/mapper/isw_cejababahfd_ASUS_02 /mnt/boot mount -o bind /sys /mnt/sys mount -t proc /proc /mnt/proc mount -o bind /dev /mnt/dev chroot /mnt&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;chroot &amp;amp; install dmraid&lt;/p&gt;
&lt;p&gt;chroot apt-get install dmraid initramfs modules&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;break raid:&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;http://ubuntuforums.org/showthread.php?t=2193133&amp;amp;page=2&amp;amp;p=12913689#post12913689&lt;/p&gt;
&lt;section id=&quot;for-realz-steps&quot; class=&quot;level2&quot;&gt;
&lt;h2&gt;For realz Steps! &lt;a href=&quot;https://tylercipriani.com/tags/debian/#for-realz-steps&quot;&gt;¶&lt;/a&gt;&lt;/h2&gt;
&lt;ol type=&quot;1&quot;&gt;
&lt;li&gt;Download Ubuntu 14.04 Live OS and Debian 8.1.0 netinst&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Copy to a Ubuntu USB Drive:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;use lsblk/blkid to find USB drive name without number, e.g. /dev/sdb NOT /dev/sdb1&lt;/li&gt;
&lt;li&gt;&lt;code&gt;dd bs=4M ~/Downloads/ubuntu-14.04.2-desktop-amd64.iso of=/dev/[usbdrive-without-number]&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Download Non-free firmware&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;http://www.linuxquestions.org/questions/debian-26/how-to-provide-non-free-firmware-files-to-the-debian-jessie-installer-4175542680/&quot;&gt;Linux Questions Answer&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://packages.debian.org/jessie/all/firmware-iwlwifi/download&quot;&gt;firmware-iwlwifi download&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Extract firmware from deb&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;ar xv firmware-iwlwifi.deb&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;tar xvf data.tar.xz&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Copy to ext4 formatted sd-card&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;mkfs.ext4 /dev/[sd-card]&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;mount -t ext4 /dev/[sd-card] /mnt/sd-card&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;cp -r lib/firmware/* /mnt/sd-card&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Boot Ubuntu from usb/change UEFI opts&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Insert Ubuntu USB drive in Asus, Boot while holding F2&lt;/li&gt;
&lt;li&gt;Boot → Fastboot [Disabled]&lt;/li&gt;
&lt;li&gt;Security → Secure Boot Menu → Secure Boot Control [Disabled]&lt;/li&gt;
&lt;li&gt;Advanced → SATA Configuration → SATA Mode Selection [AHCI]&lt;/li&gt;
&lt;li&gt;Boot → Boot Option Priorites (hit + until USB drive is at the top)&lt;/li&gt;
&lt;li&gt;F10 (save and exit)&lt;/li&gt;
&lt;/ul&gt;&lt;/li&gt;
&lt;li&gt;Try Ubuntu without installing&lt;/li&gt;
&lt;li&gt;Enable network, start terminal (Start → uxterm → xterm -fn 10x20)&lt;/li&gt;
&lt;li&gt;sudo gparted, delete all partitions on /dev/sda /dev/sdb&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Create partition table on /dev/sdb:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Select /dev/sdb&lt;/li&gt;
&lt;li&gt;Device → Create Partition Table…&lt;/li&gt;
&lt;/ul&gt;&lt;/li&gt;
&lt;li&gt;Shutdown, remove usb&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Copy Debian netinst to USB Drive:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;use lsblk/blkid to find USB drive name without number, e.g. /dev/sdb NOT /dev/sdb1&lt;/li&gt;
&lt;li&gt;&lt;code&gt;sudo dd bs=4M if=Downloads/debian-8.0.0-amd64-netinst.iso of=[usbdrive-without-number]&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Detect network hardware&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Ctrl-Alt F2&lt;/li&gt;
&lt;li&gt;mkdir /lib/firmware&lt;/li&gt;
&lt;li&gt;blkid (to list mounts)&lt;/li&gt;
&lt;li&gt;mount -t ext4 /dev/sdd1 /lib/firmware&lt;/li&gt;
&lt;li&gt;modprobe ahci&lt;/li&gt;
&lt;li&gt;Ctrl-Alt F1 &lt;yes&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Partition Disks&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Manual
&lt;ol type=&quot;1&quot;&gt;
&lt;li&gt;sda &amp;amp; sbd delete existing partitions&lt;/li&gt;
&lt;li&gt;sda1 256MB EFI System partition&lt;/li&gt;
&lt;li&gt;sda2 512MB mountat /boot ext4&lt;/li&gt;
&lt;li&gt;sda3 REMAINDER physical volume for raid&lt;/li&gt;
&lt;li&gt;sdb1 ALL physical volument for raid&lt;/li&gt;
&lt;li&gt;configure software raid, raid0 [x]sda3 [x]sdb1&lt;/li&gt;
&lt;li&gt;raid0 disk1 use as physical volume for encryption&lt;/li&gt;
&lt;li&gt;configure encrypted volumes [x]/dev/md0&lt;/li&gt;
&lt;li&gt;encrypted-disk 1: use as physical volume for lvm&lt;/li&gt;
&lt;li&gt;configure lvm volume group&lt;/li&gt;
&lt;li&gt;20 GB / ; 4 GB swap ; remainder /home&lt;/li&gt;
&lt;/ol&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Post xmonad-install disable GDM login:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;https://github.com/thcipriani/TheSetup/blob/master/puppet/modules/haskell/manifests/debian.pp#L38-L50&quot;&gt;XMonad Install&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://github.com/thcipriani/TheSetup/blob/master/puppet/modules/haskell/manifests/debian.pp#L38-L50&quot;&gt;Disable GDM systemd&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;/section&gt;

	</content>


	<link rel="comments" href="//tylercipriani.com/blog/2015/06/08/asus-deiban-jessie-install/#comments" type="text/html" />


	<link rel="comments" href="//tylercipriani.com/blog/2015/06/08/asus-deiban-jessie-install/comments.atom" type="application/atom+xml" />

</entry>

</feed>
