<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">Hi Tom,<br>
<br>
Great question, as the task is simple, yet somehow non-trivial.<br>
<br>
The "trick" lies much more in the order of things, rather than the actual tasks to perform. Assuming that you're looking for the easiest way to accomplish the dual boot, here is one effective installation order:<br>
<br>
0) decide whether to install 32-bit or 64-bit Ubuntu, and get the appropriate DVD. My recommendation: 64-bit. To be sure, this is completely independent of the machine's Windows 7 installation.<br>
<br>
1) blank drive: all zeros, no partitions, no partition table, nothing...<br>
<br>
2) install Windows 7. If possible, limit the size of the partition used by Windows 7.<br>
<br>
3) Ubuntu: Live DVD --> TRY FIRST<br>
<br>
4) Ubuntu: Live DVD: use your favorite partition editor to create the Ubuntu partitions. For the task at hand, GPARTED would probably work best. If the application is not available, then open a terminal and type sudo apt-get gparted<br>
<br>
--> OPTIONAL: if still needed (see also step #2), use gparted to resize (shrink) the Windows 7 system partition<br>
<br>
--> for the Ubuntu partitions, here is what I use: 4GB (swap) -- 2GB (boot) -- 16 GB (root) -- 32 GB (usr) -- all-the-rest (home)<br>
<br>
5) Ubuntu: Live DVD: "Install Ubuntu" --> when asked about *disks/partitions*, select the custom (something else) option<br>
<br>
--> you will then need to scroll through the partitions, right click the ones you have created, and then:<br>
-----> either assign a partition to serve as a SWAP space<br>
-----> or set the partition's mount point: <br>
/boot<br>
/<br>
/usr<br>
/home<br>
<br>
--> a minor irritation: in Ubuntu 12.04 and earlier versions, the window of the above screen (custom partition settings) is not sizable.<br>
<br>
6) VERIFICATION: look at the newly created /etc/crypttab and /etc/fstab, and make sure that all devices are referred to by UUID, which I believe is Ubuntu's current default. The exception to that rule is the swap partition, which is going to have two separate
records: one in /etc/crypttab (using /dev/disk/by-id), and another one in /etc/fstab (using /dev/mapper/cryptswap...)<br>
<br>
--> ALERT: referring to partitions by their UUID (or at least by their ID, as with swap partitions) is really crucial. Configuration files such as /etc/fstab and /etc/crypttab should *never* refer to partitions by their ordinal position on disk (i.e. /dev/sda1,
/dev/sda2, etc.).<br>
<br>
7) That is pretty much it! Everything else should be trivial and/or self-explanatory.<br>
<br>
POST INSTALLATION:<br>
-------------------------<br>
It probably wouldn't hurt to backup the partition table... given that your machine has only one hard drive, the command for that would be:<br>
sfdisk -d /dev/sda > laptop_partition_table_backup<br>
--> obviously, the above backup file should be saved to an external storage device:)<br>
<br>
*** Using an alternative (and more elaborate) procedure, it should even be possible to use entire-partition encryption with both operating systems. My PC at the university, for instance, has side-by-side Windows 7 and Ubuntu, which both use encrypted partitions.
In Windows 7 I use TrueCrypt's System Encryption feature, whereas for Ubuntu I use LUKS encryption for all but the /boot partition.<br>
<br>
I hope that helps! Good luck with the installation process.<br>
<br>
Zvi<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<hr tabindex="-1">
<div style="direction: ltr;" id="divRpF49280"><font color="#000000" face="Tahoma" size="2"><b>Von:</b> haifux-bounces@haifux.org [haifux-bounces@haifux.org]" im Auftrag von "Tom Balazs [tom123online@gmail.com]<br>
<b>Gesendet:</b> Samstag, 2. März 2013 12:41<br>
<b>An:</b> Haifux Post to List<br>
<b>Betreff:</b> [Haifux] Help Me Make My Laptop Dual Boot W7 / Ubuntu<br>
</font><br>
</div>
<div></div>
<div>
<div dir="ltr">
<div>I've been going a bit crazy over trying to make my laptop dual boot W7 / Ubuntu. It's the partitioning that confuses me. Please email me if you're willing to help me with this project. I would prefer to bring my computer / meet you somewhere and be with
you while you do / help me to do this.<br>
</div>
<div><br>
You can see details in my forum posts at <a href="http://ubuntuforums.org/showthread.php?t=2049797&page=2" target="_blank">
http://ubuntuforums.org/showthread.php?t=2049797&page=2</a><br>
<br>
This is the laptop I use for work, but I have my data backed up to an external hard disk and to the cloud.<br>
<br>
</div>
Tom<br>
</div>
</div>
</div>
</div>
</body>
</html>