I have freshly installed Ubuntu 12.10 (64 bits) on an Asus S405CM-WX117H laptop (similar to this one) which features a 24GB SSD drive and a regular 500GB hard drive.

I placed the / (ext4) root file system in the SSD drive and partitioned the regular hard drive with 10GB swap and the rest as ext4 for /home. It installed smoothly without errors, but when it restarted, I seem not to be able to boot Ubuntu (I have nothing else there).

To verify the installation was successful, I checked it using a live Ubuntu (DVD) and both hard drives are recognized and the files from the new system are there. The order of the disk as recognized in Ubuntu is: sda = 500 GB SATA hdd, sdb = 24GB SSD. Would it help my boot issue if I would be able to make Ubuntu swap the drive name assignments?

In the BIOS both hard drives are listed, yet I can only choose to use the regular hard drive as a boot device, for some reason I don't understand. It simply doesn't let me boot from the SSD drive.

I know that if I would install Ubuntu on the 500GB disk, it would probably boot just fine, but I want it in the SSD for obvious performance reasons. Any idea on how I could fix this?

  • I can't find any Asus laptop model S405 on the Asus.com global website. Are you sure you typed the model correctly? Could you provide a link with the specifications on the Asus.com website? A valid model number would help identifying the cause of why you can't select your SSD as boot device. – gertvdijk Dec 29 '12 at 19:59
  • Yes, now that I did a search, I can't find much either, but that's what the model of the laptop. Nevertheless here are the specs (only in Portuguese :s) from the place I bought it: fnac.pt/… – afrendeiro Dec 30 '12 at 0:28
  • Ok, I think I found it: asus.com/Notebooks/Superior_Mobility/S400CA/#specifications It's the version with the i3 core. It's a Sandisk SSD btw. – afrendeiro Dec 30 '12 at 0:43

In the BIOS both hard drives are there, but I can only choose to use the 500gb disk to boot somehow.

Your OEM system vendor Asus probably placed the 24GB SSD drive for caching purposes, e.g. Intel Smart Response. This could explain why you can't set it as a boot drive. I suffer from the same issue in my HP laptop with an mSATA SSD slot and HP's response to this is "this is intentional".

My suggestion is to use your regular hard drive as the initial boot device, but to install the whole Ubuntu OS on the SSD. To do this, perform a regular installation, but configure an advanced partition layout like this:

  • Create a small partition (say 200MB) on your regular HDD for /boot.
  • Put / on the SSD.
  • Make sure the bootloader (Grub) is installed on the hard drive.
  • Optionally use the rest of the free space of hard drive as another mount point (e.g. /data or /home1)

This way your regular hard drive will only contain the kernel and initramfs for the initial boot stage, which is loaded within seconds. The speed in that is not significantly slower compared to an SSD due to only a few sequential reads in that stage. The kernel and initramfs will then move on to your / on the SSD and boot your system in about the same time as booting directly from SSD.

One downside of this approach is that your system will fail to boot even if just one of the drives fails.

1I would not recommend putting /home on the regular hard disk. Your home folder contains a lot of small files for which an SSD will help in speeding things up. I suggest to leave /home within /, use a separate /data for your hard disk and use symbolic links for folders with large files (e.g. /home/myusername/Music -> /data/Music.

  • I see. That's a possibility, and if I confirm the cache hypothesis, I think I will try it. Thanks a lot! – afrendeiro Dec 29 '12 at 19:53
  • I tried that, and it's working. It's super fast. Thanks a lot! – afrendeiro Dec 30 '12 at 17:01
  • I have a Samsung with similar disk sizes. Having 8Gb of RAM, where do you advice to put swap, and what size? – Alexandre Neto Jan 10 '13 at 22:31
  • 1
    @AlexandreNeto with 8Gb RAM you dont need any SWAP at all IMO. If you think you need it I would put it on the HDD. – Uli Jan 11 '13 at 11:15
  • @gertvdijk: 200 MB is too small. even 300 can be tight. Keep in mind that people may not prune their installed kernels regularly. – 0xC0000022L Apr 9 '13 at 22:03

There are two possible mistakes:

  1. You must invert the disk order, like you said, in the BIOS.
  2. Probably you selected the wrong disk for the boot, when you were installing.

About point 2, try booting from the pen you used to install Ubuntu and see if it goes to your SSD installation.

If none of these work, re-install Ubuntu and when it goes to the partitioning, amke sure you select the boot device correctly. (You can see it by the size of the disk)

  • Thanks for replying! I can see that the installation went fine. The files from the / filesystem are indeed in the SSD. – afrendeiro Dec 29 '12 at 19:26

Your Answer

By clicking "Post Your Answer", you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.