LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Installing on a SSD with Hdd Storage (https://www.linuxquestions.org/questions/linux-newbie-8/installing-on-a-ssd-with-hdd-storage-4175580891/)

Dogman2 05-28-2016 02:51 AM

Installing on a SSD with Hdd Storage
 
Hello I have got a new 60GB SSD and a 500GB HDD.
I would like to install Mint 17 on the SSD and use the Hdd for storgage of documents Pictures and Videos etc.

Is this feasable or is the SSD too small to hold the distro. ?

Is there a guide how to do this suitable for a beginner who is usually out of his depth ?

Thanks

beachboy2 05-28-2016 03:10 AM

Dogman2,

The size of the SSD is fine.

It does not need to be large since it is only storing the Linux operating system, which may only be around 10GB to 20 GB.

This should help you:

http://www.linuxquestions.org/questi...d-drive-36892/

syg00 05-28-2016 03:38 AM

I think the OP is looking to install onto the SSD and disk. Simplest to merely create /home on the hard disk during the partitioning phase (select "Something Else" for Mint I believe). A quick search for "linux mint install separate home partition" should turn up some doco - it's a pretty common query.

Dogman2 05-28-2016 09:15 AM

Thanks Beachboy2
I have followed your instructions and everything seemed to go ok
I have two problems
The Hdd does not show up on the side panel of My Computer only Home Desktop and File system.
The second is when I reboot I get a line at the of the top of the screen which is
Keys:Press S to skip mounting or M for manual recovery but it doesn't say what is being skipped mounting
If I press S to skip there is a second line which says
Keys:Press I to ignore S to skip mounting or M for manual recovery.

I'm lost

beachboy2 05-28-2016 10:22 AM

Dogman2,

In Terminal, what is the output of:

Code:

sudo nano /etc/fstab
OR

Quote:

gksudo gedit /etc/fstab
I suspect that there is an error in there relating to the HDD.

Also what is the output of:
Code:

sudo blkid

Dogman2 05-28-2016 12:18 PM

Hello Beachboy2
This is the output from sudo nano /etc/fstab

# /etc/fstab: static file system information.
#
# Use 'blkid' 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>
# /media/drive2 was on /dev/sdb1
UUID=08b7e017-2ef1-403d-8b08-132d5aafa590 /media/drive2 ext4 defaults 0 2

# / was on /dev/sda1 during installation
UUID=0606d146-3df3-46e5-9a62-8dd570f45e4a / ext4 errors=remoun$
ext4 noatime,errors=remount-ro 0 1
ext4 noatime,defaults 0 1
# swap was on /dev/sda5 during installation
UUID=b7cca755-b239-4f70-971d-f37c8bec996c none swap sw $


And this from gksudo gedit /etc/fstab

# /etc/fstab: static file system information.
#
# Use 'blkid' 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>
# /media/drive2 was on /dev/sdb1
UUID=08b7e017-2ef1-403d-8b08-132d5aafa590 /media/drive2 ext4 defaults 0 2

# / was on /dev/sda1 during installation
UUID=0606d146-3df3-46e5-9a62-8dd570f45e4a / ext4 errors=remount-ro 0 1
ext4 noatime,errors=remount-ro 0 1
ext4 noatime,defaults 0 1
# swap was on /dev/sda5 during installation
UUID=b7cca755-b239-4f70-971d-f37c8bec996c none swap sw 0 0


This from sudo bklid

/dev/sda1: UUID="0606d146-3df3-46e5-9a62-8dd570f45e4a" TYPE="ext4"
/dev/sda5: UUID="b7cca755-b239-4f70-971d-f37c8bec996c" TYPE="swap"
/dev/sdb1: UUID="08b7e017-2ef1-403d-8b08-132d5aafa590" TYPE="ext4"

beachboy2 05-28-2016 12:43 PM

Dogman2,

Please put your output in Code Tags (see above menu # ).

Look closely at this example:


Code:

# /etc/fstab: static file system information.

# <file system> <mount point> <type> <options> <dump> <pass>

# /media/drive2 was on /dev/sdb1
UUID=94b3caef-4536-4ba6-ae70-44ca89bbdeb7 /media/drive2 ext4 defaults 0 2

# / (root) was on /dev/sda1 during installation
UUID=4a8455b4-7b5a-4365-9267-85bcaf551133 / ext4 errors=remount-ro 0 1

# /home was on /dev/sda6 during installation
UUID=2df03568-787c-418d-b6b5-21c262813c7c /home ext4 defaults 0 2

# swap was on /dev/sda5 during installation
UUID=17e15732-47dd-4661-8327-dbb4a90be070 none swap sw 0 0

Your error is in the marked area above.


In your particular case, you need to change this for sda1:

FROM:

Code:

ext4 errors=remount-ro 0 1
ext4 noatime,errors=remount-ro 0 1
ext4 noatime,defaults 0 1

TO:

Code:


ext4      noatime,errors=remount-ro    0    1

For sdb1 you need this:
Code:

ext4      noatime,defaults              0    1
If I have not made a typing error in this I will be very surprised!

I hope you can understand where the problems lie.

NB Go back to the earlier point and go through it again slowly. Follow the notes.

You can ignore the noatime until later in proceedings.

Got to dash. My meal is ready!

Dogman2 05-29-2016 02:20 AM

Beachboy2,
I have followed your instructions and when I reboot now I only the one line
keys:Press I to ignore S to skip mounting or M for manual recovery.

I also had a look at the file system and there are two folders
noatime,defaults and noatime,errors=remount-ro is this correct?

I also do not have a home partition, not that I can see.

When I installed Mint I set the partitions as you suggested 15GB for /root, 4GB for /swap and the remainder for /home.
The partitions I now have are 4GB /swap 4GB which is not labelled and the remainder which also does not have a label, which I assume is /home

I don't know if this makes any sense

beachboy2 05-29-2016 03:57 AM

Dogman2,

You have not created a /home partition on the SSD.

You really need to print off my notes and then start again. Use gparted to delete existing partitions and start with new ones.

Use copy & paste as much as possible to minimise errors.

NB You have to be very precise with your typing.

I had the "Press I to ignore S to skip mounting or M for manual recovery" error because on one occasion I had omitted ext4 for sdb1 in /etc/fstab.

I have used this procedure several times and I can assure you that it does work perfectly.

There is no room for error though!

I appreciate that this is a bit of a tough task for a beginner who is not familiar with the command line, but if you follow those instructions exactly, you will succeed.

You will also learn and become more confident about using the command line.

Good luck.

Dogman2 05-29-2016 04:30 AM

Thanks for all your help I have now printed your guide and will start again.
I don't mind using the terminal what I lack is knowing what the commands and output mean.

I might be back again asking more questions.

Thanks again

beachboy2 05-29-2016 11:16 AM

Dogman2,

How are you getting on with the command line?

Dogman2 05-29-2016 02:18 PM

Still at it Beachboy2
I have reformatted the ssd and installed Mint
I thought everything was going well but when I reboot I still get the message
keys:Press S to skip mounting or M for manual recovery
and when I press S it boots up ok. I can't see why.

beachboy2 05-29-2016 05:45 PM

Dogman2,

Okay, let's try again.

In Terminal, what is the output of:



Code:

sudo nano /etc/fstab
OR



Code:

gksudo gedit /etc/fstab


Also what is the output of:


Code:

sudo blkid
You are in Norfolk and I am in West Wales. We could not be much further apart geographically in the UK.

If you feel like a holiday in West Wales, make sure you bring your computer!

Dogman2 05-30-2016 01:45 AM

Hello Beachboy2
I hope I get this right

This is the output from sudo nano /etc/fstab

Code:
# /etc/fstab: static file system information.
#
# Use 'blkid' 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>
#/media/drive2 was on /dev/sdb1
UUID=c2f43d8e-deab-4e51-8072-55fa1350cf14 /media/drive2 ext4 defaults 0 2
# / was on /dev/sda1 during installation
UUID=959a94f1-76b5-47c7-9baf-b43c2dfffa8e / ext4 errors=remount-ro 0 1
ext4 noatime,errors=remount -ro 0 1
# /home was on /dev/sda6 during installation
UUID=f9548cc0-f666-4b9e-a9e1-dbf999805f38 /home ext4 defaults 0 2
ext4 noatime,defaults 0 1
# swap was on /dev/sda5 during installation
UUID=645dfc80-49aa-4a56-9063-bafb6feddcc3 none swap sw 0 0

When I try with gksudo gedit /etc/fstab this is new, I've not seen this before until you asked

Code:
gksudo gedit /etc/fstab

(gedit:2665): Gtk-WARNING **: Attempting to set the permissions of `/root/.local/share/recently-used.xbel', but failed: No such file or directory

(gedit:2665): Gtk-WARNING **: Attempting to store changes into `/root/.local/share/recently-used.xbel', but failed: Failed to create file '/root/.local/share/recently-used.xbel.7CMVHY': No such file or directory

(gedit:2665): Gtk-WARNING **: Attempting to set the permissions of `/root/.local/share/recently-used.xbel', but failed: No such file or directory

The output from sudo blkid

Code:
[sudo] password for roy:
/dev/sda1: UUID="959a94f1-76b5-47c7-9baf-b43c2dfffa8e" TYPE="ext4"
/dev/sda5: UUID="645dfc80-49aa-4a56-9063-bafb6feddcc3" TYPE="swap"
/dev/sda6: UUID="f9548cc0-f666-4b9e-a9e1-dbf999805f38" TYPE="ext4"
/dev/sdb1: UUID="c2f43d8e-deab-4e51-8072-55fa1350cf14" TYPE="ext4"

I hope this is ok as I've used a code tag before either

beachboy2 05-30-2016 02:50 AM

Dogman2,

Good morning.I was just watching the mad bidding on a Macbook Pro on ebay. Sorry about that.

Please put the output in code tags. It makes it much easier for people to read.

Just highlight the text, then click on the # in the Editing Menu above the text box.

Don't worry about the apparent errors from gksudo gedit.

That is normal. Ignore them.

This is what you should have:

Code:

# <file system> <mount point> <type> <options> <dump> <pass>

#/media/drive2 was on /dev/sdb1
UUID=c2f43d8e-deab-4e51-8072-55fa1350cf14 /media/drive2 ext4 defaults 0 2

# / was on /dev/sda1 during installation
UUID=959a94f1-76b5-47c7-9baf-b43c2dfffa8e / ext4 noatime,errors=remount-ro 0 1


# /home was on /dev/sda6 during installation
UUID=f9548cc0-f666-4b9e-a9e1-dbf999805f38 /home ext4 noatime,defaults 0 2


# swap was on /dev/sda5 during installation
UUID=645dfc80-49aa-4a56-9063-bafb6feddcc3 none swap sw 0 0



All times are GMT -5. The time now is 05:38 PM.