Linux install party: Difference between revisions

From XPUB & Lens-Based wiki
No edit summary
No edit summary
 
(22 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[wikipedia:List of Linux distributions]]
{{underconstruction}}


We tend to use in the course: [http://debian.org debian] & [http://ubuntu.com/ ubuntu].
The idea is to setup your laptop for dual (or triple) booting. This means that in addition to the software that came with your laptop, one or more additional [[wikipedia:Operating system|operating systems]] will be place on the computer to be selected at "boot" time (when the computer is first switched on.
 
In the Networked Media Design course, we use the GNU/Linux operating system as a means of "opening the black box" of software, and to take a critical look at software and design.
 
The [[wikipedia:List of distribution| linux distributions]] we will work are based on a project called [http://debian.org Debian]. [http://crunchbang.org/download/ Crunchbang] and [http://ubuntu.com/ Ubuntu] are derivatives of the debian system with rather different approaches.


( see [http://upload.wikimedia.org/wikipedia/commons/6/69/DebianFamilyTree1210.svg debian family tree])
( see [http://upload.wikimedia.org/wikipedia/commons/6/69/DebianFamilyTree1210.svg debian family tree])


[http://www.flickr.com/search/?q=fosdem%202014 FOSDEM 2014]
http://akamaicovers.oreilly.com/images/9780596154493/cat.gif
 
== Tools ==
=== unetbootin ===
http://unetbootin.sourceforge.net/
 
Unet bootin is a cross platform (window, mac, and linux) program to create bootable USB sticks.
 
=== boot-repair-disc ===
* Useful when things go wrong with booting
 
http://sourceforge.net/projects/boot-repair-cd/
 
== Mac / OS X ==
 
Generally, the idea is to use the Mac's Disk Utility to shrink the main OSX/hfs partition and then to (USB) boot to install linux in the free space you create.
* http://superuser.com/questions/72896/cannot-resize-os-x-partition
Work around: copy a lot of data off the hard drive (temporarily), say your Movies folder, and then try to resize again. Once the partition has successfully be resized, you can copy the files back.
* [http://support.apple.com/kb/ht1533 Starting a mac from a DVD (special keys)] Starting up the Mac with the ALT key pressed should allow you to pick a USB stick with a Linux (Debian) bootable installer.
 
  Roel's unsolicited advice for osx:
    #this method worked for me in the past, because often apple refuses to recognize bootable discs and dualboots
    #
    #
    - Install [http://www.rodsbooks.com/refind/ refind]
    - Use bootcamp to do the partitioning etc
    - shut down, insert your bootable usb drive/cd, boot 
    - you should see some refit menu, select the drive/cd. If you don't see it press escape to reload
    - using the live cd software, repartition the partition that bootcamp made:
    - if you have a 64bit system, make three partitions, a swap, uefi and ext4 partition
    - install everything and reboot. if it crashes while booting into linux. try setting [http://ubuntuforums.org/showthread.php?t=1613132 nomodeset]
    - if you get gfx problems have a look at [http://pzwart3.wdka.hro.nl/wiki/Sgfxi sgfxi]
    - ???
    - sudo apt-get install profit


With Windows 8, the BIOS of the computer is now using [[UEFI]],
== Windows ==
* Presing shift key when selecting windows restart (and hold it?) opens a special menu on restarting...
* http://help.ubuntu.com/community/UEFI
Pressing shift while selecting restart (in the Power "charm") seems to bring up the UEFI settings.


== Things to do once you've installed linux... ==
* [http://tuxradar.com/content/take-linux-filesystem-tour/ Take a tour of the filesystem]


== Notes ==
Max's MacBook Pro, running 10.6, booted from the Debian NetInstall AMD64 USB stick using Alt key on bootup.
Max's MacBook Pro, running 10.6, booted from the Debian NetInstall AMD64 USB stick using Alt key on bootup.
Debian standard installer works, asking for wireless driver.
Debian standard installer works, asking for wireless driver.
Line 16: Line 57:
  brcm/bcm43XX-0.fw
  brcm/bcm43XX-0.fw


== unetbootin==
Got Lidia's machine working, BCM4331 wireless support still not in kernel.
http://unetbootin.sourceforge.net/


Unet bootin is a cross platform (window, mac, and linux) program to create bootdisk
Installed debian on Artyom's machine, and GRUB installed itself rather agressively and doesn't work -- Linux is broken and he needs to press the ALT key to manually select OSX now each startup... to be continued.
 
== Notes ==


* [http://support.apple.com/kb/ht1533 Starting a mac from a DVD (special keys)]
Installed debian on Caetano's Lenovo with Win8 and again the boot stuff isn't setup right. Tried using [http://neosmart.net/EasyBCD/ EasyBCD] but choosing debian results in a windows error (is grub maybe not setup right?)

Latest revision as of 18:01, 23 February 2014

Construction.gif This page is currently being worked on.

The idea is to setup your laptop for dual (or triple) booting. This means that in addition to the software that came with your laptop, one or more additional operating systems will be place on the computer to be selected at "boot" time (when the computer is first switched on.

In the Networked Media Design course, we use the GNU/Linux operating system as a means of "opening the black box" of software, and to take a critical look at software and design.

The linux distributions we will work are based on a project called Debian. Crunchbang and Ubuntu are derivatives of the debian system with rather different approaches.

( see debian family tree)

cat.gif

Tools

unetbootin

http://unetbootin.sourceforge.net/

Unet bootin is a cross platform (window, mac, and linux) program to create bootable USB sticks.

boot-repair-disc

  • Useful when things go wrong with booting

http://sourceforge.net/projects/boot-repair-cd/

Mac / OS X

Generally, the idea is to use the Mac's Disk Utility to shrink the main OSX/hfs partition and then to (USB) boot to install linux in the free space you create.

Work around: copy a lot of data off the hard drive (temporarily), say your Movies folder, and then try to resize again. Once the partition has successfully be resized, you can copy the files back.

  Roel's unsolicited advice for osx:
   #this method worked for me in the past, because often apple refuses to recognize bootable discs and dualboots
   #
   #
   - Install refind
   - Use bootcamp to do the partitioning etc
   - shut down, insert your bootable usb drive/cd, boot  
   - you should see some refit menu, select the drive/cd. If you don't see it press escape to reload
   - using the live cd software, repartition the partition that bootcamp made:
   - if you have a 64bit system, make three partitions, a swap, uefi and ext4 partition
   - install everything and reboot. if it crashes while booting into linux. try setting nomodeset
   - if you get gfx problems have a look at sgfxi
   - ???
   - sudo apt-get install profit

Windows

Pressing shift while selecting restart (in the Power "charm") seems to bring up the UEFI settings.

Things to do once you've installed linux...

Notes

Max's MacBook Pro, running 10.6, booted from the Debian NetInstall AMD64 USB stick using Alt key on bootup. Debian standard installer works, asking for wireless driver.

brcm/bcm43XX-0.fw

Got Lidia's machine working, BCM4331 wireless support still not in kernel.

Installed debian on Artyom's machine, and GRUB installed itself rather agressively and doesn't work -- Linux is broken and he needs to press the ALT key to manually select OSX now each startup... to be continued.

Installed debian on Caetano's Lenovo with Win8 and again the boot stuff isn't setup right. Tried using EasyBCD but choosing debian results in a windows error (is grub maybe not setup right?)