HP Pavilion dm1-4010ez - Installing Linux Mint 12

Summary: When we left our lovely new HP sub-notebook, we had just finished configuring Windows 7 Home Premium. Now it is time to move to installing a real operating system on it, and for the sake of variety the choice this time will be Linux Mint 12 (and Cinnamon 1.

When we left our lovely new HP sub-notebook, we had just finished configuring Windows 7 Home Premium. Now it is time to move to installing a real operating system on it, and for the sake of variety the choice this time will be Linux Mint 12 (and Cinnamon 1.1.3). The first thing to do is prepare the disk drive. As I said in the previous post, all four Primary Partitions are used in the default configuration of this system. The disk layout looks like this in GParted:

HP Pavilion dm1-4010ez

So there is a tiny bootloader partition, a huge Windows C: partition, a small Windows Recovery partition, and a very small HP Tools partition. One of them has got to go, because the antiquated MBR disk labeling/management system can not have more than four partitions. I will say this one more time... Make Sure You Have Created A Set Of Recovery DVDs. Once you delete the Recovery partition, you will never have another chance to create them. The other consequence of deleting the Recovery partition is that you can not do the F11-Recovery procedure, if you ever really need to restore Windows you will have to do it from the DVDs.

Now we are ready to delete a partition. The obvious candidate is the Recovery partition, both because of its size and content (we know we have it copied on DVD). The simplest and most direct thing to do is to delete it in GParted, since we already have that running. But in this case it is probably better to go back to Windows and delete it using the HP Recovery Manager, so that it knows that the partition is gone. Either way you do it, once the partition has been deleted the disk will look like this in GParted:

HP Pavilion dm1-4010ez

Although it is quite small, that is actually enough free space to load Linux - especially if you are only "sticking your toes in the water" at this point, and want to see how it goes. If you want more space you can just shrink the Windows partition (/dev/sda2). The next step is to create an Extended partition in the free space, and then either create two more logical partitions within that for the Linux root and swap, or just leave the extended partition empty and let the Linux installer create the partitions it wants.

It's finally time to actually install Linux Mint 12. Download the ISO image from the Linux Mint Downloads page. I just about always use the 64-bit images now, but of course you can still use 32-bit if you want or need to, or if you are just extremely conservative. The ISO image can be converted to a bootable USB stick using the "Startup Disk Creator" utility on any running Mint 9/10/11 system, or of course it can be burned to a DVD-R (sorry, too big for CD-R). Insert the USB stick or connect the USB DVD drive, turn on power and press F9 (the boot device selection key for HP systems). When booting from USB stick, it still stops with an error about the vesamenu not being a COM32R image, and then says "boot: ". Sigh. I wish this didn't happen, because it confuses an awful lot of inexperienced users. All you have to do is type "live" and press return, but figuring that out can be daunting. I haven't tried burning a DVD for Mint in a long time, does this still happen when booting that way as well?

The Mint Live system then comes up, and you will be presented with a normal Mint 12 desktop. One of the icons on that desktop is "Install Linux Mint", which gets you to the Mint installer (duh). The first installer screen asks for the language, which will be used for this installation dialog and as the default for the installed system.

HP Pavilion dm1-4010ez

The next screen informs you of the status of disk space, power and Internet connection. You can do the installation just fine without an internet connection, but you really should have power connected, or at least be sure that the battery is full when you start. It's not much fun to have the system die halfway through the installation.

HP Pavilion dm1-4010ez

Next you get a chance to connect to a wireless network. This is useful if you want to install updates or additional packages during installation, but as I said it is not absolutely necessary, and I seldom bother with it.

HP Pavilion dm1-4010ez

Now comes "Installation Type", which is where you define the disk allocation. If you just created an Extended Partition and left it empty, you can leave this on "Install Linux Mint Alongside Them" and it will do what is necessary. If you like to control things, you can choose "Something Else", which is what I typically do. If you want to ditch Windows and have only Linux installed, choose "Erase disk...".

HP Pavilion dm1-4010ez

Next you can decide if you want to use the Windows bootloader or Linux GRUB. At the bottom of the window, if you leave the Device for bootloader installation on its default (which is the MBR of the hard drive), you will get Linux GRUB for a bootloader, with Windows listed as a boot option. If you change this to put the bootloader in the root partition of the installed system, you will still have the Windows bootloader, and you will have to follow the instructions I posted a while back to configure that to multi-boot Linux as well.

HP Pavilion dm1-4010ez

At this point the installer will actually split off and start doing the installation in the background while it continues to ask you a few more questions about the configuration. First is your time zone:

HP Pavilion dm1-4010ez

Then comes the keyboard layout...

HP Pavilion dm1-4010ez

Then comes a series of screens for the the user information.

HP Pavilion dm1-4010ez

You get to choose a picture for your account - if there is anyone here who really feels that whatever random picture might be taken by the webcam while you are installing is something you might like to have on your account permanently... well, congratulations, you are doing better than I am...

HP Pavilion dm1-4010ez

If there is anything else already on the disk that the Installer recognizes and might take over user account information from, it comes up in the next screen.

HP Pavilion dm1-4010ez

Once you have gotten this far, you will get some entertaining propaganda screens while the installation finishes. Hooray! When the installation finishes, reboot (and configure the Windows bootloader if you need to), and you'll be up and running Linux Mint 12.

That might seem like quite a long process, but each of those steps only takes a short time, and the entire installation can be done in 30 minutes if you are reading everything very carefully and thinking about the answers, or as little as 15 minutes or less once you are familiar with it and you're doing it on "autopilot".

Now comes the good news - it works! As far as I can tell, with one small exception, everything works very nicely. Screen resolution is correct (1366x768), wired and wireless networking are ok (although the signal strength looks weak, as it did under Windows), the touchpad works just fine (SO much better for my nerves than the ClickPad), the Fn-keys for brightness, audio and WiFi control, Suspend/Resume (and it does each of those in less than 5 seconds), Mobile Broadband with my Huawei USB dongle... the only thing I have noticed which doesn't work is Bluetooth. This is a bit of an inconvenience for me, because I sometimes use a bluetooth mouse or printer, but it is certainly not a big deal. By the way, in addition to showing the default Mint 12 desktop, I'll include the simplest way to tell if Bluetooth is working. It seems to me that the Bluetooth icon used to not show up in the panel if Bluetooth wasn't actually available, but now it looks like it is always there - perhaps this is something new with Gnome 3, I haven't really cared enough to look into it yet. But if Bluetooth is actually available and working, when you click on the Bluetooth icon you will get options for "Send files to device..." and "Set up new device...". If you don't see those, as in the screen below, then Bluetooth is not available, so don't waste a lot of time tearing your hair out trying to figure out how to add a Bluetooth device, as I did, when Bluetooth isn't working at all. I expect this problem to be taken care of by an update in the near future.

HP Pavilion dm1-4010ez

So, there you have it. I hope all of the detail was worthwhile - I'm certainly not going to be doing this on a regular basis, but I really wanted to show that installing Linux, whether it be openSuSE, Mint, or any of the other popular distributions, was not black magic, and really wasn't even all that difficult or dangerous. What we have ended up with here is a very nice sub-notebook, it looks good, feels good, works well, and when we turn it on we can choose whether to run Linux Mint 12 (loud cheers in the background) or Windows 7 Home Premium (boos and hisses, and I am ducking lemons and rotten tomatoes being thrown from the cheap seats).

Next on the agenda: add the Cinnamon desktop, and compare it to Gnome and MGSE.

jw 5/1/2012

Topic: Linux

J.A. Watson

About J.A. Watson

I started working with what we called "analog computers" in aircraft maintenance with the United States Air Force in 1970. After finishing miliary service and returning to University, I was introduced to microprocessors and machine language programming on Intel 4040 processors. After that I also worked on, operated and programmed Digital Equipment Corportation PDP-8, PDP-11 (/45 and /70) and VAX minicomputers. I was involved with the first wave of Unix-based microcomputers, in the early '80s. I have been working in software development, operation, installation and support since then.

Kick off your day with ZDNet's daily email newsletter. It's the freshest tech news and opinion, served hot. Get it.

Talkback

10 comments
Log in or register to join the discussion
  • Jamie - Just in case you don't regularly read LinuxBSDos.com, they have 2 new articles up - how to install Cinnamon on your other favorite distro, Fedora 16!
    (the second article talks about customizing Cinnamon on Fedora and Mint 12)
    anonymous
  • I did the same install but did not want Windows and here's my experience
    http://forums.linuxmint.com/viewtopic.php?f=53&t=90294
    anonymous
  • My HP had the same four primary partitions, but instead of deleting the recovery partition, I backed up the HP_TOOLS partition and recreated it as a logical partition. (I figure that I'll keep the recovery partition as long as I have room on the drive; I made the recovery discs but it's nice to have a backup, and recovering from the hard drive would be faster.)

    Apparently you can also download a file from HP to recreate the HP_TOOLS partition (and even put it on a USB drive) -- see the "Prerequisites" section of the "HP System Diagnostics UEFI" page on the HP site:
    http://h10025.www1.hp.com/ewfrf/wc/softwareDownloadIndex?softwareitem=ob-93497-1&cc=us&dlc=en&lc=en&os=4063&product=4308941&sw_lang=
    TechCreative
  • Thomas, I agree that LinuxBSDos.com an outstanding site, with a lot of excellent tutorials.
    TechCreative
  • Jamie, for your readers that share your interest in the AMD E-450 processor and an 11.6" screen with 1366x768 resolution , AMD's US website makes it easy to find the choices. In addition to your HP Pavilion dm1-4010, they list two models from both Sony and Lenovo (more than two if you count different colors.) Here are the five listed:
    http://shop.amd.com/us/All/Compare/Products?SearchFacets=&id=06222GU&id=06222EU&id=ecx-Bes-US-3569026&id=VPCYB33KX%2FB&id=VPCYB35KX%2FB
    There is also the upcoming Asus EeePC 1225B and my own HP Pavilion dm1z-3000 which is still available from HP. Finally, there is the MSI Wind U-270 with a 12.1" screen which is not available in the US.

    In response to the comment to use the HP_TOOLS partition to install Linux by moving the HP Unified Extensible Firmware Interface (UEFI) to a USB drive, that option does not seem to be available for the HP Pavilion dm1-4010. Here is your support page:
    http://h10025.www1.hp.com/ewfrf/wc/product?product=5185634&cc=us&dlc=en&lc=en&os=4063&query=P%20Pavilion%20dm1-4010ez%20Entertainment%20Notebook%20PC&sw_lang=&tool=

    However, that option DOES seem to be available for my HP Pavilion dm1z-3000:
    http://h10025.www1.hp.com/ewfrf/wc/softwareDownloadIndex?softwareitem=ob-88666-1&cc=us&dlc=en&lc=en&os=4063&product=5051871&sw_lang=

    This is the support page for the dm1z-3000 (now using the AMD E-450 vs. my E-350):
    http://h10025.www1.hp.com/ewfrf/wc/product?product=5051871&lc=en&cc=us&dlc=en&lang=en&cc=us

    Hopefully, when I move the UEFI System Diagnostics to a USB drive, it will still be available during system boot. This explains the System Diagnostics for all HPs with UEFI:
    http://h10025.www1.hp.com/ewfrf/wc/document?docname=c01443317&cc=us&dlc=en&lc=en&product=5051871&tmp_track_link=ot_search
    geekandnerd
  • Posting from Spain... As a Linux Mint lover, tried to install it in my HP Dm1 4010. My fresh install didn´t have good results. The screen flicks which is very unconfortable, and tis problem doesn´t exists booting windows. Don´t know why... I´ve seen before this problem when screen refresh is too high, but I can´t change it via GUI, it´s just 60hz by default.

    Any one with this problem?
    diodox
  • @diodox this is what I did with a 4020 hp DM1 since then I also added cinnamon desktop and that works fine with no tearing.
    http://forums.linuxmint.com/viewtopic.php?f=53&t=90294
    'The ati issue was solved by downloading the ATI installer from their website which comes with clear instructions and was relatively easy. The issue was after and again in time this will be fixed. Gnome 3 experienced tearing and refresh problems so for now we will be using Mate the 'gnome 2' option which so far has been faultless.'
    anonymous
  • @Karen Holton Ian Holton. Following the link in your talkback will prove very useful and informative for getting the brcm 4313 wireless adapter to work well, or at all, in Linux. Many thanks.

    @JW. Worth a look here as well, http://ubuntuforums.org/showthread.php?t=1889170, lots of good and apparently successful advice for this rather troublesome wireless network adapter.

    I do have the brcm 4313 working on various Linux installations and have been complaining of a very poor and frustrating Internet performance. My current solution has been to install a pair of Powerline devices utilising the household mains cables to carry the signal upstairs from my cable modem downstairs. This has allowed me to move my wireless router upstairs to my study, rather than downstairs as previously. This has given me a noticable improvement.

    However, it does not explain the very dramatic reduction in the Internet experience that I have been experiencing - without any changes in my equipment or setup.
    The Former Moley
  • In addition to the section on creating Live USB stick: I wonder why you haven't mentioned Unetbootin? It can run on Linux, Windows, and Mac OS and it can make Live USB for any distro not just Ubuntu-based. And I also noticed that when using Startup Disk Creator on some particular distro, like Mint, I can only make Live USB of that particular distro (any release though) but not any other. Not even Ubuntu from Mint etc. However this restriction does not apply to Unetbootin so it has no problem with cross-distro Live USB creation. Hope this help someone;)
    cicas
  • @cicas - I have mentioned unetbootin numerous times in other posts, and said how much I like it. However, in the case of Ubuntu, Mint 12 and other Ubuntu-derived distributions, I have had no success at all in making LiveUSB sticks with unetbootin. If you check my posts about Mint Debian, PCLinuxOS and SimplyMEPIS, for example, you will find me singing the praises of unetbootin. Conversely, I have had no problem whatsoever creating Ubuntu LiveUSB images on Mint 12, or vice-versa.

    Thanks for reading and commenting.

    jw
    j.a.watson@...