Saturday, May 4, 2024
 Popular · Latest · Hot · Upcoming
3
rated 0 times [  3] [ 0]  / answers: 1 / hits: 2833  / 3 Years ago, sun, august 15, 2021, 10:23:43

My question is more-or-less a summary of all pre-existing Ask Ubuntu questions and answers relating to the installation of Ubuntu along with Windows 7.


I have bought a new HP laptop with its original Windows 7. I want to install Ubuntu along with Windows 7 64-bit. I ran the Ubuntu 12.04 Desktop installation CD, but the Ubuntu installer doesn't show the "along with Windows 7 option" -- it is only showing two options.


I read some questions and answers posted on this community, then focussed on Ubuntu 12.04 installer does not see Windows already installed on my computer.


I tried the following things,



  1. I ran the terminal in live CD and tried sudo dmraid -rE command and dmraid remove command, but the terminal says that there are no dmraid partitions.



  2. Then I tried another scenario and checked my partitions with GParted. There are some partitions labelled C, HP tools, Recovery and System. C contains Windows 7 files.



  3. So I shrank the volume of the C Drive.



  4. Now I have 50000MB of unallocated disk space. I tried with GParted to create a partition on that allocated space. It says something like "you can't create more than four primary partitions". Of course, all four other partitions created on Windows are actually the type of the primary partition.



  5. So I went back to Windows 7 and tried to create a new volume on the unallocated space. Unfortunately, it says that if I create a new volume, it will be the type of Dynamic partition. It says we can't boot another OS from that partition, so I cancelled that step.




Now I have 50000MB of unallocated space, but how can I install Ubuntu on that partition without harming the existing Windows 7? Because I still have only two options:



  1. Erase and install Ubuntu.

  2. Try something else.


(I can see my unallocated space by going to "something else" option.)


More From » 12.04

 Answers
2

I have just lived through this!



Consider what I have done as an unfinished test. I don't really know (and may never need to know) if what I did will work for me in all situations.



Steps:




  1. I created the HP/Win7 back up DVDs. I think you will need 5 DVDs to do this. There were 4 primary partitions on my HP HDD. I think they were the BOOT(small), MAIN(huge), BACKUP(not big) & HPTOOLS(small) partitions. I am lead to believe that the software to create the DVDs is in the HPTOOLS partition. And that the DVDs are a copy of the BACKUP partition. But I could be wrong about that last point. Regardless, HP will only let you create (at least they say so when you do the backup) 1 set of DVDs per laptop. By all means do this. It only costs you your time and 5 DVD.


  2. At this point I felt I could do away with either the BACKUP partition or the HPTOOLS partition. I chose to delete the HPTOOLS partition even though the placement of the undeleted BACKUP partition meant I would not be able to use about 5% of the HDD. As an added precaution, I did a disk dump of the HPTOOLS partition to an ordinary file in the Win7 partition. The "dd" (disk dump) application is an old Unix command. I was booted up in the Ubuntu Live CD under "try it" when doing this backup.


  3. After the precautionary "dd" I deleted the HPTOOLS partition. I believe this was primary partition number 4 (of 1 to 4).


  4. While booted up in Win7 you should probably run the de-fragmentation application on your Win7 partition. Make sure the disk is empty enough to be shrunk to the desired size.


  5. I used gparted to shrink my Windows 7 partition. The Ubuntu installer might be able to do this as well.


  6. Now the Ubuntu installer should offer up the option of installing Ubuntu "alongside" Win7. Before, with 4 primary partitions already on the HDD, the Ubuntu installer only offered me to install Ubuntu "into" the Win7 partition.




That got me to being able to dual boot my new HP laptop.


[#37015] Tuesday, August 17, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
tiowift

Total Points: 119
Total Questions: 113
Total Answers: 110

Location: South Sudan
Member since Sun, Jul 11, 2021
3 Years ago
tiowift questions
Wed, Aug 3, 22, 04:45, 2 Years ago
Mon, Nov 7, 22, 10:58, 2 Years ago
Wed, May 10, 23, 17:52, 1 Year ago
;