Choose style:

Author Topic: Installation to a 4gb SSD need help!  (Read 4851 times)

0 Members and 1 Guest are viewing this topic.

Offline toker509

  • nOOb
  • *
  • Posts: 3
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): Peppermint 4
Installation to a 4gb SSD need help!
« on: April 21, 2014, 11:34:58 pm »
Okay, so here is the dilemma, I have successfully installed Peppermint to my Asus eee pc 900, it comes with a  4gb SSD, i have partitioned the 4gb ssd all as one partition, no swap, it runs like a dream, but here is the problem: I have a 32gb SD card that i want to use for all my programs/home folder so i can install extra programs as the 4gb ssd barely has any space left. What is the best way to set up peppermint to take advantage of this SD card?

this netbook is for college so its a bit urgent, i really love Peppermint and would like to stick with it, Any help would greatly be appreciated, thanks :)

 

Offline mac

  • Global Moderator
  • Veteran
  • *****
  • Posts: 1088
  • Karma: 336
    • View Profile
  • Peppermint version(s): Peppermint 7-8-9
Re: Installation to a 4gb SSD need help!
« Reply #1 on: April 22, 2014, 10:09:35 am »
Hi toker and welcome to the forum.  Let's get a bit more information.  With the SD card inserted, please run the following commands in your terminal and post their output....
Code: [Select]
blkid
Code: [Select]
df -h
Peppermint: Standing Out from the Cloud
Reg. Linux User #432835

Offline toker509

  • nOOb
  • *
  • Posts: 3
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): Peppermint 4
Re: Installation to a 4gb SSD need help!
« Reply #2 on: April 22, 2014, 10:30:07 am »
the blkid command did nothing, but here is the df -h

Filesystem      Size  Used Avail Use% Mounted on
/dev/sda1       3.7G  2.4G  1.1G  69% /
none            4.0K     0  4.0K   0% /sys/fs/cgroup
udev            996M  4.0K  996M   1% /dev
tmpfs           201M  788K  201M   1% /run
none            5.0M     0  5.0M   0% /run/lock
none           1005M  132K 1004M   1% /run/shm
none            100M  8.0K  100M   1% /run/user
/dev/sdb         31G  218M   31G   1% /media/diego/F2D8-CADC


Offline AndyInMokum

  • Global Moderator
  • Hero
  • *****
  • Posts: 4808
  • Karma: 1013
  • "Keep on Rockin' in the Free World"
    • View Profile
  • Peppermint version(s): PM 9 & PM 8 Respin-2 (64-bit)
Re: Installation to a 4gb SSD need help!
« Reply #3 on: April 22, 2014, 10:49:30 am »
Try running this.
Code: [Select]
sudo blkid
That should now give you an output  ;).
Backup! Backup! Backup! If you're missing any of these -  you ain't Backed Up!
For my system info please L/click HERE.

Offline mac

  • Global Moderator
  • Veteran
  • *****
  • Posts: 1088
  • Karma: 336
    • View Profile
  • Peppermint version(s): Peppermint 7-8-9
Re: Installation to a 4gb SSD need help!
« Reply #4 on: April 22, 2014, 11:04:02 am »
Shouldn't have to do that but, hey, if it works it works.  If not, try...

Code: [Select]
blkid /dev/sda1

If that doesn't work, try...
Code: [Select]
ls -l /dev/disk/by-uuid

BTW, what we're look for is UUID information.

Just to be sure, the blkid command = b - boy, l - lincoln, k - kyle, i - ida, d - david.
Peppermint: Standing Out from the Cloud
Reg. Linux User #432835

Offline AndyInMokum

  • Global Moderator
  • Hero
  • *****
  • Posts: 4808
  • Karma: 1013
  • "Keep on Rockin' in the Free World"
    • View Profile
  • Peppermint version(s): PM 9 & PM 8 Respin-2 (64-bit)
Re: Installation to a 4gb SSD need help!
« Reply #5 on: April 22, 2014, 02:12:41 pm »
Shouldn't have to do that but, hey, if it works it works.  If not, try...

Code: [Select]
blkid /dev/sda1

If that doesn't work, try...
Code: [Select]
ls -l /dev/disk/by-uuid

BTW, what we're look for is UUID information.

Just to be sure, the blkid command = b - boy, l - lincoln, k - kyle, i - ida, d - david.

