Hi, I've recently bought a Compaq laptop. It currently has Windows 7 installed and I want to dual boot with Ubuntu.
Unfortunately, Compaq have already partitioned the hard disk into four partitions. The largest partition, which is 480GB is the second. If I begin the installer, and resize the second partition to create free space, then I'm told that it is "unuseable". I believe that the extra partitions are for recovery etc.
So what can I do? Is there a way of getting Ubuntu installed without disturbing the contents of the partitions already setup?
Thanks in advance Richard
On 7 September 2011 13:16, Richard Parsons richard.lee.parsons@gmail.com wrote:
Hi, I've recently bought a Compaq laptop. It currently has Windows 7 installed and I want to dual boot with Ubuntu.
Unfortunately, Compaq have already partitioned the hard disk into four partitions. The largest partition, which is 480GB is the second. If I begin the installer, and resize the second partition to create free space, then I'm told that it is "unuseable". I believe that the extra partitions are for recovery etc.
The partition is probably tagged and formatted with NTFS - delete it from within Windows to be sure it is the right (empty!) one. When you start the Ubuntu installer again it should see the hole.
Good luck, Tim.
On Wed, Sep 07, 2011 at 02:05:28PM +0100, Tim Green wrote:
On 7 September 2011 13:16, Richard Parsons richard.lee.parsons@gmail.com wrote:
Hi, I've recently bought a Compaq laptop. It currently has Windows 7 installed and I want to dual boot with Ubuntu.
Unfortunately, Compaq have already partitioned the hard disk into four partitions. The largest partition, which is 480GB is the second. If I begin the installer, and resize the second partition to create free space, then I'm told that it is "unuseable". I believe that the extra partitions are for recovery etc.
The partition is probably tagged and formatted with NTFS - delete it from within Windows to be sure it is the right (empty!) one. When you start the Ubuntu installer again it should see the hole.
Thank you for that tip. I'm hoping to keep the windows partition though. My idea is to reduce the windows partition to say 80GB, to free up approximately 400GB for the Ubuntu installation. If I delete the second partition won't the windows installation be lost?
Good luck,
I think I'm going to need it! I'm wondering whether what I want to do is even possible. Perhaps I need to be looking at a tool like Ghost?
Richard
Thank you for that tip. I'm hoping to keep the windows partition though. My idea is to reduce the windows partition to say 80GB, to free up approximately 400GB for the Ubuntu installation. If I delete the second partition won't the windows installation be lost?
At the risk of repeating myself, you can delete the recovery partitions without intefering with Windows - but you will lose the option to factory restore from the hidden partitions. If you create recovery DVDs and keep them safe you can still use those later instead, if you choose to remove the recovery partitions from the disk now.
I think I'm going to need it!
No luck required, just a little patience and plenty of reading.
I'm wondering whether what I want to do is even possible. Perhaps I need to be looking at a tool like Ghost?
It is. As I described, I did exactly this with a GParted Live CD on a regular retail HP laptop. Exactly the same circumstances as yours. Just make sure you back up anything you've added to Windows before you start. If you haven't put anything new on the laptop, then the recovery DVDs you create first in Windows will restore the machine back to factory defaults almost no matter how badly you might mess it up.
Peter.
On 07/09/11 14:43, Richard Parsons wrote:
On Wed, Sep 07, 2011 at 02:05:28PM +0100, Tim Green wrote:
The partition is probably tagged and formatted with NTFS - delete it from within Windows to be sure it is the right (empty!) one. When you start the Ubuntu installer again it should see the hole.
Thank you for that tip. I'm hoping to keep the windows partition though. My idea is to reduce the windows partition to say 80GB, to free up approximately 400GB for the Ubuntu installation. If I delete the second partition won't the windows installation be lost?
Depends what's on the partition. If you delete a partition without backing it up, whatever is on it will be lost.
I think I'm going to need it! I'm wondering whether what I want to do is even possible. Perhaps I need to be looking at a tool like Ghost?
Ghost, or one of the other backup tools that have been mentioned.
Hi, I've recently bought a Compaq laptop. It currently has Windows 7 installed and I want to dual boot with Ubuntu.
Unfortunately, Compaq have already partitioned the hard disk into four partitions. The largest partition, which is 480GB is the second. If I begin the installer, and resize the second partition to create free space, then I'm told that it is "unuseable". I believe that the extra partitions are for recovery etc.
So what can I do? Is there a way of getting Ubuntu installed without disturbing the contents of the partitions already setup?
Thanks in advance Richard
Richard.
The problem is that there can only be a maximum of four primary partitions on a disk, and your laptop ships with all four of them already in use. Simply resizing one of the existing partitions won't help, because you won't be permitted to create a fifth primary partition in the freed up space.
The easiest option is to just delete the two recovery partitions (you should already have made some recovery DVDs from Windows, before doing anything at all). That will allow you to resize the Windows partition and create a new one for Linux. This approach means that if you ever need to restore Windows on your laptop from scratch, you will be wholly reliant on the recovery DVDs you made.
The more complicated option is to backup the two existing recovery partitions to files, and make a note of their partition information. Then you can delete them both and create a new extended partition in their place. This extended partition can contain multiple logical partitions with it - so you can recreate the recovery partitions from the files you backed them up to, within the new extended partition. This approach will allow you to then create a new additional Linux partition, either as a primary partition or within the extended partition. If you ever need to reinstall Windows again, this way you will have the choice of rebuilding the laptop from either the recovery partitions on the disk or from the recovery DVDs you made instead.
When I bought my HP laptop last year, I used GParted Live [http://gparted.sourceforge.net/livecd.php] implement an extended partition. The recovery partitions were fairly small in relation to the total size of the disk so I figured it wouldn't hurt to leave them intact.
Peter.
I'm no expert, but I believe that a HDD set up with a partition table can handle at most 4 "primary" partitions. That sounds like how your laptop has been set up.
If you change one of the "Primary" partitions to an "extended" partition, then you can add extra "logical" partitions within the extended partition.
I doubt that it is possible to change a partition from Primary to Extended c/w logical partitions without destroying the data on it. That would imply having to backup, repartition, then restore. Also, I don't know how Windows would cope with the new logical partitions. In my previous experience, it can be quite fussy about drive letters etc.
I would also be quite dubious about the "recovery" partitions still working if you change the partition structure that they're expecting to see.
I suppose it depends what's on the 2nd partition. Is it just for data? Is Windows on partition 1? If that's the case you might get away with it. e.g. 1) Backup partition 2 (whatever drive letter it is). 2) Delete partition 2. 3) Recreate Partition 2 as an Extended Partion using all the free space. 4) Create a Logical partition to restore the windows data onto. 5) Create as many logical partitions as you need to need to install linux. e.g. 2 / (root) and swap 6) Restore the windows data onto the relevant partition. 7) Install linux...
Good luck! And backup ***EVERYTHING*** before you start!!! Steve
On 07/09/11 13:16, Richard Parsons wrote:
Hi, I've recently bought a Compaq laptop. It currently has Windows 7 installed and I want to dual boot with Ubuntu.
Unfortunately, Compaq have already partitioned the hard disk into four partitions. The largest partition, which is 480GB is the second. If I begin the installer, and resize the second partition to create free space, then I'm told that it is "unuseable". I believe that the extra partitions are for recovery etc.
So what can I do? Is there a way of getting Ubuntu installed without disturbing the contents of the partitions already setup?
Thanks in advance Richard
main@lists.alug.org.uk http://www.alug.org.uk/ http://lists.alug.org.uk/mailman/listinfo/main Unsubscribe? See message headers or the web site above!
On Wed, Sep 07, 2011 at 02:33:29PM +0100, steve-ALUG@hst.me.uk wrote:
I'm no expert, but I believe that a HDD set up with a partition table can handle at most 4 "primary" partitions. That sounds like how your laptop has been set up.
Yes, I'm pretty sure that's how it it.
If you change one of the "Primary" partitions to an "extended" partition, then you can add extra "logical" partitions within the extended partition.
I doubt that it is possible to change a partition from Primary to Extended c/w logical partitions without destroying the data on it. That would imply having to backup, repartition, then restore. Also, I don't know how Windows would cope with the new logical partitions. In my previous experience, it can be quite fussy about drive letters etc.
Yes, and sorry, I now realise that I'm asking about Windows, which is hardly fair for a Linux mailing list!
I would also be quite dubious about the "recovery" partitions still working if you change the partition structure that they're expecting to see.
Yes, good point.
I suppose it depends what's on the 2nd partition. Is it just for data? Is Windows on partition 1? If that's the case you might get away with it. e.g.
I believe that Windows is installed on the second partition, but now I'm even unsure about that. I find it hard to understand why Windows would require four partitions.
- Backup partition 2 (whatever drive letter it is).
- Delete partition 2.
- Recreate Partition 2 as an Extended Partion using all the free space.
- Create a Logical partition to restore the windows data onto.
- Create as many logical partitions as you need to need to install
linux. e.g. 2 / (root) and swap 6) Restore the windows data onto the relevant partition. 7) Install linux...
Good luck!
Thanks
And backup ***EVERYTHING*** before you start!!!
Good advice.
Do laptops ever have room for putting in a second hard drive? That would be a better option. I suspect they don't though...
Richard
On 07/09/11 15:04, Richard Parsons wrote:
On Wed, Sep 07, 2011 at 02:33:29PM +0100, steve-ALUG@hst.me.uk wrote:
I suppose it depends what's on the 2nd partition. Is it just for data? Is Windows on partition 1? If that's the case you might get away with it. e.g.
I believe that Windows is installed on the second partition, but now I'm even unsure about that. I find it hard to understand why Windows would require four partitions.
Windows doesn't require 4 partitions. It works happily on one. I wouldn't be surprised by 1 windows partition and 1 recovery partition, but I'm surprised by two of each. Still, there may be a good reason.
- Backup partition 2 (whatever drive letter it is).
- Delete partition 2.
- Recreate Partition 2 as an Extended Partion using all the free space.
- Create a Logical partition to restore the windows data onto.
- Create as many logical partitions as you need to need to install
linux. e.g. 2 / (root) and swap 6) Restore the windows data onto the relevant partition. 7) Install linux...
Good luck!
If windows is installed on partition 2, then you may have complications restoring a Bootable working copy of Windows. You'd have to ensure that the backup/restore program you use can write system files in the appropriate places with the appropriate flags that correspond with the boot table, whilst simultaneously being able to write the files to a smaller partition. I don't think DD will be able to do that. Some of the others may be. If Windows is installed on this partition, I think Sam Wise's approach will be a good bet.
Do laptops ever have room for putting in a second hard drive? That would be a better option. I suspect they don't though...
Rarely do laptops have space for a second drive. I tend to remove the windows hard disk, insert a blank hard disk, and install away on that. That way, if/when I want to part with the machine, I can just put the unused Windows hard disk back in it. It does mean you have to buy a blank hard disk though. Also, swapping HDDs will void any warranty!
I believe that Windows is installed on the second partition, but now I'm even unsure about that. I find it hard to understand why Windows would require four partitions.
Windows doesn't require 4 partitions. It works happily on one. I wouldn't be surprised by 1 windows partition and 1 recovery partition, but I'm surprised by two of each. Still, there may be a good reason.
It will work on one partition, yes, but by default, Windows 7 does install a 100MB recovery partition first, then the main OS in another. Then I suppose Compaq have added some weird OEM partitions in.. Maybe a partition for the Users folder or some such, keeping the installed programs and OS separate from the user data probably?? Could an extra partition which holds all the drivers for the machine or something bizarre like that.
Anyway, my vote/2p goes on the Wubi route or you could even run your Ubuntu install entirely inside a Virtual Machine which I am pretty sure I've seen discussed around 'ere before. Go for Wubi first, you've literally got nothing to lose. If you don't like it or it doesn't perform as well enough, uninstall it and it's gone. I've used Wubi once before ages ago and it was great at the time..
Handy thing with a Virtual Machine is you get dynamic hard drive size, the file which holds the "hard drive" can be as big as it takes up till it fills whatever partition it's in.
Cheers, Simon (p.s. I will be at pub tomorrow night.)
On 09/09/11 16:32, Adam Bower wrote:
On Wed, Sep 07, 2011 at 09:02:47PM +0100, steve-ALUG@hst.me.uk wrote:
to buy a blank hard disk though. Also, swapping HDDs will void any warranty!
No it won't.
Adam
I have certainly seen machines with stickers on saying opening the case voids the warranty. Googling, it seems that some laptop manufacturers say it would void the warrant, some don't. So if you have a new laptop and you want to change the hard disk, if you care about the warranty, read it before changing any components.
On 20/09/11 17:36, steve-ALUG@hst.me.uk wrote:
I have certainly seen machines with stickers on saying opening the case voids the warranty. Googling, it seems that some laptop manufacturers say it would void the warrant, some don't. So if you have a new laptop and you want to change the hard disk, if you care about the warranty, read it before changing any components.
Essentially in Europe at least those stickers mean very little at all.
The responsibility is with the manufacturer to prove that any internal tampering resulted in a failure and a broken "warranty void" seal is not sufficient except in cases where the very act of opening a device can cause failure (so for example opening a Hard Drive outside of a clean-room environment)
On 20/09/11 19:21, Wayne Stallwood wrote:
Essentially in Europe at least those stickers mean very little at all.
The responsibility is with the manufacturer to prove that any internal tampering resulted in a failure and a broken "warranty void" seal is not sufficient except in cases where the very act of opening a device can cause failure (so for example opening a Hard Drive outside of a clean-room environment)
IANAL, that said: There is a difference between a manufacturers or retailer's warranty, and your rights under law. The warranty is usually something like "If it breaks within 1 year and it's not caused by you, and [insert any conditions the manufacturer wants to insert] then we'll fix it or replace it for free, excluding postage costs".
Your rights under English law, under the sale of goods act say something like [excuse the extreme paraphrasing], a product should last a reasonable amount of time, if it doesn't then you're entitled to a refund or replacement.
Replacing the HDD should not IMHO void your rights under law, providing YOU don't damage the machine.
The warranty is different. It is usually above and beyond your statutory rights, and the manufacturer or retailer can impose whatever terms and conditions they want, (provided they're legal). Clauses saying opening the case will void the warranty may well be present.
IANAL, YMMV, RTFriendlyWarranty :-)
On Tue, Sep 20, 2011 at 05:36:39PM +0100, steve-ALUG@hst.me.uk wrote:
I have certainly seen machines with stickers on saying opening the case voids the warranty. Googling, it seems that some laptop manufacturers say it would void the warrant, some don't. So if you have a new laptop and you want to change the hard disk, if you care about the warranty, read it before changing any components.
In that case, don't buy rubbish laptops then :)
Sensible laptop manufacturers make the hard disk a user replaceable item and ship a new disk which they exchange with the old one on the doorstep. Quite how anyone would ever know you swapped the hard disk on your laptop I really don't know, even if there was a warranty sticker covering the drive bay they'd have trouble proving that it didn't mysteriously fall off one day.
Adam
On 20/09/11 20:52, Adam Bower wrote:
In that case, don't buy rubbish laptops then :)
Sensible laptop manufacturers make the hard disk a user replaceable item and ship a new disk which they exchange with the old one on the doorstep. Quite how anyone would ever know you swapped the hard disk on your laptop I really don't know, even if there was a warranty sticker covering the drive bay they'd have trouble proving that it didn't mysteriously fall off one day.
Adam
Fair points. I was just trying to say, check the warranty first, just in case! :-)
On Tue, 20 Sep 2011 20:52:46 +0100 Adam Bower adam@thebowery.co.uk allegedly wrote:
even if there was a warranty sticker covering the drive bay they'd have trouble proving that it didn't mysteriously fall off one day.
Tamper evident labels have been in use for many years. They don't just "fall off".
Mick
---------------------------------------------------------------------
The text file for RFC 854 contains exactly 854 lines. Do you think there is any cosmic significance in this?
Douglas E Comer - Internetworking with TCP/IP Volume 1
http://www.ietf.org/rfc/rfc854.txt ---------------------------------------------------------------------
On Tue, Sep 20, 2011 at 08:56:50PM +0100, mick wrote:
Tamper evident labels have been in use for many years. They don't just "fall off".
Prove that it didn't fall off... also, have you ever seen one on a laptop? I don't think I've ever seen a warranty sticker stopping removal of a hard disk on a laptop *ever* and come to think of that I'm not sure I've ever seen any warranty seal on any laptop in the past.
Adam
On 07 Sep 13:16, Richard Parsons wrote:
Hi, I've recently bought a Compaq laptop. It currently has Windows 7 installed and I want to dual boot with Ubuntu.
Unfortunately, Compaq have already partitioned the hard disk into four partitions. The largest partition, which is 480GB is the second. If I begin the installer, and resize the second partition to create free space, then I'm told that it is "unuseable". I believe that the extra partitions are for recovery etc.
So what can I do? Is there a way of getting Ubuntu installed without disturbing the contents of the partitions already setup?
You're basically screwed - you can only have 4 primary partitions, usually when wanting to go over this you make on of those 4 an extended partition and new partitions get created in that.
I'd take a diskimage of the disk in current state, using something like clonezilla, then rejig the disk to remove any partitions that you don't need, (you'll probably want a couple of partitions for linux), and go from there.
The reason for using something like clonezilla to take an image first should be reasonably obvious, means that if you need to get back to that state you can :)
Cheers, Brett.
On Wed, Sep 07, 2011 at 02:41:28PM +0100, Brett Parker wrote:
On 07 Sep 13:16, Richard Parsons wrote:
Hi, I've recently bought a Compaq laptop. It currently has Windows 7 installed and I want to dual boot with Ubuntu.
Unfortunately, Compaq have already partitioned the hard disk into four partitions. The largest partition, which is 480GB is the second. If I begin the installer, and resize the second partition to create free space, then I'm told that it is "unuseable". I believe that the extra partitions are for recovery etc.
So what can I do? Is there a way of getting Ubuntu installed without disturbing the contents of the partitions already setup?
You're basically screwed - you can only have 4 primary partitions, usually when wanting to go over this you make on of those 4 an extended partition and new partitions get created in that.
I'd take a diskimage of the disk in current state, using something like clonezilla, then rejig the disk to remove any partitions that you don't need, (you'll probably want a couple of partitions for linux), and go from there.
The reason for using something like clonezilla to take an image first should be reasonably obvious, means that if you need to get back to that state you can :)
Thanks Brett for your thoughts. Having looked at Clonezilla it looks like I'll need a disk to backup to as large as the one I am cloning. So it sounds to me as if I'm going to need a 500GB external drive.
Thanks again all for your help.
Richard
An inelegant solution but maybe Wubi?
http://www.ubuntu.com/download/ubuntu/windows-installer
On Wed, Sep 7, 2011 at 2:41 PM, Brett Parker iDunno@sommitrealweird.co.uk wrote:
On 07 Sep 13:16, Richard Parsons wrote:
Hi, I've recently bought a Compaq laptop. It currently has Windows 7 installed and I want to dual boot with Ubuntu.
Unfortunately, Compaq have already partitioned the hard disk into four partitions. The largest partition, which is 480GB is the second. If I begin the installer, and resize the second partition to create free space, then I'm told that it is "unuseable". I believe that the extra partitions are for recovery etc.
So what can I do? Is there a way of getting Ubuntu installed without disturbing the contents of the partitions already setup?
You're basically screwed - you can only have 4 primary partitions, usually when wanting to go over this you make on of those 4 an extended partition and new partitions get created in that.
I'd take a diskimage of the disk in current state, using something like clonezilla, then rejig the disk to remove any partitions that you don't need, (you'll probably want a couple of partitions for linux), and go from there.
The reason for using something like clonezilla to take an image first should be reasonably obvious, means that if you need to get back to that state you can :)
Cheers, Brett.
main@lists.alug.org.uk http://www.alug.org.uk/ http://lists.alug.org.uk/mailman/listinfo/main Unsubscribe? See message headers or the web site above!
On 07/09/11 14:41, Brett Parker wrote:
You're basically screwed
Or consider something like Wubi: http://www.ubuntu.com/download/ubuntu/windows-installer .. that creates a hidden filesystem within your Windows filesystem and boots from that?
Never tried it, but might be just what's needed here?
On Wednesday 07 September 2011 13:16:36 Richard Parsons wrote:
Hi, I've recently bought a Compaq laptop. It currently has Windows 7 installed and I want to dual boot with Ubuntu.
Unfortunately, Compaq have already partitioned the hard disk into four partitions. The largest partition, which is 480GB is the second. If I begin the installer, and resize the second partition to create free space, then I'm told that it is "unuseable". I believe that the extra partitions are for recovery etc.
So what can I do? Is there a way of getting Ubuntu installed without disturbing the contents of the partitions already setup?
Thanks in advance Richard
main@lists.alug.org.uk http://www.alug.org.uk/ http://lists.alug.org.uk/mailman/listinfo/main Unsubscribe? See message headers or the web site above!
Hi Richard, Why don't you make an image of the windows partition using dd, then repartition as you like. dd the image back to the disk (same partition size of course), then install Ubuntu with dual boot. You won't need to worry about NTLDR in the MBR, since you will be using GRUB to boot either.
This way also gives you a backup of Windows should things go wrong.
Stuart
Stuart Bailey BSc (hons) CEng CITP MBCS LinuSoft (Managing Director) Linux Specialist & Software Developer ~~~~~~~~~~~~~~~~~~~~~~~ Phone: (0845) 658 3563 Direct: +44 (0) 1953 878162 Fax: +44 (0) 1603 858583 ~~~~~~~~~~~~~~~~~~~~~~~ http://www.linusoft.co.uk
__________ Information from ESET Mail Security, version of virus signature database 6444 (20110907) __________
The message was checked by ESET Mail Security. http://www.eset.com