Показать страницуИстория страницыСсылки сюдаCopy this pageExport to MarkdownODT преобразованиеНаверх Вы загрузили старую версию документа! Сохранив её, вы создадите новую текущую версию с этим содержимым. Медиафайлы{{tag>os linux distrib}} ====== ElementaryOS ====== * [[ubuntu:pantheon|Pantheon Desktop Environment]] * [[system:gala-wm|Gala WM]] - Менеджер окон ===== Restore boot ===== * sudo mount /dev/sda2 /mnt * sudo mount /dev/sda3 /mnt/home * mount -t proc proc /mnt/proc * mount -t sysfs sys /mnt/sys * mount -o bind /dev /mnt/dev * mount -t devpts pts /mnt/dev/pts/ * cp /etc/resolv.conf /mnt/etc/resolv.conf * chroot /mnt * sudo mkdir /boot/efi * sudo mount /dev/sda1 /boot/efi * sudo grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=ubuntu --recheck * sudo update-grub * apt-get install --reinstall grub-efi-amd64 * update-grub ===== GRUB ===== * mkfs.vfat -F32 /dev/sda1 * grub-install /dev/sda ===== Boot UEFI/EFI ESP ===== linux /boot/vmlinuz-3.13.0-29-generic root=/dev/sda1 initrd /boot/initrd.img-3.13.0-29-generic * sudo mkdir /boot/efi * sudo mount /dev/sda2 /boot/efi * sudo apt-get install grub-efi-amd64 * sudo grub-install /dev/sda * sudo update-grub ==== Repaire ==== * sudo add-apt-repository ppa:yannubuntu/boot-repair * sudo apt-get update * sudo apt-get install -y boot-repair && (boot-repair &) ===== Elementary OS Freya on a Mac ===== - Back your shit up - No really, make sure you have a working backup. This procedure has been tested multiple times, but it's still possible things will go wrong and lose data. - Download rEFInd (http://www.rodsbooks.com/refind/getting.html) as a "Binary zip file" and decompress it. Open Terminal and cd into the decompressed folder. - Install rEFInd to the ESP partition ($ ./install.sh --esp --alldrivers) - Mount your ESP partition ($ mkdir /Volumes/ESP && sudo mount -t msdos /dev/disk0s1 /Volumes/ESP/) - Rename the refind directory ($ mv /Volumes/ESP/EFI/refind /Volumes/ESP/EFI/BOOT) - Rename the refind EFI blob ($ mv /Volumes/ESP/EFI/BOOT/refind_x64.efi /Volumes/ESP/EFI/BOOT/bootx64.efi) - Fire up Disk Utility and make a new partition/replace your old Linux install partition with a new partition formatted as FAT. Name it something catchy, like "FREYA" (it'll be overwritten in step #14) - Plug your USB drive with elementary OS Freya (If you need to make one, check this out or this for a more-stable manual guide) into your computer. - Pray - Reboot and choose the option that indicates that the OS lives on an external/USB disk. - Choose to "Try Elementary OS" and, when it boots, search for Terminal - Type $ ubiquity -b into the Terminal window - when the installer asks about partitioning, make sure you choose Something Else.... - Find the partiton you created in step #8 and format that as Ext4 and set its mount point to /. GRUB will not be installed, since you used the -b option for the installer. This setup is completely GRUB free, using rEFInd & EFI-stub loading (the new hotness). - Finish installing and restart. - Pray - Assuming all went well, you should see Ubuntu options in the rEFInd menu. Choose it. - Pray - You're now dual-booting Freya and OS X. Woot. - (optional) Make your rEFInd nicer. You can install a theme, get rid of the duplicate entries, etc. If you want to know how to do that stuff let me know and I'll document it. Here's what my setup looks like - (optional) If you use an older build, like Beta 1, the WiFi may not work out of the box. In this case you need to install the related drivers manually: - Somehow get a temporary internet connection, e.g. via your smartphone's USB/Bluetooth tethering function or (not tested yet!) a Thunderbold to RJ45 adapter - execute sudo apt-get install bcmwl-kernel-source in a terminal to install the driver and its dependenciesСохранитьПросмотрРазличияОтменить Сводка изменений Примечание: редактируя эту страницу, вы соглашаетесь на использование своего вклада на условиях следующей лицензии: CC0 1.0 Universal