LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-24-2014, 04:01 AM   #1
moda114
LQ Newbie
 
Registered: Sep 2014
Posts: 5

Rep: Reputation: Disabled
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
 
Old 09-25-2014, 03:43 AM   #2
JeremyBoden
Senior Member
 
Registered: Nov 2011
Distribution: Debian
Posts: 1,025

Rep: Reputation: 203Reputation: 203Reputation: 203
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.
 
Old 09-25-2014, 05:51 AM   #3
moda114
LQ Newbie
 
Registered: Sep 2014
Posts: 5

Original Poster
Rep: Reputation: Disabled
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 ?
 
Old 09-25-2014, 08:34 AM   #4
moda114
LQ Newbie
 
Registered: Sep 2014
Posts: 5

Original Poster
Rep: Reputation: Disabled
please help me i'm still waiting
 
Old 09-25-2014, 08:55 AM   #5
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,838

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
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

Last edited by EDDY1; 09-25-2014 at 08:58 AM.
 
1 members found this post helpful.
Old 09-25-2014, 09:02 AM   #6
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 6,983

Rep: Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295
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
 
1 members found this post helpful.
Old 09-25-2014, 09:11 AM   #7
gor0
Member
 
Registered: Jun 2014
Distribution: quad BOOT!
Posts: 549

Rep: Reputation: 64
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/


Last edited by gor0; 09-25-2014 at 09:17 AM.
 
1 members found this post helpful.
Old 09-25-2014, 11:27 AM   #8
moda114
LQ Newbie
 
Registered: Sep 2014
Posts: 5

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by EDDY1 View Post
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 ?

Last edited by moda114; 09-25-2014 at 11:33 AM.
 
Old 09-25-2014, 12:00 PM   #9
rokytnji
Senior Member
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: AntiX 15 , ChromeOS
Posts: 4,917
Blog Entries: 19

Rep: Reputation: 2133Reputation: 2133Reputation: 2133Reputation: 2133Reputation: 2133Reputation: 2133Reputation: 2133Reputation: 2133Reputation: 2133Reputation: 2133Reputation: 2133
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.
 
1 members found this post helpful.
Old 09-26-2014, 03:04 AM   #10
moda114
LQ Newbie
 
Registered: Sep 2014
Posts: 5

Original Poster
Rep: Reputation: Disabled
I will try to install the full os on / and separate /home on another hd
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Dell XPS 13 Laptop Will Come With Ubuntu 12.04 LXer Syndicated Linux News 0 07-19-2012 03:40 PM
Install problem Ubuntu 8.0.4.3 64 bit on Dell Studio XPS 8000 taylorkh Ubuntu 2 12-19-2009 09:10 AM
Is Dell XPS 16 is compatible for using linux (ubuntu) iamarunbabu Ubuntu 4 11-18-2009 01:03 AM
Dell XPS M1530 - Dell ubuntu ISOs? danraider Linux - Laptop and Netbook 4 04-02-2008 05:49 PM
Ubuntu on Dell XPS: Slow shipping, few options Doug Vitale General 9 06-14-2007 11:21 AM


All times are GMT -5. The time now is 08:27 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration