LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
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).

Notices


Reply
  Search this Thread
Old 12-07-2015, 07:33 AM   #1
dave11
LQ Newbie
 
Registered: Jul 2012
Posts: 14

Rep: Reputation: Disabled
Trouble with partition tools while trying to install on an HP Elitebook


Have an HP Elitebook with Windows 7 on it, am trying to shrink the Windows partition so I can install linux and dual-boot. Using a USB stick, I can boot the laptop with either a Mint or Ubuntu iso, but neither will recognize the windows partition as what they are. They see the windows partitions but think they are unused, and won't let me resize them. Same with a bootable gparted.

So I tried three different bootable windows-oriented partition tools, but none of these will boot the laptop (??). The USB sticks will be recognized by the bios by name, but they will not boot up.

The bios is set for legacy mode. I tired UEFI with and without CSM but it makes no difference.

Any thoughts?
 
Old 12-07-2015, 08:11 AM   #2
malekmustaq
Senior Member
 
Registered: Dec 2008
Location: root
Distribution: Slackware & BSD
Posts: 1,669

Rep: Reputation: 496Reputation: 496Reputation: 496Reputation: 496Reputation: 496
Quote:
Have an HP Elitebook with Windows 7 on it, am trying to shrink the Windows partition so I can install linux and dual-boot. Using a USB stick, I can boot the laptop with either a Mint or Ubuntu iso, but neither will recognize the windows partition as what they are. They see the windows partitions but think they are unused, and won't let me resize them. Same with a bootable gparted.
To my experience this is almost impossible. I have used both Gparted & Mint iso for repair and it always read the disk MBR. Assuming that the Gparted & Mint iso are all in order, --checked with md5sum hash. Assuming all things equal at BIOS configurations. My guess it that the MBR or the first blocks of your HD are mismatched, or something is wrong. To find this out you may want to do this:

a) Reboot the Elitebook into Win 7 and from there make a through disk check and repair. or,

b) Gparted/Mint sees the HD, only that it doesn't recognize the win partition as you said. Try run e2fsck from booted Mint or Gparted, either tool may see the block size and backups somewhere at backup sectors and it may be able to repair the disk. You may want to do it this way--
Code:
fsck.ntfs -p -y /dev/<win-partition>
or
fsck.vfat -p -y /dev/<win-partition>
Gparted can identify a vfat or ntfs, and if the MBR was properly written during the shrinking of win partition. New partition size ought to be written and saved at new MBR record, and from that, it is readable by Gparted or any Gnu/linux tools.

Quote:
So I tried three different bootable windows-oriented partition tools, but none of these will boot the laptop (??).
This alludes to a defective MBR. The shrinking process might have halted improperly. So you can still try option (b) above, employing Gnu/linux tools.

Quote:
The USB sticks will be recognized by the bios by name, but they will not boot up.
Which USB, the Gparted and Mint? or a Win took in a USB.

Quote:
The bios is set for legacy mode.
Good. You are intelligent.

Quote:
I tired UEFI with and without CSM but it makes no difference.
Any thoughts?
Those are my simple thoughts. If they don't work, come back with debugging report.

Hope that helps. Good luck and enjoy.

m.m.

Last edited by malekmustaq; 12-07-2015 at 08:24 AM.
 
Old 12-07-2015, 08:59 AM   #3
NGIB
Member
 
Registered: Sep 2013
Location: Sumter SC, USA
Distribution: MX, Lubuntu
Posts: 449

Rep: Reputation: Disabled
So, did you try to shrink the partition from inside Windows? Is your computer properly shut down or did you hibernate or suspend?

What I'd do, start Windows and then try to resize the partition. If it won't shrink, defrag the drive. Then try to shrink it again. If it gives you any error messages, run chkdsk on the drive. Report again after trying these steps.

Last edited by NGIB; 12-07-2015 at 09:00 AM.
 
Old 12-07-2015, 09:35 AM   #4
dave11
LQ Newbie
 
Registered: Jul 2012
Posts: 14

Original Poster
Rep: Reputation: Disabled
I never actually attempted to shrink the partition, because none of the tools would allow it. So it can't be a problem related to resizing.

I can't find a tool within windows to resize the partition. This is Windows 7 Enterprise, and I don't have a disc for it. I also don't have admin privileges. This was a laptop from my old employer who didn't ask for it back. I know the password can be reset, but I didn't think that would help here if I didn't have the Windows install disk.

The linux usb sticks boot fine, but don't recognize the windows partitions. Whereas all the windows-oriented usb bootable usb sticks don't boot the computer.

I'll try the other things mentioned. Thanks.
 
Old 12-07-2015, 09:39 AM   #5
NGIB
Member
 
Registered: Sep 2013
Location: Sumter SC, USA
Distribution: MX, Lubuntu
Posts: 449

Rep: Reputation: Disabled
If it's an office machine, it may have something like bitlocker installed and operating. You will need the admin password to change anything if bitlocker is enabled.

Last edited by NGIB; 12-07-2015 at 09:43 AM.
 
Old 12-07-2015, 10:23 AM   #6
dave11
LQ Newbie
 
Registered: Jul 2012
Posts: 14

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by NGIB View Post
If it's an office machine, it may have something like bitlocker installed and operating. You will need the admin password to change anything if bitlocker is enabled.
I suppose that could be. I know the tech guy had to be involved with any alteration of the windows system, like adding programs or hardware, but I thought that was because he had admin privileges.

