Come installare Linux con Windows Vista a bordo


Scenario: You want the simplest way to dual-boot Vista and Linux. You’ve already installed Windows Vista and now want to dual-boot it with Ubuntu 7.04

Summary of tutorial: This is an updated tutorial – we previously used Ubuntu 6.10 and then modified the GRUB bootloader to force Ubuntu to recognise the Vista partition. In this tutorial, we’ll use Ubuntu 7.04 which does a much better job in interacting with Vista. We’ll use the Vista management tools to resize the main partition and install Ubuntu into the freed space.

This tutorial has been tested on a VMWare Workstation 6 machine and an ASUS P5AD2-based Intel system with 2GB RAM and an 80GB Seagate SATA drive.

Get started

Boot into Windows Vista and go into Disk Management – right-click My Computer, Manage, Disk Management.

Vista Disk ManagementVista Disk Management

Right-click on the main Vista partition and select Shrink Volume

Vista Disk Management - Shrink VolumeVista Disk Management – Shrink Volume

The Shrink tool will assess how much space can be freed up.

Vista Disk Management - Shrink Volume 2Vista Disk Management – Shrink Volume 2

As a rule of thumb Shrink will reduce the main system partition by about 50%. As long as the partition is big enough to begin with (at least 10GB) it should accommodate both operating systems.

Select Shrink and the tool will reduce the volume of the primary partition, leaving the rest of the disk free as unpartitioned space.

Vista Disk Management - Shrink Volume 3Vista Disk Management – Shrink Volume 3

Once that’s done, shut down the Vista machine.

Install Ubuntu

You’ll need the latest desktop ISO of Ubuntu (7.04). You can choose a list of download mirrors from the Ubuntu website, or use this link from Planetmirror. Download the ISO and burn it to CD to create an Ubuntu Live CD.

Boot the Vista machine from the Live CD and select “Start or install Ubuntu”.

Vista & Ubuntu - Install UbuntuVista & Ubuntu – Install Ubuntu

Once the Live CD has loaded, double-click the Install icon on the desktop to start the installation process.
On the Welcome screen, choose your language and select Forward.
Vista & Ubuntu - Install Ubuntu - LanguageVista & Ubuntu – Install Ubuntu – Language
On the “Where are you” (timezone) page, select your location and then Forward.
Vista & Ubuntu - Install Ubuntu - TimezoneVista & Ubuntu – Install Ubuntu – Timezone

On the next screen, choose the appropriate keyboard layout and then Forward.

Vista & Ubuntu - Install Ubuntu - KeyboardVista & Ubuntu – Install Ubuntu – Keyboard

Ubuntu will then load the disk partitioner to determine where it’s going to be installed. Choose “Manual – use the largest continuous free space”. This will automatically select the unpartitioned space we created earlier using the Shrink tool. Click Forward.

Vista & Ubuntu - Install Ubuntu - Disk PartitionerVista & Ubuntu – Install Ubuntu – Disk Partitioner

On the Migrate Documents and Settings screen, if Ubuntu finds any user accounts to migrate, feel free to import it from Vista to Ubuntu. If it doesn’t find any, obviously this isn’t an option. Click Forward.

Vista & Ubuntu - Install Ubuntu - MigrateVista & Ubuntu – Install Ubuntu – Migrate

On the “Who are you?” screen, enter your username and password details, then click Forward.

Vista & Ubuntu - Install Ubuntu - User DetailsVista & Ubuntu – Install Ubuntu – User Details

On the “Ready to install” screen, you’ll see that Ubuntu now has enough information to commence the installation. In the summary under Migrate Assistant, it should say “Windows Vista/Longhorn (loader)”. This means that regardless of whether Ubuntu found any user account to migrate, it certainly knows that Windows Vista is installed on the other partition and is aware of it. Click Install.

Vista & Ubuntu - Install Ubuntu - InstallVista & Ubuntu – Install Ubuntu – Install

See the install through and then let it boot into Ubuntu.

When the install is complete the system will reboot. When the GRUB boot menu is displayed, have a look at the last entry in the list.

Vista & Ubuntu - GRUB BootloaderVista & Ubuntu – GRUB Bootloader

After the Ubuntu boot options, there will be an entry “Other operating systems” and beneath that “Windows Vista/Longhorn loader”. By default Ubuntu will load itself after 10 seconds, but you can select the Vista option and Vista will boot normally.

Configure GRUB

If you want to modify how GRUB handles the new dualbooting environment, you need to edit the boot menu. Boot into Ubuntu and open up a Terminal window (Applications, Accessories, Terminal), and type in:

sudo cp /boot/grub/menu.lst /boot/grub/menu.lst_bak

and enter your root password when asked – this makes a backup of the GRUB menu file just in case things go wrong.

Next, type in:

sudo gedit /boot/grub/menu.lst

Dualboot - Configure Boot MenuDualboot – Configure Boot Menu

This opens up the boot menu as a text file in gedit.

Dualboot - Boot OptionsDualboot – Boot Options

There are loads of options you can change, but only a couple that you’re likely to be interested in. The default boot entry is defined by the “default” value.

The default value is 0, which means that the first entry in the list (which is Ubuntu) always gets loaded.

If you want to make it so that Windows Vista loads by default, change the value to 4, as Vista is the fifth item in the list (the numbering system starts at 0 and “Other operating systems” counts as a line).

The other way to load Windows Vista by default is to change the value for “default” from a numerical value to “saved”. Then, GRUB will load whichever boot entry has been marked with “savedefault”.

If you scroll down the list and have a look at the entries, you’ll notice that both the main Ubuntu entry and Windows Vista have been marked with “savedefault”. Remove the value for Ubuntu and Windows Vista will launch by default.

