[Tails-dev] Manually Install Using Mac (without rEFInd)

2014-05-03 Thread Scorpion
Hi there,

I just got off IRC with a problem, where noone seemed to be able to help
me. However, people did ask me to email the way I created a bootable USB
for Mac without having to install rEFInd on the host computer.

You will find the step-by-step instructions below. I will also post my
problem, hoping someone involved in development and who is Mac savvy has a
solution for me! At least, this may speed up problem solving a bit.

Currently, the only option provided on the website to manually install
using Mac is here:
https://tails.boum.org/doc/first_steps/installation/manual/mac/index.en.html-
however, it requires rEFInd to be installed on the Mac computer,
something people might not want. Instead, follow the steps below to create
a bootable USB which can immediately be used. For this process, I used
MacBook Air 6-1 (mid 2013).


   - Download Tails ISO from the website, and copy it onto the desktop
   (keep the original somewhere safe).

   - Download syslinux (
   
http://ftp.debian.org/debian/pool/main/s/syslinux/syslinux_4.02+dfsg.orig.tar.gz),
   extract, and copy isohybrid.pl from the /utils folder to the desktop.

   - Open Terminal (Applications > Utilities > Terminal.app)

   - Change to desktop folder

   - Type: cd desktop

   - Type: perl isohybrid.pl *[tails.iso]*

   - (replace *[tails.iso]* with the file name without [ ], or drag the
   file and drop on terminal window, to paste the path and file name)

   - Convert ISO to Mac IMG

   - Type: hdiutil convert -format UDRW -o *[target] [tails.iso]*

   - (replace *[target]* with IMG name without [ ] (extension DMG will
   automatically be added), replace *[tails.iso]* with ISO name without [ ]

   - If USB stick is plugged in, unplug it

   - Type: diskutil list

   - Plug in USB stick

   - Type: diskutil list

   - Determine the device node of the USB stick (e.g. /dev/disk2)

   - Type: diskutil unmountDisk /dev/disk*N*

   - (replace *N* with number of device node as seen after previous
   command, and don't remove USB stick after unmounting)

   - Type: sudo dd if=*[target.dmg]* of=/dev/rdisk*N* bs=1m

   - (Replace *[target.dmg]* with the image created earlier without [ ],
   replace *N* with number of device node -and note the rdisk- *ENTERING
   THE WRONG NUMBER MAY COMPROMISE YOUR MAC BOOT DISK!* You can also use
   disk instead of rdisk, but rdisk will be faster)

   - If you see the error *dd: Invalid number '1m'* you are using GNU dd.
   Use the same command but replace *bs=1m* with *bs=1M*

   - If you see the error *dd: /dev/diskN: Resource busy*, make sure the
   disk is not in use. Start the 'Disk Utility.app' and unmount (don't eject)
   the drive

   - Wait until the prompt returns.

   - Type: diskutil eject /dev/disk*N*

   - (Replace *N* with number of device node. Remove USB stick, reboot Mac
   and hold alt/option key while the Mac is restarting. When you insert the
   USB stick, you should see a new disk which you can select and boot from it.
   However, on my computer it's called Windows for some reason (probably
   because I use BootCamp and have both Mac and Windows installed)


The only problem I have is that WiFi won't work. Since the MacBook Air has
no ethernet port, you can see how this poses a problem.

I tried installing drivers using the websites
https://wiki.debian.org/InstallingDebianOn/Apple/MacBookAir/6-1 and
https://wiki.debian.org/wl, but wireless-tools gives me an error regarding
kernel headers not found, and on IRC people tell me I can't install any
drivers. So if you have a solution to this little problem, that would be
great! In the mean time, the links provided could help you add drivers for
future versions, possibly.

In case of any reply regarding my problem, please note that I am new to
Mac, very new to Tails, and rather inexperienced with Linux or IRC.

Best regards,
Scorpion / ScorpsPortal
___
Tails-dev mailing list
Tails-dev@boum.org
https://mailman.boum.org/listinfo/tails-dev
To unsubscribe from this list, send an empty email to 
tails-dev-unsubscr...@boum.org.

Re: [Tails-dev] Manually Install Using Mac (without rEFInd)

2014-05-03 Thread Garry Fokke
Note: the line 'Type: perl isohybrid.pl *[tails.iso]*' is obviously not
meant to be a link.


2014-05-03 22:59 GMT+08:00 Scorpion :

> Hi there,
>
> I just got off IRC with a problem, where noone seemed to be able to help
> me. However, people did ask me to email the way I created a bootable USB
> for Mac without having to install rEFInd on the host computer.
>
> You will find the step-by-step instructions below. I will also post my
> problem, hoping someone involved in development and who is Mac savvy has a
> solution for me! At least, this may speed up problem solving a bit.
>
> Currently, the only option provided on the website to manually install
> using Mac is here:
> https://tails.boum.org/doc/first_steps/installation/manual/mac/index.en.html- 
> however, it requires rEFInd to be installed on the Mac computer,
> something people might not want. Instead, follow the steps below to create
> a bootable USB which can immediately be used. For this process, I used
> MacBook Air 6-1 (mid 2013).
>
>
>- Download Tails ISO from the website, and copy it onto the desktop
>(keep the original somewhere safe).
>
>- Download syslinux (
>
> http://ftp.debian.org/debian/pool/main/s/syslinux/syslinux_4.02+dfsg.orig.tar.gz),
>extract, and copy isohybrid.pl from the /utils folder to the desktop.
>
>- Open Terminal (Applications > Utilities > Terminal.app)
>
>- Change to desktop folder
>
>- Type: cd desktop
>
>- Type: perl isohybrid.pl *[tails.iso]*
>
>- (replace *[tails.iso]* with the file name without [ ], or drag the
>file and drop on terminal window, to paste the path and file name)
>
>- Convert ISO to Mac IMG
>
>- Type: hdiutil convert -format UDRW -o *[target] [tails.iso]*
>
>- (replace *[target]* with IMG name without [ ] (extension DMG will
>automatically be added), replace *[tails.iso]* with ISO name without [
>]
>
>- If USB stick is plugged in, unplug it
>
>- Type: diskutil list
>
>- Plug in USB stick
>
>- Type: diskutil list
>
>- Determine the device node of the USB stick (e.g. /dev/disk2)
>
>- Type: diskutil unmountDisk /dev/disk*N*
>
>- (replace *N* with number of device node as seen after previous
>command, and don't remove USB stick after unmounting)
>
>- Type: sudo dd if=*[target.dmg]* of=/dev/rdisk*N* bs=1m
>
>- (Replace *[target.dmg]* with the image created earlier without [ ],
>replace *N* with number of device node -and note the rdisk- *ENTERING
>THE WRONG NUMBER MAY COMPROMISE YOUR MAC BOOT DISK!* You can also use
>disk instead of rdisk, but rdisk will be faster)
>
>- If you see the error *dd: Invalid number '1m'* you are using GNU dd.
>Use the same command but replace *bs=1m* with *bs=1M*
>
>- If you see the error *dd: /dev/diskN: Resource busy*, make sure the
>disk is not in use. Start the 'Disk Utility.app' and unmount (don't eject)
>the drive
>
>- Wait until the prompt returns.
>
>- Type: diskutil eject /dev/disk*N*
>
>- (Replace *N* with number of device node. Remove USB stick, reboot
>Mac and hold alt/option key while the Mac is restarting. When you insert
>the USB stick, you should see a new disk which you can select and boot from
>it. However, on my computer it's called Windows for some reason (probably
>because I use BootCamp and have both Mac and Windows installed)
>
>
> The only problem I have is that WiFi won't work. Since the MacBook Air has
> no ethernet port, you can see how this poses a problem.
>
> I tried installing drivers using the websites
> https://wiki.debian.org/InstallingDebianOn/Apple/MacBookAir/6-1 and
> https://wiki.debian.org/wl, but wireless-tools gives me an error
> regarding kernel headers not found, and on IRC people tell me I can't
> install any drivers. So if you have a solution to this little problem, that
> would be great! In the mean time, the links provided could help you add
> drivers for future versions, possibly.
>
> In case of any reply regarding my problem, please note that I am new to
> Mac, very new to Tails, and rather inexperienced with Linux or IRC.
>
> Best regards,
> Scorpion / ScorpsPortal
>
___
Tails-dev mailing list
Tails-dev@boum.org
https://mailman.boum.org/listinfo/tails-dev
To unsubscribe from this list, send an empty email to 
tails-dev-unsubscr...@boum.org.

Re: [Tails-dev] Manually Install Using Mac (without rEFInd)

2014-05-14 Thread sajolida
Scorpion:
> I just got off IRC with a problem, where noone seemed to be able to help
> me. However, people did ask me to email the way I created a bootable USB
> for Mac without having to install rEFInd on the host computer.
> 
> You will find the step-by-step instructions below. I will also post my
> problem, hoping someone involved in development and who is Mac savvy has a
> solution for me! At least, this may speed up problem solving a bit.
> 
> Currently, the only option provided on the website to manually install
> using Mac is here:
> https://tails.boum.org/doc/first_steps/installation/manual/mac/index.en.html-
> however, it requires rEFInd to be installed on the Mac computer,
> something people might not want. Instead, follow the steps below to create
> a bootable USB which can immediately be used. For this process, I used
> MacBook Air 6-1 (mid 2013).

Hi,

Thanks a lot for proposing those instructions.

Actually, the next version of Tails (1.1) will include support for UEFI,
and that will greatly improve the support for Mac, including without
having to install rEFInd.

See https://labs.riseup.net/code/issues/6242

Can you confirm that this would work?

If you want to test our experimental ISO images with UEFI support:

https://tails.boum.org/news/test_UEFI/

So the recommended workflow with Mac starting from 1.1 would be:

  - Bootstrap from DVD. This works without rEFInd, right?
  - Clone onto USB.
  - Enjoy.

Can you confirm this would work?

In that case, I'm tempted to move the instructions for manual
installation on Mac (/doc/first_steps/installation/manual/mac/) in the
"Advanced topics" section.

>- Download Tails ISO from the website, and copy it onto the desktop
>(keep the original somewhere safe).
> 
>- Download syslinux (
>
> http://ftp.debian.org/debian/pool/main/s/syslinux/syslinux_4.02+dfsg.orig.tar.gz),
>extract, and copy isohybrid.pl from the /utils folder to the desktop.
> 
>- Open Terminal (Applications > Utilities > Terminal.app)
> 
>- Change to desktop folder
> 
>- Type: cd desktop
> 
>- Type: perl isohybrid.pl *[tails.iso]*
> 
>- (replace *[tails.iso]* with the file name without [ ], or drag the
>file and drop on terminal window, to paste the path and file name)
> 
>- Convert ISO to Mac IMG
> 
>- Type: hdiutil convert -format UDRW -o *[target] [tails.iso]*
> 
>- (replace *[target]* with IMG name without [ ] (extension DMG will
>automatically be added), replace *[tails.iso]* with ISO name without [ ]
> 
>- If USB stick is plugged in, unplug it
> 
>- Type: diskutil list
> 
>- Plug in USB stick
> 
>- Type: diskutil list
> 
>- Determine the device node of the USB stick (e.g. /dev/disk2)
> 
>- Type: diskutil unmountDisk /dev/disk*N*
> 
>- (replace *N* with number of device node as seen after previous
>command, and don't remove USB stick after unmounting)
> 
>- Type: sudo dd if=*[target.dmg]* of=/dev/rdisk*N* bs=1m
> 
>- (Replace *[target.dmg]* with the image created earlier without [ ],
>replace *N* with number of device node -and note the rdisk- *ENTERING
>THE WRONG NUMBER MAY COMPROMISE YOUR MAC BOOT DISK!* You can also use
>disk instead of rdisk, but rdisk will be faster)
> 
>- If you see the error *dd: Invalid number '1m'* you are using GNU dd.
>Use the same command but replace *bs=1m* with *bs=1M*
> 
>- If you see the error *dd: /dev/diskN: Resource busy*, make sure the
>disk is not in use. Start the 'Disk Utility.app' and unmount (don't eject)
>the drive
> 
>- Wait until the prompt returns.
> 
>- Type: diskutil eject /dev/disk*N*
> 
>- (Replace *N* with number of device node. Remove USB stick, reboot Mac
>and hold alt/option key while the Mac is restarting. When you insert the
>USB stick, you should see a new disk which you can select and boot from it.
>However, on my computer it's called Windows for some reason (probably
>because I use BootCamp and have both Mac and Windows installed)

If I understand correctly, the main improvement in your instructions is
that you convert the ISO image to DMG using hdiutil, right? Then the
rest is basically the same (with some extra improvements), no?

So maybe we can add this as an option to the current instructions, once
we moved them to the "Advanced topics" section.

> The only problem I have is that WiFi won't work. Since the MacBook Air has
> no ethernet port, you can see how this poses a problem.

I'm not sure that's something we can solve. I think that some drivers
are not available in Linux yet.

> I tried installing drivers using the websites
> https://wiki.debian.org/InstallingDebianOn/Apple/MacBookAir/6-1 and
> https://wiki.debian.org/wl, but wireless-tools gives me an error regarding
> kernel headers not found, and on IRC people tell me I can't install any
> drivers. So if you have a solution to this little problem, that would be
> great! In the mean time, the links provi

Re: [Tails-dev] Manually Install Using Mac (without rEFInd)

2014-05-15 Thread intrigeri
sajol...@pimienta.org wrote (14 May 2014 12:08:07 GMT) :
> In that case, I'm tempted to move the instructions for manual
> installation on Mac (/doc/first_steps/installation/manual/mac/) in the
> "Advanced topics" section.

Note that these instructions are still required to bootstrap the
installation process from a Mac, when one has no DVD burner handy.

> [...]
> If I understand correctly, the main improvement in your instructions is
> that you convert the ISO image to DMG using hdiutil, right? Then the
> rest is basically the same (with some extra improvements), no?

> So maybe we can add this as an option to the current instructions,

Yep. Replacing "install rEFInd" with "run hdiutil convert" will
simplify the process a bit, and if the resulting stick works fine,
without rEFInd, all right :)

Cheers,
-- 
  intrigeri
  | GnuPG key @ https://gaffer.ptitcanardnoir.org/intrigeri/intrigeri.asc
  | OTR fingerprint @ https://gaffer.ptitcanardnoir.org/intrigeri/otr.asc
___
Tails-dev mailing list
Tails-dev@boum.org
https://mailman.boum.org/listinfo/tails-dev
To unsubscribe from this list, send an empty email to 
tails-dev-unsubscr...@boum.org.


Re: [Tails-dev] Manually Install Using Mac (without rEFInd)

2014-05-19 Thread sajolida
intrigeri:
> sajol...@pimienta.org wrote (14 May 2014 12:08:07 GMT) :
>> In that case, I'm tempted to move the instructions for manual
>> installation on Mac (/doc/first_steps/installation/manual/mac/) in the
>> "Advanced topics" section.
> 
> Note that these instructions are still required to bootstrap the
> installation process from a Mac, when one has no DVD burner handy.

According to
https://en.wikipedia.org/wiki/MacBook_Pro#Technical_specifications,
MacBook have DVD burner since late 2006. So I guess the same holds for
other Mac computers.

That's why I think it's ok to consider this as a corner case and allow
us to move those pretty hardcore instructions to "Advanced topics".

Now tracked by: https://labs.riseup.net/code/issues/7263

>> If I understand correctly, the main improvement in your instructions is
>> that you convert the ISO image to DMG using hdiutil, right? Then the
>> rest is basically the same (with some extra improvements), no?
> 
>> So maybe we can add this as an option to the current instructions,
> 
> Yep. Replacing "install rEFInd" with "run hdiutil convert" will
> simplify the process a bit, and if the resulting stick works fine,
> without rEFInd, all right :)

Now tracked by: https://labs.riseup.net/code/issues/7262

-- 
sajolida




signature.asc
Description: OpenPGP digital signature
___
Tails-dev mailing list
Tails-dev@boum.org
https://mailman.boum.org/listinfo/tails-dev
To unsubscribe from this list, send an empty email to 
tails-dev-unsubscr...@boum.org.

Re: [Tails-dev] Manually Install Using Mac (without rEFInd)

2014-05-25 Thread intrigeri
sajol...@pimienta.org wrote (19 May 2014 12:03:10 GMT) :
> intrigeri:
>> Note that these instructions are still required to bootstrap the
>> installation process from a Mac, when one has no DVD burner handy.

> According to
> https://en.wikipedia.org/wiki/MacBook_Pro#Technical_specifications,
> MacBook have DVD burner since late 2006. So I guess the same holds for
> other Mac computers.

I was thinking of MacBook Air owners.

> That's why I think it's ok to consider this as a corner case and allow
> us to move those pretty hardcore instructions to "Advanced topics".

Your call, as long as you take MacBook Air into account :)

Cheers,
-- 
  intrigeri
  | GnuPG key @ https://gaffer.ptitcanardnoir.org/intrigeri/intrigeri.asc
  | OTR fingerprint @ https://gaffer.ptitcanardnoir.org/intrigeri/otr.asc
___
Tails-dev mailing list
Tails-dev@boum.org
https://mailman.boum.org/listinfo/tails-dev
To unsubscribe from this list, send an empty email to 
tails-dev-unsubscr...@boum.org.