Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).


  Search this Thread
Old 03-06-2013, 08:38 AM   #1
Registered: Mar 2005
Distribution: Gentoo, Kubuntu
Posts: 516

Rep: Reputation: 19
Dual boot with Windows 7 on HP laptop

I just bought an HP dv6-7030TX. It's a nice laptop with a 1T drive, and came with a Windows 7 & Fedora 18 dual boot configuration.

I had Fedora 18 pre-installed because I had heard that HP uses all 4 primary partitions for its Windows installations, and I did not want to deal with it.

However, now I want to build a new disk (only 160GB because that's all I have ATM). I partitioned the drive to give Windows 90GB and linux the rest.

Then I tried to install Windows 7 from the recovery discs supplied.
The first option failed with the message that the target disk was not available - it apparently wanted the original disk.

The other option available reformatted the whole disk with the following:
sda1 200MB boot
sda2 133GB system with 66GB used
sda3 23GB recovery with about 21GB reported used but no files show
sda4 100MB HP tools - BIOS update stuff mostly

It looks like the best path is to
1. backup the HP tools partition and delete it
2. shrink the system partition to about 85GB
3a. sacrifice the 100MB and create an Extended partition in the 48GB freed, or
3b. try to move the recovery partition and create the Extended partition at the end.
4. create a 100MB logical partition for the HP tools.
5. install linux of choice.

Since gparted shows that the recovery partition is almost all used, and emacs shows no files, hidden or otherwise, I think that space may have been reserved but not used yet. I'm not sure how reliably that could be moved.

Is there a HowTo for dealing with HP?

Thanks for any assistance.
Old 03-06-2013, 09:50 AM   #2
LQ Guru
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 6,921

Rep: Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269
I'm not really sure what you are trying to do here. You have a laptop with a 1TB drive with windows 7 and Fedora 18 installed and now want to install windows 7 and some other version of Linux on your 160GB drive, is that it? I don't believe you will meet with any success trying to install windows with a Recovery disk. You need a full installation disk.

You seem to have some OS or data on the 160GB drive, what is that? Are you intending to overwrite everything?
Old 03-06-2013, 10:05 AM   #3
LQ Guru
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 7,700

Rep: Reputation: 726Reputation: 726Reputation: 726Reputation: 726Reputation: 726Reputation: 726Reputation: 726
I did this on a HP 6715S (fairly similar).
As soon as I started messing, I lost boot on the recovery disk. SDA3 & 4 have been useless to me. If you have a working system, the howto would be

EDIT: This presumes uefi is nobbled. If uefi is not nobbled, ignore this post.

1. Download the appropriate windows rescue cd.
2. burn it.
3. Make a full backup to external HD if you can. That backs up partitions, the works.
4. Hack away at sda1. Don't leave windows with less than 50G.
5 To get another primary partition, delete both of sda3, sda4. Have the details from an fdisk -l output, and shrink the main volume. Make an extended partition to the end of the disk, and then use testdisk to recover sda3, sda4. They will recover as sda5, sda6. Then carve up the internals for linux. Your partitions are out of numerical order, but unless you have OCD you can live with that.

Last edited by business_kid; 03-06-2013 at 10:09 AM.
Old 03-06-2013, 02:54 PM   #4
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,130
Blog Entries: 2

Rep: Reputation: 4831Reputation: 4831Reputation: 4831Reputation: 4831Reputation: 4831Reputation: 4831Reputation: 4831Reputation: 4831Reputation: 4831Reputation: 4831Reputation: 4831
If you have recovery discs for your Windows then the recovery partition is simply unnecessary, I would just delete sda3 and sda4 and use the free space to install Linux (if that isn't enough space you may want to shrink the Windows partition also).
Old 03-06-2013, 11:42 PM   #5
Registered: Mar 2005
Distribution: Gentoo, Kubuntu
Posts: 516

Original Poster
Rep: Reputation: 19
Thanks for the replies.

I like to check out various distros. I prefer to use a fresh disk to minimise risk. Thus I am experimenting with the 160GB disk to learn how to deal with HP. I created partitions on it in hope that MS would respect them. No such luck.

At the end of the installation, Windows rebooted (for the 6th time) and the First Time stuff, like timezone selection and username, was done. The recovery discs need to be able to deal with replaced failed disks.

The partitioning on the 1T disk, in order as shown by gparted:
200MB   sda1   NTFS
450GB   sda2   NTFS
              sda4   Extended
500MB     sda5   ext4 - logical
450GB     sda6   lvm2 - logical
 22GB   sda3   NTFS - primary
100MB   unallocated
The HP-Tools partition that is on the 160GB disk appears to be missing. Windows Explorer does not show it, even as a folder. However I did not search for it.

I'll have to look into lvm2. Are there partitions within it?

It's quite incredible how Windows has balooned. 3.11 happily resided on a 20MB disk. The current version - who knows since a lot of extra stuff gets loaded - occupies 66GB!


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Want to dual boot CentOs 5.5 onto Windows 7 HP G62 laptop missrose1991 Linux - Laptop and Netbook 6 01-11-2011 03:07 PM
Dual boot Lenovo laptop with Windows XP and Fedora Linux dhanukvj Linux - Laptop and Netbook 3 08-18-2009 02:24 PM
Windows XP and CentOS dual boot problem on a laptop computer filippa Linux - Newbie 5 06-13-2008 08:49 AM
Dual Boot Linux/Windows on Laptop vezril Linux - Software 2 03-08-2006 05:18 PM
dual boot laptop, getting windows xp running gauntalus Linux - Laptop and Netbook 10 01-04-2005 04:27 AM

All times are GMT -5. The time now is 08:53 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration