Aspire One + Ubuntu Netbook Remix 9.10 > storage expansion

Discussion in 'Linux' started by cmyot, Nov 22, 2009.

  1. cmyot

    cmyot

    Joined:
    Nov 22, 2009
    Messages:
    4
    Likes Received:
    0
    Hello everyone!

    I have the 8Gb SSD version of Aspire One (ZG5).
    A few months ago I installed Ubuntu Netbook Remix 9.04 as the OS instead of Linpus Linux Lite.
    Then recently I made the upgrade to UNR 9.10.
    I've just bought a 8Gb SDHC card. I inserted it (before booting) in the left-hand slot "storage expansion".
    Unfortunately, it is recognised as a separate volume.
    I want the extra storage space to merge with the storage space of the SSD drive.
    How should I do?
    Thanks
    Christophe
     
    cmyot, Nov 22, 2009
    #1
  2. cmyot

    jango

    Joined:
    Aug 2, 2008
    Messages:
    307
    Likes Received:
    0
    You can set SDHC as HOME partition...
     
    jango, Nov 22, 2009
    #2
  3. cmyot

    cmyot

    Joined:
    Nov 22, 2009
    Messages:
    4
    Likes Received:
    0
    Sorry, I don`t understand your recommendation. I am new to Ubuntu.
    My need is to merge the new storage space that comes with the the SDHC card, with the storage space of the SSD disk.
    Cheers
     
    cmyot, Nov 22, 2009
    #3
  4. cmyot

    Xinês

    Joined:
    Aug 24, 2008
    Messages:
    39
    Likes Received:
    0
    I believe Jango was advising you to mount your /home filesystem on top of the 8Gb SDHC card. This is OK when you know how to transfer everything to the SDHC card in advance. Other than that, you may do it a bit more easy; mount the SDHC card in a folder of your choice. Assuming you have data in your card hat you don't want to discard, and that you already have manual access to your SDHC card, I would advise you something like:

    1st, create a folder in your desktop, in regular user mode, not root;
    "mkdir MySDHC" (you may name the folder anything you which instead of "MySDHC")

    2th, discover the device of SDHC.
    "sudo fdisk -l". After inserting your password, seek for the device to which your SDHC is attached. I'll proceed assuming the device path is /dev/sdb1, but it may be another one for you.

    3rd, edit the /etc/fstab to mount your SDHC every time you start again. If using Gnome, use gedit. Other flavors have similar editors.
    "gksu gedit /etc/fstab" . Once inside the file add a line with;
    "/dev/sdb1 /home/yourusername/Desktop/MySDHC auto users 0 1".
    If your installation language isn't English, you may have a another folder name equivalent to "Desktop". If you do, swap it in this instruction. Now reboot and just double click in your desktop "MySDHC" forlder. Hope you find your card there.
     
    Xinês, Nov 22, 2009
    #4
  5. cmyot

    cmyot

    Joined:
    Nov 22, 2009
    Messages:
    4
    Likes Received:
    0
    Thanks Xines for the advice, I'll keep you informed of the outcome.
     
    cmyot, Nov 23, 2009
    #5
  6. cmyot

    StevieDee

    Joined:
    Sep 5, 2008
    Messages:
    6
    Likes Received:
    0
    I'm also interested in this as well. I've just installed the same OS and, so far, it is pretty good. :)

    Just pondering on the need to dismantle the machine to add another RAM chip as it seems to need it to run this OS in comparison with Linpus.

    Steve
     
    StevieDee, Nov 24, 2009
    #6
  7. cmyot

    Grim Squeaker

    Joined:
    Aug 19, 2008
    Messages:
    410
    Likes Received:
    0
    There have been serious issues with doing that on previous versions of UNR; specifically that the system will be unable to find /home when waking from a suspend.
    I do not know if UNR 9.10 has fixed those.
     
    Grim Squeaker, Nov 24, 2009
    #7
  8. cmyot

    mh-

    Joined:
    Sep 22, 2008
    Messages:
    39
    Likes Received:
    0
    Do you mean the problem with the contents being wiped on suspend or if ejecting the card while it was mounted?

    I solved it by creating the filesystem on the device. No need for a partition if you only want one filesystem on the card ;).

    Could ofc be fixed by now, I've not had any reason to experiment further since everything works like it should.
     
    mh-, Nov 27, 2009
    #8
  9. cmyot

    cmyot

    Joined:
    Nov 22, 2009
    Messages:
    4
    Likes Received:
    0

    Hello,
    At step 2 : I obtain the following information:
    Disk /dev/sda: 8069 MB, 8069677056 bytes
    255 heads, 63 sectors/track, 981 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0xb7d8b185

    Device Boot Start End Blocks Id System
    /dev/sda1 * 1 933 7494291 83 Linux
    /dev/sda2 934 981 385560 5 Extended
    /dev/sda5 934 981 385528+ 82 Linux swap / Solaris

    Disk /dev/mmcblk0: 8040 MB, 8040480768 bytes
    136 heads, 54 sectors/track, 2138 cylinders
    Units = cylinders of 7344 * 512 = 3760128 bytes
    Disk identifier: 0x00000000

    Device Boot Start End Blocks Id System
    /dev/mmcblk0p1 2 2139 7847936 b W95 FAT32


    If I understand well, the path to take into account is /dev/mmcblk0 ?

    At step 3, I've checked into /etc/fstab as advised. This is what I get :

    # /etc/fstab: static file system information.
    #
    # Use 'vol_id --uuid' to print the universally unique identifier for a
    # device; this may be used with UUID= as a more robust way to name devices
    # that works even if disks are added and removed. See fstab(5).
    #
    # <file system> <mount point> <type> <options> <dump> <pass>
    proc /proc proc defaults 0 0
    # / was on /dev/sda1 during installation
    UUID=eb04222a-6da2-4291-bd11-9f1ef47bad7c / ext3 relatime,errors=remount-ro 0 1
    # swap was on /dev/sda5 during installation
    UUID=9e4bd0b6-0e35-493f-ae8e-edbc93d77185 none swap sw 0 0

    Whereabout do I add the line?

    Thanks,
     
    cmyot, Nov 28, 2009
    #9
  10. cmyot

    StevieDee

    Joined:
    Sep 5, 2008
    Messages:
    6
    Likes Received:
    0
    Is it possible to use the LVM bundled with system tools rather than digging about in the code? Or, set the parameters at install using advanced options?

    Steve
     
    StevieDee, Dec 7, 2009
    #10
  11. cmyot

    fireandsalt

    Joined:
    Jan 3, 2009
    Messages:
    5
    Likes Received:
    0
    Add it to the last line of the file. The drive you'll want (I think) is mmcblk0p1. This is assuming you want the right hand SD card slot to work. So, the line to add would look like: /dev/mmcblk0p1 /home/yourusername/MySDCard auto users 0 1

    *Note: I put the folder in the root of my "home drive". When restarting the computer, an icon will automatically appear on your desktop with the SD Card capacity listed in the title. For example, I have both slots working with an 8GB and an old 256MB card installed.
     
    fireandsalt, Dec 26, 2009
    #11
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.