If Windows is protected, is the only option to delete/reformat the hard drive? I was hoping to keep windows 7, but if not able to, it wouldn't be a disaster.
 
Old 12-07-2015, 10:32 AM   #7
NGIB
Member
 
Registered: Sep 2013
Location: Sumter SC, USA
Distribution: MX, Lubuntu
Posts: 449

Rep: Reputation: Disabled
If the drive is locked with bitlocker, it is a brick without the key. One of the Linux partition tools may be able to delete the partition table so you can start over - maybe. Dealing with bitlocker locked drives is a royal PITA. Do some Googling on bitlocker so you know what you're in for.

Also, I'm just guessing it is bitlocker as it was used at a few places I've worked to lock things down. Also, even if you keep that Windows, you can't change anything that requires admin access - like adding or removing software or changing configurations...

Last edited by NGIB; 12-07-2015 at 10:38 AM.
 
Old 12-18-2015, 08:03 AM   #8
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,113

Rep: Reputation: 2159Reputation: 2159Reputation: 2159Reputation: 2159Reputation: 2159Reputation: 2159Reputation: 2159Reputation: 2159Reputation: 2159Reputation: 2159Reputation: 2159
Quote:
Originally Posted by dave11 View Post
Have an HP Elitebook with Windows 7 on it,
Any thoughts?
TRY FATDOG (puppy) LINUX that is just the cats A$$ it's got everything you need to play - it is loaded with apps more then most would think and it is 64bit too. it has if memory serves me right gparted in it too.

OR

http://www.partition-tool.com/

OR

when I was runing win 7/8 I used their disk manager to srink the VOL then the one that you want to use for Linux, recreate it as a seperate partition, do not assig a letter to it, (it speeds up the proccess, linux will see it as a NTFS par, just remember what size it is so you can pick out of the list of dirves to use, then when installing Linux look for it then use that, from linux install to finish it off. in linux delete it, change it, a chunck of it for swap and to ext4 and or whatever you want to make that, and split it into / and /home if you like or all on the / , or how ever you want to split it up or not, your call, then install linux on that. I was not using that UIDI whatever it is called to assig HDD I really do not like that system, I rather use hard path to dive in fstab. and yes I did this on a HP ELightBook 6930p. using it right now. got rid of Windows and it is now dead-e-cated Linux BOx

I put grub2 on the MBR and let it handle windows boot. to install linux -> windows not good, windows -> linux -> grub2 or lilo is eaiser to deal with in dual /or/ multi boot

Quote:
To create and format a new partition (volume)

Open Computer Management by clicking the Start button , clicking Control Panel, clicking System and Security, clicking Administrative Tools, and then double-clicking Computer Management. ...

In the left pane, under Storage, click Disk Management.
how to use windows 7 disk manager to srink and change drive size


http://www.howtogeek.com/101862/how-...ther-software/


http://www.partition-tool.com/resour...sk-manager.htm

---

which Elightbook U got? I had a 2700 series I beleve that is what it was and I got rid of it becuse it would not play nice with Linux at ALL!

Last edited by BW-userx; 12-18-2015 at 08:34 AM.
 
Old 12-18-2015, 09:51 AM   #9
michaelk
Moderator
 
Registered: Aug 2002
Posts: 24,139

Rep: Reputation: 5345Reputation: 5345Reputation: 5345Reputation: 5345Reputation: 5345Reputation: 5345Reputation: 5345Reputation: 5345Reputation: 5345Reputation: 5345Reputation: 5345
I find it interesting that your old employer to did not ask for the laptop back or at least wipe the hard drive to remove any proprietary information but whatever. That is the entire point of having encrypted partitions and locking down the computer in this fashion. If the laptop was stolen it makes retrieving data very difficult. I'm also surprised that the BIOS was not locked to prevent booting from CD/DVD or USB drives.

If mint or Ubuntu could not recognize and mount the NTFS partition(s) then I agree that they are probably encrypted and that no regular tools will be of any help. Your only choice is to delete windows if possible. My work laptop with my previous employer had a lock icon displayed in file explorer to indicate they were encrypted.
 
Old 12-18-2015, 10:03 AM   #10
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,113

Rep: Reputation: 2159Reputation: 2159Reputation: 2159Reputation: 2159Reputation: 2159Reputation: 2159Reputation: 2159Reputation: 2159Reputation: 2159Reputation: 2159Reputation: 2159
could just go out and buy a different HDD 50$ and that'd fix it too
 
  


Reply


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
Trouble installing VMware tools on Centos 7 minimum install mcgheetech79 Linux - Newbie 10 03-19-2015 12:10 PM
[SOLVED] Install WLAN driver on HP EliteBook 820 ccc Debian 3 01-07-2015 03:02 PM
HP Elitebook 2730p cannot install Linux BW-userx Linux - Laptop and Netbook 3 12-30-2014 01:13 PM
[SOLVED] How to install the wireless driver(Hp elitebook 8530w) in the debian system uestc1986 Linux - Newbie 1 12-17-2010 03:25 PM
Ready to install but partition trouble... Chijtska Linux - Software 4 01-30-2002 09:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 09:32 AM.

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