LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   install ubuntu on Dell XPS 15 (2 hard drives ) (https://www.linuxquestions.org/questions/linux-newbie-8/install-ubuntu-on-dell-xps-15-2-hard-drives-4175519889/)

moda114 09-24-2014 03:01 AM

install ubuntu on Dell XPS 15 (2 hard drives )
 
hi
i loved Ubuntu 14.04 so I'm switching as a primary system for my work ^_^

i have Dell XPS 15 Ultrabook (core i5 version)
this ultrabook comes with 2 hard drives , 32GB mSATA + 500GB and 8GB Ram , intel core i5, intel graphics

now my problem is in partitions how,
i have installed the ubuntu on the 32GB mSATA on / and 500GB for /home, and i created 8GB for swap on mSATA drive
and it's worked
but when i wanted to check the swap the system says there's no swap created,


please tell me what is the correct partition format should i do and after that please tell me how to encrypt the home folder and swap space

thanks very much

JeremyBoden 09-25-2014 02:43 AM

With 8GB, you are unlikely to use any swap space - unless it's for hibernation purposes.

I would investigate creating a swap file in /home - reserving a 25% of your mSata is a waste.
Use Google or similar to find out how to do it - it's just a few commands...
It's almost as fast as a separate partition.

If you want to encrypt /home, I think you would need to reinstall your system.
I would get used to using Ubuntu (or an alternate choice) first.

moda114 09-25-2014 04:51 AM

Thanks for the replay

I've set my bios boot option to UEFI
and now I'm on the Installation screen "Installation type" ( partitions screen )

I've created these partitions:
- Swap 4 GB on mSata (32GB drive)
- 250MB EFI partition on mSata (32GB drive )
- the rest of space about 25GB to / on (32GB mSATA Drive)

- 500GB (the second drive) to /home

note: someone told me to give the /usr about 10GB , i'm just confused a little bit


please let me know if this is the right settings or needs some modifications ?

moda114 09-25-2014 07:34 AM

please help me i'm still waiting

EDDY1 09-25-2014 07:55 AM

You may not want to creare seperate /usr ubuntu is testing systemd & might change to it in next release.
Systemd will complain about /usr being broken.
The changes might come as early as the 14.10 release or 15.04.
https://wiki.ubuntu.com/systemd
Also did you activate swap & add to /etc/fstab.
Not sure if you have to run
Quote:

update-grub

yancek 09-25-2014 08:02 AM

Your selections should work. There is not set or precise method and all of these are simply options/choices by the user. The base method is a / partition and a swap. As stated above, you will never use swap if you have 8GB of memory and having a separate /usr partition would also be a choice and I'm sure there are some situations where it might be useful. I've never done it but the link below explains some reasons for doing it.

http://unix.stackexchange.com/questi...ent-partitions

gor0 09-25-2014 08:11 AM

with 8gb ram you do not need swap partition!

http://www.linuxbsdos.com/2014/02/05...uefi-firmware/

http://www.tecmint.com/install-linux-mint-17/

:newbie:

moda114 09-25-2014 10:27 AM

Quote:

Originally Posted by EDDY1 (Post 5244079)
You may not want to creare seperate /usr ubuntu is testing systemd & might change to it in next release.
Systemd will complain about /usr being broken.
The changes might come as early as the 14.10 release or 15.04.
https://wiki.ubuntu.com/systemd
Also did you activate swap & add to /etc/fstab.
Not sure if you have to run


Thanks for replay,
the system will be installed on 32GB mSATA HD
now the question is if i kept the /usr and the / on the same disk , will i have a problem in the future if i installed more software
because the software are usually installed under /usr or /opt

so my plan is mount /usr and /opt on a separate hdd
is that will be fine ?

rokytnji 09-25-2014 11:00 AM

Quote:

will i have a problem in the future if i installed more software
because the software are usually installed under /usr or /opt
I don't yet with just 8 gig for /.

Code:

df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/sda1      8.6G  5.0G  3.2G  62% /
none            4.0K    0  4.0K  0% /sys/fs/cgroup
udev            2.5G  4.0K  2.5G  1% /dev
tmpfs          501M  1.3M  500M  1% /run
none            5.0M    0  5.0M  0% /run/lock
none            2.5G  80K  2.5G  1% /run/shm
none            100M  20K  100M  1% /run/user
/dev/sda2      157G  23G  126G  16% /home

On this

Code:

$ inxi -M
Machine:  System: Dell product: Latitude XT2
          Mobo: Dell model: 0HJ48R Bios: Dell v: A01 date: 05/07/2009

I only have a 180 gig SSD in mine,

Code:

Drives:    HDD Total Size: 180.0GB (16.5% used)
          ID-1: /dev/sda model: D2CSTK181M11 size: 180.0GB
Partition: ID-1: / size: 8.6G used: 5.0G (62%) fs: ext4 dev: /dev/sda1
          ID-2: /home size: 157G used: 23G (16%) fs: ext4 dev: /dev/sda2

If I had your Dell. I would during the install process. Point "/" to the 32 gig SSD. More than enough room for everything.
Then point "/home" to the 500 gig platter drive. Any /swap I would put on the 500 gig platter drive also.

Up to you though.

moda114 09-26-2014 02:04 AM

I will try to install the full os on / and separate /home on another hd


All times are GMT -5. The time now is 04:12 AM.