It’s also worthwhile changing the description of the Vista entry from “Windows Vista/Longhorn (loader” to just “Windows Vista”.

You can also increase the boot menu timeout – just change the value for “timeout”. You can also hide the GRUB boot menu by removing the hash in front of “hiddenmenu”. Save and exit gedit to keep any changes.

If instead of GRUB you want Vista’s bootloader to be in charge, load up the Vista installation and install EasyBCD. Go to “Manage Bootloader”, then “Reinstall the Vista Bootloader”, an GRUB is overwritten. You can then configure the Vista bootloader to add Linux to the boot menu.

fonte: apcmag.com 

Come installare Windows Vista con Linux a bordo


Scenario: You have Linux already installed but want to dual boot it with Vista on the same hard drive.Summary of tutorial: We’ll dual-boot Ubuntu 7.04 with Vista. With Ubuntu already installed and owning the entire drive, we’ll use the latest version of GParted to shrink the Linux partition to create space for a Vista install. Then, as Vista’s MBR will then overwrite GRUB, we’ll reinstall GRUB to the Linux partition and use EasyBCD to modify the Vista bootloader so that it will boot Ubuntu.This tutorial is an updated version of our previous Ubuntu/Vista dual-booting workshop. The main differences with this version are the newer versions of Ubuntu, GParted and EasyBCD, and we bypass using the DISKPART utility during the Vista install.

This tutorial has been tested on a VMWare Workstation 6 machine and an ASUS P5AD2-based Intel system with 2GB RAM and an 80GB Seagate SATA drive.

Get started

Preparing a Linux system to dual boot with Vista is very much like preparing an XP system. You first have to shrink the existing OS partition (in this tutorial, Ubuntu) to make way for Vista.

We’ll use a third-party application called GParted – the GNOME Partition Editor. GParted is available as a system application on the Ubuntu Live CD (System > Administration > GNOME Partition Editor), but we’ll use the GParted LiveCD in this workshop.

The GParted Live CD ISO is available here – burn it to CD and boot the system from the disc. The version we used was 0.3.4-7.

Boot the Linux machine from the GParted LiveCD. Depending on your system, you should just need to select the auto-configuration boot option.

Ubuntu & Vista - GPartedUbuntu & Vista – GParted


During boot, press Enter twice when prompted to select the keymap and language settings. When the main GUI loads, right-click on the main partition (depending on your setup, probably /dev/sda1) and select Resize/Move.

Ubuntu & Vista - GParted ResizeUbuntu & Vista – GParted Resize

Use the slider to create sufficient space to house the Vista installation (about 10GB) then click Resize/Move.

Ubuntu & Vista - GParted Resize 2Ubuntu & Vista – GParted Resize 2

The resize becomes a pending operation – click Apply to commit the change. Once that’s done, right-click on the /dev/sda1 partition (or the equivalent – the partition you just resized) and select Manage Flags. This partition is marked as a boot partition, and this means that the Vista installation won’t work properly while there’s a bootable non-Windows partition on the system. Remove the boot flag and click Close.

Ubuntu & Vista - GParted FlagsUbuntu & Vista – GParted Flags

And that’s it – GParted really is one of the best partitioning tools out there. Quit GParted and double-click the Shutdown icon, then shut down the system. Then, fire up the machine with the Vista install DVD.

Step through the installation process until you get to the partition selection screen. Select the newly-created space (should be Disk 0 Unallocated Space), and click Next to continue the installation.
Ubuntu & Vista - Install VistaUbuntu & Vista – Install Vista
Go and grab a coffee – Vista will install and reboot the system

Reinstall GRUB

During the installation, Vista will overwrite the MBR and GRUB will be lost. When you the machine reboots, Linux is nowhere to be seen.

Once Vista is installed the GRUB bootloader is gone and you have no way of booting Linux. However, if you simply reinstall GRUB to the MBR it will overwrite the Vista bootloader and you’ll have to manually configure GRUB to boot Vista. This can be done by the way – check out our workshop on dual-booting Vista and Ubuntu where Vista is installed first.

However, in this tutorial we’re going to keep the Vista bootloader and modify it to boot Ubuntu. But, we can’t do this without GRUB, so we’ll install it to the partition which was the Ubuntu boot partition, rather than to the MBR.

To do this, we need to boot the system using the Ubuntu Live CD.

When the CD loads, launch a terminal window (Applications > Accessories > Terminal).

Ubuntu & Vista - TerminalUbuntu & Vista – Terminal

In the terminal, type:

sudo grub

This will put you in superuser mode and launch the GRUB application.

To find the partition with the GRUB boot files, type in:

find /boot/grub/stage1

Ubuntu & Vista - sudo grubUbuntu & Vista – sudo grub

The response should be “(hd0,0)” or something similar – this is where you need to reinstall GRUB.

Set this location as root for the current session:

root (hd0,0)

Ubuntu & Vista - set rootUbuntu & Vista – set root

Then type in:

setup (hd0,0)

This will reinstall the GRUB bootloader to disk 0, partition 0. If you type in “setup (hd0)” then GRUB will be reinstalled to the MBR and will overwrite Vista’s bootloader.

Ubuntu & Vista - setup grubUbuntu & Vista – setup grub

Type in “quit”, exit the terminal window, and you’re done. Reboot the system and boot into Vista (at this point, you still won’t see any option to boot into Linux).

Ceate the Linux boot option in Vista

Boot back into Vista. Download EasyBCD 1.60 and install it. EasyBCD is third-party GUI front end to the BCEDIT bootloader editor in Vista.

Then launch the EasyBCD program. Go to Add/Remove Entries in the left menu, and then the “Linux/BSD” tab.

Ubuntu & Vista - EasyBCDUbuntu & Vista – EasyBCD

In the Linux/BSD tab, under the “Type” dropdown menu, select Grub. The default name is “NeoSmart Linux” but you can change it to “Ubuntu” or whatever. Click the Drive drop-down menu and choose the correct partition – if you installed GRUB to (hd0,0), then select Drive 0, Partition 0.

Ubuntu & Vista - EasyBCD LinuxUbuntu & Vista – EasyBCD Linux


Select “Add Entry” and then “Save”. Exit EasyBCD and restart the machine.

Ubuntu & Vista - EasyBCD UpdatedUbuntu & Vista – EasyBCD Updated

Now you should be presented with a boot menu with two boot options – Vista and Ubuntu. Select the Ubuntu boot option and it will load GRUB and boot from the Ubuntu partition.
Ubuntu & Vista - Boot MenuUbuntu & Vista – Boot Menu
And that’s pretty much it. Dual-booting any operating system with Vista can be a bit messy due to Vista’s annoying habit of ignoring all other bootloaders on the system, but you can always get around it.
fonte: apcmag.com

Come installare Linux con XP a bordo



Scenario: You want to install Linux on your system which is already running Windows XP.

Tutorial Summary: We’re assuming that Windows XP is already up and running on your system. We’ll install Ubuntu 7.04 over the top to dualboot both operating system.

This tutorial has been tested on a VMWare Workstation 6 machine and an ASUS P5AD2-based Intel system with 2GB RAM and an 80GB Seagate SATA drive.

Download Ubuntu

The first thing is to make sure you have the Ubuntu Live CD. You can certainly use Ubuntu 7.04 for this tutorial instead and it should work pretty much the same. However, the screenshots won’t be the same and there may be some steps which don’t match.

You can grab a copy of Ubuntu 7.04 from here:

http://public.planetmirror.com/pub/ubuntu/releases/7.04/ubuntu-7.04-desktop-i386.iso

Burn the ISO to a CD and you’re ready to go.

Prepare the XP System

Fortunately there’s almost no preparation needed from the perspective of the XP partition. Of course it needs sufficient space to install Ubuntu, and you can certainly create this space manually using either the latest version of the GNOME Partition Editor (available here), or use the application from the Ubuntu Live CD.

However, Ubuntu will use the same partition managing tools during installation, so we can leave it until that stage of the install.

Install Ubuntu

Boot the XP machine from the Live CD and select “Start or install Ubuntu”.

Install UbuntuXP & Ubuntu – Install Ubuntu

Once the Live CD has loaded, double-click the Install icon on the desktop to start the installation process.
On the Welcome screen, choose your language and select Forward.
Install Ubuntu - LanguageXP & Ubuntu – Install Ubuntu – Language
On the “Where are you” (timezone) page, select your location and then Forward.
Install Ubuntu - TimezoneXP & Ubuntu – Install Ubuntu – Timezone

On the next screen, choose the appropriate keyboard layout and then Forward.

Install Ubuntu - KeyboardXP & Ubuntu – Install Ubuntu – Keyboard

Now Ubuntu loads the disk partitioner. The first option, to resize the main partition and use the freed space, is pretty much the best one to go with.

Dualboot - Partition DisksDualboot – Partition Disks

The default recommendation for the new partition size is optimal, but you can move the slider up and down to change it as you see fit. If you’re feeling brave, you can also manually edit the partition table, but unless you’re really confident about what you’re doing, this isn’t recommended.

Click Forward to continue.

Ubuntu now has enough information to install, so click Install and go make a coffee.

When the install is complete the system will reboot. When the GRUB boot menu is displayed, have a look at the last entry in the list.

After the Ubuntu boot options, there will be an entry “Other operating systems” and beneath that “Microsoft Windows XP Professional” (or Home, whichever version you’re using). By default Ubuntu will load itself after 10 seconds.

Dualboot - GRUB Boot MenuDualboot – GRUB Boot Menu

If you choose to boot Windows XP at this point, it will probably launch a check on its partition. This is because the partition has been resized since last boot, and it will want to run a consistency check to make sure there are no problems.

When XP loads, it will also probably detect new hardware (again, the resized partition) and will prompt to reboot.

Dualboot - Reboot XPDualboot – Reboot XP

On reboot it will probably run through another, longer consistency check and then reboot. This is the last time you’ll need to do this.

Configure GRUB

If you want to modify how GRUB handles the new dualbooting environment, you need to edit the boot menu. Boot into Ubuntu and open up a Terminal window (Applications, Accessories, Terminal), and type in:

sudo gedit /boot/grub/menu.lst

Dualboot - Configure Boot MenuDualboot – Configure Boot Menu

This opens up the boot menu as a text file in gedit.

Dualboot - Boot OptionsDualboot – Boot Options

There are loads of options you can change, but only a couple that you’re likely to be interested in. The default boot entry is defined by the “default” value.

The default value is 0, which means that the first entry in the list (which is Ubuntu) always gets loaded.

If you want to make it so that Windows XP loads by default, change the value to 4, as XP is the fifth item in the list (the numbering system starts at 0).

The other way to load Windows XP by default is to change the value for “default” from a numerical value to “saved”. Then, GRUB will load whichever boot entry has been marked with “savedefault”.

If you scroll down the list and have a look at the entries, you’ll notice that both the main Ubuntu entry and Windows XP have been marked with “savedefault”. Remove the value for Ubuntu and Windows XP will launch by default.

You can also increase the boot menu timeout – just change the value for “timeout”. You can also hide the GRUB boot menu by removing the hash in front of “hiddenmenu”. Save and exit gedit to keep any changes.

And that’s about it. Dualbooting Windows XP and Linux when Windows is installed first is by far the easiest method of dualbooting, because most up-to-date Linux distros are very aware and accommodating of other operating systems, and GRUB is an excellent and highly flexible bootloader.

fonte: apcmag.com 

Come installare XP con Linux a bordo



Scenario: You want to install XP on your machine alongside your existing Linux installation, on the same drive. You have installed Ubuntu already.

Tutorial Summary: We’re going to use the Gnome Partition Editor (Gparted) from the Ubuntu LiveCD to shrink the main Ubuntu data partition on the hard disk and create enough space for an installation of XP.

We’ll then install XP, and, because XP overwrites the master boot record, we’ll restore the GRUB boot loader so that either XP or Linux can be selected at boot time.

This is an updated tutorial from our previous Linux/XP workshop. That version was written using Ubuntu 6.10, whereas this tutorial was written for Ubuntu 7.04.

These steps have been tested in both an ASUS P5AD2-based system with an 80GB Seagate SATA drive and a VMWare 6 virtual machine.

Prepare the Ubuntu System

The assumption is that the Ubuntu system has been installed on a single hard drive which has enough space to accommodate both operating systems.

The first step is to create enough space on the disk to install Windows XP. The Ubuntu Live CD does contains GNOME Partition Editor, which can be used to resize Linux partitions, but the Live CD for Ubuntu 7.04 has an annoying tendency to mount the filesystem while it’s checking it. This causes an partition work to bring up an error. It does work, but it’s messy. So instead we’ll use the GParted LiveCD, which acts independently of the OS and doesn’t give us any grief.

The GParted LiveCD ISO is available here – burn it to CD and boot the system from the disc. The version we used was 0.3.4-7.

Boot the Ubuntu machine from the GParted LiveCD. Depending on your system, you should just need to select the auto-configuration boot option.

Ubuntu & Vista - GParted


During boot, press Enter twice when prompted to select the keymap and language settings. When the main GUI loads, right-click on the main partition (depending on your setup, probably /dev/sda1) and select Resize/Move.

Ubuntu & Vista - GParted Resize

Use the slider to create sufficient space to house the XP installation then click Resize/Move.

Ubuntu & Vista - GParted Resize 2

Once that’s done, quit GParted and reboot the machine from the Windows XP CD.

Now, install Windows XP

Once the CD has loaded, press Enter to install Windows XP, then F8 to accept the license agreement.

When the partition screen loads, you can see that Windows Setup can see the two existing Ubuntu partitions and has interestingly assigned them drive letters (even though it can’t read them.)

The space we’ve just created is also there, so select that and hit Enter.

Windows XP - Select PartitionWindows XP – Select Partition

Because the primary active partition (/dev/hda1) has been marked as bootable, Windows can’t be installed until this partition has been marked inactive so that the new partition can take over. This is pretty much the same as installing Windows Vista. Hit Enter to make this change and then format the new partition.

Windows XP - Mark Partition ActiveWindows XP – Mark Partition Active

Unfortunately because XP detected the two Ubuntu partitions and assigned them drive letters, the new partition which Windows is going to be installed on will be assigned drive letter F:, which is definitely a non-standard drive letter for Windows.

However, it’s not that much of a problem – at least as far as Windows and therefore most other intelligent applications go.

It could be a problem for older apps which don’t look to the Windows settings and make assumptions about where they can install themselves (for example, apps that are hard coded to install to Drive C).

Reboot the system once Windows is installed and you’ll see that it boots straight into XP. Ubuntu’s GRUB bootloader in the MBR (Master Boot Record) has been overwritten, so Ubuntu isn’t bootable at this point in time.

There are ways to make the Ubuntu partition bootable while still using XP’s bootloader in the MBR. However this is fiddly and involves using FAT32 partitions, as FAT32 is readable by both XP and Ubuntu. Wherever possible I avoid using FAT32 – it’s nowhere near as optimised as NTFS, and you lose out on all the enhanced security and permissions features.

Reinstating GRUB as the system bootloader is a much better alternative – it handles pretty much any operating system you care to throw at it, and it’s very easy to administer.

Reinstall GRUB to the MBR

The next step is to reinstate GRUB as the system bootloader. Boot the system using the Ubuntu Live CD.

Go into the GNOME Partition Editor and you can see that the Windows XP Partition is detected as /dev/hda2 and has been marked as the boot partition.

It can actually stay as the boot partition, but as we’re going to reinstall GRUB it makes sense to change this – it doesn’t adversely effect XP.

Right-click the Windows partition and select Manage Flags.

Untick “boot” and select Close.

Then right-click the primary Ubuntu partition (/dev/hda1), select Manage Flags and tick “boot”, then Close. Done.

GParted - Manage FlagsGParted – Manage Flags

GParted - Mark BootableGParted – Mark Bootable

Now to reinstall GRUB. Open up Terminal (Applications, Accessories, Terminal) and type in:

sudo grub

GRUB - sudo grub

This will launch the GRUB application. Now type in:

find /boot/grub/stage1

GRUB - find grub

This will search for where GRUB has been installed, and you should get the result hd(0,0).

Change the active root to this location by typing in:

root (hd0,0)

Now we’re going to reinstall GRUB to the MBR rather than the Ubuntu partition.

If we were going to use the Windows XP bootloader then we’d reinstall GRUB to hd(0,0), but as we’re not, type in:

setup (hd0)

GRUB - reinstall grub to MBR

This restores GRUB to the MBR. Type in QUIT and then EXIT to get out of GRUB and Terminal respectively, then reboot the system. Ubuntu will load by default.

Modify the Boot Menu

What we need to do now is modify the GRUB boot menu to allow Windows XP to load. Boot the system into Ubuntu and go to Terminal. Type in:

sudo gedit /boot/grub/menu.lst

GRUB - MENU.LST

This loads the GRUB menu file (which is basically a text file) within GEdit.

Navigate down to the section which after “## ## End Default Options ##”.

These are the individual menu items in the GRUB menu.

Ubuntu & XP - GRUB MenuUbuntu & XP – GRUB Menu

To create a new entry, navigate down to the end of the list (although it can go anywhere really) and enter the following lines:

title Windows XP

root (hd0,1)

makeactivechainloader +1

GRUB - Windows XP boot option

This places an item in the boot menu to launch Windows XP from its own partition (hd0,1).

If you like, scroll up to the top of MENU.LST and find the line called TIMEOUT.

The numerical value assigned to TIMEOUT dictates how long you’ve got to go into the boot menu (in seconds) before the default boot item loads.

When configuring a dual-/multi-boot system I find it better to increase this value.

GRUB - timeout

Just above TIMEOUT is DEFAULT. This specifies which boot entry is the default.

The numbering system starts at 0 and counts upwards, so the DEFAULT = 0 means that Ubuntu is always the default entry.

If you want Windows XP to be the default, replace the value.

GRUB - default

Save MENU.LST and exit from GEdit, then restart the system.

Hit ESC when prompted to bring up the boot menu, and there’s the newly-created Windows XP entry.

Navigate to this boot item and hit Enter – Windows XP will load.

Uninstalling Windows XP

If you decide after a while that this dualbooting situation is no good and you wish to scrap Windows XP, it’s actually very easy.

Go through the process outlined above to modify the MENU.LST and remove the Windows boot entry.

Then boot off the Ubuntu Live CD and go into GNOME Partition Editor. Right-click the Windows partition (/dev/hda2) and select Delete.

GParted - Delete Partition

Then right-click the main Ubuntu partition (/dev/hda1) and select Resize/Move.

Drag the edge of the partition to reclaim the space you’ve just freed up by deleting the Windows XP partition and click Resize.

There will now be two actions waiting in the Operations window. Hit Apply and these changes are made.

GParted - Remove Windows XP

This take your system right back to the start before Windows was installed, and is actually quite a graceful exit from the dualboot scenario.

fonte: apcmag.com 

Come installare XP con Windows Vista a bordo



Scenario: You want to install Vista on your PC alongside your XP installation, on the same drive. You have installed Vista already.Tutorial Summary: We’re going to use the DISKPART on the Vista DVD to shrink the Vista partition on the hard disk and create enough space for an installation of Vista. We’ll then install XP, repair the Vista bootloader which will be overwritten during the XP installation, and then use the EasyBCD utility to configure Vista’s bootloader to boot the XP partition.

This is an updated tutorial, based on our first Windows Vista/XP dual-booting workshop. The main difference is that EasyBCD has been updated, but the processes are essentially unchanged.

This tutorial was tested on a VMWare 6 Workstation and an AcerPower SK50 system.

Prepare Windows Vista

This tutorial assumes that Vista has been installed on a partition which takes up 100% of the hard drive, so we need to create some space. Boot off the Vista DVD. Hit Next from the start screen and then select “Install now”. (If Vista came preinstalled on your machine and you don’t have a Vista install DVD, you can use the Gnome Partition Editor Gparted to do it. Our earlier tutorial on dual-booting XP and Vista if you’ve installed XP first describes how to use it.)

Install VistaInstall Vista

Don’t type in your product key and untick “Automatically activate Windows when I’m online”, then hit “Next”, and “No” when asked whether you want to enter the key.

Vista Product KeyVista Product Key

When prompted to choose the edition of Vista you’re installing you can actually select any of them as we’re not doing a Vista install at this point. Also tick “I have selected the edition of Windows that I purchased” and hit “Next”.

Vista VersionVista Version

Accept the license terms and hit “Next” again, then choose a Custom installation.

On the screen where you’re asked where you want to install Windows, you should see a single large partition marked Primary – this is where Vista is already installed.

Vista PartitionVista Partition

Press SHIFT + F10. This is a Windows PE 2.0 shortcut to open up a command window – very useful trick.

Command ToolCommand Tool

Type in DISKPART and press Enter. This opens the Microsoft DiskPart application. You need to select the active disk, so type in:

list disk

The primary disk is generally Disk 0, so type in:

select disk 0

DISKPART DiskDISKPART Disk

Now we need a list of volumes on this disk, so type in:

list volume

In this case Volume 0 is the one we want, so type in:

select volume 0

DISKPART VolumeDISKPART Volume

Now type in:

shrink

DISKPART ShrinkDISKPART Shrink

DiskPart will go off and reclaim as much of the drive as it can – you should get at least 50% of the space back.

Now type

EXIT

and

EXIT (again)

to quit the command window and get back to the install screen. Click Refresh and the partition window will update – you should now see the original Primary partition plus a brand new partition.

New PartitionsNew Partitions

This is where we will install Windows XP. Eject the DVD, restart the machine (just hit the reset button) and boot off the Windows XP CD.

Now, install Windows XP

When the Windows XP setup reaches the point where you’re prompted where it is to be installed, you’ll see that while XP can see the space we created earlier, it can also see the partition with Vista on it.

XP PartitionXP Partition

You should be able to see the space you reclaimed on the disk earlier which has become “unallocated space”.

Create a second partition using the Windows XP installer screen above by selecting the free space on the drive and pressing “C” to create a partition (if prompted, choose NTFS as the file system.)

Irritatingly, XP assigns a drive letter to this partition (C:) which means that it will use the next available drive letter after all the other physical drives have been taken into account.

This means that the system drive of the XP installation won’t be C:.

From XP’s perspective this isn’t really a problem – it’s smart enough to figure out where everything should go – but some applications make assumptions about where they should install to, and can’t cope with a non-standard Windows configuration.

This was also the case with our tutorial on dualbooting Ubuntu and XP, where Ubuntu had been installed first. However in that scenario, even though the XP system drive had a non-standard drive letter, it couldn’t read the Linux partitions so there was no danger of the two systems overlapping. This is not the case with Vista/XP.

Nonetheless, install XP as normal – there’s no need to do anything differently.

IMPORTANT NOTEafter the initial file copy, Windows XP reboots and loads up the GUI-based component of the install. You may get the following error: “A disk read error occurred – press Ctrl-Alt-Del to continue”. This is caused by a corrupt bootloader – click here to see how to fix this problem.

When the system reboots it won’t bring up a boot menu. Although XP recognises the Vista partition it doesn’t recognise Vista itself.

The Windows XP bootloader gets installed to the MBR and Vista can no longer boot.

When XP loads, open up Windows Explorer and you’ll see something interesting – a C: and (in this case) an E: drive.

The C: drive contains Windows Vista, and as Windows XP can read NTFS partitions, it can browse and modify Vista’s file structure.

More importantly, applications which have installation paths hard-coded into their install scripts rather than using Windows system parameter variables could easily dump files into C: when they should be installing to E:. This isn’t such a great situation.

Two DrivesTwo Drives

Restoring Vista and dual booting

Because you can’t use the Windows XP bootloader to boot Vista, we have to reinstate Vista’s bootloader to the MBR and configure it to manage both operating systems.

Compared with scenarios involving Ubuntu where you have to reinstall the GRUB bootloader, getting Vista up and operational again is very easy.

Boot from the Vista DVD and on the screen where you’re prompted to “Install now”, select “Repair your computer”.

Repair VistaRepair Vista

The next screen searches for local Vista installations – there should only be one, so click Next.

Choose VistaChoose Vista

This loads the System Recovery Options screen. Select the first option – Startup Repair. This looks for problems which would prevent Vista from loading (like a missing bootloader) and automatically fixes them.

Startup RepairStartup Repair

If you click on “Click here for diagnostic and repair details” and scroll to the bottom of the list, it shows that the problem detected and repaired was a corrupt boot sector (according to Vista, anyway).

Repair DiagnosticsRepair Diagnostics

Click Close and then Finish, and the system will restart and boot into Vista.

Now we need to enable dualbooting with XP, and EasyBCD is the best application to achieve this.

Download and install EasyBCD.

Launch the app and go to Add/Remove Entries.

Under “Add an Entry” and under the Windows tab and select in the Version drop-down list “Windows NT/2k/XP/2k3”.

Change the Drive to E:\ and the name to “Windows XP”, then click “Add Entry” and “Save”.

Vista & XP - EasyBCDVista & XP – EasyBCD

Reboot the system and you’ll have two entries in the Vista bootloader, and can boot into either operating system.

Vista BootloaderVista Bootloader

Removing Windows XP

If you eventually decide that dualbooting XP as the second OS isn’t all it’s cracked up to be, it’s pretty easy to undo the changes made.

Use EasyBCD to remove the Windows XP boot entry, and then go into Computer Management (right-click on Computer, Manage) and go to Disk Management.

Right-click E: drive (the Windows XP partition) and select Delete Volume.

Right-click the newly-created partition and select Delete Partition.

Then right-click the C: drive (the Vista system partition) and click Extend Volume – this opens up the Extend Volume Wizard.

Extend Volume WizardExtend Volume Wizard

The wizard gives you a readout on how much space is actually available to extend the partition – enter in how much you want to use and press Next. Vista will extend the system partition to reclaim the disk and Windows is well and truly gone.

Fixing the corrupt bootloader

If the Windows XP bootload corrupts during the install, performing a reinstall won’t fix it, nor will going into the XP Recovery Mode and attempting to repair the MBR.

Luckily, the install was up to the stage where all you need to do is be able to boot from the Windows XP partition, and the install will pick up from where it left off.

To achieve this, follow the procedure outlined above to restore the Vista bootloader (under “Restoring Vista and Dualbooting“).

This allows the system to boot into Vista, and then you can use EasyBCD to create an XP boot entry and boot into that to continue on with XP’s installation. (For details on using EasyBCD, also see the section “Restoring Vista and Dualbooting“.)

fonte: apcmag.com

Come installare Windows Vista con XP a bordo

 

Scenario: You want to install Vista on your PC alongside your XP installation, on the same drive. You have already installed XP.

Tutorial Summary: We’re going to use the DISKPART utility on the Vista DVD to shrink the Windows XP partition on the hard disk and create enough space for an installation of Vista. We’ll then install Vista and use the EasyBCD utility to modify Vista’s bootloader to get XP loading properly.

This is an updated tutorial,based on our first Windows XP/Vista dual-booting workshop. The main difference is that we’re covering using both the latest version of GParted and DISKPART to shrink the Windows XP partition.

DISKPART can shrink NTFS partitions and it’s certainly the more convenient option, but on some systems using DISKPART to shrink the volume will fail, with an vague “Access is denied” error.

This may have something to do with different disk controllers, as this was a problem on the AcerPower test system which has a SATA hard drive, but not on the VMWare system which uses a virtual IDE controller. So we’ll cover both processes

EasyBCD has also been updated since the first tutorial was written.

This tutorial was tested on a VMWare Workstation 6 virtual machine and an AcerPower SK50.

Get Started – Using GParted

We assume that before you start this tutorial, you have backed up the drive (partitions and data) that will host the two operating systems.

Your first step will be to modify the Windows XP system partition to make space for Vista using GParted

The GParted Live CD ISO is available here – burn it to CD and boot the system from the disc. The version we used was 0.3.4-7.

Boot the Linux machine from the GParted LiveCD. Depending on your system, you should just need to select the auto-configuration boot option.

Ubuntu & Vista - GParted

During boot, press Enter twice when prompted to select the keymap and language settings.

When the main GUI loads, right-click on the main Windows XP NTFS partition (depending on your setup, probably /dev/hda1) and select Resize/Move.

XP & Vista - Resize PartitionXP & Vista – Resize Partition
Use the slider to reduce the partition size and free up enough room to instal Vista (at least 10GB) and click Resize/Move.

XP & Vista - Resize Partition 2XP & Vista – Resize Partition 2

The changes haven’t actually been made, they’ve just been scheduled to run. To commit the changes and resize the partition, click Apply. GParted will ask to confirm the changes – hit OK and away you go.

Get Started – Using DISKPART

Boot the machine from the Vista DVD. Select the appropriate language and then “Install Now”.

XP & Vista - Load VistaXP & Vista – Load Vista

On the produt key page, press SHIFT + F10 to launch a Windows PE 2.0 command window. Then type in DISKPART and press enter to get into the DISKPART utility.

XP & Vista - DISKPARTXP & Vista – DISKPART

Now type in LIST VOLUME – this gives you a readout of the volumes available on the system. Select the main Windows XP volume (probably Volume 0) by typing in SELECT VOLUME 0.

XP & Vista - DISKPART VolumeXP & Vista – DISKPART Volume

Now type in SHRINK. Vista will reduce the size of Volume 0 (the selected Volume) by around 50%.

XP & Vista - DISKPART ShrinkXP & Vista – DISKPART Shrink

Once that is done, type in EXIT and EXIT again to get back to the Vista installation window.

Now Install Vista

If you used the GParted LiveCD to shrink the XP partition, you’ll need to reboot the system from the Vista install DVD. If you’ve used DISKPART then you just need to continue the installation.
Once the install gets to the install location, there should be at least two options: a partition marked as Primary and unallocated space. Select the unallocated space and click Next. The install will then commence.
XP & Vista - Install VistaXP & Vista – Install Vista

The Vista boot manager will take over the system completely, and Windows XP effectively loads via Vista. It’s all pretty seamless though, and you shouldn’t encounter any technical problems.

Modify Vista’s Bootloader

Once Vista is installed and the system reboots, you’ll be presented with a boot menu with two options: “Microsoft Windows Vista” and “An Earlier Version of Windows”.

XP & Vista - Boot MenuXP & Vista – Boot Menu

This is perhaps a little bit bland, so you’ll probably want to change it. Here’s where one of the new features of Vista comes in, and it’s not so terrific. In Windows XP if you want to modify the bootloader, just right-click on My Computer, select Properties, go to the Advanced Tab, and click Settings under Startup and Recovery, then click Edit. This opens a local file – boot.ini. It’s just a standard text file and you can change pretty much anything. Unfortunately it’s not that easy in Vista – you can still navigate to the Startup and Recovery settings, but all you can do is select which operating system is the default and modify the timeout settings.

To edit Vista’s boot manager you have to use the command line BCDEDIT utility. To access BCDEDIT, run the Command Window as an administrator and type in BCDEDIT.

Unfortunately BCDEDIT isn’t an easy tool to come to terms with, especially as it’s purely command line-driven. So, a great tool to use here is EasyBCD by NeoSmart Technologies. EasyBCD offers a GUI frontend to BCDEDIT, and makes life much easier.

Once Vista is installed, call up the browser and navigate to the EasyBCD download page – download, install and launch the application.

To configure the bootloader go to “Configure Boot” – you’ll see the two entries, for XP and Vista. To change the name of Windows XP, just overwrite “Earlier Version of Windows” with “Windows XP” and click Save Settings.

XP & Vista - Modify BootXP & Vista – Modify Boot

Reboot the system and the changes are visible. You have a dual-booting Vista and XP system. That’s all there is to it.

XP & Vista - Changed BootXP & Vista – Changed Boot

Open up Windows Explorer and there’s two hard drives – the primary disk running Vista and the secondary disk with XP installed. Restart the system and load up Windows XP, and the XP disk is now the primary, with the Vista partition running on the secondary D: drive

If you decide that dual-booting Vista and XP is not for you, EasyBCD lets you wind back the clock.

All you have to do is remove Vista’s boot manager – go to “Manage Bootloader”, select “Uninstall the Vista Bootloader” and then “Write MBR”. Restart the machine and that’s it – the XP boot loader is the only one left on the system and XP loads. You can then delete the Vista partition and use GParted to re-extend the partition to take up the entire disk, or the Extend command in Vista DISKPART.

fonte: apcmag.com

Creazione del mondo al computer

C:
C:>Sia la luce!
Comando o nome file non valido
C:>crea.exe
Comando o nome file non valido
C:>cd creation_tools
Directory non valida
C:>cd creati~1
C:CREATI~1>crea.exe
—————————–
Creation Tools Deluxe
(c) HeavenSoft
—————————–
Inserire userid [dio………]
Inserire password [onnisciente.]
Password errata.
Inserire password [onnipotente.]
Password errata.
Inserire password [system……]
Connessione in corso…————————————————————–
utente Dio collegato alle ore 12:01:00 AM, Domenica 1 marzo x.
————————————————————–
Sia la luce!
Comando sconosciuto
crea (luce,cielo)
Creato (2) oggetto/i
logout
—————————————————————
Operazioni: .. 1
Oggetti: …… 2
Errori: ……. 1
Warnings: ….. 0
utente Dio scollegato alle ore 12:03:26 AM, Domenica 1 marzo x.
—————————————————————

————————————————————
utente Dio collegato alle ore 12:00:12 AM, Lunedì 2 marzo x.
————————————————————

Sia il firmamento tra le acque e la luce
Comando sconosciuto
crea (firmamento)
Creato (1) oggetto/i
separa(firmamento,acqua)
Oggetto [acqua] non definito
crea(acqua)
Creato (1) oggetto/i
separa(firmamento,acqua)
Operazione eseguita
rollback
Operazione annullata
separa(luce,acqua)
Operazione eseguita
ordina(luce,firmamento,acqua)
Operazione eseguita
logout
————————————————————-
Operazioni: .. 6
Oggetti: …… 4
Errori: ……. 1
Warnings: ….. 1
utente Dio scollegato alle ore 12:07:45 AM, Lunedi 2 marzo x.
————————————————————-

————————————————————-
utente Dio collegato alle ore 12:15:30 AM, Martedi 3 marzo x.
————————————————————-
Che le acque sotto il cielo si uniscano in un sol luogo e emerga la terra e…
Comando sconosciuto
unisci(acqua)
Impossibile eseguire [unisci] su un solo oggetto
duplica(acqua)
Creato nuovo oggetto [acqua#2]
unisci(acqua,acqua#2)
Oggetto [acqua$2] creato
rinomina(acqua$2,acque)
Oggetto rinominato
[acqua$2 -acque]
Estrai(acque,terra)
Creato oggetto [terra] da [acque]
elimina(acqua,acqua#2)
Oggetto [acqua] eliminato
Oggetto [acqua#2] eliminato
Eliminato (2) oggetto/i
logout
————————————————————–
Operazioni: .. 5
Oggetti: …… 5
Errori: ……. 1
Warnings: ….. 1
utente Dio scollegato alle ore 12:31:08 AM, Martedi 3 marzo x.
————————————————————–

—————————————————————
utente Dio collegato alle ore 12:00:57 AM, Mercoledi 4 marzo x.
—————————————————————
Crea(stelle del firmamento per separare il giorno dalla notte)
Impossibile creare. Troppi parametri
Crea(sole,luna,stelle)
Creato (3) oggetto/i
Relazione(sole,firmamento)
Oggetto [sole] appartiene a oggetto [firmamento]
Tipo relazione non specificato. Impostato valore default [1]
Relazione(luna,firmamento,1)
Oggetto [luna] appartiene a oggetto [firmamento] con relazione diretta [1]
Relazione(stelle,firmamento,1)
Oggetto [stelle] appartiene a oggetto [firmamento] con relazione diretta [1]
logout
—————————————————————-
Operazioni: .. 4
Oggetti: …… 8 Errori: ……. 0 Warnings: ….. 2 utente Dio scollegato alle ore 12:05:47 AM, Mercoledi 4 marzo x. —————————————————————- ————————————————————- utente Dio collegato alle ore 12:31:51 AM, Giovedi 5 marzo x. ————————————————————- crea(grandi mostri marini e tutte le creature viventi che nuotano nelle acque e tutte le creature alate)
Impossibile creare. Troppi parametri
crea(pesci, uccelli)
Creato (2) oggetto/i
logout
————————————————————–
Operazioni: .. 1
Oggetti: ….. 10
Errori: ……. 0
Warnings: ….. 1
utente Dio scollegato alle ore 12:33:04 AM, Giovedi 5 marzo x.
————————————————————–

————————————————————-
utente Dio collegato alle ore 12:31:51 AM, Venerdi 6 marzo x.
————————————————————-
crea(animali)
Creato (1) oggetto/i
crea(cose_striscianti)
Creato (1) oggetto/i
crea(uomo)
Creato (1) oggetto/i
user(uomo,curruser,-c,-d,+r)
Oggetto [uomo] ਠora un utente
Settaggi [uomo] uguali all’utente corrente [Dio]
Impostata proprietà [impossibile creare]
Impostata proprietà [impossibile distruggere]
Impostata proprietà [sola lettura]
comanda(Sii fecondo e moltiplicati e riempi la terra e sottomettila e abbi dominio sui pesci del mare e sugli uccelli dell’aria e su tutti gli esseri viventi che vagano sulla terra)
Troppi operandi.
comanda(fai,quello,che,vuoi)
Comando ricevuto e salvato
moltiplica(uomo)
Creazione alias eseguita
soffia(uomo)
L’utente [uomo] è ora attivo
crea dir(Eden)
Directory [Eden] creata
Sposta(uomo,Eden)
Spostamento eseguito da directory [root] a directory [Eden]
duplica(uomo)
Creato nuovo oggetto [uomo#2]
rinomina(uomo#2,donna)
Oggetto rinominato
[uomo#2 -donna]
unisci(donna,uomo)
Parametri illegali
unisci(uomo,donna)
Unione completata
*** Impossibile effettuare creazione automatica nuovi oggetti
crea(desiderio)
Impossibile creare oggetto [desiderio], oggetto primario
[libero_arbitrio] non esistente
crea(libero_arbitrio)
Creato (1) oggetto/i
*** Impossibile effettuare creazione automatica nuovi oggetti
crea(desiderio)
Creato (1) oggetto/i
*** Inizio creazione automatica nuovi oggetti
*** Attenzione. Indice creazione indefinito. Creazione oggetti illimitata
elimina(desiderio)
Oggetto [desiderio] non può essere annullato dopo la creazione di [libero_arbitrio]
elimina(libero_arbitrio)
[Libero_arbitrio] è stato settato inaccessibile dal sistema e non può
essere cancellato
help(libero_arbitrio)
LIBERO_ARBITRIO (37 Kb) ……… File di sistema (s)
Data creazione: ……………. 12:52:01 AM, 06-03-XX
Il file LIBERO_ARBITRIO viene creato all’atto di definizione della creazione automatica nuovi oggetti. Definisce tutte le procedure di automazione dei processi di duplicazione relative alle proprietà degli oggetti stessi e non può essere eliminato se non annullando tutte le operazioni sinora eseguite (reinstall). E’ tuttavia possibile creare gli oggetti [bene] e [male] che ne possono regolamentare tutte variabili impreviste, regolando in modo automatico i limiti in base alle capacità del sistema. Si desidera visualizzare informazioni più dettagliate (s/n)? n
crea(bene,male)
Creato (2) oggetto/i
Attiva(male)
[male] attivato
– Pudore daemon …. [Ok]
– Odio daemon …… [Ok]
– Invidia daemon … [Ok]
*** Attenzione errore di sistema nel settore [Eden]. Uomo e donna non in Garden.edn.1 Cerca(uomo, donna) IN Garden.edn
Ricerca fallita
L’oggetto potrebbe essere non visibile o cancellato
elimina(pudore)
[Pudore] non puo’ essere cancellato dopo che [male] è stato attivato
elimina(male)
[Male] E’ stato settato inaccessibile dal sistema e non può essere cancellato stato(male, down)
[Male] è un servizio di sistema e non può essere disattivato
elimina(libero_arbitrio)
[Libero_arbitrio] è stato settato inaccessibile dal sistema e non può essere cancellato.
stop
Comando sconosciuto
alt
Comando sconosciuto
efòlsdfòlksdkòlfdòlsd
Comando sconosciuto
vaff….
Comando sconosciuto
elimina(Eden)
La directory non è vuota
elimina(Eden,all)
La directory contiene file di sistema
elimina(Eden,all,system)
La directory contiene file di sistema che non possono essere cancellati
elimina(sistema)
Eh, si… pare facile
logout
————————————————————–
Operazioni: . 17
Oggetti: ….. 18
Errori: ……. 4
Warnings: …. 17
utente Dio scollegato alle ore 13:06:29 AM, Venerdì 6 marzo x.
————————————————————–
C:
C:>format c:
Il file system è¨ di tipo FAT.
AVVERTENZA, TUTTI I DATI SUL DISCO FISSO UNITA’ C: ANDRANNO PERSI Procedere con la formattazione (S/N)? s
Formattazione in corso…
e da allora non si è più fermata..