Yeah, I noticed this even when I was using Crunchbang.  If I tried the blkid command as, "user" nothing happens.  Once I've tried it with sudo it starts to behave.  The, "blkid" command even works after the terminal is shutdown and re-opened, as long as I've used sudo once.  It is very weird and not isolated to Peppermint.  I've never been able to find an explanation.
Backup! Backup! Backup! If you're missing any of these -  you ain't Backed Up!
For my system info please L/click HERE.

Offline mac

  • Global Moderator
  • Veteran
  • *****
  • Posts: 1088
  • Karma: 336
    • View Profile
  • Peppermint version(s): Peppermint 7-8-9
Re: Installation to a 4gb SSD need help!
« Reply #6 on: April 22, 2014, 02:20:37 pm »
That is weird.  I guess it's true that computers have a mind of their own sometimes.  I know  :o ......we'll ask Mark......he'll 'splain it! ;)
Peppermint: Standing Out from the Cloud
Reg. Linux User #432835

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 25713
  • Karma: 2821
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Re: Installation to a 4gb SSD need help!
« Reply #7 on: April 22, 2014, 03:34:10 pm »
OK, it's not a bug it's the way blkid caches it's output.

blkid needs superuser permission to scan block devices, so needs "sudo", but after it's run the first time it will create a cache of the output at:-
/dev/.blkid.tab

when you subsequently run it without sudo, it's not scanning the block devices, it's reading the contents of that cache (via a symlink at /etc/blkid.tab)

Splained ?
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline AndyInMokum

  • Global Moderator
  • Hero
  • *****
  • Posts: 4808
  • Karma: 1013
  • "Keep on Rockin' in the Free World"
    • View Profile
  • Peppermint version(s): PM 9 & PM 8 Respin-2 (64-bit)
Re: Installation to a 4gb SSD need help!
« Reply #8 on: April 22, 2014, 03:42:06 pm »
D*** it, that's another supernatural explanation out' the window  ;D.  Seriously, that's a great explanation - thanks.  I now know why it behaves like this.  Its even better when you find out its normal too  ;).
« Last Edit: April 22, 2014, 04:23:48 pm by mac »
Backup! Backup! Backup! If you're missing any of these -  you ain't Backed Up!
For my system info please L/click HERE.

Offline mac

  • Global Moderator
  • Veteran
  • *****
  • Posts: 1088
  • Karma: 336
    • View Profile
  • Peppermint version(s): Peppermint 7-8-9
Re: Installation to a 4gb SSD need help!
« Reply #9 on: April 22, 2014, 04:27:32 pm »
Splained ? 

Already knew that . . >:D
Peppermint: Standing Out from the Cloud
Reg. Linux User #432835

Offline toker509

  • nOOb
  • *
  • Posts: 3
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): Peppermint 4
Re: Installation to a 4gb SSD need help!
« Reply #10 on: April 22, 2014, 04:37:05 pm »
 :) Here are the results from sudo blkid

/dev/sda1: UUID="e0aa8d35-d4c3-423f-84ea-19da0eee8b22" TYPE="ext4"
/dev/sdb: UUID="F2D8-CADC" TYPE="vfat"

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 25713
  • Karma: 2821
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Re: Installation to a 4gb SSD need help!
« Reply #11 on: April 22, 2014, 05:39:01 pm »
You might want to consider formatting the SDcard as say EXT4
mounting it via /etcfstab
and following this page to move your /home directory to it:
https://help.ubuntu.com/community/Partitioning/Home/Moving

Be aware, you'll not be able to remove the card from then on without the system becoming unbootable (at least into a GUI).

Or you could attempt to get creative with AUFS:
http://www.thegeekstuff.com/2013/05/linux-aufs/
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline mac

  • Global Moderator
  • Veteran
  • *****
  • Posts: 1088
  • Karma: 336
    • View Profile
  • Peppermint version(s): Peppermint 7-8-9
Re: Installation to a 4gb SSD need help!
« Reply #12 on: April 22, 2014, 05:46:09 pm »
You might want to consider formatting the SDcard as say EXT4
mounting it via /etcfstab.........
Should read /etc/fstab

You can format the entire SD card in your terminal.....
Code: [Select]
sudo mkfs -t ext4 /dev/sdb
The SD card will have to be unmounted when you do. 
Peppermint: Standing Out from the Cloud
Reg. Linux User #432835